Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/airspark/src/spark/components/Window.as
+++ frameworks/projects/airspark/src/spark/components/Window.as
@@ -41,10 +41,12 @@
 import mx.managers.CursorManagerImpl;
 import mx.managers.DragManager;
 import mx.managers.FocusManager;
+import mx.managers.IActiveWindowManager;
 import mx.managers.ICursorManager;
 import mx.managers.ISystemManager;
 import mx.managers.NativeDragManagerImpl;
 import mx.managers.WindowedSystemManager;
+import mx.managers.systemClasses.ActiveWindowManager;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.StyleManager;

@@ -431,6 +433,11 @@
     //--------------------------------------------------------------------------

     /**
+     *  @private
+     */
+    private static function weakDependency():void { ActiveWindowManager };
+
+    /**
      *  Returns the Window to which a component is parented.
      *
      *  @param component the component whose Window you wish to find.
@@ -2062,7 +2069,12 @@
         if (sm.isTopLevel())
         {
             focusManager = new FocusManager(this);
-            sm.activate(this);
+			var awm:IActiveWindowManager =
+				IActiveWindowManager(sm.getImplementation("mx.managers::IActiveWindowManager"));
+			if (awm)
+           		awm.activate(this);
+            else
+                focusManager.activate();
             _cursorManager = new CursorManagerImpl(sm);
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20764
Author:   smgilson@adobe.com
Date:     2011-03-10T17:16:24.059260Z

Log Message:
-----------
Merge 20761 - ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/LinkedList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/Base64Encoder.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/URLUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/LinkedListNode.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/NameUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/XMLNotifier.as</path>

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

--- frameworks/projects/framework/src/mx/utils/Base64Encoder.as
+++ frameworks/projects/framework/src/mx/utils/Base64Encoder.as
@@ -30,6 +30,14 @@
     //
     //--------------------------------------------------------------------------

+    /**
+     *  Constant definition for the string "UTF-8".
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public static const CHARSET_UTF_8:String = "UTF-8";

     /**


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.accessibility
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12306
Author:   hmuller@adobe.com
Date:     2009-12-01T00:16:47.642254Z

Log Message:
-----------
H,VScrollBar now install mouse wheel event listeners on themselves and their viewport so that mouse wheel handling works when there's no Scroller.

Removed some old dead (commented out long ago) code from Scroller.

QE notes: I reversed the direction for horizontal mouse wheel scrolling (applies when only a HSB is visible)
Doc notes:
Bugs: sdk-21930
Reviewer: Ryan, Jason
Tests run: DataGroup, List (before horizontal mouse wheel scroll direction change)
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -309,20 +309,20 @@

     /**
      *  @private
-     *  Called before measure/updateDisplayList() if layout is virtual to guarantee that
-     *  the typicalLayoutElement has been defined.  If it hasn't, typicalItem is
+     *  Called before measure/updateDisplayList(), if useVirtualLayout=true, to guarantee
+     *  that the typicalLayoutElement has been defined.  If it hasn't, typicalItem is
      *  initialized to dataProvider[0] and layout.typicalLayoutElement is set.
      */
     private function ensureTypicalLayoutElement():void
     {
-        if (layout.typicalLayoutElement == null)
-        {
-            var list:IList = dataProvider;
-            if (list && (list.length > 0))
-            {
-                _typicalItem = list.getItemAt(0);
-                initializeTypicalItem();
-            }
+        if (layout.typicalLayoutElement)
+            return;
+
+        const list:IList = dataProvider;
+        if (list && (list.length > 0))
+        {
+            _typicalItem = list.getItemAt(0);
+            initializeTypicalItem();
         }
     }

@@ -1107,12 +1107,13 @@

     /**
      *  @private
-     *  Make sure there's a typicalLayoutElement for virtual layout.
+     *  Make sure there's a valid typicalLayoutElement for virtual layout.
      */
     override protected function measure():void
     {
         if (layout && layout.useVirtualLayout)
             ensureTypicalLayoutElement();
+
         super.measure();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10603
Author:   stshongr@adobe.com
Date:     2009-09-25T21:27:29.073340Z

Log Message:
-----------
Add checkin test for TileGroup
Add ASDoc examples for TileGroup/VGroup/HGroup

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

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/TileGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TileGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/VGroupExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/TileGroupTestScript.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/HGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/spark/views/TileGroupTests.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/TileGroup.as
+++ frameworks/projects/spark/src/spark/components/TileGroup.as
@@ -49,6 +49,7 @@
  *  </pre>
  *
  *  @see spark.layouts.TileLayout
+ *  @includeExample examples/TileGroupExample.mxml
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

  *
  *

- *  <mx:Power
+ *  <s:Power
  *    id="ID"
  *    exponent="2"
  *   />


trim white space

trim white space

--- src/org/mangui/hls/loader/LevelLoader.as
+++ src/org/mangui/hls/loader/LevelLoader.as
@@ -162,8 +162,8 @@
                 _hls.dispatchEvent(new HLSEvent(HLSEvent.LEVEL_ENDLIST, level));
             } else {
                 _type = HLSTypes.LIVE;
-                /* in order to determine playlist reload timer,
-                    check playback position against playlist duration.
+                /* in order to determine playlist reload timer,
+                    check playback position against playlist duration.
                     if we are near the edge of a live playlist, reload playlist quickly
                     to discover quicker new fragments and avoid buffer starvation.
                 */


FragmentData.as : set min DTS as being global, not specifically audio or video

--- src/org/mangui/hls/model/FragmentData.as
+++ src/org/mangui/hls/model/FragmentData.as
@@ -27,8 +27,7 @@
         public var pts_max_audio : Number;
         public var pts_min_video : Number;
         public var pts_max_video : Number;
-        public var dts_min_audio : Number;
-        public var dts_min_video : Number;
+        public var dts_min : Number;
         /** audio/video found ? */
         public var audio_found : Boolean;
         public var video_found : Boolean;
@@ -59,6 +58,7 @@
             for each (var tag : FLVTag in tags) {
                 tag.pts = PTS.normalize(pts_start_computed, tag.pts);
                 tag.dts = PTS.normalize(pts_start_computed, tag.dts);
+                dts_min = Math.min(dts_min, tag.dts);
                 switch( tag.type ) {
                     case FLVTag.AAC_RAW:
                     case FLVTag.AAC_HEADER:
@@ -69,7 +69,6 @@
                         tags_pts_max_audio = Math.max(tags_pts_max_audio, tag.pts);
                         pts_min_audio = Math.min(pts_min_audio, tag.pts);
                         pts_max_audio = Math.max(pts_max_audio, tag.pts);
-                        dts_min_audio = Math.min(dts_min_audio, tag.dts);
                         break;
                     case FLVTag.AVC_HEADER:
                     case FLVTag.AVC_NALU:
@@ -79,7 +78,6 @@
                         tags_pts_max_video = Math.max(tags_pts_max_video, tag.pts);
                         pts_min_video = Math.min(pts_min_video, tag.pts);
                         pts_max_video = Math.max(pts_max_video, tag.pts);
-                        dts_min_video = Math.min(dts_min_video, tag.dts);
                         break;
                     case FLVTag.DISCONTINUITY:
                     case FLVTag.METADATA:
@@ -95,7 +93,7 @@
             tags = new Vector.<FLVTag>();
             tags_audio_found = tags_video_found = false;
             metadata_tag_injected = false;
-            pts_min_audio = pts_min_video = dts_min_audio = dts_min_video = tags_pts_min_audio = tags_pts_min_video = Number.POSITIVE_INFINITY;
+            pts_min_audio = pts_min_video = dts_min = tags_pts_min_audio = tags_pts_min_video = Number.POSITIVE_INFINITY;
             pts_max_audio = pts_max_video = tags_pts_max_audio = tags_pts_max_video = Number.NEGATIVE_INFINITY;
         }

@@ -124,14 +122,6 @@
                 return pts_max_audio;
             } else {
                 return pts_max_video;
-            }
-        }
-
-        public function get dts_min() : Number {
-            if (audio_found) {
-                return dts_min_audio;
-            } else {
-                return dts_min_video;
             }
         }


Implemented Netstream client properties

Implemented Netstream client properties

--- src/Player.as
+++ src/Player.as
@@ -69,6 +69,12 @@
     private var streamHasAudio:Boolean = false;
     private var streamHasVideo:Boolean = false;

+    public var onXMPData:Function = null;
+    public var onCuePoint:Function = null;
+    public var onImageData:Function = null;
+    public var onSeekPoint:Function = null;
+    public var onTextData:Function = null;
+
     public function Player() {
       var self:Player = this;

@@ -374,23 +380,23 @@
       this.videoResize();
     }

-    private function onXMPData(event:Event):void {
-      Logger.log('XMPData received');
-    }
-
-    private function onCuePoint(cuePoint:Object):void {
+    public function onXMPDataHandler(xmpData:Object):void {
+      Logger.log('XMPData received->' + xmpData.data);
+    }
+
+    public function onCuePointHandler(cuePoint:Object):void {
       Logger.log('CuePoint received: ' + cuePoint.name);
     }

-    private function onImageData(imageData:Object):void {
+    public function onImageDataHandler(imageData:Object):void {
       Logger.log('ImageData received');
     }

-    private function onSeekPoint(event:Event):void {
+    public function onSeekPointHandler(seekPoint:Object):void {
       Logger.log('SeekPoint received');
     }

-    private function onTextData(textData:Object):void {
+    public function onTextDataHandler(textData:Object):void {
       Logger.log('TextData received');
     }

@@ -398,6 +404,11 @@
       this.ns = ev.data.ns;
       ev.data.ns.bufferTime = config.buffer;
       ev.data.ns.client = this;
+      this.onXMPData = onXMPDataHandler;
+      this.onCuePoint = onCuePointHandler;
+      this.onImageData = onImageDataHandler;
+      this.onSeekPoint = onSeekPointHandler;
+      this.onTextData = onTextDataHandler;
       this.ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
       this.ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
       this.ns.addEventListener(DRMErrorEvent.DRM_ERROR, onDRMError);


Transferred from the Adobe Open Source Subversion Repository

Revision: 19724
Author:   jasonsj@adobe.com
Date:     2011-01-12T01:07:20.451197Z

Log Message:
-----------
Moved ActionBar font color style declaration to #titleDisplay part and subclasses of ButtonBase
Replaced MobileSkin usage of layoutMeasuredWidth/Height with minWidth/Height

QE notes: Some mustella baselines for ActionBar custom content will need to be regenerated. In particular, usage of TextInput with text content.
Doc notes:
Bugs:
SDK-28948 The default color for text in TextInput on ActionBar is white so it looks invisible
SDK-28953 Button width not adjusted as expected when changing percentWidth at runtime
Reviewer: rfrishbe, chiedozi
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextAreaVScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/NavigationBackButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextAreaHScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorButtonBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionRoundedButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as
@@ -13,11 +13,12 @@
 {

 import mx.core.DPIClassification;
+import mx.core.mx_internal;

 import spark.components.Button;
 import spark.components.HScrollBar;
 import spark.skins.mobile.supportClasses.MobileSkin;
-import mx.core.mx_internal;
+
 use namespace mx_internal;

 /**
@@ -28,7 +29,7 @@
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
- public class HScrollBarSkin extends MobileSkin
+public class HScrollBarSkin extends MobileSkin
 {
     //--------------------------------------------------------------------------
     //
@@ -48,25 +49,25 @@
         super();

         useChromeColor = true;
-
-		layoutMeasuredWidth = 20;
+
+        minWidth = 20;
         thumbSkinClass = HScrollBarThumbSkin;
         var paddingBottom:int;
         var paddingHorizontal:int;
-
-		// Depending on density set our measured height
+
+        // Depending on density set our measured height
         switch (applicationDPI)
         {
-			case DPIClassification.DPI_320:
-			{
-				layoutMeasuredHeight = 12;
+            case DPIClassification.DPI_320:
+            {
+                minHeight = 12;
                 paddingBottom = HScrollBarThumbSkin.PADDING_BOTTOM_320DPI;
                 paddingHorizontal = HScrollBarThumbSkin.PADDING_HORIZONTAL_320DPI;
-				break;
-			}
+                break;
+            }
             case DPIClassification.DPI_240:
             {
-                layoutMeasuredHeight = 9;
+                minHeight = 9;
                 paddingBottom = HScrollBarThumbSkin.PADDING_BOTTOM_240DPI;
                 paddingHorizontal = HScrollBarThumbSkin.PADDING_HORIZONTAL_240DPI;
                 break;
@@ -74,16 +75,16 @@
             default:
             {
                 // default PPI160
-                layoutMeasuredHeight = 6;
+                minHeight = 6;
                 paddingBottom = HScrollBarThumbSkin.PADDING_BOTTOM_DEFAULTDPI;
                 paddingHorizontal = HScrollBarThumbSkin.PADDING_HORIZONTAL_DEFAULTDPI;
                 break;
             }
         }
-
+
         // The minimum width is set such that, at it's smallest size, the thumb appears
         // as wide as it is high.
-        minThumbWidth = (layoutMeasuredHeight - paddingBottom) + (paddingHorizontal * 2);
+        minThumbWidth = (minHeight - paddingBottom) + (paddingHorizontal * 2);
     }

     //--------------------------------------------------------------------------
@@ -100,7 +101,7 @@
      *  @private
      */
     private var minThumbWidth:Number;
-
+
     /**
      *  Skin to use for the thumb Button skin part
      */
@@ -148,8 +149,8 @@
             // We don't want a visible track so we set the skin to MobileSkin
             track = new Button();
             track.setStyle("skinClass", spark.skins.mobile.supportClasses.MobileSkin);
-            track.width = layoutMeasuredWidth;
-            track.height = layoutMeasuredHeight;
+            track.width = minWidth;
+            track.height = minHeight;
             addChild(track);
         }

@@ -158,19 +159,10 @@
             thumb = new Button();
             thumb.minWidth = minThumbWidth;
             thumb.setStyle("skinClass", thumbSkinClass);
-            thumb.width = layoutMeasuredHeight;
-            thumb.height = layoutMeasuredHeight;
+            thumb.width = minHeight;
+            thumb.height = minHeight;
             addChild(thumb);
         }
-    }
-
-    /**
-     *  @private
-     */
-    override protected function measure():void
-    {
-        measuredWidth = layoutMeasuredWidth;
-        measuredHeight = layoutMeasuredHeight;
     }

     /**


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

--- frameworks/projects/mx/src/mx/controls/Label.as
+++ frameworks/projects/mx/src/mx/controls/Label.as
@@ -48,6 +48,11 @@
  *  when the data property changes.

  *
  *  @eventType mx.events.FlexEvent.DATA_CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="dataChange", type="mx.events.FlexEvent")]

@@ -67,6 +72,11 @@
  *  to true to generate the link event.

  *
  *  @eventType flash.events.TextEvent.LINK
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="link", type="flash.events.TextEvent")]

@@ -81,6 +91,11 @@
  *  the left of the text.
  *
  *  @default 0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="paddingLeft", type="Number", format="Length", inherit="no")]

@@ -89,6 +104,11 @@
  *  the right of the text.
  *
  *  @default 0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="paddingRight", type="Number", format="Length", inherit="no")]

@@ -97,6 +117,11 @@
  *  the bottom of the text.
  *
  *  @default 0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="paddingBottom", type="Number", format="Length", inherit="no")]

@@ -105,6 +130,11 @@
  *  the top of the text.
  *
  *  @default 0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="paddingTop", type="Number", format="Length", inherit="no")]

@@ -112,6 +142,11 @@
  *  Color of the Label object's opaque background.
  *  The default value is undefined,
  *  which means that the background is transparent.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 //[Style(name="backgroundColor", type="uint", format="Color", inherit="no")]

@@ -226,6 +261,11 @@
  *  @see mx.controls.TextInput
  *  @see mx.controls.TextArea
  *  @see mx.controls.RichTextEditor
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class Label extends UIComponent
                    implements IDataRenderer, IDropInListItemRenderer,
@@ -304,6 +344,11 @@
             </TEXTFORMAT>
         trace(myLabel.text);
             This is bold.
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
     */

     //--------------------------------------------------------------------------
@@ -314,6 +359,11 @@

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

     /**
      *  The internal UITextField that renders the text of this Label.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var textField:IUITextField;

@@ -471,6 +526,11 @@
      *  and <p>, to place line breaks in the text field.

      *
      *  @default false;
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get condenseWhite():Boolean
     {
@@ -528,6 +588,11 @@
      *
      *  @default null
      *  @see mx.core.IDataRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get data():Object
     {
@@ -570,6 +635,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get fontContext():IFlexModuleFactory
     {
@@ -785,6 +855,11 @@
      *  @default ""
      *
      *  @see flash.text.TextField#htmlText
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get htmlText():String
     {
@@ -873,6 +948,11 @@
      *
      *  @default null
      *  @see mx.controls.listClasses.IDropInListItemRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get listData():BaseListData
     {
@@ -913,6 +993,11 @@
      *  to true to execute the link event.

      *
      *  @default false;
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get selectable():Boolean
     {
@@ -1055,6 +1140,11 @@
      *  @default ""
      *  @tiptext Gets or sets the Label content
      *  @helpid 3907
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
     */
     public function get text():String
     {
@@ -1125,6 +1215,11 @@
      *  which updates the value immediately.

      *
      *  @see flash.text.TextField
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get textHeight():Number
     {
@@ -1154,6 +1249,11 @@
      *  which updates the value immediately.

      *
      *  @see flash.text.TextField
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get textWidth():Number
     {
@@ -1172,6 +1272,11 @@
      *  If this property is false, text that does not fit is clipped.
      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var truncateToFit:Boolean = true;

@@ -1295,6 +1400,11 @@
             g.drawRect(0, 0, unscaledWidth, unscaledHeight);
             g.endFill();
         }
+        *
+        *  @langversion 3.0
+        *  @playerversion Flash 9
+        *  @playerversion AIR 1.1
+        *  @productversion Flex 3
         */

         // The textField occupies the entire Label bounds minus the padding.
@@ -1426,6 +1536,11 @@
      *
      *  @see flash.text.TextField
      *  @see flash.text.TextLineMetrics
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getLineMetrics(lineIndex:int):TextLineMetrics
     {


Quick fix that should fix the RoomName problem, while I contemplate
larger changes that may enhance performance.

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

--- src/as/com/threerings/io/Streamer.as
+++ src/as/com/threerings/io/Streamer.as
@@ -150,7 +150,7 @@

     public function isStreamerFor (obj :Object) :Boolean
     {
-        return (obj is _target); // scripting langs are weird
+        return isStreamerForClass(ClassUtil.getClass(obj));
     }

     public function isStreamerForClass (clazz :Class) :Boolean


Fixed issue where an empty <content></content> field in an AIR application descriptor would not get automatically populated

--- src/ASConfigC.as
+++ src/ASConfigC.as
@@ -772,7 +772,7 @@
 				process.exit(1);
 			}
 			var descriptor:String = fs.readFileSync(this._airDescriptor, "utf8") as String;
-			descriptor = descriptor.replace(/<content>.+<\/content>/, "<content>" + contentValue + "</content>");
+			descriptor = descriptor.replace(/<content>.*<\/content>/, "<content>" + contentValue + "</content>");
 			if(this._outputIsJS)
 			{
 				var debugOutputDir:String = path.join(outputDir, "bin", "js-debug");


asconfigc: adds -- terminator before files in compiler options to terminate any previous options that might have come from additionalOptions

--- src/ASConfigC.as
+++ src/ASConfigC.as
@@ -464,6 +464,10 @@
 					var filesCount:int = files.length;
 					for(var i:int = 0; i < filesCount; i++)
 					{
+						if(i === 0)
+						{
+							this._compilerArgs.push("--");
+						}
 						var file:String = files[i];
 						this._compilerArgs.push(file);
 					}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3925
Author:   jimurphy@adobe.com
Date:     2008-10-28T15:28:25.006190Z

Log Message:
-----------
Merged gumbo_alpha revisions 3857-3860,3870,3872,3874-3876,3881,3884,3886,3889,3891,3893,3895,3908,3912 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxRotateEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxFadeEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/CubicBezierSegment.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/skins/spark/FxFocusSkin.as" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxFocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxVSliderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/LineSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxListExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxMoveEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/PathSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_conversion.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxAnimateColorEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_core.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxAnimateEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxCheckBoxExample.mxml</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleDeclaration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/GroupExample.mxml" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/GroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/QuadraticBezierSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxNumericStepperExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxResizeEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxResize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxToggleButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxSpinnerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/PropertyValuesHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_edit.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/TextViewExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxMove.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxHSliderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/RotateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/RotateInstance.as
@@ -216,8 +216,6 @@
             else if (propertyChanges &&
                 propertyChanges.start["rotation"] !== undefined)
                 angleFrom = propertyChanges.start["rotation"];
-            else
-                angleFrom = getCurrentValue("rotation");

         if (isNaN(angleTo))
         {
@@ -229,8 +227,8 @@
             }
             else
             {
-                angleTo = (!isNaN(angleBy)) ? angleFrom + angleBy :
-                    getCurrentValue("rotation");
+                if (!isNaN(angleBy) && !isNaN(angleFrom))
+                    angleTo = angleFrom + angleBy;
             }
         }

@@ -241,7 +239,7 @@
         newY = Number((centerY - originalOffsetY).toFixed(1)); // use a precision of 1

         propertyValuesList =
-            [new PropertyValuesHolder("rotation", [angleFrom, angleTo])];
+            [new PropertyValuesHolder("rotation", [angleFrom, angleTo], angleBy)];

         super.play();
     }


robust TS probing : ensure that at least two consecutive TS start delimiter are found. avoid false detection of TS although the format is AAC

--- src/org/mangui/HLS/muxing/TS.as
+++ src/org/mangui/HLS/muxing/TS.as
@@ -57,18 +57,26 @@
 		private var _callback:Function;

-		public static function probe(data:ByteArray):Boolean {
-		  var pos:Number = data.position;
-		  var len:Number = Math.min(data.bytesAvailable,188*2);
-		  for(var i:Number = 0; i < len ; i++) {
-		    if(data.readByte() == SYNCBYTE) {
-		      data.position = pos+i;
-		      return true;
-		    }
-		  }
-		  data.position = pos;
-		  return false;
-		}
+    public static function probe(data:ByteArray):Boolean {
+      var pos:Number = data.position;
+      var len:Number = Math.min(data.bytesAvailable,188*2);
+      for(var i:Number = 0; i < len ; i++) {
+        if(data.readByte() == SYNCBYTE) {
+          // ensure that at least two consecutive TS start offset are found
+          if(data.bytesAvailable > 188) {
+            data.position = pos+i+188;
+            if(data.readByte() == SYNCBYTE) {
+              data.position = pos+i;
+              return true;
+            } else {
+              data.position = pos+i+1;
+            }
+          }
+        }
+      }
+      data.position = pos;
+      return false;
+    }

 		/** Transmux the M2TS file into an FLV file. **/
 		public function TS(data:ByteArray,callback:Function) {


added code in comment

added code in comment

--- WeaveJS/src/weavejs/api/core/ILinkableObject.as
+++ WeaveJS/src/weavejs/api/core/ILinkableObject.as
@@ -15,14 +15,16 @@

 package weavejs.api.core
 {
+	/*
+	export declare type NonArrayObject = {length?:void} | {toString?:void} | {toLocaleString?:void} | {push?:void} | {pop?:void} | {concat?:void} | {concat?:void} | {join?:void} | {reverse?:void} | {shift?:void} | {slice?:void} | {sort?:void} | {splice?:void} | {splice?:void} | {unshift?:void} | {indexOf?:void} | {lastIndexOf?:void} | {every?:void} | {some?:void} | {forEach?:void} | {map?:void} | {filter?:void} | {reduce?:void} | {reduce?:void} | {reduceRight?:void} | {reduceRight?:void};
+	*/
+
 	/**
 	 * An object that implements this empty interface has an associated ICallbackCollection and session state,
 	 * accessible through the global functions in the weave.api package. In order for an ILinkableObject to
 	 * be created dynamically at runtime, it must not require any constructor parameters.
-	 *
-	 * @author adufilie
 	 */
-	public interface ILinkableObject/*/ extends {_primitiveBrand?:void}/*/
+	public interface ILinkableObject/*/ extends NonArrayObject/*/
 	{
 	}
 }


No longer stop requesting manifests - but do sometimes reset to zero time!

--- HLSPlugin/src/com/kaltura/hls/HLSIndexHandler.as
+++ HLSPlugin/src/com/kaltura/hls/HLSIndexHandler.as
@@ -137,7 +137,7 @@
 			{
 				trace("segment #" + i + " start=" + segments[i].startTime + " duration=" + segments[i].duration + " uri=" + segments[i].uri);
 			}*/
-			trace("Reconstructed manifest time with knowledge=" + checkAnySegmentKnowledge(segments) + " lastTime=" + (segments.length > 1 ? segments[segments.length-1].startTime : -1);
+			trace("Reconstructed manifest time with knowledge=" + checkAnySegmentKnowledge(segments) + " lastTime=" + (segments.length > 1 ? segments[segments.length-1].startTime : -1));

 			// Done!
 			return segments;
@@ -433,6 +433,9 @@
 			dispatchDVRStreamInfo();
 			reloadingManifest = null; // don't want to hang on to it
 			if (reloadTimer) reloadTimer.start();
+
+			stalled = false;
+			HLSHTTPNetStream.hasGottenManifest = true;
 		}

 		private function updateNewManifestSegments(newManifest:HLSManifestParser, quality:int):Boolean
@@ -625,12 +628,14 @@
 						break;
 					}
 				}
-				HLSHTTPNetStream.hasGottenManifest = true;
 			}
 			else
 			{
 				lastQuality = targetQuality;
 			}
+
+			HLSHTTPNetStream.hasGottenManifest = true;
+
 			stalled = false;
 			return found;
 		}
@@ -782,36 +787,51 @@
 			var accum:Number = 0.0;
 			var segments:Vector.<HLSManifestSegment> = getSegmentsForQuality( quality );

-			if (time < lastKnownPlaylistStartTime)
+			/*if (time < lastKnownPlaylistStartTime)
 			{
 				time = lastKnownPlaylistStartTime;  /// TODO: HACK Alert!!! < this should likely be handled by DVRInfo (see dash plugin index handler)
 													/// No longer quite so sure this is a hack, but a requirement
 				++sequenceSkips;
 				trace("::getFileForTime - SequenceSkip - time: " + time + " playlistStartTime: " + lastKnownPlaylistStartTime);
-			}
-
-			for(var i:int=0; i<segments.length; i++)
-			{
-				var curSegment:HLSManifestSegment = segments[i];
+			}*/
+
+			if(time < segments[0].startTime)
+			{
+				time = segments[0].startTime;  /// TODO: HACK Alert!!! < this should likely be handled by DVRInfo (see dash plugin index handler)
+													/// No longer quite so sure this is a hack, but a requirement
+				++sequenceSkips;
+				trace("::getFileForTime - SequenceSkip - time: " + time + " playlistStartTime: " + segments[0].startTime);
+			}
+
+			var idx:int = getSegmentListIndexContainingTime(segments, time);
+			if(idx != -1)
+			{
+				var curSegment:HLSManifestSegment = segments[idx];

-				if(curSegment.duration > time - accum)
-				{
-					lastSegmentIndex = i;
-					fileHandler.segmentId = lastSegmentIndex;
-					fileHandler.key = getKeyForIndex( i );
-					fileHandler.segmentUri = segments[i].uri;
-					trace("Getting Segment[" + lastSegmentIndex + "] StartTime: " + segments[i].startTime + " Continuity: " + segments[i].continuityEra + " URI: " + segments[i].uri);
-					return createHTTPStreamRequest( segments[ lastSegmentIndex ] );
-				}
-
-				accum += curSegment.duration;
+				lastSegmentIndex = idx;
+				fileHandler.segmentId = lastSegmentIndex;
+				fileHandler.key = getKeyForIndex( idx );
+				fileHandler.segmentUri = segments[idx].uri;
+				trace("Getting Segment[" + lastSegmentIndex + "] StartTime: " + segments[idx].startTime + " Continuity: " + segments[idx].continuityEra + " URI: " + segments[idx].uri);
+				return createHTTPStreamRequest( segments[ lastSegmentIndex ] );
+			}
+			else
+			{
+				trace("Seeking to unknown location, waiting.");
 			}

 			// TODO: Handle live streaming lists by returning a stall.
-			lastSegmentIndex = i;
+			lastSegmentIndex = idx;

 			fileHandler.segmentId = lastSegmentIndex;
-			fileHandler.key = getKeyForIndex( i );
+			fileHandler.key = getKeyForIndex( idx );
+
+			if(!checkAnySegmentKnowledge(segments) && !_bestEffortDownloaderMonitor)
+			{
+				// We may also need to establish a timebase.
+				trace("Seeking without timebase; initiating request.")
+				return initiateBestEffortRequest(uint.MAX_VALUE, quality);
+			}

 			if (!resource.manifest.streamEnds)
 				return new HTTPStreamRequest (HTTPStreamRequestKind.LIVE_STALL);


added error reporting

added error reporting

--- WeaveData/src/weave/data/AttributeColumnCache.as
+++ WeaveData/src/weave/data/AttributeColumnCache.as
@@ -15,20 +15,21 @@

 package weave.data
 {
+	import flash.utils.Dictionary;
+
 	import avmplus.getQualifiedClassName;

-	import flash.utils.Dictionary;
-
+	import weave.api.getLinkableDescendants;
+	import weave.api.getSessionState;
+	import weave.api.registerLinkableChild;
+	import weave.api.reportError;
+	import weave.api.setSessionState;
 	import weave.api.data.ColumnMetadata;
 	import weave.api.data.DataType;
 	import weave.api.data.IAttributeColumn;
 	import weave.api.data.IAttributeColumnCache;
 	import weave.api.data.IDataSource;
 	import weave.api.data.IQualifiedKey;
-	import weave.api.getLinkableDescendants;
-	import weave.api.getSessionState;
-	import weave.api.registerLinkableChild;
-	import weave.api.setSessionState;
 	import weave.compiler.Compiler;
 	import weave.core.ClassUtils;
 	import weave.data.AttributeColumns.DateColumn;
@@ -95,7 +96,7 @@
 				promise.depend(column);
 			}
 			promise.setResult(null);
-			return promise.then(_convertToCachedDataSources);
+			return promise.then(_convertToCachedDataSources, reportError);
 		}

 		private function _convertToCachedDataSources(promiseResult:*):Array


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

--- frameworks/projects/rpc/src/mx/utils/HashUtil.as
+++ frameworks/projects/rpc/src/mx/utils/HashUtil.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2006-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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Fixed conflict with Image class inheritance.

--- net/flashpunk/graphics/PreRotation.as
+++ net/flashpunk/graphics/PreRotation.as
@@ -91,7 +91,6 @@
 		}

 		// Rotation information.
-		/** @private */ private var _source:BitmapData;
 		/** @private */ private var _width:uint;
 		/** @private */ private var _frame:Rectangle;
 		/** @private */ private var _frameCount:uint;


Now you can just use the Flex app as the context, even if there are errant Sprites added directly to the Stage.

--- test/flash_tests/TestAppCode.as
+++ test/flash_tests/TestAppCode.as
@@ -29,6 +29,7 @@
   import util.DOMEventDrag;
   import flash.display.Sprite;
   import flash.geom.Point;
+  import flash.external.ExternalInterface;
   import org.windmill.WMBootstrap;

   public class TestAppCode extends MovieClip {
@@ -43,7 +44,6 @@
       context = ctxt;
       stg = context.stage;

-      WMBootstrap.init(context);

       // Panel
       var panel:Panel = new Panel();
@@ -106,12 +106,14 @@
       spr.graphics.clear()
       spr.graphics.beginFill(0x00ff00);
       spr.graphics.drawRect(0,0,100,100);
-      subPanel.stage.addChild(spr);
+      stg.addChild(spr);

       spr.addEventListener(MouseEvent.MOUSE_DOWN, beginDrag);
-      subPanel.stage.addEventListener(MouseEvent.MOUSE_UP, endDrag);
+      stg.addEventListener(MouseEvent.MOUSE_UP, endDrag);

       context.doubleClickEnabled = true;
+
+      WMBootstrap.init(context);
       /*
       // Focus
       stg.addEventListener(FocusEvent.FOCUS_IN, evHandler);
@@ -152,6 +154,7 @@
         text: 'Howdy, sir.'
       });
       */
+
     }
     private function evHandler(e:Event):void {
       var targ:* = e.target;
@@ -161,20 +164,15 @@
     }

 		private function beginDrag(e:MouseEvent):void {
-      if (e.target is Sprite) {
+      if (e.target.name == 'dragSprite') {
         DOMEventDrag.startDrag(spr);
         //spr.startDrag();
       }
     }
-    private function doDrag(e:MouseEvent):void {
-      if (draggable) {
-        //trace(e.toString());
-        draggable.x = e.stageX;
-        draggable.y = e.stageY;
+    private function endDrag(e:MouseEvent):void {
+      if (e.target.name == 'dragSprite') {
+        DOMEventDrag.stopDrag(spr);
       }
-    }
-    private function endDrag(e:MouseEvent):void {
-      DOMEventDrag.stopDrag(spr);
       //spr.stopDrag();
     }
   }


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 4492
Author:   gosmith@adobe.com
Date:     2009-01-12T22:47:10.154251Z

Log Message:
-----------
Simplified how an accessibility class gets hooked into its corresponding component class.

We now do the hooking in the static method enableAccessibility(), which is called by code that is autogenerated by the compiler. Previously this method did nothing and the hooking happened at static initialization time. This allows us to remove the static var accessibilityHooked and the static method hookAccessibility() in each accessibility class.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Deepa and Alex

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LinkButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateChooserAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/UIComponentAccProps.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>

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

--- frameworks/projects/mx/src/mx/accessibility/ButtonAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/ButtonAccImpl.as
@@ -23,93 +23,66 @@
 use namespace mx_internal;

 /**
-  *  The ButtonAccImpl class is the accessibility class for Button.
-  *  This AccImpl class is used in CheckBox and RadioButton,
-  *  as these components extend the Button class.
-  *
-  *  @helpid 3002
-  *  @tiptext This is the Button Accessibility Class.
-  *  @review
-  */
+ *  ButtonAccImpl is a subclass of AccessibilityImplementation
+ *  which implements accessibility for the Button class.
+ */
 public class ButtonAccImpl extends AccImpl
 {
     include "../core/Version.as";

 	//--------------------------------------------------------------------------
 	//
-	//  Class initialization
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Static variable triggering the hookAccessibility() method.
-	 *  This is used for initializing ButtonAccImpl class to hook its
-	 *  createAccessibilityImplementation() method to Button class
-	 *  before it gets called from UIComponent.
-	 */
-	private static var accessibilityHooked:Boolean = hookAccessibility();
-
-	/**
-	 *  @private
-	 *  Static method for swapping the createAccessibilityImplementation()
-	 *  method of Button with the ButtonAccImpl class.
-	 */
-	private static function hookAccessibility():Boolean
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_PRESSED:uint = 0x00000008;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_NAMECHANGE:uint = 0x800C;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_STATECHANGE:uint = 0x800A;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Enables accessibility in the Button class.
+	 *
+	 *
This method is called by application startup code
+	 *  that is autogenerated by the MXML compiler.
+	 *  Afterwards, when instances of Button are initialized,
+	 *  their accessibilityImplementation property
+	 *  will be set to an instance of this class.

+	 */
+	public static function enableAccessibility():void
 	{
 		Button.createAccessibilityImplementation =
 			createAccessibilityImplementation;
-
-		return true;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class constants
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_PRESSED:uint = 0x00000008;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_NAMECHANGE:uint = 0x800C;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_STATECHANGE:uint = 0x800A;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Method for creating the Accessibility class.
-	 *  This method is called from UIComponent.
-	 *  @review
+	}
+
+	/**
+	 *  @private
+	 *  Creates a Button's AccessibilityImplementation object.
+	 *  This method is called from UIComponent's
+	 *  initializeAccessibility() method.
 	 */
 	mx_internal static function createAccessibilityImplementation(
 								component:UIComponent):void
 	{
 		component.accessibilityImplementation =
 			new ButtonAccImpl(component);
-	}
-
-	/**
-	 *  Method call for enabling accessibility for a component.
-	 *  This method is required for the compiler to activate
-	 *  the accessibility classes for a component.
-	 */
-	public static function enableAccessibility():void
-	{
 	}

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 12279
Author:   jimurphy@adobe.com
Date:     2009-11-30T17:39:03.660875Z

Log Message:
-----------
Merged 3.x revisions 12013,12019,12119,12195,12271,12273 -> trunk

........
  r12013 | aharui@adobe.com | 2009-11-19 17:12:58 -0500 (Thu, 19 Nov 2009) | 11 lines

  Fix clipping in Tree.

  Bugs: SDK-15055

........
  r12019 | pfarland@adobe.com | 2009-11-19 18:17:00 -0500 (Thu, 19 Nov 2009) | 10 lines

  Further fixes for SDK-23140. Filtering out internal namespace prefixed attributes from generic deserialization. We exclude the SOAP encoding namespace, SOAP envelope namespace, XML Schema namespace and the XML Schema Instance namespace.

  Bugs: SDK-23140
........
  r12119 | aharui@adobe.com | 2009-11-23 16:08:32 -0500 (Mon, 23 Nov 2009) | 10 lines

  Fix edit sessions in TextInputs yet again.

  Bugs: SDK-23397

........
  r12195 | pfarland@adobe.com | 2009-11-24 22:33:48 -0500 (Tue, 24 Nov 2009) | 11 lines

  Submitting Anshul's fix for SDK-24123 that resolves relative URLs to full URLs before calling a serialization filter (which may need the full context to decide if it needs to make any changes before allowing the request to proceed).

  Bugs:
  SDK-24123
........
  r12271 | preilly@adobe.com | 2009-11-30 10:53:27 -0500 (Mon, 30 Nov 2009) | 5 lines

  * Back ported revision 6756 to 3.x branch.

........
  r12273 | jimurphy@adobe.com | 2009-11-30 11:09:16 -0500 (Mon, 30 Nov 2009) | 6 lines

  merge 3.5.0 revs 12160,12161 -> 3.x

  Closing version.properties input stream.
  bug: SDK-23801

........

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/VersionInfo.java</path>

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

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

         var ctype:String = contentType;
         var urlToUse:String = url;
+
+        if (urlToUse && urlToUse != '')
+        {
+            urlToUse = URLUtil.getFullURL(rootURL, urlToUse);
+        }

         if (filter != null)
         {
@@ -848,7 +853,7 @@
         {
             if (urlToUse && urlToUse != '')
             {
-                message.url = URLUtil.getFullURL(rootURL, urlToUse);
+                message.url = urlToUse;
             }

             if (NetworkMonitor.isMonitoring())
@@ -882,7 +887,7 @@
                 message.recordHeaders = true;
             }

-            message.url = URLUtil.getFullURL(rootURL, urlToUse);
+            message.url = urlToUse;
         }

         message.contentType = ctype;


Added much needed method.

Added much needed method.

git-svn-id: a3e1eb16dde062992de22c830ed8045c8013209a@222 c613c5cb-e716-0410-b11b-feb51c14d237

--- src/as/com/threerings/ezgame/SeatingControl.as
+++ src/as/com/threerings/ezgame/SeatingControl.as
@@ -54,6 +54,19 @@
         return (_ctrl.callEZCodeFriend("getPlayers_v1") as Array);
     }

+    /**
+     * Get the names of the seated players, omitting any watchers.
+     */
+    public function getPlayerNames () :Array /* of String */
+    {
+        return getPlayerIds().map(
+            function (playerId :int, o2:*, o3:*) :String
+            {
+                return _ctrl.getOccupantName(playerId);
+            }
+        );
+    }
+
     // TODO: methods for allowing a player to pick a seat
 }
 }


Ensure that we stop polling the manifest when state goes to IDLE

--- src/org/mangui/HLS/streaming/ManifestLoader.as
+++ src/org/mangui/HLS/streaming/ManifestLoader.as
@@ -31,6 +31,8 @@
         private var _manifest_loading : Manifest;
         /** flush live URL cache **/
         private var _flushLiveURLCache : Boolean = HLSSettings.flushLiveURLCache;
+        /** is this loader closed **/
+        private var _closed : Boolean = false;

         /** Setup the loader. **/
         public function ManifestLoader(hls : HLS) {
@@ -77,6 +79,7 @@
         /** Load the manifest file. **/
         public function load(url : String) : void {
             _close();
+            _closed = false;
             _url = url;
             _levels = new Vector.<Level>();
             _current_level = 0;
@@ -153,6 +156,9 @@

         /** load/reload active M3U8 playlist **/
         private function _loadActiveLevelPlaylist() : void {
+            if (_closed) {
+                return;
+            }
             _reload_playlists_timer = getTimer();
             // load active M3U8 playlist only
             _manifest_loading = new Manifest();
@@ -174,6 +180,7 @@

         private function _close() : void {
             Log.debug("cancel any manifest load in progress");
+            _closed = true;
             clearTimeout(_timeoutID);
             try {
                 _urlloader.close();
@@ -199,4 +206,4 @@
             return _flushLiveURLCache;
         }
     }
-}+}


removed some traces

removed some traces

--- src/org/openPyro/collections/TreeCollection.as
+++ src/org/openPyro/collections/TreeCollection.as
@@ -111,6 +111,7 @@
 		from ArrayCollection
 		*/
 		public function removeItems(items:Array):void{
+			trace("removeutems: "+items.length)
 			var changed:Boolean = false;
 			var delta:Array = [];
 			var location:int = NaN;
@@ -134,7 +135,7 @@
 					changed = true;
 				}
 			}
-			if(!changed) return;
+			if(! changed) return;
 			var event:CollectionEvent = new CollectionEvent(CollectionEvent.COLLECTION_CHANGED);
 			event.kind = CollectionEventKind.REMOVE;
 			event.delta = delta;
@@ -155,6 +156,7 @@
 			var newUIDObs:Array = [];

 			getSubtree(xmlNodeDescriptor.node, newUIDObs, newNodes);
+
 			_mappedArrayCollection.addItemsAt(newNodes,  addedEvent.location);
 			ArrayUtil.insertArrayAtIndex(_uids, newUIDObs, addedEvent.location);
 			addedEvent.delta = newNodes;


fixed error in Location update where new argument was not included

--- flexEditor/src/org/arisgames/editor/services/AppServices.as
+++ flexEditor/src/org/arisgames/editor/services/AppServices.as
@@ -165,7 +165,7 @@
         else
         {
             trace("This Location has an Id (" + loc.locationId + "), so call update Location.");
-            l = AppDAO.getInstance().getLocationServer().updateLocation(gid, loc.locationId, loc.name, loc.iconMediaId, loc.latitude, loc.longitude, loc.error, loc.type, loc.typeId, loc.quantity, loc.hidden, loc.forceView);
+            l = AppDAO.getInstance().getLocationServer().updateLocation(gid, loc.locationId, loc.name, loc.iconMediaId, loc.latitude, loc.longitude, loc.error, loc.type, loc.typeId, loc.quantity, loc.hidden, loc.forceView,0);
         }
         l.addResponder(resp);
     }