Transferred from the Adobe Open Source Subversion Repository

Revision: 6266
Author:   egeorgie@adobe.com
Date:     2009-04-24T23:09:01.304621Z

Log Message:
-----------
Layout PARB changes

Major (most probably will require updates):
- LayoutBase.getScrollPositionDelta() -> getScrollPositionDeltaToElement()
- HorizontalLayout, VerticalLayout method inView() -> fractionOfElementInView()
- LayoutElementFactory is deleted, interface ILayoutElement is implemented by UIComponent, GraphicElement, VisualSprite, no need for casting in those cases, cast to ILayoutElement in case of type Object.
- TileLayout.elementHorizontalAlign -> horizontalAlign
- TileLayout.elementVerticalAlign -> verticalAlign
- TileJustifyRows -> RowAlign
- TileJustifyColumsn > ColumnAlign
- TileLayout.justifyRows -> rowAlign
- TileLayout.justifyColumns -> columnAling
- TileJustifyRows.NONE, "none" -> TOP, "top"
- TileJustifyRows.GAP_SIZE, "gapSize" -> JUSTIFY_USING_GAP, "justifyUsingGap"
- TileJustifyRows.ROW_SIZE, "rowSize" -> JUSTIFY_USING_HEIGHT, "justifyUsingHeight"
- TileJustifyColumns.NONE, "none" -> LEFT, "left"
- TileJustifyColumns.GAP_SIZE, "gapSize" -> JUSTIFY_USING_GAP, "justifyUsingGap"
- TileJustifyColumns.COLUMN_SIZE, "columnSize" -> JUSTIFY_USING_WIDTH, "justifyUsingWidth"
- TileLayout.set rowCount -> set requestedRowCount
- add TileLayout.get requestedRowCount
- TileLayout.set columnCount -> set requestedColumnCount
- add TileLayout.get requestedColumnCount

Minor (may require updates, but not that probable):
- get baselinePosition() is moved from IVisualElement to ILayoutElement.
- setLayoutBoundsSize() does not have default NaN values for width & height (but still logic is the same).
- name of ILayoutInterface methods' parameter "postTransform" is renamed to "postLayoutTransform".
- name of ILayoutInterface methods' parameter "triggerLayout" is renamed to "invalidateLayout".
- LayoutBase methods invalidateTargetSizeAndDisplayList() and invalidateTargetSize() are removed.
- LayoutBase method getTargetScrollRect() is renamed to getScrollRect().

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Hans, Ryan
tests: checkintests, mustella (gumbo/layout, gumbo/group, gumbo/dataGroup)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout_tester.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/RowAlign.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileJustifyRows.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/Animate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalLayout.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/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/ColumnAlign.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutElementFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileJustifyColumns.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/TextBaseClass.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/Block.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>

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

--- frameworks/projects/spark/src/spark/components/VSlider.as
+++ frameworks/projects/spark/src/spark/components/VSlider.as
@@ -19,7 +19,6 @@
 import spark.components.supportClasses.Slider;
 import mx.core.UIComponent;
 import mx.core.ILayoutElement;
-import spark.layout.supportClasses.LayoutElementFactory;

 [IconFile("VSlider.png")]

@@ -71,15 +70,8 @@
      *  @productversion Flex 4
      */
     override protected function get trackSize():Number
-        {
-        if (track)
-        {
-            var trackLElement:ILayoutElement =
-                LayoutElementFactory.getLayoutElementFor(track);
-            return trackLElement.getLayoutBoundsHeight();
-        }
-        else
-           return 0;
+    {
+        return track ? track.getLayoutBoundsHeight() : 0;
     }

     /**
@@ -92,9 +84,7 @@
      */
     override protected function calculateThumbSize():Number
     {
-        var thumbLElement:ILayoutElement =
-            LayoutElementFactory.getLayoutElementFor(thumb);
-        return thumbLElement.getLayoutBoundsHeight();
+        return thumb.getLayoutBoundsHeight();
     }

     //--------------------------------------------------------------------------
@@ -120,24 +110,18 @@
     {
         if (thumb)
         {
-            var thumbLElement:ILayoutElement =
-                LayoutElementFactory.getLayoutElementFor(thumb);
-
             var trackPos:Number = 0;
             var trackLen:Number = 0;

             if (track)
             {
-                var trackLElement:ILayoutElement =
-                    LayoutElementFactory.getLayoutElementFor(track);
-
-                trackLen = trackLElement.getLayoutBoundsHeight();
-                trackPos = trackLElement.getLayoutBoundsY();
+                trackLen = track.getLayoutBoundsHeight();
+                trackPos = track.getLayoutBoundsY();
             }

-            thumbLElement.setLayoutBoundsPosition(thumbLElement.getLayoutBoundsX(),
-                                         Math.round(trackPos + trackLen - thumbPos
-                                         - thumbLElement.getLayoutBoundsHeight()));
+            thumb.setLayoutBoundsPosition(thumb.getLayoutBoundsX(),
+                                          Math.round(trackPos + trackLen - thumbPos
+                                          - thumb.getLayoutBoundsHeight()));
         }
     }

@@ -161,13 +145,8 @@
     override protected function pointToPosition(localX:Number,
                                                 localY:Number):Number
     {
-        var trackLElement:ILayoutElement =
-            LayoutElementFactory.getLayoutElementFor(track);
-        var trackLen:Number = trackLElement.getLayoutBoundsHeight();
-
-        var thumbLElement:ILayoutElement =
-            LayoutElementFactory.getLayoutElementFor(thumb);
-        var thumbH:Number = thumbLElement.getLayoutBoundsHeight();
+        var trackLen:Number = track.getLayoutBoundsHeight();
+        var thumbH:Number = thumb.getLayoutBoundsHeight();

         return trackLen - localY - thumbH;
     }
@@ -183,9 +162,7 @@
     override protected function pointClickToPosition(localX:Number,
                                                      localY:Number):Number
     {
-        var thumbLElement:ILayoutElement =
-            LayoutElementFactory.getLayoutElementFor(thumb);
-        var thumbH:Number = thumbLElement.getLayoutBoundsHeight();
+        var thumbH:Number = thumb.getLayoutBoundsHeight();

         return pointToPosition(localX, localY) + (thumbH / 2);
     }


qnd: remove debugging code

qnd: remove debugging code

git-svn-id: 3f608e5a9a704dd448217c0a64c508e7f145cfa1@87286 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- plugins/bitrateDetectionPlugin/src/com/kaltura/kdpfl/plugin/component/BitrateDetectionMediator.as
+++ plugins/bitrateDetectionPlugin/src/com/kaltura/kdpfl/plugin/component/BitrateDetectionMediator.as
@@ -228,17 +228,7 @@
 			{
 				bitrateVal = _forceBitrate;
 			}
-
-			//for testing - expose the # via JS
-			try
-			{
-				ExternalInterface.call('bitrateValue' , bitrateVal);
-			}
-			catch(error:Error)
-			{
-
-			}
-
+
 			sendNotification(NotificationType.CHANGE_PREFERRED_BITRATE, {bitrate: bitrateVal});

 			_bandwidth = bitrateVal;


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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/ListBaseAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/ListBaseAutomationImpl.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.automation.delegates.controls
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20503
Author:   chiedozi@adobe.com
Date:     2011-03-01T01:35:23.376092Z

Log Message:
-----------
Altering focus changes made in revision 20384.  View and ViewNavigatorBase can no longer gain focus.

QE notes:
Doc notes:
Bugs: SDK-29667
Reviewer: Ryan, Alex
Tests run:
Is noteworthy for integration: No

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/ViewNavigatorApplication.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/TabbedViewNavigatorApplication.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@1264626 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as
@@ -11,9 +11,8 @@

 package spark.components.supportClasses
 {
-import flash.display.StageOrientation;
+import flash.display.Stage;
 import flash.events.StageOrientationEvent;
-import flash.system.Capabilities;
 import flash.utils.getDefinitionByName;
 import flash.utils.getQualifiedClassName;

@@ -22,14 +21,10 @@
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.events.PropertyChangeEvent;
-import mx.managers.IFocusManagerComponent;
-import mx.managers.SystemManager;
 import mx.utils.DensityUtil;

 import spark.components.SkinnableContainer;
 import spark.components.View;
-import spark.core.ContainerDestructionPolicy;
-import spark.events.DisplayLayerObjectExistenceEvent;
 import spark.utils.MultiDPIBitmapSource;

 use namespace mx_internal;
@@ -60,7 +55,7 @@
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
-public class ViewNavigatorBase extends SkinnableContainer implements IFocusManagerComponent
+public class ViewNavigatorBase extends SkinnableContainer
 {
     //--------------------------------------------------------------------------
     //
@@ -609,6 +604,21 @@
             stage_orientationChangeHandler, false, 0, true);
     }

+	/**
+	 *  @private
+	 */
+	mx_internal function updateFocus():void
+	{
+		var stage:Stage = systemManager.stage;
+		if (!stage.focus || !stage.focus.stage || stage.focus == this)
+		{
+			if (activeView)
+				stage.focus = activeView;
+			else
+				stage.focus = this;
+		}
+    }
+
     /**
      *  @private
      */


Remove reference to IChartItemRenderer.fillColor as that property does not exist.  This fixes the FlexJSJX build.

--- frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/ChartItemRendererFactory.as
+++ frameworks/as/projects/FlexJSJX/src/org/apache/flex/charts/beads/ChartItemRendererFactory.as
@@ -114,7 +114,7 @@
 					k.itemRendererParent = dataGroup;
 					k.xField = s.xField;
 					k.yField = s.yField;
-					k.fillColor = s.fillColor;
+					//k.fillColor = s.fillColor;
 					k.data = dp[j];
 					k.index = j;


Transferred from the Adobe Open Source Subversion Repository

Revision: 18731
Author:   clucier@adobe.com
Date:     2010-11-19T15:50:29.937447Z

Log Message:
-----------
Initial drop of mobile SlideViewTransition inclusive of push/cover/pop modes, and up/down/left/right directions. Refactored and renamed classes per PARB review and current view transitions specification.

e.g. ViewTransition -> ViewTransitionBase , SlideViewTransition constructor signature changed.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Chiedo
Tests run: Checkin, TransitionTests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="dir" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/SlideViewTransition.as" copyfrom-rev="18652" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionDirection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransitionMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions</path>

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

--- frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionDirection.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionDirection.as
@@ -0,0 +1,53 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.transitions
+{
+
+/**
+ *  The ViewTransitionDirection class provides the constants used when hinting
+ *  the direction of a view transition.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+public class ViewTransitionDirection
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     * Transition animates upward.
+     */
+    public static const UP:String = "up";
+
+    /**
+     * Transition animates downward.
+     */
+    public static const DOWN:String = "down";
+
+    /**
+     * Transition animates to the left.
+     */
+    public static const LEFT:String = "left";
+
+    /**
+     * Transition animates to the right.
+     */
+    public static const RIGHT:String = "right";
+}
+
+}


enhance TS parsing if PMT not at the beginning of the fragment and some AV packets were left before, rewind and parse those AV packets. this should help parsing bad segmented files

--- src/com/mangui/HLS/muxing/TS.as
+++ src/com/mangui/HLS/muxing/TS.as
@@ -30,6 +30,10 @@
 		public var audioTags:Vector.<Tag> = new Vector.<Tag>();
 		/** List of packetized elementary streams with AAC. **/
 		private var _audioPES:Vector.<PES> = new Vector.<PES>();
+		/** has PMT been parsed ? **/
+		private var _pmtParsed:Boolean= false;
+		/** nb of AV packets before PMT **/
+		private var _AVpacketsBeforePMT:Number = 0;
 		/** Packet ID of the video stream. **/
 		private var _avcId:Number = -1;
 		/** PES packet that contains the first keyframe. **/
@@ -50,6 +54,8 @@
 		public var _timer:Timer;
 		/** Byte data to be read **/
 		private var _data:ByteArray;
+		/* last key Frame PES packet */
+		private var _lastKeyFrame:PES = null;

 		/** Transmux the M2TS file into an FLV file. **/
@@ -59,6 +65,12 @@
 			_timer = new Timer(0,0);
 			_timer.addEventListener(TimerEvent.TIMER, _readData);
 		};
+
+		/** add new data into Buffer */
+		public function addData(newData:ByteArray):void {
+		  newData.readBytes(_data,_data.position);
+		  _timer.start();
+		}

 		/** Read a small chunk of packets each time to avoid blocking **/
 		private function _readData(e:Event):void {
@@ -110,7 +122,7 @@
 			if(_firstKey == -1) {
 				return new ByteArray();
 			}
-			return AVC.getAVCC(_videoPES[_firstKey].data,_videoPES[_firstKey].payload);
+			return AVC.getAVCC(_lastKeyFrame.data,_lastKeyFrame.payload);
 		};

@@ -198,6 +210,7 @@
 							videoTags[videoTags.length-1].keyframe = true;
 							if(_firstKey == -1) {
 								_firstKey = i;
+								_lastKeyFrame=_videoPES[i];
 							}
 						}
 					}
@@ -268,16 +281,13 @@
 					} else if (_videoPES.length) {
 						_videoPES[_videoPES.length-1].data.writeBytes(_data,_data.position,todo);
 					} else {
-						Log.txt("Discarding TS video packet with id "+pid);
+						Log.txt("Discarding TS video packet with id "+pid + " bad TS segmentation ?");
 					}
 					break;
 				case _sdtId:
 						break;
 				default:
-					// Ignored other packet IDs, only report error if PMT not yet parsed
-					// this helps to detect discarded TS packets because of PAT/PMT not being at beginning of TS fragment
-					if(_pmtId == -1)
-					   Log.txt("Discarding unassignable TS packets with id "+pid);
+				_AVpacketsBeforePMT++;
 					break;
 			}
 			// Jump to the next packet.
@@ -290,7 +300,7 @@
 			// Check the section length for a single PMT.
 			_data.position += 3;
 			if(_data.readUnsignedByte() > 13) {
-				throw new Error("Multiple PMT/NIT entries are not supported.");
+				throw new Error("Multiple PMT entries are not supported.");
 			}
 			// Grab the PMT ID.
 			_data.position += 7;
@@ -326,11 +336,16 @@
 				_data.position += sel;
 				read += sel + 5;
 			}
+			if(_pmtParsed == false) {
+			  _pmtParsed = true;
+			// if PMT was not parsed before, and some unknown packets have been skipped in between, rewind to beginning of the stream
+			// it helps with fragment not segmented properly (in theory there should be no A/V packets before PAT/PMT)
+			  if (_AVpacketsBeforePMT > 1) {
+			    Log.txt("late PMT found, rewinding at beginning of TS");
+			    return (-_data.position);
+			  }
+		  }
 			return len;
 		};
-
-
 	}
-
-
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17396
Author:   chiedozi@adobe.com
Date:     2010-08-19T23:20:11.495099Z

Log Message:
-----------
Removed the enabled property from IPersistenceManager
Fixed a small issue where the timestamp wasn't correctly saved when an application's state was persisted

QE notes:
Doc notes:
Bugs:
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/core/managers/IPersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers/PersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as
@@ -80,7 +80,25 @@
     //  Properties
     //
     //--------------------------------------------------------------------------
-
+
+    //----------------------------------
+    //  landscapeOrientation
+    //----------------------------------
+
+    /**
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    // TODO (chiedozi): Do we need to support unknown orientation?
+    public function get landscapeOrientation():Boolean
+    {
+        return systemManager.stage.deviceOrientation == StageOrientation.ROTATED_LEFT ||
+            systemManager.stage.deviceOrientation == StageOrientation.ROTATED_RIGHT;
+    }
+
     //----------------------------------
     //  persistenceManager
     //----------------------------------
@@ -102,11 +120,8 @@
         if (value == _persistenceManager)
             return;

-        if (_persistenceManager && _persistenceManager.enabled)
-        {
+        if (_persistenceManager)
             _persistenceManager.flush();
-            _persistenceManager.enabled = false;
-        }

         _persistenceManager = value;
     }
@@ -146,7 +161,7 @@
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
-    protected function addApplicationListeners():void
+    private function addApplicationListeners():void
     {
         // Add device event listeners
         systemManager.stage.addEventListener(KeyboardEvent.KEY_DOWN, deviceKeyDownHandler);
@@ -270,7 +285,7 @@
         var ns:Namespace = appDescriptor.namespace();

         // TODO (chiedozi): See if reserving these keys is bad
-        persistenceManager.setProperty("timestamp", new Date().getMilliseconds());
+        persistenceManager.setProperty("timestamp", new Date().getTime());
         persistenceManager.setProperty("applicationVersion",
                                         appDescriptor.ns::versionNumber.toString());
     }
@@ -298,27 +313,9 @@
     }

     /**
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    // TODO (chiedozi): Do we need to support unknown orientation?
-    public function get landscapeOrientation():Boolean
-    {
-        return systemManager.stage.deviceOrientation == StageOrientation.ROTATED_LEFT ||
-            systemManager.stage.deviceOrientation == StageOrientation.ROTATED_RIGHT;
-    }
-
-    /**
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    protected function deviceKeyDownHandler(event:KeyboardEvent):void
+     *  @private
+     */
+    private function deviceKeyDownHandler(event:KeyboardEvent):void
     {
         var key:uint = event.keyCode;

@@ -329,13 +326,9 @@
     }

     /**
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    protected function deviceKeyUpHandler(event:KeyboardEvent):void
+     *  @private
+     */
+    private function deviceKeyUpHandler(event:KeyboardEvent):void
     {
         var key:uint = event.keyCode;


fixed bug handling missing date data

fixed bug handling missing date data

Change-Id: Icae692e39e111aa755873f7b1ea976950f58a1fd

--- WeaveData/src/weave/data/AttributeColumns/DateColumn.as
+++ WeaveData/src/weave/data/AttributeColumns/DateColumn.as
@@ -193,15 +193,23 @@
 					if (_numberToStringFunction != null)
 					{
 						string = _numberToStringFunction(number);
+						if (!string)
+							continue;
 						date = parseDate(string);
 					}
 					else
+					{
+						if (!isFinite(number))
+							continue;
 						date = new Date(number);
+					}
 				}
 				else
 				{
 					try
 					{
+						if (!string)
+							continue;
 						date = parseDate(string);
 					}
 					catch (e:Error)


Transferred from the Adobe Open Source Subversion Repository

Revision: 10372
Author:   klin@adobe.com
Date:     2009-09-18T00:49:09.441663Z

Log Message:
-----------
https://bugs.adobe.com/jira/browse/SDK-23273 - Excluded borderAlpha and borderVisible from mx:TabBar.

https://bugs.adobe.com/jira/browse/SDK-23042 - Pushed Exclude of focusThickness style from SkinnableComponent into specific subclasses (GroupBase, ScrollBar, SkinnableContainerBase, VideoPlayer, TitleBar) so that other subclasses will inherit the focusThickness style.

https://bugs.adobe.com/jira/browse/SDK-23172 - Revert of 10349. Fixed bug where dataTipInstance was not inheriting Slider's styles by assigning Slider as its owner. Also excluded unsupported text styles.

QE Notes: None
Doc Notes: None
Bugs: SDK-23273, SDK-23042, SDK-23172
Reviewer: Jason
API Change: No
Is noteworthy for integration: FB
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TabBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
@@ -129,6 +129,12 @@
  *  @productversion Flex 4
  */
 [Style(name="smoothScrolling", type="Boolean", inherit="no")]
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="focusThickness", kind="style")]

 /**
  *  The ScrollBar class helps to position


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultItemRenderer.as
+++ frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultItemRenderer.as
@@ -505,8 +505,12 @@
             backgroundColor = getStyle("rollOverColor");
         else
         {
-            var alternatingColors:Array = getStyle("alternatingItemColors");
-
+			var alternatingColors:Array;
+			var alternatingColorsStyle:Object = getStyle("alternatingItemColors");
+
+			if (alternatingColorsStyle)
+				alternatingColors = (alternatingColorsStyle is Array) ? (alternatingColorsStyle as Array) : [alternatingColorsStyle];
+
             if (alternatingColors && alternatingColors.length > 0)
             {
                 // translate these colors into uints


Transferred from the Adobe Open Source Subversion Repository

Revision: 20374
Author:   smgilson@adobe.com
Date:     2011-02-18T14:57:58.468559Z

Log Message:
-----------
ASdoc leanup - fix broken links, update for event name changes, remove FlashPlayer version tags.

QE notes:
Doc notes:
Bugs:
Reviewer:
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/supportClasses/StyleableTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/GapStyles.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/supportClasses/ViewReturnObject.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/TextInputOperation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/IPersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/StyleableTextFieldTextStyles.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as
@@ -105,8 +105,7 @@
  *  compatible with effects.
  *
  *  @langversion 3.0
- *  @playerversion Flash 10.1
- *  @playerversion AIR 2.0
+ *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
 public class StyleableTextField extends FlexTextField
@@ -141,7 +140,6 @@
      *  Constructor.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -337,8 +335,7 @@
      *  Developers typically never need to access this property directly.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get styleDeclaration():CSSStyleDeclaration
@@ -368,8 +365,7 @@
      *  The class style used by this component. This should be an IStyleClient.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get styleName():Object /* UIComponent */
@@ -441,7 +437,7 @@
             var metrics:TextLineMetrics = getLineMetrics(0);

             // bottom gutter and descent
-            var bottomOffset:Number = StyleableTextField.TEXT_HEIGHT_PADDING/2 + metrics.descent;
+            var bottomOffset:Number = StyleableTextField.TEXT_HEIGHT_PADDING/2 + metrics.descent;
             if (numLines == 1) // account for the extra leading on single line text
                 bottomOffset += metrics.leading;

@@ -527,8 +523,7 @@
      *  @default ""
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     override public function get text():String
@@ -582,8 +577,7 @@
      *  or not, false.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get isTruncated():Boolean
@@ -626,8 +620,7 @@
      *  @default true if type is TextFieldType.INPUT, otherwise false.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get editable():Boolean
@@ -666,8 +659,7 @@
      *  @default true
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get focusEnabled():Boolean
@@ -694,8 +686,7 @@
      *  of the mouseEnabled property to false.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get enabled():Boolean
@@ -716,8 +707,7 @@
      *  The horizontal scroll position of the text.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get horizontalScrollPosition():Number
@@ -746,8 +736,7 @@
      *  flashx.textLayout.formats.FormatValue.INHERIT.

      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get lineBreak():String
@@ -770,8 +759,7 @@
      *  this is the last character of the selection.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get selectionActivePosition():int
@@ -790,8 +778,7 @@
      *  this is the first character of the selection.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get selectionAnchorPosition():int
@@ -808,8 +795,7 @@
      *  The vertical scroll position of the text.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get verticalScrollPosition():Number
@@ -835,8 +821,7 @@
      *  @param activePosition The active position of the selection range.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function scrollToRange(anchorPosition:int, activePosition:int):void
@@ -872,8 +857,7 @@
      *  @param text The text to be inserted.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function insertText(text:String):void
@@ -895,8 +879,7 @@
      *  @param text The text to be appended.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     override public function appendText(text:String):void
@@ -924,8 +907,7 @@
      *  of the selection that moves when the selection is extended.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function selectRange(anchorIndex:int, activeIndex:int):void
@@ -938,8 +920,7 @@
      *  Selects all of the text.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function selectAll():void
@@ -951,8 +932,7 @@
      *  Set focus to this text field.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function setFocus():void
@@ -985,8 +965,7 @@
      *  This method does nothing if the styles have already been committed.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function commitStyles():void
@@ -1055,8 +1034,7 @@
      *  @copy mx.core.UIComponent#getStyle()
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function getStyle(styleProp:String):*
@@ -1085,8 +1063,7 @@
      *  @param newValue New value for the style.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function setStyle(styleProp:String, value:*):void
@@ -1105,8 +1082,7 @@
      *  @param styleProp The style property that changed.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.0
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function styleChanged(styleProp:String):void
@@ -1134,7 +1110,6 @@
      *  @return true if the text needed truncation.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2032,7 +2007,6 @@
      *  this object affects its layout (includeInLayout is true).
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */


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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/ListBaseContentHolderAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/ListBaseContentHolderAutomationImpl.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Make the constants const so it doesn't warn when I use them in data binding expressions

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

--- src/org/jivesoftware/xiff/data/Presence.as
+++ src/org/jivesoftware/xiff/data/Presence.as
@@ -43,23 +43,23 @@
 	 */
 	public class Presence extends XMPPStanza implements ISerializable
 	{
-		// Static variables for specific type strings
-		public static var AVAILABLE_TYPE:String = "available";
-		public static var UNAVAILABLE_TYPE:String = "unavailable";
-		public static var PROBE_TYPE:String = "probe";
-		public static var SUBSCRIBE_TYPE:String = "subscribe";
-		public static var UNSUBSCRIBE_TYPE:String = "unsubscribe";
-		public static var SUBSCRIBED_TYPE:String = "subscribed";
-		public static var UNSUBSCRIBED_TYPE:String = "unsubscribed";
-		public static var ERROR_TYPE:String = "error";
+		// Static constants for specific type strings
+		public static const AVAILABLE_TYPE:String = "available";
+		public static const UNAVAILABLE_TYPE:String = "unavailable";
+		public static const PROBE_TYPE:String = "probe";
+		public static const SUBSCRIBE_TYPE:String = "subscribe";
+		public static const UNSUBSCRIBE_TYPE:String = "unsubscribe";
+		public static const SUBSCRIBED_TYPE:String = "subscribed";
+		public static const UNSUBSCRIBED_TYPE:String = "unsubscribed";
+		public static const ERROR_TYPE:String = "error";

-		// Static variables for show values
-		public static var SHOW_AWAY:String = "away";
-		public static var SHOW_CHAT:String = "chat";
-		public static var SHOW_DND:String = "dnd";
-		public static var SHOW_NORMAL:String = "normal";
-		public static var SHOW_XA:String = "xa";
-		public static var SHOW_OFFLINE:String = "offline";
+		// Static constants for show values
+		public static const SHOW_AWAY:String = "away";
+		public static const SHOW_CHAT:String = "chat";
+		public static const SHOW_DND:String = "dnd";
+		public static const SHOW_NORMAL:String = "normal";
+		public static const SHOW_XA:String = "xa";
+		public static const SHOW_OFFLINE:String = "offline";

 		// Private node references for property lookups
 		private var myShowNode:XMLNode;


Change 20080826-maxcarlson-x by maxcarlson@Bank on 2008-08-26 16:40:03 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix setResource/setSource() interactions

New Features: Implemented updateResourceSize() and unload()

Bugs Fixed: LPP-6842 - implement updateResourceSize for swf9 LzSprite

Technical Reviewer: hminsky
QA Reviewer: promanik

Details: LzSprite.as - Implement unload() and updateResourceSize().  setResource() unloads any existing image loaders from setSource().  setSource() calls unload() for any existing resource bitmaps.  stop() is ignored for loaded resources.

Tests: See LPP-6842.  Test 1 allows either button to be clicked repeatedly in any order.

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

--- WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
+++ WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
@@ -185,6 +185,9 @@
           if (this.owner != null) {
               this.owner.resourceevent('totalframes', res.frames.length);
           }
+          if (imgLoader) {
+              this.unload();
+          }
           if (this.resourceObj == null) {
               this.createResourceBitmap()
           }
@@ -210,6 +213,7 @@

           this.resource = url;
           if (! imgLoader) {
+            if (this.resourceObj) this.unload();
             imgLoader = new Loader();
             this.resourceObj = imgLoader;
             this.addChildAt(imgLoader, IMGDEPTH);
@@ -219,7 +223,7 @@
           }
           var res = this.resourceObj;
           if (res) {
-            res.scaleX = res.scaleY = 1;
+            res.scaleX = res.scaleY = 1.0;
           }
           //Debug.write('sprite setsource load ', url);
           imgLoader.load(new URLRequest(url));
@@ -565,7 +569,7 @@
           o Stops at the current frame if framenumber is null
       */
       public function stop( fn:Number = 1, rel:Boolean = false ):void {
-          if (this.resource == null) {
+          if (this.resource == null || imgLoader) {
               return;
           }
           var resinfo = LzResourceLibrary[this.resource];
@@ -818,7 +822,12 @@
       }

       public function unload() {
-          trace('LzSprite.unload not yet implemented');
+        if (this.resourceObj) this.removeChild(this.resourceObj);
+        // clear out cached values
+        this.lastreswidth = this.lastresheight = this.resourcewidth = this.resourceheight = 0;
+        this.resource = null;
+        imgLoader = null;
+        this.resourceObj = null;
       }

       public function setAccessible(accessible:*) {
@@ -966,6 +975,13 @@
       function setAASilent(s) {
       }

+      function updateResourceSize(skipsend = null){
+        this.setWidth(this._setrescwidth?this.width:this.resourcewidth);
+        this.setHeight(this._setrescheight?this.height:this.resourceheight);
+
+        if (! skipsend && ! this.__LZhaser) this.owner.resourceload({width: this.resourcewidth, height: this.resourceheight, resource: this.resource, skiponload: true});
+      }
+
   }#
   }


Whatdya know. WDNI.

Whatdya know. WDNI.

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

--- src/as/com/threerings/parlor/game/client/GameController.as
+++ src/as/com/threerings/parlor/game/client/GameController.as
@@ -29,7 +29,6 @@

 import com.threerings.crowd.client.PlaceController;
 import com.threerings.crowd.data.BodyObject;
-import com.threerings.crowd.data.OccupantInfo;
 import com.threerings.crowd.data.PlaceConfig;
 import com.threerings.crowd.data.PlaceObject;
 import com.threerings.crowd.util.CrowdContext;
@@ -179,14 +178,6 @@
     }

     /**
-     * Returns the persistent user id for the supplied occupant info.
-     */
-    public function infoToId (occInfo :OccupantInfo) :int
-    {
-        return nameToId(occInfo.username);
-    }
-
-    /**
      * Returns the unique identifier for the current gameplay session.
      */
     public function getSessionId () :int


Transferred from the Adobe Open Source Subversion Repository

Revision: 22579
Author:   smgilson@adobe.com
Date:     2011-09-15T19:08:04.587501Z

Log Message:
-----------
Add images for mobile components without running examples

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ToggleSwitch.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as
@@ -64,6 +64,13 @@
  *  Each child of the SplitViewNavigator defines one pane of the screen.
  *  Because its children are view navigators, the view navigator for each
  *  pane contains its own view stack and action bar.
+ *
+ *
The following images shows the SplitViewNavigator container in a
+ *  horizontal layout with a master and detail pane:

+ *
+ *

+ *
+ *

  *
  *
SplitViewNavigator takes ViewnNavigatorBase objects as children, and lays them out as
  *  defined by its layout property.


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 2509
Author:   chaase@adobe.com
Date:     2008-07-16T17:27:37.792321Z

Log Message:
-----------
New Resize effect that works with Flex4 components as well as GraphicElement objects. Minor fixes to infrastructure classes (mostly the new effects classes, but also SetProperty) as necessary, plus a minor bugfix for the old Resize effect.
As with the other 'new effects', triggers are non-functional for now, but manual playing and transitions using the effects should work.
checkintests: passed
reviewer: Jason S.

Modified Paths:
--------------
<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/flex4/manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/NewEffects.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetProperty.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimatePropertiesInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/AnimateProperties.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/RemoveAction.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstance.as
@@ -14,6 +14,8 @@

 import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;
+
+import flex.core.Group;

 import mx.core.mx_internal;
 import mx.effects.effectClasses.ActionEffectInstance;
@@ -44,6 +46,12 @@
 	public function AddActionInstance(target:Object)
 	{
 		super(target);
+        try {
+            target.parent;
+            hasParent = true;
+        } catch (e:Error) {
+            hasParent = false;
+        }
 	}

 	//--------------------------------------------------------------------------
@@ -97,7 +105,7 @@

     private function addChild(container:*, child:*):void
     {
-        if (hasParent)
+        if (hasParent && !(container is Group))
            container.addChild(child);
         else
            container.addItem(child);
@@ -105,7 +113,7 @@

     private function removeChild(container:*, child:*):void
     {
-        if (hasParent)
+        if (hasParent && !(container is Group))
            container.removeChild(child);
         else
            container.removeItem(child);
@@ -113,7 +121,7 @@

     private function addChildAt(container:*, child:*, index:int):void
     {
-        if (hasParent)
+        if (hasParent && !(container is Group))
            container.addChildAt(child, index);
         else
            container.addItemAt(child, index);
@@ -121,7 +129,7 @@

     private function getChildIndex(container:*, child:*):int
     {
-        if (hasParent)
+        if (hasParent && !(container is Group))
            return container.getChildIndex(child);
         else
            return container.getItemIndex(child);
@@ -139,8 +147,6 @@
 	        hasParent = false;
 	    }

-		var targetDisplayObject:DisplayObject = DisplayObject(target);
-
 		// Dispatch an effectStart event from the target.
 		super.play();

@@ -158,51 +164,51 @@
 		if (!mx_internal::playReversed)
 		{
 			// Set the style property
-			if (target && getContainer(targetDisplayObject) == null && relativeTo)
+			if (target && getContainer(target) == null && relativeTo)
 			{
 				switch (position)
 				{
 					case "index":
 					{
 						if (index == -1)
-							addChild(relativeTo, targetDisplayObject);
+							addChild(relativeTo, target);
 						else
-							addChildAt(relativeTo, targetDisplayObject,
+							addChildAt(relativeTo, target,
 												Math.min(index, relativeTo.numChildren));
 						break;
 					}

 					case "before":
 					{
-						addChildAt(getContainer(relativeTo), targetDisplayObject,
+						addChildAt(getContainer(relativeTo), target,
 							getChildIndex(getContainer(relativeTo), relativeTo));
 						break;
 					}

 					case "after":
 					{
-						addChildAt(getContainer(relativeTo), targetDisplayObject,
+						addChildAt(getContainer(relativeTo), target,
 							getChildIndex(getContainer(relativeTo), relativeTo) + 1);
 						break;
 					}

 					case "firstChild":
 					{
-						addChildAt(relativeTo, targetDisplayObject, 0);
+						addChildAt(relativeTo, target, 0);
 					}

 					case "lastChild":
 					{
-						addChild(relativeTo, targetDisplayObject);
+						addChild(relativeTo, target);
 					}
 				}
 			}
 		}
 		else
 		{
-			if (target && relativeTo && getContainer(targetDisplayObject) == relativeTo)
+			if (target && relativeTo && getContainer(target) == relativeTo)
 			{
-				removeChild(relativeTo, targetDisplayObject);
+				removeChild(relativeTo, target);
 			}
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10653
Author:   egeorgie@adobe.com
Date:     2009-09-28T19:34:37.823932Z

Log Message:
-----------
Add APIs for detecting whether an IVisualElement is in 3D, or an ILayoutElement has 3D matrix. Small cleanup for "depth" property and ASDoc comments, "depth" is now consistently non-bindable.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Ryan
Tests run: checkintests, mustella (Group, layout3D)

Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -262,13 +262,13 @@
      */
     public function set postLayoutTransformOffsets(value:TransformOffsets):void
     {
-        if(value != null)
+        if (value != null)
             allocateLayoutFeatures();

-        if(layoutFeatures.postLayoutTransformOffsets != null)
+        if (layoutFeatures.postLayoutTransformOffsets != null)
             layoutFeatures.postLayoutTransformOffsets.removeEventListener(Event.CHANGE,transformOffsetsChangedHandler);
         layoutFeatures.postLayoutTransformOffsets = value;
-        if(layoutFeatures.postLayoutTransformOffsets != null)
+        if (layoutFeatures.postLayoutTransformOffsets != null)
             layoutFeatures.postLayoutTransformOffsets.addEventListener(Event.CHANGE,transformOffsetsChangedHandler);
     }

@@ -277,7 +277,7 @@
      */
     mx_internal function allocateLayoutFeatures():void
     {
-        if(layoutFeatures != null)
+        if (layoutFeatures != null)
             return;
         layoutFeatures = new AdvancedLayoutFeatures();
         layoutFeatures.layoutX = _x;
@@ -2025,7 +2025,7 @@
         {
             allocateLayoutFeatures();

-            if(matrix != null)
+            if (matrix != null)
             {
                 layoutFeatures.layoutMatrix = matrix;
             }
@@ -2144,7 +2144,7 @@
      */
     public function transformPointToParent(transformCenter:Vector3D,position:Vector3D,postLayoutPosition:Vector3D):void
     {
-        if(layoutFeatures != null)
+        if (layoutFeatures != null)
         {
             layoutFeatures.transformPointToParent(true,transformCenter,position,postLayoutPosition);
         }
@@ -2156,7 +2156,7 @@
                 xformPt.x = transformCenter.x;
                 xformPt.y = transformCenter.y;
             }
-            if(position != null)
+            if (position != null)
             {
                 position.x = xformPt.x + _x;
                 position.y = xformPt.y + _y;
@@ -2358,13 +2358,9 @@
     //----------------------------------
     //  depth
     //----------------------------------
-    /**
-     * Determines the order in which items inside of groups are rendered. Groups order their items based on their depth property, with the lowest depth
-     * in the back, and the higher in the front.  items with the same depth value will appear in the order they are added to the Groups item list.
-     *
-     * defaults to 0
-     *
-     * @default 0
+
+    /**
+     *  @inheritDoc
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -2373,7 +2369,7 @@
      */
     public function get depth():Number
     {
-        return (layoutFeatures == null)? 0:layoutFeatures.depth;
+        return (layoutFeatures == null) ? 0 : layoutFeatures.depth;
     }

     /**
@@ -2381,19 +2377,20 @@
      */
     public function set depth(value:Number):void
     {
-        if(value == depth)
+        if (value == depth)
             return;

         allocateLayoutFeatures();
         layoutFeatures.depth = value;
-        if(_parent != null && _parent is UIComponent)
-            (_parent as UIComponent).invalidateLayering();
+        if (_parent is UIComponent)
+            UIComponent(_parent).invalidateLayering();
         invalidateProperties();
     }

     //----------------------------------
     //  x
     //----------------------------------
+
     [Bindable("propertyChange")]
     [Inspectable(category="General")]

@@ -2419,7 +2416,7 @@
         if (oldValue == value)
             return;

-        if(layoutFeatures != null)
+        if (layoutFeatures != null)
             layoutFeatures.layoutX = value;
         else
             _x = value;
@@ -2457,7 +2454,7 @@
         if (oldValue == value)
             return;

-        if(layoutFeatures != null)
+        if (layoutFeatures != null)
             layoutFeatures.layoutY = value;
         else
             _y = value;
@@ -2892,7 +2889,7 @@
             _colorTransform != null ||
             _effectiveAlpha != 1);

-        if(layoutFeatures != null && layoutFeatures.postLayoutTransformOffsets != null)
+        if (layoutFeatures != null && layoutFeatures.postLayoutTransformOffsets != null)
         {
             var o:TransformOffsets = layoutFeatures.postLayoutTransformOffsets;
             result = result || (o.scaleX != 1 || o.scaleY != 1 || o.scaleZ != 1 ||
@@ -4063,7 +4060,7 @@

         if (newX != currentX || newY != currentY)
         {
-            if(layoutFeatures != null)
+            if (layoutFeatures != null)
             {
                 layoutFeatures.layoutX = newX;
                 layoutFeatures.layoutY = newY;
@@ -4171,7 +4168,7 @@
         // since this is an internal class, we don't need to worry about developers
         // accidentally messing with this matrix, _unless_ we hand it out. Instead,
         // we hand out a clone.
-        if(layoutFeatures != null)
+        if (layoutFeatures != null)
             return layoutFeatures.layoutMatrix.clone();
         var m:Matrix = new Matrix();
         m.translate(_x,_y);
@@ -4202,13 +4199,39 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
+    public function get hasLayoutMatrix3D():Boolean
+    {
+        return layoutFeatures ? layoutFeatures.layoutIs3D : false;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get is3D():Boolean
+    {
+        return layoutFeatures ? layoutFeatures.is3D: false;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     public function getLayoutMatrix3D():Matrix3D
     {
         // esg: _layoutFeatures keeps a single internal copy of the layoutMatrix.
         // since this is an internal class, we don't need to worry about developers
         // accidentally messing with this matrix, _unless_ we hand it out. Instead,
         // we hand out a clone.
-        if(layoutFeatures != null)
+        if (layoutFeatures != null)
             return layoutFeatures.layoutMatrix3D.clone();
         var m:Matrix3D = new Matrix3D();
         m.appendTranslation(_x,_y,0);


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

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

 package mx.automation.delegates.containers
 {


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

--- frameworks/projects/advancedgrids/src/mx/collections/DefaultSummaryCalculator.as
+++ frameworks/projects/advancedgrids/src/mx/collections/DefaultSummaryCalculator.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: 20558
Author:   egeorgie@adobe.com
Date:     2011-03-02T22:10:48.057790Z

Log Message:
-----------
Fix for http://bugs.adobe.com/jira/browse/SDK-29659 CrossFadeViewTransition incorrectly positions outgoing View

In this change:
- Whenever view transition is making use of snapshots:
  1. remember position of snapshots in global coordinates.
  2. after snapshot is added to the transitionGroup, update its local position so that its global position matches the remembered one.

QE notes: Generall pass of zoom, slide, flip and cross fade transitions
Doc notes:
Bugs: SDK-29659
Reviewer: Chiedo
Tests run: manual mustella cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/CrossFadeViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransition.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransition.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransition.as
@@ -251,7 +251,7 @@
         // Snapshot the entire navigator.
         var oldVisibility:Boolean = endView.visible;
         endView.visible = false;
-        cachedNavigator = getSnapshot(targetNavigator, 0);
+        cachedNavigator = getSnapshot(targetNavigator, 0, cachedNavigatorGlobalPosition);
         endView.visible = oldVisibility;
     }

@@ -695,15 +695,16 @@
         // while we animate.
         transitionGroup = new Group();
         transitionGroup.includeInLayout = false;
+        transitionGroup.x = 0;
+        transitionGroup.y = 0;

         // Add the transition group at the same index of the target navigator
         addComponentToContainerAt(transitionGroup, DisplayObject(targetNavigator).parent as UIComponent, navigatorProps.childIndex);

         transitionGroup.addElement(targetNavigator);
         cachedNavigator.includeInLayout = false;
-        transitionGroup.addElement(cachedNavigator);
-
-        transitionGroup.x = transitionGroup.y = 0;
+        addCachedElementToGroup(transitionGroup, cachedNavigator, cachedNavigatorGlobalPosition);
+
         transitionGroup.width = cachedNavigator.width;
         transitionGroup.height = cachedNavigator.height;


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

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

 package spark.skins.mobile
 {


add robustness to TS parsing when sync byte not found, look for it and resynchronize if possible

--- src/org/mangui/HLS/muxing/TS.as
+++ src/org/mangui/HLS/muxing/TS.as
@@ -16,7 +16,7 @@

 		/** TS Sync byte. **/
-		public static const SYNCBYTE:uint = 0x47;
+		private static const SYNCBYTE:uint = 0x47;
 		/** TS Packet size in byte. **/
 		private static const PACKETSIZE:uint = 188;
 		/** loop counter to avoid blocking **/
@@ -29,8 +29,8 @@
 		private var _audioPES:Vector.<PES> = new Vector.<PES>();
 		/** has PMT been parsed ? **/
 		private var _pmtParsed:Boolean= false;
-		/** nb of AV packets before PMT **/
-		private var _AVpacketsBeforePMT:Number = 0;
+		/** any TS packets before PMT ? **/
+		private var _packetsBeforePMT:Boolean = false;
 		/** Packet ID of the video stream. **/
 		private var _avcId:Number = -1;
 		/** PES packet that contains the first keyframe. **/
@@ -56,6 +56,20 @@
 		/* callback function upon read complete */
 		private var _callback:Function;

+
+		public static function probe(data:ByteArray):Boolean {
+		  var pos:Number = data.position;
+		  var len:Number = Math.min(data.bytesAvailable,188);
+		  for(var i:Number = 0; i < len ; i++) {
+		    if(data.readByte() == SYNCBYTE) {
+		      data.position = pos+i;
+		      return true;
+		    }
+		  }
+		  data.position = pos;
+		  return false;
+		}
+
 		/** Transmux the M2TS file into an FLV file. **/
 		public function TS(data:ByteArray,callback:Function) {
 			// Extract the elementary streams.
@@ -221,7 +235,13 @@
 			var todo:uint = TS.PACKETSIZE;
 			// Sync byte.
 			if(_data.readByte() != TS.SYNCBYTE) {
-				throw new Error("Could not parse TS file: sync byte not found @ offset/len " + _data.position + "/"+ _data.length);
+			  var pos:Number = _data.position;
+			  if(probe(_data) == true) {
+			    Log.txt("lost sync in TS, between offsets:" + pos + "/" + _data.position);
+			    _data.position++;
+			  } else {
+				  throw new Error("Could not parse TS file: sync byte not found @ offset/len " + _data.position + "/"+ _data.length);
+				}
 			}
 			todo--;
 			// Payload unit start indicator.
@@ -258,6 +278,17 @@
 					break;
 				case _pmtId:
 					todo -= _readPMT();
+			    if(_pmtParsed == false) {
+			      _pmtParsed = true;
+			    // if PMT was not parsed before, and some unknown packets have been skipped in between,
+			    // rewind to beginning of the stream, it helps recovering bad segmented content
+			    // in theory there should be no A/V packets before PAT/PMT)
+			      if (_packetsBeforePMT) {
+			        Log.txt("late PMT found, rewinding at beginning of TS");
+			        _data.position = 0;
+			        return;
+			      }
+		      }
 					break;
 				case _aacId:
 				case _mp3Id:
@@ -283,7 +314,7 @@
 				case _sdtId:
 						break;
 				default:
-				_AVpacketsBeforePMT++;
+				_packetsBeforePMT=true;
 					break;
 			}
 			// Jump to the next packet.
@@ -332,15 +363,6 @@
 				_data.position += sel;
 				read += sel + 5;
 			}
-			if(_pmtParsed == false) {
-			  _pmtParsed = true;
-			// if PMT was not parsed before, and some unknown packets have been skipped in between, rewind to beginning of the stream
-			// it helps with fragment not segmented properly (in theory there should be no A/V packets before PAT/PMT)
-			  if (_AVpacketsBeforePMT > 1) {
-			    Log.txt("late PMT found, rewinding at beginning of TS");
-			    return (-_data.position);
-			  }
-		  }
 			return len;
 		};
 	}


Applied Spring Security

Applied Spring Security

git-svn-id: 27326a786375daad9d33dc990c6f272e4c8f567c@835 fda5f131-174c-0410-8613-e0905860106b

--- org.openwms/trunk/source/org.openwms.client.flex.app/src/main/flex/org/openwms/web/flex/client/view/AppBase.as
+++ org.openwms/trunk/source/org.openwms.client.flex.app/src/main/flex/org/openwms/web/flex/client/view/AppBase.as
@@ -71,7 +71,7 @@
 		[Bindable]
 		protected var menuItems:ArrayCollection;
 		[Bindable]
-		public var loginView:LoginView = LoginView(PopUpManager.createPopUp(this, LoginView, true));
+		public var loginView:LoginView = LoginView(PopUpManager.createPopUp(this as DisplayObject, LoginView, true));
 		[Bindable]
 		public var mainMenuBar:MenuBar;
         [Bindable]


59 Gradient bugfix

59 Gradient bugfix

--- raw/src/org/yellcorp/color/Gradient.as
+++ raw/src/org/yellcorp/color/Gradient.as
@@ -186,10 +186,16 @@

         if (!ratiosValid) sort();

-        a1 = _alphas[intIndex];
-        a2 = _alphas[intIndex + 1];
-
-        return a1 + fracIndex * (a2 - a1);
+        if (fracIndex == 0)
+        {
+            return _alphas[intIndex];
+        }
+        else
+        {
+            a1 = _alphas[intIndex];
+            a2 = _alphas[intIndex + 1];
+            return a1 + fracIndex * (a2 - a1);
+        }
     }

     private function findIndex(point:Number):Number
@@ -310,7 +316,7 @@
         var i:int;
         if (alphas != null)
         {
-            if (_alphas.length != _length)
+            if (alphas.length != _length)
                 throw new ArgumentError("Number of alphas must match number of colors");
             _alphas = alphas.slice();
         }
@@ -334,7 +340,7 @@

         if (ratios != null)
         {
-            if (_ratios.length != _length)
+            if (ratios.length != _length)
                 throw new ArgumentError("Number of ratios must match number of colors");

             for (i = 0; i < _length; i++)


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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBase.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBase.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.controls.advancedDataGridClasses
 {


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

--- frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/AreaSeriesAutomationImpl.as
+++ frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/AreaSeriesAutomationImpl.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.automation.delegates.charts
 {


add x to close button

add x to close button

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/CloseButtonView.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/CloseButtonView.as
@@ -63,6 +63,11 @@
 			g.beginFill(bgColor);
 			g.drawRect(0, 0, 11, 11);
 			g.endFill();
+            g.lineStyle(2);
+            g.moveTo(3,3);
+            g.lineTo(8,8);
+            g.moveTo(3,8);
+            g.lineTo(8,3);
 		}

 		private var shape:Shape;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3756
Author:   gruehle@adobe.com
Date:     2008-10-20T21:38:18.681299Z

Log Message:
-----------
Adding placeholder icons for the Gumbo components that appear in the FB components panel. Where possible, these are simply copies of the Halo icons. There were some that didn't have a direct Halo counterpart, so the closest match was chosen.

QE Notes: None
Doc Notes: None
Bugs: SDK-17668
Reviewer: -

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.png</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/components/FxContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.png</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -68,6 +68,8 @@
 //--------------------------------------

 [DefaultProperty("content")]
+
+[IconFile("Group.png")]

 /**
  *  The Group class is the base container class for visual elements.


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

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

 package spark.components
 {


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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5098
Author:   gauravj@adobe.com
Date:     2009-02-27T02:21:27.489350Z

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:
--------------
151 paths were modified

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

--- frameworks/projects/spark/src/spark/components/Label.as
+++ frameworks/projects/spark/src/spark/components/Label.as
@@ -58,6 +58,11 @@
  *  @see mx.graphics.TextGraphic
  *
  *  @includeExample examples/TextBoxExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class TextBox extends TextGraphicElement
 {
@@ -134,6 +139,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function TextBox()
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8044
Author:   chaase@adobe.com
Date:     2009-06-22T17:01:54.701660Z

Log Message:
-----------
Final (!) PARB changes for effects.
- renamed ArrayInterpolator to MultiValueInterpolator (and enhanced behavior to handle Vectors as well as Arrays).
- Created new AnimateTransform3D subclass of AnimateTransform (to hold 3D-specific properties/defaults), and moved Move3D, Rotate3D, Scale3D to subclass from this new class.

QE Notes: Change to default value of applyLocalProjection (matches former default on 3D effects, but not default on AnimateTransform).
Doc Notes: None
Bugs: None
Reviewer: Hans
Tests: checkintests, effects cyclone from QE

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as" copyfrom-rev="7917" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/MultiValueInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Rotate3D.as
+++ frameworks/projects/spark/src/spark/effects/Rotate3D.as
@@ -48,7 +48,6 @@
  *  <mx:Rotate3D
  *    <b>Properties</b>
  *    id="ID"
- *    applyChangesPostLayout="true"
  *    angleXFrom="no default"
  *    angleXTo="no default"
  *    angleYFrom="no default"
@@ -63,7 +62,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public class Rotate3D extends AnimateTransform
+public class Rotate3D extends AnimateTransform3D
 {
     include "../core/Version.as";

@@ -97,27 +96,6 @@
     //
     //--------------------------------------------------------------------------

-    //----------------------------------
-    //  applyChangesPostLayout
-    //----------------------------------
-    [Inspectable(category="General")]
-    /**
-     *  @copy AnimateTransform#applyChangesPostLayout
-     *  The default value for this property is true for 3D effects,
-     *  because the Flex layout system ignores 3D transformation properties.
-     *
-     *  @default true
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    override public function get applyChangesPostLayout():Boolean
-    {
-        return super.applyChangesPostLayout;
-    }
-
     //----------------------------------
     //  angleXFrom
     //----------------------------------