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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

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

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

 package mx.containers.dividedBoxClasses
 {


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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridColumn.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridColumn.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.controls.dataGridClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17973
Author:   dloverin@adobe.com
Date:     2010-09-30T22:28:57.338114Z

Log Message:
-----------
First delivery of DataGrid editor code.

Still a ways to go to get it ready for testing and get the APIs correct.

QE notes: Not ready for testing.
Doc notes: None.
Bugs:
Reviewer: Hans, Alex (FocusManager)
Tests run: cyclone server
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/IGridItemEditor.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/DataGridEditEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/TextGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -21,6 +21,7 @@

 import spark.components.DataGrid;
 import spark.components.Grid;
+import spark.components.gridClasses.TextGridItemEditor;

 use namespace mx_internal;

@@ -43,6 +44,18 @@
      */
     public static const ERROR_TEXT:String = new String(" ");

+    /**
+     *  @private
+     */
+    private static var _defaultItemEditorFactory:IFactory;
+
+    mx_internal static function get defaultItemEditorFactory():IFactory
+    {
+        if (!_defaultItemEditorFactory)
+            _defaultItemEditorFactory = new ClassFactory(TextGridItemEditor);
+        return _defaultItemEditorFactory;
+    }
+
     public function GridColumn()
     {
         super();
@@ -282,6 +295,42 @@
     }

     //----------------------------------
+    //  editable
+    //----------------------------------
+
+    private var _editable:Boolean = true;
+
+    [Inspectable(category="General")]
+
+    /**
+     *  A flag that indicates whether the items in the column are editable.
+     *  If true, and the DataGrid's editable
+     *  property is also true, the items in a column are
+     *  editable and can be individually edited
+     *  by clicking on a selected item or by navigating to the item and
+     *  pressing the F2 key.
+     *
+     *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get editable():Boolean
+    {
+        return _editable;
+    }
+
+    /**
+     *  @private
+     */
+    public function set editable(value:Boolean):void
+    {
+        _editable = value;
+    }
+
+    //----------------------------------
     //  headerRenderer
     //----------------------------------

@@ -363,6 +412,47 @@
         dispatchEvent(new Event("headerTextChanged"));
     }

+    //----------------------------------
+    //  itemEditor
+    //----------------------------------
+
+    private var _itemEditor:IFactory = null;
+
+    [Bindable("itemEditorChanged")]
+
+    /**
+     *  A factory for IGridItemEditors used to edit individual grid cells.
+     *  This property is only applies to grid columns that are used with
+     *  DataGrids.
+     *
+     *
If a column is editable this property determines the editor that
+     *  will be used. If this property is not specified, then the
+     *  itemEditor property of the DataGrid will be used. If the
+     *  DataGrid does not supply and editor then the TextGridItemEditor
+     *   will be used.
+     *

+     *
+     *  @default null
+     *
+     */
+    public function get itemEditor():IFactory
+    {
+        return _itemEditor;
+    }
+
+    /**
+     *  @private
+     */
+    public function set itemEditor(value:IFactory):void
+    {
+        if (_itemEditor == value)
+            return;
+
+        _itemEditor = value;
+
+        dispatchChangeEvent("itemEditorChanged");
+    }
+
     //----------------------------------
     //  itemRenderer
     //----------------------------------
@@ -645,6 +735,33 @@
     }

     //----------------------------------
+    //  renderIsEditable
+    //----------------------------------
+
+    private var _renderIsEditable:Boolean = false;
+
+    /**
+     *  Determines whether any of the item renderer's controls are editable.
+     *  If the column is editable, the focusable controls in the item renderer
+     *  will be given keyboard focus when the user starts editing the item
+     *  renderer.
+     *
+     *  @default false
+     */
+    public function get renderIsEditable():Boolean
+    {
+        return _renderIsEditable;
+    }
+
+    /**
+     *  @private
+     */
+    public function set renderIsEditable(value:Boolean):void
+    {
+        _renderIsEditable = value;
+    }
+
+    //----------------------------------
     //  resizable
     //----------------------------------


- Fixed typo in call to get initial hash value (deep link), which broke it.

--- actionscript/unFocus/HistoryKeeper.as
+++ actionscript/unFocus/HistoryKeeper.as
@@ -86,7 +86,7 @@
 						'unFocus.History.addEventListener("historyChange",function(h){unFocus.SwfUtilities.getSwfReference("' +
 							ExternalInterface.objectID + '").updateFromHistory(h)});'
 					);
-					_currentHash = ExternalInterface.call("unFocus_History.getCurrent");
+					_currentHash = ExternalInterface.call("unFocus.History.getCurrent");
 					_available = true;
 				}
 				catch(e:Error) {


Transferred from the Adobe Open Source Subversion Repository

Revision: 11463
Author:   smgilson@adobe.com
Date:     2009-11-05T15:28:57.969428Z

Log Message:
-----------
ASDoc edits for update spark item renderer arch

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/IItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultComplexItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
@@ -107,15 +107,21 @@
     private var _autoDrawBackground:Boolean = true;

     /**
-     *  Whether the item renderer should handle drawing the
-     *  selection/rollOver background.
+     *  Specifies whether the item renderer draws the
+     *  background of the data item during user interaction.
+     *  Interactions include moving the mouse over the item,
+     *  selecting the item, and moving the caret of the item .
      *
-     *
If set to true, the background for
+     *
If true, the background for
      *  the item renderer is automatically drawn, and it
      *  depends on the styles that are set (contentBackgroundColor,
      *  alternatingItemColor, rollOverColor,
      *  selectionColor)
      *  and the state that the item renderer is in.

+     *
+     *
If false, the item render draws no backgrounds.
+     *  Your custom item renderer is responsible for displaying the
+     *  background colors for all user interactions.

      *
      *  @default true
      */
@@ -151,7 +157,7 @@
     private var _hovered:Boolean = false;

     /**
-     *  Flag that is set when the mouse is hovered over the item renderer.
+     *  Set to true when the mouse is hovered over the item renderer.
      *
      *  @default false
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 3430
Author:   gruehle@adobe.com
Date:     2008-09-30T23:43:13.377931Z

Log Message:
-----------
This is a collection of minor component changes, done for consistency.

* Data is always "pushed" into skin parts. We were doing this in some places like ItemsComponent.contentGroup, but not in other places. Affected components are TextInput, TextArea, NumericStepper, and Button.

* Button (and every subclass) has an optional "labelField" SkinPart. The Button "label" property is pushed into this part if it is defined.

* Added skin states to the following components:
  TrackBase (includes H/VScrollBar and H/VSlider): States "normal" and "disabled".
  Spinner (includes NumericStepper): States "normal" and "disabled".
  ContainerBase (includes ItemsComponent, Selector, and List): States "normal" and "disabled".

  The appearance of "disabled" states is controlled by the skin. The behavior of "disabled" states is still controlled by the component (ie ScrollBar disables the thumb, track and arrow when it is disabled).

* Added new ContainerBase class, which is the base class for ItemsComponent and DataComponent. The base class manages the skin states and puts up a mouse shield when disabled.

* Thumb positioning code in slider and scrollbar always rounds to the nearest pixel boundary. Sub-pixel positioning makes the thumbs look blurry.

* TextView measurement is rounded to integer values. It was commonly returning non-integer values which was causing subsequent components in relative layouts to be positioned on sub-pixel boundaries.

Bugs: SDK-16933 Make Label be an optional part of Button and related components
QE: The pixel alignment changes may result in bitmap comparison failures. The bitmaps should be regenerated with the pixel alignment. There should be no functional changes to any of the components.
Reviewer: Chet, Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/DataComponentSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ItemsComponentSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/NumericStepperSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/DataComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ItemsComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SelectorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ComplexPanelSkin.mxml</path>

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

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

 package flex.component
 {
+import flex.intf.ILayoutItem;
+import flex.layout.LayoutItemFactory;

 /**
  *  The HScrollBar (horizontal ScrollBar) control lets you control
@@ -76,7 +78,9 @@
         if (thumb)
         {
             var trackPos:Number = track ? track.x : 0;
-            thumb.x = trackPos + thumbPos;
+            var layoutItem:ILayoutItem = LayoutItemFactory.getLayoutItemFor(thumb);
+            layoutItem.setActualPosition(Math.round(trackPos + thumbPos),
+            					    	 layoutItem.actualPosition.y);
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 2806
Author:   chaase@adobe.com
Date:     2008-08-11T20:45:03.948593Z

Log Message:
-----------
Fix to build failure (referenced old/nonexistent file in Animation.as), plus added copyright headers to new classes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/IEaser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Constant.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/ArrayInterpolator.as</path>

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 7163
Author:   aharui@adobe.com
Date:     2009-05-21T02:19:55.813792Z

Log Message:
-----------
Initial checkin of frame 1 cleanup.  In an RSL linkage, more classes will now come from the RSL because they are no longer needed in frame 1, and the size of the application SWF will be smaller.

QE Notes: None
Doc Notes: Maybe.  All new classes should be undocumented, but it might be worth checking that and any changes to interfaces
Bugs:
Reviewer: darrell
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses</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/events/RSLEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/MarshalPopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IEmbeddedFontRegistry.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/controls/ColorPicker.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/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.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/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/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/core/EmbeddedFontRegistry.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/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFont.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/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ResourceModuleRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.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/resources/ResourceManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IMarshalSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/ToolTipManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/mustella/MustellaResultsParser.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.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/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SWFBridgeGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.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/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IActiveWindowManager.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/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/PopUpManagerMarshalMixin.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/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManagerChildManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/CursorManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>

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

--- frameworks/projects/framework/src/mx/preloaders/Preloader.as
+++ frameworks/projects/framework/src/mx/preloaders/Preloader.as
@@ -27,6 +27,7 @@
 import flash.net.URLLoader;
 import flash.net.URLLoaderDataFormat;
 import flash.net.URLRequest;
+import flash.system.ApplicationDomain;
 import flash.utils.Timer;

 import mx.core.mx_internal;
@@ -105,13 +106,38 @@
 	/**
 	 *  @private
 	 */
+	private var resourceModuleListLoader:RSLListLoader;
+
+	/**
+	 *  @private
+	 */
 	private var rslDone:Boolean = false;

 	/**
 	 *  @private
 	 */
+	private var loadingRSLs:Boolean = false;
+
+	/**
+	 *  @private
+	 */
+	private var waitingToLoadResourceModules:Boolean = false;
+
+	/**
+	 *  @private
+	 */
+	private var sentDocFrameReady:Boolean = false;
+
+	/**
+	 *  @private
+	 */
 	private var app:IEventDispatcher = null;

+	/**
+	 *  @private
+	 */
+	private var applicationDomain:ApplicationDomain = null;
+
 	//--------------------------------------------------------------------------
 	//
 	//  Methods
@@ -166,7 +192,8 @@
 							   libs:Array = null,
 							   sizes:Array = null,
 							   rslList:Array = null,
-							   resourceModuleURLs:Array = null):void
+							   resourceModuleURLs:Array = null,
+							   applicationDomain:ApplicationDomain = null):void
 	{
         if ((libs != null || sizes != null) && rslList != null)
         {
@@ -174,6 +201,8 @@
             throw new Error("RSLs may only be specified by using libs and sizes or rslList, not both.");  // $NON-NLS-1$
         }

+		this.applicationDomain = applicationDomain;
+
 		root.loaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);

 		var n:int;
@@ -196,21 +225,23 @@
 			}
 		}

+		var resourceModuleList:Array = [];
 		// Preloading resource modules is similar enough to loading RSLs
 		// that we can simply create ResourceModuleRSLItems for them
-		// and append these to the rslList.
 		if (resourceModuleURLs && resourceModuleURLs.length > 0)
 		{
 			n = resourceModuleURLs.length;
 			for (i = 0; i < n; i++)
 			{
 				var resourceModuleNode:ResourceModuleRSLItem =
-					new ResourceModuleRSLItem(resourceModuleURLs[i]);
-				rslList.push(resourceModuleNode);
+					new ResourceModuleRSLItem(resourceModuleURLs[i], applicationDomain);
+				resourceModuleList.push(resourceModuleNode);
 			}
 		}

         rslListLoader = new RSLListLoader(rslList);
+		if (resourceModuleList.length)
+			resourceModuleListLoader = new RSLListLoader(resourceModuleList);

 		this.showDisplay = showDisplay;

@@ -249,6 +280,25 @@
 							   mx_internal::rslErrorHandler,
 							   mx_internal::rslErrorHandler,
 							   mx_internal::rslErrorHandler);
+			loadingRSLs = true;
+		}
+		else if (resourceModuleListLoader && resourceModuleListLoader.getItemCount() > 0)
+		{
+			if (applicationDomain.hasDefinition("mx.resources::ResourceManager"))
+			{
+				rslListLoader = resourceModuleListLoader;
+				// Start loading the resourceModules
+				rslListLoader.load(mx_internal::rslProgressHandler,
+								   mx_internal::rslCompleteHandler,
+								   mx_internal::rslErrorHandler,
+								   mx_internal::rslErrorHandler,
+								   mx_internal::rslErrorHandler);
+			}
+			else
+			{
+				waitingToLoadResourceModules = true;
+				rslDone = true;
+			}
 		}
 		else
 		{
@@ -328,6 +378,7 @@

 		var rslEvent:RSLEvent = new RSLEvent(RSLEvent.RSL_PROGRESS);
+		rslEvent.isResourceModule = (rslListLoader == resourceModuleListLoader);
 		rslEvent.bytesLoaded = event.bytesLoaded;
 		rslEvent.bytesTotal = event.bytesTotal;
 		rslEvent.rslIndex = index;
@@ -345,7 +396,9 @@
 	{
 	    var index:int = rslListLoader.getIndex();
 	    var item:RSLItem = rslListLoader.getItem(index);
+
 		var rslEvent:RSLEvent = new RSLEvent(RSLEvent.RSL_COMPLETE);
+		rslEvent.isResourceModule = (rslListLoader == resourceModuleListLoader);
 		rslEvent.bytesLoaded = item.total;
 		rslEvent.bytesTotal = item.total;
 		rslEvent.rslIndex = index;
@@ -353,6 +406,13 @@
 		rslEvent.url = item.urlRequest;
 		dispatchEvent(rslEvent);

+		if (loadingRSLs && resourceModuleListLoader && index + 1 == rslEvent.rslTotal)
+		{
+			loadingRSLs = false;
+			waitingToLoadResourceModules = true;
+			// timer will switch over to loading resource modules
+		}
+
 		rslDone = (index + 1 == rslEvent.rslTotal);
 	}

@@ -366,6 +426,7 @@
 	    var index:int = rslListLoader.getIndex();
 	    var item:RSLItem = rslListLoader.getItem(index);
 		var rslEvent:RSLEvent = new RSLEvent(RSLEvent.RSL_ERROR);
+		rslEvent.isResourceModule = (rslListLoader == resourceModuleListLoader);
 		rslEvent.bytesLoaded = 0;
 		rslEvent.bytesTotal = 0;
 		rslEvent.rslIndex = index;
@@ -402,20 +463,62 @@
 		dispatchEvent(new ProgressEvent(ProgressEvent.PROGRESS,
 										false, false, loaded, total));

+		if (waitingToLoadResourceModules)
+		{
+			if (applicationDomain.hasDefinition("mx.resources::ResourceManager"))
+			{
+				waitingToLoadResourceModules = false;
+				rslListLoader = resourceModuleListLoader;
+				rslDone = false;
+				// Start loading the resourceModules
+				rslListLoader.load(mx_internal::rslProgressHandler,
+								   mx_internal::rslCompleteHandler,
+								   mx_internal::rslErrorHandler,
+								   mx_internal::rslErrorHandler,
+								   mx_internal::rslErrorHandler);
+			}
+		}
+
 		// Check if we are finished
 		if (rslDone &&
 			((loaded >= total && total > 0) || (total == 0 && loaded > 0) || (root is MovieClip && (MovieClip(root).totalFrames > 2) && (MovieClip(root).framesLoaded >= 2)) ))
 		{
+			if (!sentDocFrameReady)
+			{
+				sentDocFrameReady = true;
+				// Dispatch a Frame1 done event.
+				dispatchEvent(new FlexEvent(FlexEvent.PRELOADER_DOC_FRAME_READY));
+				return;
+			}
+
+			if (waitingToLoadResourceModules)
+			{
+				if (applicationDomain.hasDefinition("mx.resources::ResourceManager"))
+				{
+					waitingToLoadResourceModules = false;
+					rslListLoader = resourceModuleListLoader;
+					rslDone = false;
+					// Start loading the resourceModules
+					rslListLoader.load(mx_internal::rslProgressHandler,
+									   mx_internal::rslCompleteHandler,
+									   mx_internal::rslErrorHandler,
+									   mx_internal::rslErrorHandler,
+									   mx_internal::rslErrorHandler);
+					return;
+				}
+			}
+
 			timer.removeEventListener(TimerEvent.TIMER, timerHandler);

 			// Stop the timer.
 			timer.reset();
-
+
 			// Dispatch a complete event.
 			dispatchEvent(new Event(Event.COMPLETE));

 			// Dispatch an initProgress event.
 			dispatchEvent(new FlexEvent(FlexEvent.INIT_PROGRESS));
+
 		}
 	}


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

--- frameworks/projects/mx/src/mx/skins/halo/ProgressMaskSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ProgressMaskSkin.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.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5119
Author:   smgilson@adobe.com
Date:     2009-03-01T15:19:39.936226Z

Log Message:
-----------
Clean up some ASDoc tags from the addition of the @productversion/@playerversion tags

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<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/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.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/core/UITextField.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/halo/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/NCManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/Base64Encoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/StringValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as</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/framework/src/mx/core/IInteractiveObjectInterface.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/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ContainerRawChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.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/rpc/src/mx/rpc/events/FaultEvent.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/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.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/controls/videoClasses/VideoPlayer.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/rpc/src/mx/rpc/xml/Schema.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/HexEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectContainerInterface.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/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.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/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISpriteInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/HaloRectBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as
+++ frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as
@@ -95,12 +95,12 @@
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3
      */
-	public function AbstractConsumer()
-	{
-		super();
-	    _log = Log.getLogger("mx.messaging.Consumer");
-		_agentType = "consumer";
-	}
+    public function AbstractConsumer()
+    {
+        super();
+        _log = Log.getLogger("mx.messaging.Consumer");
+        _agentType = "consumer";
+    }

     //--------------------------------------------------------------------------
     //
@@ -120,16 +120,16 @@
      */
     private var _resubscribeTimer:Timer;

-	/**
-	 *  Flag indicating whether this consumer should be subscribed or not.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	protected var _shouldBeSubscribed:Boolean;
+    /**
+     *  Flag indicating whether this consumer should be subscribed or not.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    protected var _shouldBeSubscribed:Boolean;

     /**
      *  @private
@@ -141,7 +141,7 @@
      *  @private
      */
     private var resourceManager:IResourceManager =
-									ResourceManager.getInstance();
+                                    ResourceManager.getInstance();

     //--------------------------------------------------------------------------
     //
@@ -149,9 +149,9 @@
     //
     //--------------------------------------------------------------------------

-	//----------------------------------
-	//  clientId
-	//----------------------------------
+    //----------------------------------
+    //  clientId
+    //----------------------------------

     /**
      *  @private
@@ -161,38 +161,38 @@
      *
      *  @param value The clientId value.
      */
-	override mx_internal function setClientId(value:String):void
-	{
-		if (super.clientId != value)
-		{
-		    var resetSubscription:Boolean = false;
-			if (subscribed)
-			{
-				unsubscribe();
-				resetSubscription = true;
-		    }
-
-			super.setClientId(value);
-
-			if (resetSubscription)
-				subscribe(value);
-		}
-	}
-
-	//----------------------------------
-	//  destination
-	//----------------------------------
+    override mx_internal function setClientId(value:String):void
+    {
+        if (super.clientId != value)
+        {
+            var resetSubscription:Boolean = false;
+            if (subscribed)
+            {
+                unsubscribe();
+                resetSubscription = true;
+            }
+
+            super.setClientId(value);
+
+            if (resetSubscription)
+                subscribe(value);
+        }
+    }
+
+    //----------------------------------
+    //  destination
+    //----------------------------------

     /**
      *  @private
      *  Updates the destination for this Consumer and resubscribes if the
      *  Consumer is currently subscribed.
      */
-	override public function set destination(value:String):void
-	{
-	    if (destination != value)
-	    {
-	        var resetSubscription:Boolean = false;
+    override public function set destination(value:String):void
+    {
+        if (destination != value)
+        {
+            var resetSubscription:Boolean = false;
             if (subscribed)
             {
                 unsubscribe();
@@ -204,7 +204,7 @@
             if (resetSubscription)
                 subscribe();
         }
-	}
+    }

     //----------------------------------
     //  maxFrequency
@@ -246,9 +246,9 @@
         dispatchEvent(event);
     }

-	//----------------------------------
-	//  resubscribeAttempts
-	//----------------------------------
+    //----------------------------------
+    //  resubscribeAttempts
+    //----------------------------------

     /**
      *  @private
@@ -257,52 +257,52 @@

     [Bindable(event="propertyChange")]

-	/**
-	 *  The number of resubscribe attempts that the Consumer makes in the event
-	 *  that the destination is unavailable or the connection to the destination fails.
-	 *  A value of -1 enables infinite attempts.
-	 *  A value of zero disables resubscribe attempts.
-	 *

-	 *  Resubscribe attempts are made at a constant rate according to the resubscribe interval
-	 *  value. When a resubscribe attempt is made if the underlying channel for the Consumer is not
-	 *  connected or attempting to connect the channel will start a connect attempt.
-	 *  Subsequent Consumer resubscribe attempts that occur while the underlying
-	 *  channel connect attempt is outstanding are effectively ignored until
-	 *  the outstanding channel connect attempt succeeds or fails.
-	 *

-	 *
-	 *  @see mx.messaging.Consumer#resubscribeInterval
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	public function get resubscribeAttempts():int
-	{
-	    return _resubscribeAttempts;
-	}
-
-	/**
-	 *  @private
-	 */
-	public function set resubscribeAttempts(value:int):void
-	{
-	    if (_resubscribeAttempts != value)
-	    {
-	        if (value == 0)
-	            stopResubscribeTimer();
-
-	        var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "resubscribeAttempts", _resubscribeAttempts, value);
-	        _resubscribeAttempts = value;
-	        dispatchEvent(event);
-	    }
-	}
-
-	//----------------------------------
-	//  resubscribeInterval
-	//----------------------------------
+    /**
+     *  The number of resubscribe attempts that the Consumer makes in the event
+     *  that the destination is unavailable or the connection to the destination fails.
+     *  A value of -1 enables infinite attempts.
+     *  A value of zero disables resubscribe attempts.
+     *

+     *  Resubscribe attempts are made at a constant rate according to the resubscribe interval
+     *  value. When a resubscribe attempt is made if the underlying channel for the Consumer is not
+     *  connected or attempting to connect the channel will start a connect attempt.
+     *  Subsequent Consumer resubscribe attempts that occur while the underlying
+     *  channel connect attempt is outstanding are effectively ignored until
+     *  the outstanding channel connect attempt succeeds or fails.
+     *

+     *
+     *  @see mx.messaging.Consumer#resubscribeInterval
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    public function get resubscribeAttempts():int
+    {
+        return _resubscribeAttempts;
+    }
+
+    /**
+     *  @private
+     */
+    public function set resubscribeAttempts(value:int):void
+    {
+        if (_resubscribeAttempts != value)
+        {
+            if (value == 0)
+                stopResubscribeTimer();
+
+            var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "resubscribeAttempts", _resubscribeAttempts, value);
+            _resubscribeAttempts = value;
+            dispatchEvent(event);
+        }
+    }
+
+    //----------------------------------
+    //  resubscribeInterval
+    //----------------------------------

     /**
      *  @private
@@ -311,165 +311,165 @@

     [Bindable(event="propertyChange")]

-	/**
-	 *  The number of milliseconds between resubscribe attempts.
-	 *  If a Consumer doesn't receive an acknowledgement for a subscription
-	 *  request, it will wait the specified number of milliseconds before
-	 *  attempting to resubscribe.
-	 *  Setting the value to zero disables resubscriptions.
-	 *

-	 *  Resubscribe attempts are made at a constant rate according to this
-	 *  value. When a resubscribe attempt is made if the underlying channel for the Consumer is not
-	 *  connected or attempting to connect the channel will start a connect attempt.
-	 *  Subsequent Consumer resubscribe attempts that occur while the underlying
-	 *  channel connect attempt is outstanding are effectively ignored until
-	 *  the outstanding channel connect attempt succeeds or fails.
-	 *

-	 *
-	 *  @see mx.messaging.Consumer#resubscribeInterval
-	 *
-	 *  @throws ArgumentError If the assigned value is negative.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	public function get resubscribeInterval():int
-	{
-	    return _resubscribeInterval;
-	}
-
-	/**
-	 *  @private
-	 */
-	public function set resubscribeInterval(value:int):void
-	{
-	    if (_resubscribeInterval != value)
-	    {
-	        if (value < 0)
-			{
-				var message:String = resourceManager.getString(
-					"messaging", "resubscribeIntervalNegative");
-	            throw new ArgumentError(message);
-			}
-		    else if (value == 0)
-			{
-		        stopResubscribeTimer();
-			}
-		    else if (_resubscribeTimer != null)
-			{
-		        _resubscribeTimer.delay = value;
-			}
-
-		    var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "resubscribeInterval", _resubscribeInterval, value);
-		    _resubscribeInterval = value;
-		    dispatchEvent(event);
-		}
-	}
-
-	//----------------------------------
-	//  subscribed
-	//----------------------------------
-
-	/**
-	 *  @private
-	 */
-	private var _subscribed:Boolean;
-
-	[Bindable(event="propertyChange")]
-
-	/**
-	 *  Indicates whether the Consumer is currently subscribed. The propertyChange
-	 *  event is dispatched when this property changes.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	public function get subscribed():Boolean
-	{
-		return _subscribed;
-	}
-
-	/**
-	 *  @private
-	 */
-	protected function setSubscribed(value:Boolean):void
-	{
-	    if (_subscribed != value)
-	    {
-	        var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "subscribed", _subscribed, value);
-	        _subscribed = value;
-
-	        // Register or unregister our subscription state with the ConsumerMessageDispatcher.
-	        // This allows the singleton ConsumerMessageDispatcher to start or stop listening for
-	        // messages on our behalf.
-	        if (_subscribed)
-            {
-	            ConsumerMessageDispatcher.getInstance().registerSubscription(this);
+    /**
+     *  The number of milliseconds between resubscribe attempts.
+     *  If a Consumer doesn't receive an acknowledgement for a subscription
+     *  request, it will wait the specified number of milliseconds before
+     *  attempting to resubscribe.
+     *  Setting the value to zero disables resubscriptions.
+     *

+     *  Resubscribe attempts are made at a constant rate according to this
+     *  value. When a resubscribe attempt is made if the underlying channel for the Consumer is not
+     *  connected or attempting to connect the channel will start a connect attempt.
+     *  Subsequent Consumer resubscribe attempts that occur while the underlying
+     *  channel connect attempt is outstanding are effectively ignored until
+     *  the outstanding channel connect attempt succeeds or fails.
+     *

+     *
+     *  @see mx.messaging.Consumer#resubscribeInterval
+     *
+     *  @throws ArgumentError If the assigned value is negative.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    public function get resubscribeInterval():int
+    {
+        return _resubscribeInterval;
+    }
+
+    /**
+     *  @private
+     */
+    public function set resubscribeInterval(value:int):void
+    {
+        if (_resubscribeInterval != value)
+        {
+            if (value < 0)
+            {
+                var message:String = resourceManager.getString(
+                    "messaging", "resubscribeIntervalNegative");
+                throw new ArgumentError(message);
+            }
+            else if (value == 0)
+            {
+                stopResubscribeTimer();
+            }
+            else if (_resubscribeTimer != null)
+            {
+                _resubscribeTimer.delay = value;
+            }
+
+            var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "resubscribeInterval", _resubscribeInterval, value);
+            _resubscribeInterval = value;
+            dispatchEvent(event);
+        }
+    }
+
+    //----------------------------------
+    //  subscribed
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _subscribed:Boolean;
+
+    [Bindable(event="propertyChange")]
+
+    /**
+     *  Indicates whether the Consumer is currently subscribed. The propertyChange
+     *  event is dispatched when this property changes.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    public function get subscribed():Boolean
+    {
+        return _subscribed;
+    }
+
+    /**
+     *  @private
+     */
+    protected function setSubscribed(value:Boolean):void
+    {
+        if (_subscribed != value)
+        {
+            var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "subscribed", _subscribed, value);
+            _subscribed = value;
+
+            // Register or unregister our subscription state with the ConsumerMessageDispatcher.
+            // This allows the singleton ConsumerMessageDispatcher to start or stop listening for
+            // messages on our behalf.
+            if (_subscribed)
+            {
+                ConsumerMessageDispatcher.getInstance().registerSubscription(this);
                 if (channelSet != null && channelSet.currentChannel != null && channelSet.currentChannel is PollingChannel)
                     PollingChannel(channelSet.currentChannel).enablePolling();
             }
-	        else
-            {
-    	        ConsumerMessageDispatcher.getInstance().unregisterSubscription(this);
+            else
+            {
+                ConsumerMessageDispatcher.getInstance().unregisterSubscription(this);
                 if (channelSet != null && channelSet.currentChannel != null && channelSet.currentChannel is PollingChannel)
                     PollingChannel(channelSet.currentChannel).disablePolling();
             }

-	        dispatchEvent(event);
-	    }
-	}
-
-	//----------------------------------
-	//  timestamp
-	//----------------------------------
-
-	/**
-	 *  @private
-	 */
-	private var _timestamp:Number = -1;
+            dispatchEvent(event);
+        }
+    }
+
+    //----------------------------------
+    //  timestamp
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _timestamp:Number = -1;

     [Bindable(event="propertyChange")]

-	/**
-	 *  Contains the timestamp of the most recent message this Consumer
-	 *  has received.
-	 *  This value is passed to the destination in a receive() call
-	 *  to request that it deliver messages for the Consumer from the timestamp
-	 *  forward.
-	 *  All messages with a timestamp value greater than the
-	 *  timestamp value will be returned during a poll operation.
-	 *  Setting this value to -1 will retrieve all cached messages from the
-	 *  destination.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	public function get timestamp():Number
-	{
-	    return _timestamp;
-	}
-
-	/**
-	 *  @private
-	 */
-	public function set timestamp(value:Number):void
-	{
-	    if (_timestamp != value)
-	    {
-	        var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "timestamp", _timestamp, value);
-	        _timestamp = value;
-	        dispatchEvent(event);
-	    }
-	}
+    /**
+     *  Contains the timestamp of the most recent message this Consumer
+     *  has received.
+     *  This value is passed to the destination in a receive() call
+     *  to request that it deliver messages for the Consumer from the timestamp
+     *  forward.
+     *  All messages with a timestamp value greater than the
+     *  timestamp value will be returned during a poll operation.
+     *  Setting this value to -1 will retrieve all cached messages from the
+     *  destination.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    public function get timestamp():Number
+    {
+        return _timestamp;
+    }
+
+    /**
+     *  @private
+     */
+    public function set timestamp(value:Number):void
+    {
+        if (_timestamp != value)
+        {
+            var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "timestamp", _timestamp, value);
+            _timestamp = value;
+            dispatchEvent(event);
+        }
+    }

     //--------------------------------------------------------------------------
     //
@@ -477,25 +477,25 @@
     //
     //--------------------------------------------------------------------------

-	/**
-	 *  @private
+    /**
+     *  @private
      *  Custom processing for subscribe, unsubscribe and poll message
      *  acknowledgments.
      *
      *  @param ackMsg The AcknowledgeMessage.
      *
      *  @param msg The original subscribe, unsubscribe or poll message.
-	 */
-	override public function acknowledge(ackMsg:AcknowledgeMessage, msg:IMessage):void
-	{
-	    // Ignore acks for any outstanding messages that return after disconnect() is invoked.
-	    if (_disconnectBarrier)
-	        return;
-
-	    // Only run Consumer processing if this isn't an error.
-	    if (!ackMsg.headers[AcknowledgeMessage.ERROR_HINT_HEADER] && (msg is CommandMessage))
-	    {
-	        var command:CommandMessage = msg as CommandMessage;
+     */
+    override public function acknowledge(ackMsg:AcknowledgeMessage, msg:IMessage):void
+    {
+        // Ignore acks for any outstanding messages that return after disconnect() is invoked.
+        if (_disconnectBarrier)
+            return;
+
+        // Only run Consumer processing if this isn't an error.
+        if (!ackMsg.headers[AcknowledgeMessage.ERROR_HINT_HEADER] && (msg is CommandMessage))
+        {
+            var command:CommandMessage = msg as CommandMessage;

             var op:int = command.operation;

@@ -509,9 +509,9 @@
                    op = CommandMessage.SUBSCRIBE_OPERATION;
             }

-	        switch (op)
-	        {
-	            case CommandMessage.UNSUBSCRIBE_OPERATION:
+            switch (op)
+            {
+                case CommandMessage.UNSUBSCRIBE_OPERATION:
                     if (Log.isInfo())
                         _log.info("'{0}' {1} acknowledge for unsubscribe.", id, _agentType);
                     super.setClientId(null);
@@ -543,83 +543,83 @@

                 // Handle the result of a receive() invocation (a Consumer instance-specific poll request).
                 case CommandMessage.POLL_OPERATION:
-                	if ((ackMsg.body != null) && (ackMsg.body is Array))
-                	{
-			            var messageList:Array = ackMsg.body as Array;
+                    if ((ackMsg.body != null) && (ackMsg.body is Array))
+                    {
+                        var messageList:Array = ackMsg.body as Array;
                         for each (var message:IMessage in messageList)
                             messageHandler(MessageEvent.createEvent(MessageEvent.MESSAGE, message));
-		            }
-		            super.acknowledge(ackMsg, msg);
+                    }
+                    super.acknowledge(ackMsg, msg);
                 break;
             }
-	    }
-	    else
-	    {
-	        super.acknowledge(ackMsg, msg);
-	    }
-	}
-
-	/**
-	 *  Disconnects the Consumer from its remote destination.
-	 *  This method should be invoked on a Consumer that is no longer
-	 *  needed by an application after unsubscribing.
-	 *  This method does not wait for outstanding network operations to complete
-	 *  and does not send an unsubscribe message to the server.
-	 *  After invoking disconnect(), the Consumer will report that it is in an
-	 *  disconnected, unsubscribed state because it will not receive any more
-	 *  messages until it has reconnected and resubscribed.
-	 *  Disconnecting stops automatic resubscription attempts if they are running.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	override public function disconnect():void
-	{
-	    // We don't invoke unsubscribe() in this case because a Consumer subscribed to a
-	    // JMS destination durably will blow away the durable subscription.
-	    _shouldBeSubscribed = false; // Prevent resubscribe attempts.
+        }
+        else
+        {
+            super.acknowledge(ackMsg, msg);
+        }
+    }
+
+    /**
+     *  Disconnects the Consumer from its remote destination.
+     *  This method should be invoked on a Consumer that is no longer
+     *  needed by an application after unsubscribing.
+     *  This method does not wait for outstanding network operations to complete
+     *  and does not send an unsubscribe message to the server.
+     *  After invoking disconnect(), the Consumer will report that it is in an
+     *  disconnected, unsubscribed state because it will not receive any more
+     *  messages until it has reconnected and resubscribed.
+     *  Disconnecting stops automatic resubscription attempts if they are running.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    override public function disconnect():void
+    {
+        // We don't invoke unsubscribe() in this case because a Consumer subscribed to a
+        // JMS destination durably will blow away the durable subscription.
+        _shouldBeSubscribed = false; // Prevent resubscribe attempts.
         stopResubscribeTimer();
         setSubscribed(false);

         super.disconnect();
-	}
-
-	/**
-	 *  @private
+    }
+
+    /**
+     *  @private
      *  The Consumer supresses ErrorMessage processing if the error is
      *  retryable and it is configured to resubscribe.
      *
      *  @param errMsg The ErrorMessage describing the fault.
      *
      *  @param msg The original message (generally a subscribe).
-	 */
-	override public function fault(errMsg:ErrorMessage, msg:IMessage):void
+     */
+    override public function fault(errMsg:ErrorMessage, msg:IMessage):void
     {
         // Ignore faults for any outstanding messages that return after disconnect() is invoked.
-	    if (_disconnectBarrier)
-	        return;
+        if (_disconnectBarrier)
+            return;

         if (errMsg.headers[ErrorMessage.RETRYABLE_HINT_HEADER])
-        {
+        {
             if (_resubscribeTimer == null)
             {
-    	        // If this error correlates to our current subscribe message,
-    	        // we should no longer be subscribed.
-    	        if ((_subscribeMsg != null) && (errMsg.correlationId == _subscribeMsg.messageId))
-    	            _shouldBeSubscribed = false;
-    	        super.fault(errMsg, msg);
-    	    }
-    	    // Else, suppress the fault dispatch because the resubscribe
-    	    // timer is running and will generate a fault when it runs out of
-    	    // allowed resubscribe attempts.
-	    }
-	    else
-	    {
-	        super.fault(errMsg, msg);
-	    }
+                // If this error correlates to our current subscribe message,
+                // we should no longer be subscribed.
+                if ((_subscribeMsg != null) && (errMsg.correlationId == _subscribeMsg.messageId))
+                    _shouldBeSubscribed = false;
+                super.fault(errMsg, msg);
+            }
+            // Else, suppress the fault dispatch because the resubscribe
+            // timer is running and will generate a fault when it runs out of
+            // allowed resubscribe attempts.
+        }
+        else
+        {
+            super.fault(errMsg, msg);
+        }
     }

     /**
@@ -650,31 +650,31 @@
      *  @param event The ChannelEvent.
      */
     override public function channelDisconnectHandler(event:ChannelEvent):void
-	{
-	    setSubscribed(false);
-
-	    super.channelDisconnectHandler(event);
-
-	    if (_shouldBeSubscribed && !event.rejected)
+    {
+        setSubscribed(false);
+
+        super.channelDisconnectHandler(event);
+
+        if (_shouldBeSubscribed && !event.rejected)
             startResubscribeTimer();
-	}
-
-	/**
-	 *  @private
-	 *  Custom processing to start up a resubscribe timer if our channel faults
-	 *  when we should be subscribed.
-	 *
-	 *  @param event The ChannelFaultEvent.
-	 */
-	override public function channelFaultHandler(event:ChannelFaultEvent):void
-	{
-	    if (!event.channel.connected)
-	        setSubscribed(false);
-
-	    super.channelFaultHandler(event);
-
-	    if (_shouldBeSubscribed && !event.rejected && !event.channel.connected)
-	        startResubscribeTimer();
+    }
+
+    /**
+     *  @private
+     *  Custom processing to start up a resubscribe timer if our channel faults
+     *  when we should be subscribed.
+     *
+     *  @param event The ChannelFaultEvent.
+     */
+    override public function channelFaultHandler(event:ChannelFaultEvent):void
+    {
+        if (!event.channel.connected)
+            setSubscribed(false);
+
+        super.channelFaultHandler(event);
+
+        if (_shouldBeSubscribed && !event.rejected && !event.channel.connected)
+            startResubscribeTimer();
     }

     //--------------------------------------------------------------------------
@@ -683,48 +683,48 @@
     //
     //--------------------------------------------------------------------------

-	/**
-	 *  Requests any messages that are queued for this Consumer on the server.
-	 *  This method should only be used for Consumers that subscribe over non-realtime,
-	 *  non-polling channels.
-	 *  This method is a no-op if the Consumer is not subscribed.
-	 *
-	 *  @param timestamp This argument is deprecated and is ignored.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	public function receive(timestamp:Number = 0):void
-	{
-	    if (clientId != null) // We need a clientId to distinguish this from a generic poll request sent by a polling channel.
-	    {
-    		var msg:CommandMessage = new CommandMessage();
+    /**
+     *  Requests any messages that are queued for this Consumer on the server.
+     *  This method should only be used for Consumers that subscribe over non-realtime,
+     *  non-polling channels.
+     *  This method is a no-op if the Consumer is not subscribed.
+     *
+     *  @param timestamp This argument is deprecated and is ignored.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    public function receive(timestamp:Number = 0):void
+    {
+        if (clientId != null) // We need a clientId to distinguish this from a generic poll request sent by a polling channel.
+        {
+            var msg:CommandMessage = new CommandMessage();
             msg.operation = CommandMessage.POLL_OPERATION;
             msg.destination = destination;
-    		internalSend(msg);
-        }
-	}
-
-	/**
+            internalSend(msg);
+        }
+    }
+
+    /**
      *  Subscribes to the remote destination.
-	 *
-	 *  @param clientId The client id to subscribe with. Use null for non-durable Consumers. If the subscription is durable, a consistent
-	 *                  value must be supplied every time the Consumer subscribes in order
-	 *                  to reconnect to the correct durable subscription in the remote destination.
-	 *
-	 *  @throws mx.messaging.errors.InvalidDestinationError If no destination is set.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	public function subscribe(clientId:String = null):void
-	{
+     *
+     *  @param clientId The client id to subscribe with. Use null for non-durable Consumers. If the subscription is durable, a consistent
+     *                  value must be supplied every time the Consumer subscribes in order
+     *                  to reconnect to the correct durable subscription in the remote destination.
+     *
+     *  @throws mx.messaging.errors.InvalidDestinationError If no destination is set.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    public function subscribe(clientId:String = null):void
+    {
         // Set a flag to determine whether the passed clientId differs from the
         // current value and should be assigned.
         var resetClientId:Boolean = ((clientId != null) &&
@@ -748,42 +748,42 @@
         _subscribeMsg = buildSubscribeMessage();

         internalSend(_subscribeMsg);
-	}
-
-	/**
+    }
+
+    /**
      *  Unsubscribes from the remote destination. In the case of durable JMS
      *  subscriptions, this will destroy the durable subscription on the JMS server.
      *
      *  @param preserveDurable - when true, durable JMS subscriptions are not destroyed
-	 * 		allowing consumers to later resubscribe and receive missed messages
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	public function unsubscribe(preserveDurable:Boolean = false):void
-	{
+     *      allowing consumers to later resubscribe and receive missed messages
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    public function unsubscribe(preserveDurable:Boolean = false):void
+    {
         _shouldBeSubscribed = false;
         if (subscribed)
         {
-        	// Stop listening now for any messages as we could be set to a new
-        	// channel before the ack comes back, and once the ack returns we
-        	// will no longer have a valid client id.
+            // Stop listening now for any messages as we could be set to a new
+            // channel before the ack comes back, and once the ack returns we
+            // will no longer have a valid client id.
             if (channelSet != null)
-		        channelSet.removeEventListener(destination, messageHandler);
-
-		    if (Log.isInfo())
+                channelSet.removeEventListener(destination, messageHandler);
+
+            if (Log.isInfo())
                 _log.info("'{0}' {1} unsubscribe.", id, _agentType);

             internalSend(buildUnsubscribeMessage(preserveDurable));
-	    }
-	    else
-	    {
-	        stopResubscribeTimer();
-        }
-	}
+        }
+        else
+        {
+            stopResubscribeTimer();
+        }
+    }

     //--------------------------------------------------------------------------
     //
@@ -792,24 +792,24 @@
     //--------------------------------------------------------------------------

     /**
-	 *  @private
-	 *  Consumers subscribe for messages from a destination and this is the handler
-	 *  method that is invoked when a message for this Consumer is pushed or polled
-	 *  from the server.
-	 *
-	 *  @param event The MessageEvent.
-	 */
-	mx_internal function messageHandler(event:MessageEvent):void
-	{
-	    // NOTE: This method is invoked directly by the ConsumerMessageDispatcher.
-	    // The event flow for a pushed message is:
-	    // 1. Channel receives a pushed/polled message and dispatches a message event
-	    // 2. Any ChannelSets connected to the Channel will handle these events in ChannelSet.messageHandler();
-	    //    simply redispatching them.
-	    // 3. Consumers that subscribe to a destination trigger the internal use of a shared ConsumerMessageDispatcher
-	    //    that listens for message events from any ChannelSets that Consumers have subscribed over and this helper routes pushed messages to the proper Consumer instances.
-	    var message:IMessage = event.message;
-	    if (message is CommandMessage)
+     *  @private
+     *  Consumers subscribe for messages from a destination and this is the handler
+     *  method that is invoked when a message for this Consumer is pushed or polled
+     *  from the server.
+     *
+     *  @param event The MessageEvent.
+     */
+    mx_internal function messageHandler(event:MessageEvent):void
+    {
+        // NOTE: This method is invoked directly by the ConsumerMessageDispatcher.
+        // The event flow for a pushed message is:
+        // 1. Channel receives a pushed/polled message and dispatches a message event
+        // 2. Any ChannelSets connected to the Channel will handle these events in ChannelSet.messageHandler();
+        //    simply redispatching them.
+        // 3. Consumers that subscribe to a destination trigger the internal use of a shared ConsumerMessageDispatcher
+        //    that listens for message events from any ChannelSets that Consumers have subscribed over and this helper routes pushed messages to the proper Consumer instances.
+        var message:IMessage = event.message;
+        if (message is CommandMessage)
         {
             var command:CommandMessage = message as CommandMessage;
             switch (command.operation)
@@ -828,12 +828,6 @@
             /*
              * Command messages are handled internally by the Consumer and
              * are not dispatched to message listeners via MessageEvents.
-             *
-             *  @langversion 3.0
-             *  @playerversion Flash 9
-             *  @playerversion AIR 1.1
-             *  @productversion BlazeDS 4
-             *  @productversion LCDS 3
              */
             return;
         }
@@ -841,13 +835,13 @@
         if (message.timestamp > _timestamp)
             _timestamp = message.timestamp;

-		// Server might push out error messages (eg. during MessageClient.invalidate)
-		// that need to be dispatched as message fault events.
-		if (message is ErrorMessage)
-			dispatchEvent(MessageFaultEvent.createEvent(ErrorMessage(message)));
-		else
-			dispatchEvent(MessageEvent.createEvent(MessageEvent.MESSAGE, message));
-	}
+        // Server might push out error messages (eg. during MessageClient.invalidate)
+        // that need to be dispatched as message fault events.
+        if (message is ErrorMessage)
+            dispatchEvent(MessageFaultEvent.createEvent(ErrorMessage(message)));
+        else
+            dispatchEvent(MessageEvent.createEvent(MessageEvent.MESSAGE, message));
+    }

     //--------------------------------------------------------------------------
     //
@@ -855,21 +849,21 @@
     //
     //--------------------------------------------------------------------------

-	/**
-	 *  Returns a subscribe message.
-	 *  This method should be overridden by subclasses if they need custom
-	 *  subscribe messages.
-	 *
-	 *  @return The subscribe CommandMessage.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	protected function buildSubscribeMessage():CommandMessage
-	{
+    /**
+     *  Returns a subscribe message.
+     *  This method should be overridden by subclasses if they need custom
+     *  subscribe messages.
+     *
+     *  @return The subscribe CommandMessage.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    protected function buildSubscribeMessage():CommandMessage
+    {
         var msg:CommandMessage = new CommandMessage();
         msg.operation = CommandMessage.SUBSCRIBE_OPERATION;
         msg.clientId = clientId;
@@ -877,26 +871,26 @@
         if (maxFrequency > 0)
             msg.headers[CommandMessage.MAX_FREQUENCY_HEADER] = maxFrequency;
         return msg;
-	}
-
-	/**
-	 *  Returns an unsubscribe message.
-	 *  This method should be overridden by subclasses if they need custom
-	 *  unsubscribe messages.
-	 *
-	 *  @param preserveDurable - when true, durable JMS subscriptions are not destroyed
-	 * 			allowing consumers to later resubscribe and receive missed messages
-	 *
-	 *  @return The unsubscribe CommandMessage.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion BlazeDS 4
-	 *  @productversion LCDS 3
-	 */
-	protected function buildUnsubscribeMessage(preserveDurable:Boolean):CommandMessage
-	{
+    }
+
+    /**
+     *  Returns an unsubscribe message.
+     *  This method should be overridden by subclasses if they need custom
+     *  unsubscribe messages.
+     *
+     *  @param preserveDurable - when true, durable JMS subscriptions are not destroyed
+     *          allowing consumers to later resubscribe and receive missed messages
+     *
+     *  @return The unsubscribe CommandMessage.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
+     */
+    protected function buildUnsubscribeMessage(preserveDurable:Boolean):CommandMessage
+    {
         var msg:CommandMessage = new CommandMessage();
         msg.operation = CommandMessage.UNSUBSCRIBE_OPERATION;
         msg.clientId = clientId;
@@ -905,10 +899,10 @@
         // only include the PRESERVE_DURABLE_HEADER param in the message if
         // its value is true
         if (preserveDurable)
-        	msg.headers[CommandMessage.PRESERVE_DURABLE_HEADER] = preserveDurable;
+            msg.headers[CommandMessage.PRESERVE_DURABLE_HEADER] = preserveDurable;

         return msg;
-	}
+    }

     /**
      *  @private
@@ -926,11 +920,11 @@
             stopResubscribeTimer();
             _shouldBeSubscribed = false;
             var errMsg:ErrorMessage = new ErrorMessage();
-			errMsg.faultCode = "Client.Error.Subscribe";
+            errMsg.faultCode = "Client.Error.Subscribe";
             errMsg.faultString = resourceManager.getString(
-				"messaging", "consumerSubscribeError");
+                "messaging", "consumerSubscribeError");
             errMsg.faultDetail = resourceManager.getString(
-				"messaging", "failedToSubscribe");
+                "messaging", "failedToSubscribe");
             errMsg.correlationId = _subscribeMsg.messageId;
             fault(errMsg, _subscribeMsg);
             return;
@@ -946,8 +940,8 @@
         internalSend(_subscribeMsg, false);
     }

-	/**
-	 *  @private
+    /**
+     *  @private
      *  This method will start a timer which attempts to resubscribe
      *  periodically.
      */
@@ -960,21 +954,16 @@
             {
                 if (Log.isDebug())
                     _log.debug("'{0}' {1} starting resubscribe timer.", id, _agentType);
-	            /*
-	             * Initially, the timeout is set to 1 so we try to
-	             * reconnect immediately (perhaps to a different channel).
-	             * after that, it will poll at the configured time interval.
-	             *
-	             *  @langversion 3.0
-	             *  @playerversion Flash 9
-	             *  @playerversion AIR 1.1
-	             *  @productversion BlazeDS 4
-	             *  @productversion LCDS 3
-	             */
-	            _resubscribeTimer = new Timer(1);
-	            _resubscribeTimer.addEventListener(TimerEvent.TIMER, resubscribe);
-	            _resubscribeTimer.start();
-	            _currentAttempt = 0;
+                /*
+                 * Initially, the timeout is set to 1 so we try to
+                 * reconnect immediately (perhaps to a different channel).
+                 * after that, it will poll at the configured time interval.
+                 *
+                 */
+                _resubscribeTimer = new Timer(1);
+                _resubscribeTimer.addEventListener(TimerEvent.TIMER, resubscribe);
+                _resubscribeTimer.start();
+                _currentAttempt = 0;
             }
         }
     }
@@ -994,7 +983,7 @@
             _resubscribeTimer.reset();
             _resubscribeTimer = null;
         }
-	}
+    }
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4804
Author:   jvroom@adobe.com
Date:     2009-02-03T01:56:22.023978Z

Log Message:
-----------
Bugs: LCDS-548: add code to deal with contentType="application/xml" with one parameter (avoid
name/value encoding in that case)
      LCDS-405: baseURL on HTTPMultiService should accept URLs which start with "/"

      Added convertParametersHandler and convertResultsHandler function hooks to RemoteObject
      to support framework code which wants to modify the service behavior.

      Moved "properties" from rpc/http/AbstractOperation to rpc/AbstractOperation so we can use
      it for customizing the handling of remote object results

      Couple of minor ASDoc fixes and one tab -> spaces change

Doc: minor asdoc edits
QE: LCDS QE will verify the bugs in this one
Reviewers: Mete, Pete, Seth, Ed reviewed different parts of this checkin

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
+++ frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
@@ -79,11 +79,6 @@

         concurrency = Concurrency.MULTIPLE;
     }
-
-    /**
-     * This is a hook to register additional user specified properties for your operation.
-     */
-    public var properties:Object;

     /**
      *  The result format "e4x" specifies that the value returned is an XML instance, which can be accessed using ECMAScript for XML (E4X) expressions.


Transferred from the Adobe Open Source Subversion Repository

Revision: 3512
Author:   jimurphy@adobe.com
Date:     2008-10-07T20:28:56.871176Z

Log Message:
-----------
rename flex4 mx.effects.easing to mx.effects.fxEasing to avoid a name conflict in the framework

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Constant.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/EaseInOut.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/easing" copyfrom-rev="3509" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Sine.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/easing</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/IEaser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/CallAction.as</path>

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

--- frameworks/projects/spark/src/spark/effects/easing/Linear.as
+++ frameworks/projects/spark/src/spark/effects/easing/Linear.as
@@ -8,7 +8,7 @@
 //  in accordance with the terms of the license agreement accompanying it.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package mx.effects.easing
+package mx.effects.fxEasing
 {
 /**
  * Provides easing functionality with three phases during


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

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

 package spark.skins
 {


- feature: added positioning information to element debug output

git-svn-id: e38e7cdd6ace00d8230583a2d3b43e9a55f5c011@546 bc4816be-ef27-423a-9c4d-fc420be121a2

--- src/reprise/ui/DocumentView.as
+++ src/reprise/ui/DocumentView.as
@@ -403,7 +403,8 @@
 		protected function debugMarkElement(element : UIComponent) : void
 		{
 			var output : String = '\nElement: ' + element +
-				'\nSelectorpath: ' + element.selectorPath.split('@').join('') + '\n';
+				'\nSelectorpath: ' + element.selectorPath.split('@').join('') + '\n' +
+				'position: ' + (element.style.position || 'static') + '\n';

 			var position : Point = element.getPositionRelativeToDisplayObject(this);
 			m_debugInterface.x = position.x;


Transferred from the Adobe Open Source Subversion Repository

Revision: 6322
Author:   clucier@adobe.com
Date:     2009-04-28T14:34:56.297137Z

Log Message:
-----------
Adding ITransientDeferredInstance which supports a reset() method, allowing deferred instances to be optionally cleaned up.  Compiler support added to generate an associated destruction method which conveniently nulls out any related document slots upon reset.

Added support for a new compile time attribute (itemDestructionPolicy)  for states, taking advantage of the new resettable factory.

Bugs: SDK-19828.
Reviewers: Paul Reilly, Glenn Reuhle
QE Notes: Will need new test written against the itemDestructionPolicy feature, spec has been updated.
Doc Notes: Will require new user guide writeup on itemDestructionPolicy.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/PrimitiveNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITransientDeferredInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ArrayNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DeferredInstanceFromClass.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/StatesModel.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/StatesGenerator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Model.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/VectorNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DeferredInstanceFromFunction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4/.project</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/java/flex-fxgutils/.project</path>

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

--- frameworks/projects/framework/src/mx/core/ITransientDeferredInstance.as
+++ frameworks/projects/framework/src/mx/core/ITransientDeferredInstance.as
@@ -0,0 +1,47 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.core
+{
+
+/**
+ *  The ITransientDeferredInstance interface extends IDeferredInstance and adds
+ *  the ability for the user to reset the deferred instance factory to its
+ *  initial state (usually this implies releasing any known references to the
+ *  component, such as the setting the owning document property that refers to
+ *  the instance to null).
+ *
+ *  This additional capability is leveraged by the AddItems states override when
+ *  the desired behavior is to destroy a state-specific element when a state
+ *  no longer applies.
+ *
+ *  The Flex compiler uses the same automatic coercion rules as with
+ *  IDeferredInstance.
+ *
+ *  @see mx.states.AddItems
+ *  @see mx.core.IDeferredInstance
+ */
+public interface ITransientDeferredInstance extends IDeferredInstance
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Resets the state of our factory to its initial state, clearing any
+     *  references to the cached instance.
+     */
+    function reset():void;
+}
+
+}


Fix #35

Fix #35

--- as3/com/netease/protobuf/ReadUtils.as
+++ as3/com/netease/protobuf/ReadUtils.as
@@ -18,7 +18,7 @@
 		public static function skip(input:IDataInput, wireType:uint):void {
 			switch (wireType) {
 			case WireType.VARINT:
-				while (input.readUnsignedByte() > 0x80) {}
+				while (input.readUnsignedByte() >= 0x80) {}
 				break
 			case WireType.FIXED_64_BIT:
 				input.readInt()


Fix subdomain parsing typo.

Fix subdomain parsing typo.

--- src/com/esri/viewer/managers/ConfigManager.as
+++ src/com/esri/viewer/managers/ConfigManager.as
@@ -1209,7 +1209,7 @@
             }
             if (webTiledLayer.subDomains)
             {
-                lyrXML.@subdomains = webTiledLayer.displayLevels.join();
+                lyrXML.@subdomains = webTiledLayer.subDomains.join();
             }
         }
         else if (layer is WMSLayer)