Transferred from the Adobe Open Source Subversion Repository

Revision: 18767
Author:   dloverin@adobe.com
Date:     2010-11-22T12:13:05.651102Z

Log Message:
-----------
RSL Sharing Among Modules feature check-in.

Made PARB changes.
Added Compiler API and FlexTask for 'application-domain' option.
Renamed compiler option 'application-domains' to 'application-domain'.

frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as
    addPreloadedRSL() stub.

frameworks/projects/framework/src/mx/core/ApplicationDomainTarget.as
    ASDoc change.

frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
    Update due to PARB changes in RSLData.

frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
    PARB changes.

frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as
    Add addPreloadedRSL() to interface. Changes rsl parameter type from Array to Vector.<RSLData>.

frameworks/projects/framework/src/mx/core/RSLData.as
    PARB changes:
•        Change var to getters for read-only properties except for moduleFactory.

•        Rename url to rslURL.

•        Rename policyFileUrl to policyFileURL

frameworks/projects/framework/src/mx/managers/SystemManager.as
    PARB changes.

frameworks/projects/framework/src/mx/utils/LoaderUtil.as
    PARB changes and implement new rule where a sub-app/module loaded into the top-level appdomain has its RSLs loaded into the top-level application. The RSLs can them be shared with other sub-apps/modules of the top-level application.

modules/antTasks/src/flex/ant/MxmlcTask.java
    new ant task for “application-domain” option.

modules/compiler/src/java/flex2/compiler/common/Configuration.java
    add alias “rsl-domain” for “application-domain”.

modules/compiler/src/java/flex2/compiler/common/RuntimeSharedLibrarySettingsConfiguration.java
    Rename “application-domains” option to “application-domain”.

modules/compiler/src/java/flex2/configuration_en.properties
modules/compiler/src/java/flex2/tools/flexbuilder/BuilderConfiguration.java
modules/compiler/src/java/flex2/tools/oem/Configuration.java
modules/compiler/src/java/flex2/tools/oem/internal/ConfigurationConstants.java
modules/compiler/src/java/flex2/tools/oem/internal/OEMConfiguration.java
    Add Compiler API for setting “application-domain”.

modules/compiler/src/java/flex2/tools/PreLink.java
    Generate stub code for addPreloadedRSL().

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex
Tests run: cyclone server, checkintests
Is noteworthy for integration: Yes.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/oem/internal/OEMConfiguration.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/common/Configuration.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/common/RuntimeSharedLibrarySettingsConfiguration.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/RSLData.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/ApplicationDomainTarget.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/flexbuilder/BuilderConfiguration.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/oem/Configuration.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/LoaderUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/antTasks/src/flex/ant/MxmlcTask.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/oem/internal/ConfigurationConstants.java</path>

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

--- frameworks/projects/framework/src/mx/core/ApplicationDomainTarget.as
+++ frameworks/projects/framework/src/mx/core/ApplicationDomainTarget.as
@@ -12,18 +12,17 @@
 package mx.core
 {

-[ExcludeClass]
-
 /**
- *  Values for the supported kinds of application domain targets. Each
- *  target specifies a relative application domain that is resolved at
- *  runtime.
+ *  The ApplicationDomainTarget class defines the possible values for the
+ *  applicationDomainTarget property of the RSLData
+ *  class. Each application domain target specifies a relative application
+ *  domain that is resolved at runtime.
  *
  *  @see mx.core.RSLData
  *
  *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
 public final class ApplicationDomainTarget
@@ -45,8 +44,8 @@
      *  the application domain of the module factory loading the RSL.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public static const DEFAULT:String = "default";
@@ -55,8 +54,8 @@
      *  The application domain of the current module factory.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public static const CURRENT:String = "current";
@@ -65,8 +64,8 @@
      *  The application domain of the parent module factory.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public static const PARENT:String = "parent";
@@ -75,8 +74,8 @@
      *  The application domain of the top-level module factory.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public static const TOP_LEVEL:String = "top-level";


Transferred from the Adobe Open Source Subversion Repository

Revision: 10461
Author:   gruehle@adobe.com
Date:     2009-09-21T16:55:01.374911Z

Log Message:
-----------
Temporarily revert 10435. It broke too many mustella bitmap comparisons.

Checkintests pass.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ApplicationBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableContainerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin.mxml</path>

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

--- frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as
+++ frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as
@@ -128,8 +128,6 @@
  *  The default value depends on the component class;
  *  if not overridden for the class, the default value is "inset".
  *  The default value for most Containers is "none".
- *  The "inset" and "outset" values are only
- *  valid with the halo theme.
  *
  *  @langversion 3.0
  *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 11469
Author:   smgilson@adobe.com
Date:     2009-11-05T18:27:49.211775Z

Log Message:
-----------
ASDoc localization bug fixes - Part II

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/IItemRendererOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>

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

--- frameworks/projects/spark/src/spark/components/IItemRendererOwner.as
+++ frameworks/projects/spark/src/spark/components/IItemRendererOwner.as
@@ -39,7 +39,7 @@
      *  The String is written to the labelText
      *  property of the item renderer.
      *
-     *  @param item The date item to display.
+     *  @param item The data item to display.
      *
      *  @return The String for display in an item renderer.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 21319
Author:   build@adobe.com
Date:     2011-06-01T17:45:41.136089Z

Log Message:
-----------
Version update to 4.5.2

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/airspark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_air/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/flex-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_spark/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark_dmv/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/rpc/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mx/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_flashflexkit/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_dmv/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/build.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/modules/compiler/src/java/flex2/tools/VersionInfo.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/airframework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/advancedgrids/src/mx/core/Version.as</path>

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

--- frameworks/projects/charts/src/mx/core/Version.as
+++ frameworks/projects/charts/src/mx/core/Version.as
@@ -15,4 +15,4 @@
  *  @private
  *  Version string for this class.
  */
-mx_internal static const VERSION:String = "4.5.1.0";
+mx_internal static const VERSION:String = "4.5.2.0";


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

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

 package mx.events
 {


Fixed menu hotkeys

Fixed menu hotkeys

--- src/LevelStates/LevelState.as
+++ src/LevelStates/LevelState.as
@@ -241,7 +241,7 @@
 			var zoomButton:MenuButton = new GraphicButton(50, 10, _zoom_sprite, function openList():void {
 				listOpen = LIST_ZOOM;
 				makeUI();
-			}, "Display zoom controls", new Key("PLUS"));
+			}, "Display zoom controls", new Key("O"));
 			upperLayer.add(zoomButton);
 		}

@@ -256,6 +256,11 @@

 					FlxG.camera.scroll.x -= (FlxG.width / 2) / zoom;
 					FlxG.camera.scroll.y -= (FlxG.height / 2) / zoom;
+
+					if (listOpen == LIST_ZOOM) {
+						listOpen = LIST_NONE;
+						makeUI();
+					}
 				}, "Set zoom to "+Math.pow(2, -zoomLevel), HOTKEYS[zoomLevel]).setParam(zoomLevel).setSelected(Math.pow(2, -zoomLevel) == zoom));

 			var zoomList:ButtonList = new ButtonList(50, 10, zoomButtons, function onListClose():void {
@@ -312,6 +317,10 @@
 					mode = newMode;
 					if (MODE_DELAY == mode)
 						viewMode = VIEW_MODE_DELAY;
+					if (listOpen == LIST_MODES) {
+						listOpen = LIST_NONE;
+						makeUI();
+					}
 				}, "Enter "+MODE_NAMES[newMode]+" mode", HOTKEYS[newMode]).setParam(newMode).setSelected(newMode == mode));
 			}


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

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

 package mx.olap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17459
Author:   chiedozi@adobe.com
Date:     2010-08-24T05:48:39.610163Z

Log Message:
-----------
Fixed a bunch of small bugs in TabbedViewNavigator and ViewNavigator.
TabbedViewNavigator now properly implements ISelectableList apis.
TabbedViewNavigator no longer destroys activeView as the selectedIndex changes to temporarily fix with flicker issues.

QE notes:
Doc notes:
Bugs: SDK-27544,SDK-27542,SDK-27536,SDK-27534
Reviewer: Ryan
Tests run: checkintests
Is noteworthy for integration:

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/View.as
+++ frameworks/projects/mobilecomponents/src/spark/components/View.as
@@ -212,13 +212,16 @@
     {
         if (_overlayControls != value)
         {
+            var oldValue:Boolean = _overlayControls;
             _overlayControls = value;

-            var changeEvent:PropertyChangeEvent =
-                PropertyChangeEvent.createUpdateEvent(this, "overlayControls", _overlayControls, value);
+            if (hasEventListener(PropertyChangeEvent.PROPERTY_CHANGE))
+            {
+                var changeEvent:PropertyChangeEvent =
+                PropertyChangeEvent.createUpdateEvent(this, "overlayControls", oldValue, _overlayControls);

-            if (hasEventListener(changeEvent.type))
                 dispatchEvent(changeEvent);
+            }
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20359
Author:   aharui@adobe.com
Date:     2011-02-17T22:44:43.090953Z

Log Message:
-----------
Set tabEnabled=false on buttons in skins.  Otherwise, when added to a new NativeWindow and nothing has focus, they will momentarily get focus when clicked on, before the FocusManager gets to run.  The FocusManager will later run and assign focus to the component causing the button to dispatch a focusOut event that can close dropdowns and run validators.

QE notes: none
Doc notes:  none
Bugs: SDK-29515
Reviewer: Ryan
Tests run: checkintests mustella cyclone full run
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/HSliderSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/DropDownListSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/HScrollBarSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/HSliderSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/HScrollBarSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/NumericStepperSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/NumericStepperSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/VSliderSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/VScrollBarSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/VSliderSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/VScrollBarSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/SpinnerSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/SpinnerSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/controls/scrollClasses/ScrollBar.as
+++ frameworks/projects/mx/src/mx/controls/scrollClasses/ScrollBar.as
@@ -1136,6 +1136,7 @@
         {
             scrollTrack = new Button();
             scrollTrack.focusEnabled = false;
+            scrollTrack.tabEnabled = false;
             scrollTrack.skinName = "trackSkin";
             scrollTrack.upSkinName = "trackUpSkin";
             scrollTrack.overSkinName = "trackOverSkin";
@@ -1162,7 +1163,8 @@
             upArrow.autoRepeat = true;

             upArrow.focusEnabled = false;
-
+            upArrow.tabEnabled = false;
+
             // This button is a 4-state Button
             // that by default uses the ScrollArrowSkin.
             upArrow.upSkinName = "upArrowUpSkin";
@@ -1195,6 +1197,7 @@
             downArrow.autoRepeat = true;

             downArrow.focusEnabled = false;
+            downArrow.tabEnabled = false;

             // This button is a 4-state Button
             // that by default uses the ScrollArrowSkin.
@@ -1350,7 +1353,8 @@
                 scrollThumb = new ScrollThumb();

                 scrollThumb.focusEnabled = false;
-
+                scrollThumb.tabEnabled = false;
+
                 // Add the thumb above the up arrow but below the down arrow
                 addChildAt(scrollThumb, getChildIndex(downArrow));


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/videoClasses/INCManager.as
+++ frameworks/projects/mx/src/mx/controls/videoClasses/INCManager.as
@@ -0,0 +1,229 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.controls.videoClasses
+{
+
+import flash.net.NetConnection;
+
+[ExcludeClass]
+
+/**
+ *  @private
+ *  Creates NetConnection for VideoPlayer,
+ *  a helper class for that user facing class.
+ */
+public interface INCManager
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  bitrate
+	//----------------------------------
+
+	/**
+	 *  The bandwidth to be used to switch between multiple streams,
+	 *  in bits per second.
+	 */
+	function get bitrate():Number;
+
+	/**
+	 *  @private
+	 */
+	function set bitrate(b:Number):void;
+
+	//----------------------------------
+	//  netConnection
+	//----------------------------------
+
+	/**
+	 *  Read-only NetConnection.
+	 */
+	function get netConnection():NetConnection;
+
+	//----------------------------------
+	//  streamHeight
+	//----------------------------------
+
+	/**
+	 *  Read-only height of stream.
+	 *  After VideoPlayer.ncConnected() is called,
+	 *  if this is NaN or less than 0, that indicates to the VideoPlayer
+	 *  that we have determined no stream height information.
+	 *  If the VideoPlayer has autoSize or maintainAspectRatio set to true,
+	 *  then this value will be used and the resizing will happen instantly,
+	 *  rather than waiting.
+	 *
+	 *  VideoPlayer#ncConnected()
+	 *  VideoPlayer#autoSize
+	 *  VideoPlayer#maintainAspectRatio
+	 */
+	function get streamHeight():Number;
+
+	//----------------------------------
+	//  streamLength
+	//----------------------------------
+
+	/**
+	 *  Read-only length of stream.
+	 *  After VideoPlayer.ncConnected() is called,
+	 *  if this is NaN or less than 0, that indicates to the VideoPlayer
+	 *  that we have determined no stream length information.
+	 *  Any stream length information that is returned will be assumed
+	 *  to trump any other, including that set via the totalTime
+	 *  parameter of the VideoPlayer.play() or
+	 *  VideoPlayer.load() method or from FLV metadata.
+	 *
+	 *  VideoPlayer#ncConnected()
+	 *  VideoPlayer#play()
+	 *  VideoPlayer#load()
+	 */
+	function get streamLength():Number;
+
+	//----------------------------------
+	//  streamName
+	//----------------------------------
+
+	/**
+	 *  Read-only stream name to be passed into NetStream.play.
+	 */
+	function get streamName():String;
+
+	//----------------------------------
+	//  streamWidth
+	//----------------------------------
+
+	/**
+	 *  Read-only width of stream.
+	 *  After VideoPlayer.ncConnected() is called,
+	 *  if this is NaN or less than 0, that indicates to the VideoPlayer
+	 *  that we have determined no stream width information.
+	 *  If the VideoPlayer has autoSize or maintainAspectRatio set to true,
+	 *  then this value will be used and the resizing will happen instantly,
+	 *  rather than waiting.
+	 *
+	 *  VideoPlayer#ncConnected()
+	 *  VideoPlayer#autoSize
+	 *  VideoPlayer#maintainAspectRatio
+	 */
+	function get streamWidth():Number;
+
+	//----------------------------------
+	//  timeout
+	//----------------------------------
+
+	/**
+	 *  Timeout after which we give up on connection, in milliseconds.
+	 */
+	function get timeout():uint;
+
+    /**
+     *  @private
+     */
+	function set timeout(t:uint):void;
+
+	//----------------------------------
+	//  videoPlayer
+	//----------------------------------
+
+	/**
+	 *  The VideoPlayer object which owns this object.
+	 */
+	function get videoPlayer():VideoPlayer;
+
+    /**
+     *  @private
+     */
+	function set videoPlayer(v:VideoPlayer):void;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Called by VideoPlayer to ask for connection to URL.
+	 *  Once connection is either successful or failed,
+	 *  call VideoPlayer.ncConnected().
+	 *  If connection failed, set nc = null before calling.
+	 *
+	 *  @return true if connection made synchronously;
+	 *  false attempt made asynchronously so caller should expect
+	 *  a "connected" event coming.
+	 *
+	 *  @see #netConnection
+	 *  @see #reconnect()
+	 *  @see VideoPlayer#ncConnected()
+	 */
+	function connectToURL(url:String):Boolean;
+
+	/**
+	 *  Called by VideoPlayer if connection successfully
+	 *  made but stream not found.
+	 *  If multiple alternate interpretations of the RTMP URL are possible,
+	 *  it should retry to connect to the server with a different URL
+	 *  and hand back a
+	 *  different stream name.
+	 *
+	 *
This can be necessary in cases where the URL is something
+	 *  like rtmp://servername/path1/path2/path3.
+	 *  The user could be passing in an application name and an instance
+	 *  name, so the NetConnection should be opened with
+	 *  rtmp://servername/path1/path2, or they might want to use the default
+	 *  instance so the stream should be opened with path2/path3.
+	 *  In general this is possible whenever there are more than two parts
+	 *  to the path, but not possible if there are only two.
+	 *  There should never only be one.

+	 *
+	 *  @return true if will attempt to make another connection;
+	 *  false if already made attempt or no additional attempts
+	 *  are merited.
+	 *
+	 *  @see #connectToURL()
+	 *  @see VideoPlayer#rtmpOnStatus()
+	 */
+	function connectAgain():Boolean;
+
+	/**
+	 *  Called by VideoPlayer to ask for reconnection
+	 *  after connection is lost.
+	 *  Once connection is either successful or failed,
+	 *  call VideoPlayer.ncReonnected().
+	 *  If connection failed, set nc = null before calling.
+	 *
+	 *  @see #netConnection
+	 *  @see #connect()
+	 *  @see VideoPlayer#idleTimeout
+	 *  @see VideoPlayer#ncReonnected()
+	 */
+	function reconnect():void;
+
+	/**
+	 *  Close the NetConnection
+	 */
+	function close():void;
+
+	/**
+	 *  Whether URL is for RTMP streaming from Flash Communication
+	 *  Server or progressive download.
+	 *
+	 *  @returns true if stream is rtmp streaming from FCS,
+	 *  false if progressive download of HTTP, local or other file.
+	 */
+	function isRTMP():Boolean;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 13208
Author:   chaase@adobe.com
Date:     2009-12-23T21:49:14.524642Z

Log Message:
-----------
Dealt with my FIXMEs in the code. Some went away (no longer issues), some became TODOs (still issues, but nothing that we have to solve in this release), a couple were actually resolved in this change (like the bug filed/fixed: 24848).

QE notes: 10 failures in Mustella of tests that need to be changed. They're excluded for now and QE has local fixes.
Doc notes: None
Bugs: SDK-24848
Reviewer: Jason
Tests run: checkintests, Mustella (spark/effects, mx/effects)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/Timeline.as
+++ frameworks/projects/spark/src/spark/effects/animation/Timeline.as
@@ -28,7 +28,7 @@
  */
 internal class Timeline
 {
-    // FIXME (chaase): This class is internal for now, but it may eventually
+    // TODO (chaase): This class is internal for now, but it may eventually
     // make sense to make it public and accessible outside of just the
     // Animation class. For example, effects may want to access the global
     // animation time. Also, we  may want to have child timelines, or expose


Transferred from the Adobe Open Source Subversion Repository

Revision: 12469
Author:   jimurphy@adobe.com
Date:     2009-12-03T22:04:16.560316Z

Log Message:
-----------
fix offsets for FB.  Convert line ending from lf to crlf in svn for the proects directory only.  When checking project files in, be sure to save you files this way.  Another update to make sure happens is set the svn properties svn:eol-style = native and svn:mime-type = text/plain (these have been updated on theses files as well)

QE notes: make sure the proper class is selected
Doc notes: no
Bugs: http://bugs.adobe.com/jira/browse/SDK-24498
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
133 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as
+++ frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as
@@ -180,4 +180,4 @@
         return combine(uint(baseValue), uint(decrementValue), false);
    }
 }
-}+}


now reading projection metadata even if dataX,dataY aren't geom columns.

Change-Id: I514afec5293d8ab90bb677ad00ac00f2f8234467

--- WeaveUISpark/src/weave/visualization/plotters/AbstractGlyphPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/AbstractGlyphPlotter.as
@@ -110,12 +110,9 @@
 			var sourceSRS:String = sourceProjection.value;
 			var destinationSRS:String = destinationProjection.value;

-			// if sourceSRS is missing and both are geom columns...
-			if (!sourceSRS &&
-				dataX.getMetadata(ColumnMetadata.DATA_TYPE) == DataTypes.GEOMETRY &&
-				dataY.getMetadata(ColumnMetadata.DATA_TYPE) == DataTypes.GEOMETRY)
-			{
-				// if both X and Y projections are the same...
+			// if sourceSRS is missing and both X and Y projections are the same, use that.
+			if (!sourceSRS)
+			{
 				var projX:String = dataX.getMetadata(ColumnMetadata.PROJECTION);
 				var projY:String = dataY.getMetadata(ColumnMetadata.PROJECTION);
 				if (projX == projY)


FLEX-34131 allow resource fetch attempts in frame 1

--- frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
+++ frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
@@ -131,6 +131,7 @@
             if (SystemManagerGlobals.topLevelSystemManagers[0].currentFrame == 1)
             {
                 ignoreMissingBundles = true;
+				inFrame1 = true;
                 SystemManagerGlobals.topLevelSystemManagers[0].
                     addEventListener(Event.ENTER_FRAME, enterFrameHandler);
             }
@@ -140,7 +141,8 @@
 		// Falcon injects this property and it is always false
 		// We ignore missing bundles because Falcon doesn't
 		// generate fallback bundles like MXMLC;
-		ignoreMissingBundles = info && info.hasOwnProperty("isMXMLC");
+		if (!inFrame1)
+			ignoreMissingBundles = info && info.hasOwnProperty("isMXMLC");

         if (info)
             processInfo(info, false);
@@ -158,6 +160,13 @@
     //
     //--------------------------------------------------------------------------

+	/**
+	 *  @private
+	 *
+	 *  Whether or ignoreMissingBundles was set in frame 1
+	 */
+	private var inFrame1:Boolean = false;
+
     /**
      *  @private
      *
@@ -1171,6 +1180,7 @@
         {
             if (SystemManagerGlobals.topLevelSystemManagers[0].currentFrame == 2)
             {
+				inFrame1 = false;
                 SystemManagerGlobals.topLevelSystemManagers[0].
                     removeEventListener(Event.ENTER_FRAME, enterFrameHandler);
             }


changed forgot email text to make sense now that we can change passwords

--- flexEditor/src/org/arisgames/editor/forms/ForgotAccountInformationFormView.as
+++ flexEditor/src/org/arisgames/editor/forms/ForgotAccountInformationFormView.as
@@ -68,7 +68,7 @@
     private function handleForgotPassword(obj:Object):void
     {
         trace("handleForgotPassword called with event: " + obj);
-        Alert.show("Your password has been reset and emailed to the email address on file for this account.", "Password Reset");
+        Alert.show("An email has been sent with instructions to change your password.", "Password Reset");
     }

     private function handleFault(obj:Object):void


now preventing last received diff from being sent out again

--- WeaveData/src/weave/services/collaboration/CollaborationService.as
+++ WeaveData/src/weave/services/collaboration/CollaborationService.as
@@ -84,6 +84,7 @@
 		private const baseDecoder:Base64Decoder = new Base64Decoder();
 		private var connectedToRoom:Boolean = false;
 		private var stateLog:SessionStateLog = null;
+		private var synchronizingIncomingDiff:Boolean = false;

 		public const userList:ArrayCollection = new ArrayCollection();
 		public var username:String;
@@ -105,19 +106,6 @@
 			if( connectedToRoom ) disconnect();
 		}

-		//If the Session state changes in anyway, a diff is created and stored in the
-		//StateLog history. The latest entry is than sent to the server, to be sent
-		//to everyone else to update their collaboration session.
-		private function handleStateChange():void
-		{
-			// note: this code may need to be changed later if SessionStateLog implementation changes.
-			if (connectedToRoom && stateLog != null)
-			{
-				var log:Array 	 = stateLog.undoHistory;
-				var entry:Object = log[log.length - 1];
-				sendSessionStateDiff( entry.id, entry.forward );
-			}
-		}
 		public function get isConnected():Boolean
 		{
 			return connectedToRoom;
@@ -221,17 +209,18 @@
 		//Handles Sending the entire session state. Should only be used if
 		//someone needs a hard reset, or joining the collaboration server
 		//for the first time.
-		public function sendFullSessionState( diffID:int, diff:Object, target:String=null ):void
+		public function sendFullSessionState( diffID:int, diff:Object, target:String ):void
 		{
 			var message:FullSessionState = new FullSessionState(diffID, diff);
 			sendEncodedObject( message, target );
 		}

 		//Handles sending session state changes
-		public function sendSessionStateDiff( diffID:int, diff:Object, target:String=null ):void
-		{
+		public function sendSessionStateDiff( diffID:int, diff:Object ):void
+		{
+			//dispatchLogEvent('\nOUTGOING ' + diffID + ' ' + ObjectUtil.toString(diff) + '\n--------------------------\n');
 			var message:SessionStateMessage = new SessionStateMessage(diffID, diff);
-			sendEncodedObject( message, target );
+			sendEncodedObject(message, null);
 		}

 		//When a message is recieved pass it on to the user
@@ -287,6 +276,26 @@
 			{
 				disposeObjects(stateLog);
 				stateLog = null;
+			}
+		}
+		//If the Session state changes in anyway, a diff is created and stored in the
+		//StateLog history. The latest entry is than sent to the server, to be sent
+		//to everyone else to update their collaboration session.
+		private function handleStateChange():void
+		{
+			// note: this code may need to be changed later if SessionStateLog implementation changes.
+			if (connectedToRoom && stateLog != null)
+			{
+				var log:Array = stateLog.undoHistory;
+				if (synchronizingIncomingDiff)
+				{
+					log.pop(); // suppress the outgoing diff that results from an incoming diff
+				}
+				else
+				{
+					var entry:Object = log[log.length - 1];
+					sendSessionStateDiff( entry.id, entry.forward );
+				}
 			}
 		}

@@ -347,6 +356,8 @@
 						var ssm:SessionStateMessage = o as SessionStateMessage;
 						if (userAlias == this.username)
 						{
+							//dispatchLogEvent('\nECHO ' + ssm.id + '\n--------------------------\n');
+
 							// received echo back from local state change
 							// search history for diff with matching id
 							var foundID:Boolean = false;
@@ -375,12 +386,19 @@
 							for (i = stateLog.undoHistory.length - 1; i >= 0; i--)
 								setSessionState(root, stateLog.undoHistory[i].backward, false);

+							//dispatchLogEvent('\nINCOMING ' + userAlias + '.' + ssm.id + ' ' + ObjectUtil.toString(ssm.diff) + '\n--------------------------\n');
+
 							// apply remote change
 							setSessionState(root, ssm.diff, false);

 							// replay local changes
 							for (i = 0; i < stateLog.undoHistory.length; i++)
 								setSessionState(root, stateLog.undoHistory[i].forward, false);
+
+							// this will compute the diff and trigger handleStateChange()
+							synchronizingIncomingDiff = true;
+							stateLog.synchronizeNow();
+							synchronizingIncomingDiff = false;
 						}
 					}
 				}


 - fixed
 	::removeAllItems does now what it says

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

--- src/reprise/controls/List.as
+++ src/reprise/controls/List.as
@@ -7,13 +7,12 @@

 package reprise.controls
 {
+	import reprise.controls.ListItem;
+	import reprise.ui.AbstractInput;

-	import reprise.ui.AbstractInput;
 	import flash.events.Event;
 	import flash.events.MouseEvent;
-	import reprise.controls.ListItem;
-
-
+
 	public class List extends AbstractInput
 	{

@@ -64,6 +63,7 @@
 			{
 				removeItem(item);
 			}
+			m_data = [];
 		}

 		public function removeItem(item : ListItem) : void


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5067
Author:   smgilson@adobe.com
Date:     2009-02-25T16:21:22.849704Z

Log Message:
-----------
In preparation for adding ASDoc version tags for Flex, remove old tags from AIR files

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<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/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.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/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.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/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/FileSystemList.as
+++ frameworks/projects/airframework/src/mx/controls/FileSystemList.as
@@ -239,7 +239,6 @@
  *
  *  @see flash.filesystem.File
  *
- *  @playerversion AIR 1.1
  */
 public class FileSystemList extends List
 {
@@ -253,7 +252,7 @@

     /**
      *  A constant that can be used as a value for the directory property,
-	 *  representing a pseudo-top level directory named "Computer". This pseudo-directory
+     *  representing a pseudo-top level directory named "Computer". This pseudo-directory
      *  contains the root directories
      *  (such as C:\ and D:\ on Windows or / on Macintosh).
      */
@@ -337,10 +336,10 @@
      *      itemClick="fileSystemViewer.navigateBack(event.index);"/>

      *
      *  @default []
-	 *
-	 *  @see #canNavigateBack
-	 *  @see #navigateBack()
-	 *  @see mx.controls.FileSystemHistoryButton
+     *
+     *  @see #canNavigateBack
+     *  @see #navigateBack()
+     *  @see mx.controls.FileSystemHistoryButton
      */
     public function get backHistory():Array
     {
@@ -370,9 +369,9 @@
      *      itemClick="fileSystemViewer.navigateBack(event.index);"/>

      *
      *  @default false
-	 *
-	 *  @see #backHistory
-	 *  @see #navigateBack()
+     *
+     *  @see #backHistory
+     *  @see #navigateBack()
      */
     public function get canNavigateBack():Boolean
     {
@@ -402,8 +401,8 @@
      *      click="fileSystemViewer.navigateDown();"/>

      *
      *  @default false
-	 *
-	 *  @see #navigateDown()
+     *
+     *  @see #navigateDown()
      */
     public function get canNavigateDown():Boolean
     {
@@ -433,9 +432,9 @@
      *      itemClick="fileSystemViewer.navigateForward(event.index);"/>

      *
      *  @default false
-	 *
-	 *  @see #forwardHistory
-	 *  @see #navigateForward()
+     *
+     *  @see #forwardHistory
+     *  @see #navigateForward()
      */
     public function get canNavigateForward():Boolean
     {
@@ -467,8 +466,8 @@
      *      click="fileSystemViewer.navigateUp();"/>

      *
      *  @default false
-	 *
-	 *  @see #navigateUp()
+     *
+     *  @see #navigateUp()
      */
     public function get canNavigateUp():Boolean
     {
@@ -707,10 +706,10 @@
      *      itemClick="fileSystemViewer.navigateForward(event.index);"/>

      *
      *  @default []
-	 *
-	 *  @see #canNavigateForward
-	 *  @see #navigateForward()
-	 *  @see mx.controls.FileSystemHistoryButton
+     *
+     *  @see #canNavigateForward
+     *  @see #navigateForward()
+     *  @see mx.controls.FileSystemHistoryButton
      */
     public function get forwardHistory():Array
     {
@@ -1063,8 +1062,8 @@
      *  <mx:Button label="Open"
      *      enabled="{fileSystemViewer.canNavigateDown}"
      *      click="fileSystemViewer.navigateDown();"/>

-	 *
-	 *  @see #canNavigateDown
+     *
+     *  @see #canNavigateDown
      */
     public function navigateDown():void
     {
@@ -1094,8 +1093,8 @@
      *  <mx:Button label="Up"
      *      enabled="{fileSystemViewer.canNavigateUp}"
      *      click="fileSystemViewer.navigateUp();"/>

-	 *
-	 *  @see #canNavigateUp
+     *
+     *  @see #canNavigateUp
      */
     public function navigateUp():void
     {
@@ -1136,9 +1135,9 @@
      *  @param index The index in the backHistory array
      *  to navigate to.
      *  The default is 0, indicating the directory that is "closest back".
-	 *
-	 *  @see #backHistory
-	 *  @see #canNavigateBack
+     *
+     *  @see #backHistory
+     *  @see #canNavigateBack
      */
     public function navigateBack(index:int = 0):void
     {
@@ -1179,9 +1178,9 @@
      *  @param index The index in the forwardHistory array
      *  to navigate to.
      *  The default is 0, indicating the directory that is "closest forward".
-	 *
-	 *  @see #canNavigateForward
-	 *  @see #forwardHistory
+     *
+     *  @see #canNavigateForward
+     *  @see #forwardHistory
      */
     public function navigateForward(index:int = 0):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4330
Author:   preilly@adobe.com
Date:     2008-12-16T21:45:10.745617Z

Log Message:
-----------
* Reduced code generation for Bindable, added weak reference support
  to BindingUtils and added support for binding to private Statics.

tests Passed: checkintests, mxunit databinding (with and without AST generation)

Needs QA: YES

Needs DOC: NO

Bug fixes: SDK-14891

API Change: Yes, see BindingUtils and IWatcherSetupUtil2.

Reviewer: Corey

Code-level description of changes:

  frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as

    Added useWeakReference arg to watch().

    Added useWeakReference variable.

    Modified reset() to use useWeakReference.

  frameworks/projects/framework/src/mx/binding/utils/BindingUtils.as

    Added useWeakReference arg to bindProperty() and bindSetter().

  frameworks/projects/framework/src/mx/binding/BindingManager.as

    Added set() function.

  frameworks/projects/framework/src/mx/binding/IWatcherSetupUtil2.as

    Initial checkin.

  modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeSecondPassEvaluator.java

    Renamed ensureNonPublic() to ensurePublic() and reversed the logic.

    Renamed makeAttrListPrivate() to makeAttrListPublic() and modified
    to use ensurePublic().

  modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java

    Updated AST generation to mirror changes to WatcherSetupUtil.vm.

  modules/compiler/src/java/flex2/compiler/as3/binding/BindableProperty.vm

    Modified setter code generation to use BindingManager.set() to
    reduce code size.

  modules/compiler/src/java/flex2/compiler/as3/binding/WatcherSetupUtil.vm

    Added support for staticPropertyGetter.

  modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java

    Updated WatcherSetupUtil imports.

  modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm

    Added static property getter arg to WatcherSetupUtil setup() call.

    Updated template to use IWatcherSetupUtil2.

  modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java

    Updated AST generation to mirror changes to ClassDefLib.vm.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SignatureEvaluator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/PropertyWatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/WatcherSetupUtil.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/BindingManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeSecondPassEvaluator.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/IWatcherSetupUtil2.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/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/NameFormatter.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/StaticPropertyWatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/BindingUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableProperty.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>

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

--- frameworks/projects/framework/src/mx/binding/IWatcherSetupUtil2.as
+++ frameworks/projects/framework/src/mx/binding/IWatcherSetupUtil2.as
@@ -0,0 +1,39 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.binding
+{
+
+[ExcludeClass]
+
+/**
+ *  @private
+ *  This interface is used internally by Flex 4 to enable data binding
+ *  to static private variables and properties.
+ *  Flex 3 used the IWatcherSetupUtil interface.
+ */
+public interface IWatcherSetupUtil2
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	function setup(target:Object, propertyGetter:Function,
+                   staticPropertyGetter:Function,
+				   bindings:Array, watchers:Array):void;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/events/CollectionEventKind.as
+++ frameworks/projects/framework/src/mx/events/CollectionEventKind.as
@@ -18,6 +18,11 @@
  *  These constants indicate the kind of change that was made to the collection.
  *
  *  @see mx.events.CollectionEvent
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public final class CollectionEventKind
 {
@@ -31,6 +36,11 @@

     /**
      *  Indicates that the collection added an item or items.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const ADD:String = "add";

@@ -38,23 +48,43 @@
      *  Indicates that the item has moved from the position identified
      *  by the CollectionEvent oldLocation property to the
 	 *  position identified by the location property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const MOVE:String = "move";

     /**
      *  Indicates that the collection applied a sort, a filter, or both.
      *  This change can potentially be easier to handle than a RESET.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const REFRESH:String = "refresh";

     /**
      *  Indicates that the collection removed an item or items.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const REMOVE:String = "remove";

     /**
      *  Indicates that the item at the position identified by the
      *  CollectionEvent location property has been replaced.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const REPLACE:String = "replace";

@@ -62,12 +92,22 @@
     *  Indicates that the collection has internally expanded.
     *  This event kind occurs when a branch opens in a
 	*  hierarchical collection, for example when a Tree control branch opens.
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
     */
     mx_internal static const EXPAND:String = "expand";

     /**
      *  Indicates that the collection has changed so drastically that
      *  a reset is required.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const RESET:String = "reset";

@@ -75,6 +115,11 @@
      *  Indicates that one or more items were updated within the collection.
      *  The affected item(s) or their associated ObjectChangeEvent objects
      *  are stored in the items property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const UPDATE:String = "update";
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/graphics/codec/JPEGEncoder.as
+++ frameworks/projects/framework/src/mx/graphics/codec/JPEGEncoder.as
@@ -21,6 +21,11 @@
  *
  *  For information about the JPEG algorithm, see the document
  *  http://www.opennet.ru/docs/formats/jpeg.txt by Cristi Cuturicu.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class JPEGEncoder implements IImageEncoder
 {
@@ -53,6 +58,11 @@
      *. Note that even though this value is a number between 0.0 and 100.0,
      *  it does not represent a percentage.
 	 *  The default value is 50.0.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function JPEGEncoder(quality:Number = 50.0)
     {
@@ -304,6 +314,11 @@
     /**
      *  The MIME type for the JPEG encoded image.
      *  The value is <code>"image/jpeg"</code>.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get contentType():String
     {
@@ -323,6 +338,11 @@
      *  @param bitmapData The input BitmapData object.
      *
      *  @return Returns a ByteArray object containing JPEG-encoded image data.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function encode(bitmapData:BitmapData):ByteArray
     {
@@ -354,6 +374,11 @@
 	 *  alpha channel information is ignored.
      *
      *  @return Returns a ByteArray object containing JPEG-encoded image data.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function encodeByteArray(byteArray:ByteArray, width:int, height:int,
 									transparent:Boolean = true):ByteArray
@@ -1022,6 +1047,11 @@
 {
 	/**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function BitString()
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 9399
Author:   aharui@adobe.com
Date:     2009-08-19T20:39:10.836192Z

Log Message:
-----------
Check in prototypes of ControlBars in Panel and Application, Spark Containers in Halo Navigators, Halo ViewStack in Spark ButtonBar.  APIs should match spec but are subject to change from PARB.  Skins are subject to tweaking after XD review

QE Notes: The following tests will fail and need updating:
gumbo/containers/Panel/Properties/Panel_Properties_position Panel_Properties_rotate
apollo/spark/components/Window/properties/window_properties_titleIcon_tests titleIcon_test8

Doc Notes: None
Bugs: None
Reviewer: Darrell, Glenn, Ryan
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/gumbo/components/Application, gumbo/components/ButtonBar, gumbo/containers/Panel, apollo/gumbo/spark/Window, containers/ViewStack, containers/Accordion,

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorChild.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/IDeferredContentOwner.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/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatable.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</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/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/PanelSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/NavigatorContent.as
+++ frameworks/projects/spark/src/spark/components/NavigatorContent.as
@@ -0,0 +1,177 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 spark.components
+{
+import flash.events.Event;
+
+import mx.core.ContainerCreationPolicy;
+import mx.core.INavigatorContent
+
+/**
+ *  The NavigatorChild class is used in ViewStack, TabNavigator and Accordion
+ *  to allow Spark components to be managed by these navigators.
+ *
+ *  @mxml
+ *
+ *
The <s:NavigatorChild> tag inherits all of the tag
+ *  attributes of its superclass and adds the following tag attributes:

+ *
+ *

+ *  <s:NavigatorChild
+ *    Properties
+ *    icon="null"
+ *    label=""
+ *
+ *  />
+ *

+ *
+ *  @see SkinnableContainer
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public class NavigatorChild extends SkinnableContainer
+       implements INavigatorContent
+{
+    include "../core/Version.as";
+
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function NavigatorChild()
+    {
+        super();
+        creationPolicy = ContainerCreationPolicy.NONE;
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  icon
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the icon property.
+     */
+    private var _icon:Class = null;
+
+    [Bindable("iconChanged")]
+    [Inspectable(category="General", defaultValue="", format="EmbeddedFile")]
+
+    /**
+     *  The Class of the icon displayed by some navigator
+     *  containers to represent this Container.
+     *
+     *
For example, if this Container is a child of a TabNavigator,
+     *  this icon appears in the corresponding tab.
+     *  If this Container is a child of an Accordion,
+     *  this icon appears in the corresponding header.

+     *
+     *
To embed the icon in the SWF file, use the @Embed()
+     *  MXML compiler directive:

+     *
+     *

+     *    icon="@Embed('filepath')"
+     *

+     *
+     *
The image can be a JPEG, GIF, PNG, SVG, or SWF file.

+     *
+     *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get icon():Class
+    {
+        return _icon;
+    }
+
+    /**
+     *  @private
+     */
+    public function set icon(value:Class):void
+    {
+        _icon = value;
+
+        dispatchEvent(new Event("iconChanged"));
+    }
+
+    //----------------------------------
+    //  label
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the label property.
+     */
+    private var _label:String = "";
+
+    [Bindable("labelChanged")]
+    [Inspectable(category="General", defaultValue="")]
+
+    /**
+     *  The text displayed by some navigator containers to represent
+     *  this Container.
+     *
+     *
For example, if this Container is a child of a TabNavigator,
+     *  this string appears in the corresponding tab.
+     *  If this Container is a child of an Accordion,
+     *  this string appears in the corresponding header.

+     *
+     *  @default ""
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get label():String
+    {
+        return _label;
+    }
+
+    /**
+     *  @private
+     */
+    public function set label(value:String):void
+    {
+        _label = value;
+
+        dispatchEvent(new Event("labelChanged"));
+    }
+
+
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 4074
Author:   gosmith@adobe.com
Date:     2008-11-11T22:10:34.127358Z

Log Message:
-----------
FxNumericStepper now has a maxChars property, and it now restricts the characters that can be entered into its FxTextInput.
Fixed a problem with 'restrict' in TextView. If there are no characters left to insert after restriction, do nothing; don't insert an empty string and thereby delete the insertion.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Glenn

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -1726,7 +1726,14 @@
             // then displayAsPassword last.

             if (restrict != null)
+            {
                 textToInsert = StringUtil.restrict(textToInsert, restrict);
+                if (textToInsert.length == 0)
+                {
+                    event.preventDefault();
+                    return;
+                }
+            }

             if (maxChars != 0)
             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 22990
Author:   cframpto@adobe.com
Date:     2011-10-13T15:01:08.861938Z

Log Message:
-----------
This problem would occur if you had text which had a selection and you set new text and disabled the component in the same invalidation loop.   In this case it is not possible to preserve the selection.

QE notes: add a test please
Doc notes:
Bugs: SDK-31838
Reviewer: Hans
Tests run: cyclone
Is noteworthy for integration:

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/RichEditableText.as

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -2622,12 +2622,17 @@

                 if (oldAnchorPosition != -1)
                 {
+                    // This will return null if editingMode = readOnly which is true when either
+                    // editable is false and/or enabled is false.
                     var selManager:ISelectionManager = _textContainerManager.beginInteraction();

                     // The visible selection will be refreshed during the update.
-                    selManager.selectRange(oldAnchorPosition, oldActivePosition);
-                    _textContainerManager.endInteraction();
-                }
+                    if (selManager)
+                    {
+                        selManager.selectRange(oldAnchorPosition, oldActivePosition);
+                        _textContainerManager.endInteraction();
+                    }
+                }
             }

             if (clipAndEnableScrollingChanged)


Transferred from the Adobe Open Source Subversion Repository

Revision: 3017
Author:   chaase@adobe.com
Date:     2008-08-27T20:27:30.701511Z

Log Message:
-----------
Fix for SDK-16608 and SDK-16445, plus Animation API cleanup.

I've removed the class and concept of IAnimationTarget, which was a duplicate, and more direct, way of listening to animation events. But to simplify the API, I've eliminated the target concept and, instead, require users of Animation to add themselves as listeners to the various AnimationEvent event types. This fixed SDK-16445 because final values were not being sent to targets, although they were being sent to event listeners (which Animate and other new effects benefit from now).

This also fixes SDK-16608, which was caused by assuming that any target of Fade must have the 'visible' property, which is not necessarily the case (such as for the Fill object).

Reviewed by Glenn
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animation.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/ResizeInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/Animation.as
+++ frameworks/projects/spark/src/spark/effects/animation/Animation.as
@@ -74,17 +74,13 @@
      * @param endValue The final value that the animation ends on
      * @param duration The length of time, in milliseconds, that the animation
      * will run
-     * @param IAnimationTarget IAnimationTarget object that will be sent all start,
-     * repeat, update, and end messages.
      */
     public function Animation(startValue:Object=null, endValue:Object=null,
-                                  duration:Number=-1, target:IAnimationTarget=null)
+                                  duration:Number=-1)
     {
         this.duration = duration;
         this.startValue = startValue;
         this.endValue = endValue;
-        if (target)
-            animationTargets[0] = target;
         if (!isNaN(duration) && duration != -1)
             this.duration = duration;
         if (startValue is Array)
@@ -123,8 +119,6 @@
     // Track number of times repeated for use by repeatCount logic
     private var numRepeats:Number;

-    // List of objects that will be called with all animation events
-    private var animationTargets:Array = new Array();
     private var easingFunction:Function;
     private var defaultEaser:IEaser = new Sine(.5);

@@ -532,10 +526,6 @@
                     // start the next cycle
                     _elapsedTime = duration;
                     var repeatValue:Object = getCurrentValue(_elapsedTime);
-                    for each (var animationTarget:IAnimationTarget in animationTargets)
-                    {
-                        animationTarget.animationUpdate(this, repeatValue);
-                    }
                     sendAnimationEvent(AnimationEvent.ANIMATION_UPDATE, repeatValue);
                     removeAnimation(this);
                     var delayTimer:Timer = new Timer(repeatDelay, 1);
@@ -555,10 +545,6 @@
             }
             else
             {
-                for each (var target:IAnimationTarget in animationTargets)
-                {
-                    target.animationUpdate(this, currentValue);
-                }
                 sendAnimationEvent(AnimationEvent.ANIMATION_UPDATE, currentValue);
                 if (repeated)
                     sendAnimationEvent(AnimationEvent.ANIMATION_REPEAT, currentValue);
@@ -617,11 +603,6 @@
             sendAnimationEvent(AnimationEvent.ANIMATION_UPDATE, value);
             sendAnimationEvent(AnimationEvent.ANIMATION_END, value);

-            for each (var animationTarget:IAnimationTarget in animationTargets)
-            {
-                animationTarget.animationEnd(this, value);
-            }
-
             // If animation has been added, id >= 0
             // but if duration = 0, this might not be the case.
             if (id >= 0)
@@ -667,15 +648,6 @@
         startTime = clockTime - playheadTime;

         _doSeek = true;
-    }
-
-    /**
-     * Add another listener for all animation events
-     */
-    public function addAnimationTarget(value:IAnimationTarget):void
-    {
-        if (value != null)
-            animationTargets.push(value);
     }

     /**
@@ -825,10 +797,6 @@
         if (repeatBehavior == REVERSE)
             _invertValues = !_invertValues;
         var repeatValue:Object = getCurrentValue(0);
-        for each (var animationTarget:IAnimationTarget in animationTargets)
-        {
-            animationTarget.animationRepeat(this, repeatValue);
-        }
         // TODO (chaase): Make sure we're not already sending out an UPDATE
         // event with this value
         sendAnimationEvent(AnimationEvent.ANIMATION_UPDATE, repeatValue);
@@ -855,11 +823,6 @@
         else
         {
             var value:Object = getCurrentValue(0);
-            for each (var animationTarget:IAnimationTarget in animationTargets)
-            {
-                animationTarget.animationStart(this, value);
-                animationTarget.animationUpdate(this, value);
-            }
             // TODO (chaase): Make sure we're not already sending out an
             // UPDATE event with this start value
             sendAnimationEvent(AnimationEvent.ANIMATION_START, value);


Fix bug when a mesh is null during one frame

--- src/aerys/minko/scene/controller/debug/WireframeDebugController.as
+++ src/aerys/minko/scene/controller/debug/WireframeDebugController.as
@@ -32,7 +32,10 @@
 			_visible = value;

 			for each (var wireframe : Mesh in _targetToWireframe)
-				wireframe.visible = value;
+			{
+				if (wireframe)
+					wireframe.visible = value;
+			}
 		}

 		public function get visible() : Boolean


header

header

--- frameworks/projects/GoogleMaps/src/main/flex/google/maps/MouseEvent.as
+++ frameworks/projects/GoogleMaps/src/main/flex/google/maps/MouseEvent.as
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2010 The Closure Compiler Authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * This file was generated from Google's Externs for the Google Maps v3.11 API.
+ * Modifications may have been implemented at the Apache Software Foundation.
+ */
 package google.maps {

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 6204
Author:   rfrishbe@adobe.com
Date:     2009-04-22T22:24:18.334273Z

Log Message:
-----------
Make the item renderer classes for FIelSystemComboBox and FileSystemDataGrid public (although still hidden from ASDoc and excluded from code-hinting) instead of internal helper classes.  This is needed for automation.

QE Notes: -
Doc Notes: -
Bugs: SDK-20703, SDK-20702
Reviewer: Deepa
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemDataGridNameColumnRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemComboBoxRenderer.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as
+++ frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as
@@ -17,6 +17,7 @@
 import flash.text.TextLineMetrics;
 import mx.collections.CursorBookmark;
 import mx.controls.ComboBox;
+import mx.controls.fileSystemClasses.FileSystemComboBoxRenderer;
 import mx.controls.fileSystemClasses.FileSystemControlHelper;
 import mx.core.ClassFactory;
 import mx.core.mx_internal;
@@ -466,120 +467,4 @@
     }
 }

-}
-
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Helper class: FileSystemComboBoxRenderer
-//
-////////////////////////////////////////////////////////////////////////////////
-
-import flash.display.DisplayObject;
-import flash.filesystem.File;
-import mx.controls.FileSystemComboBox;
-import mx.controls.fileSystemClasses.FileSystemControlHelper;
-import mx.controls.listClasses.ListItemRenderer;
-import mx.core.mx_internal;
-
-use namespace mx_internal;
-
-/**
- *  @private
- */
-class FileSystemComboBoxRenderer extends ListItemRenderer
-{
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Constructor.
-     *
-     *  @langversion 3.0
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function FileSystemComboBoxRenderer()
-    {
-        super();
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Overridden methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     */
-    override protected function commitProperties():void
-    {
-        super.commitProperties();
-
-        if (!listData || !data)
-            return;
-
-        var comboBox:FileSystemComboBox =
-            FileSystemComboBox(listData.owner.owner);
-        if (!comboBox.showIcons)
-            return;
-
-        var iconClass:Class = comboBox.getStyle(
-            comboBox.helper.isComputer(File(data)) ?
-            "computerIcon" :
-            "directoryIcon");
-
-        if (iconClass)
-        {
-            icon = new iconClass();
-            addChild(DisplayObject(icon));
-        }
-    }
-
-    /**
-     *  @private
-     */
-    override protected function updateDisplayList(unscaledWidth:Number,
-                                                  unscaledHeight:Number):void
-    {
-        super.updateDisplayList(unscaledWidth, unscaledHeight);
-
-        if (!listData || !data)
-            return;
-
-        var comboBox:FileSystemComboBox =
-            FileSystemComboBox(listData.owner.owner);
-        if (comboBox.indent == 0)
-            return;
-
-        var delta:Number = comboBox.indent * getNestLevel(File(data));
-        if (icon)
-            icon.x += delta;
-        label.x += delta;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     */
-    private function getNestLevel(item:File):int
-    {
-        if (!item || !item.exists)
-            return 0;
-
-        var nestLevel:int = 0;
-        for (var f:File = item; f != null; f = f.parent)
-        {
-            nestLevel++;
-        }
-        return nestLevel;
-    }
-}
+}


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

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


Even when fed an object graph with no loops we could have a stack
overflow in our recursive checking. Try to catch it and cope.
I have a bad feeling this won't actually work in some envs.

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

--- src/as/com/threerings/util/ObjectMarshaller.as
+++ src/as/com/threerings/util/ObjectMarshaller.as
@@ -156,9 +156,19 @@
     public static function validateValue (value :Object) :void
         // throws ArgumentError
     {
-        var s :String = getValidationError(value);
-        if (s != null) {
-            throw new ArgumentError(s);
+        try {
+            var s :String = getValidationError(value);
+            if (s != null) {
+                throw new ArgumentError(s);
+            }
+
+        } catch (e :Error) {
+            switch (e.errorID) {
+            case 1023: // stack overflow: oh well. Even if fed valid input this can happen.
+                break;
+            default:
+                throw e; // re-throw
+            }
         }
     }


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

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


关闭了默认的 WaveFilter 设置

关闭了默认的 WaveFilter 设置

--- age/src/age/renderers/BGRenderer.as
+++ age/src/age/renderers/BGRenderer.as
@@ -63,7 +63,7 @@
 		override public function onAssetLoadComplete(asset:IAsset):void
 		{
 			setTexture(_asset.textureAtlas.getTexture(info.textureName));
-			filter = new WaveFilter(width, height, AGE.renderJuggler);
+			// filter = new WaveFilter(width, height, AGE.renderJuggler);
 			isFlipX = info.isFlipX;
 			isFlipY = info.isFlipY;


Bug 676658 - Add [cppcall] to IDataInput methods (r=rulohani)

--- core/IDataInput.as
+++ core/IDataInput.as
@@ -93,6 +93,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readBytes(bytes:ByteArray,
                               offset:uint=0,
                               length:uint=0):void;
@@ -110,6 +111,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readBoolean():Boolean;

     /**
@@ -122,6 +124,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readByte():int;

     /**
@@ -134,6 +137,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readUnsignedByte():uint;

     /**
@@ -146,6 +150,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readShort():int;

@@ -159,6 +164,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readUnsignedShort():uint;

@@ -172,6 +178,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readInt():int;

     /**
@@ -184,6 +191,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readUnsignedInt():uint;

@@ -197,6 +205,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readFloat():Number;

@@ -210,6 +219,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readDouble():Number;

@@ -244,6 +254,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readMultiByte(length:uint, charSet:String):String;

@@ -263,6 +274,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readUTF():String;

@@ -277,6 +289,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readUTFBytes(length:uint):String;

@@ -293,6 +306,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function get bytesAvailable():uint;

@@ -311,6 +325,7 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function readObject():*;

@@ -326,7 +341,9 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function get objectEncoding():uint;
+    [cppcall]
     function set objectEncoding(version:uint):void;

@@ -340,7 +357,9 @@
      *
      *  @playerversion Lite 4
      */
+    [cppcall]
     function get endian():String;
+    [cppcall]
     function set endian(type:String):void;
 }