Transferred from the Adobe Open Source Subversion Repository

Revision: 19694
Author:   doug.lee@ssbbartgroup.com
Date:     2011-01-11T16:26:35.514143Z

Log Message:
-----------
If the first column of a DataGrid is invisible (visibility=false) and
the grid allows navigation by cell, the MSAA name for the first
visible column erroneously omitted the "row m of n" indicator.
This is now fixed.

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

Modified Paths:
--------------
<path kind="dir" action="M">/private/flex/sdk/branches/hero_private</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/DataGridAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/DataGridAccImpl.as
@@ -283,7 +283,7 @@
             && dgAccInfo.dataGrid.columns.getItemAt(dgAccInfo.columnIndex).sortable)
             {
                 // TODO: This only allows sorting by one column at a time.
-				var columnIndices:Vector.<int> = Vector.<int>([dgAccInfo.columnIndex]);
+                var columnIndices:Vector.<int> = Vector.<int>([dgAccInfo.columnIndex]);
                 dgAccInfo.dataGrid.sortByColumns(columnIndices);
                 dgAccInfo.dataGrid.columnHeaderGroup.visibleSortIndicatorIndices = columnIndices;
             }
@@ -400,7 +400,7 @@

         // String representation of row position.
         var rowString:String = "";
-        if ((dgAccInfo.isCellMode && dgAccInfo.columnIndex == 0) || !dgAccInfo.isCellMode)
+        if ((dgAccInfo.isCellMode && dgAccInfo.reachableColumnIndex == 0) || !dgAccInfo.isCellMode)
         {
             resourceManager = ResourceManager.getInstance();
             rowString = resourceManager.getString("components", "rowMofN");


added skinning to the DebugEffect

added skinning to the DebugEffect

--- src/aerys/minko/render/effect/debug/DebugEffect.as
+++ src/aerys/minko/render/effect/debug/DebugEffect.as
@@ -1,8 +1,14 @@
 package aerys.minko.render.effect.debug
 {
 	import aerys.minko.render.effect.SinglePassEffect;
+	import aerys.minko.render.effect.skinning.SkinningStyle;
 	import aerys.minko.render.shader.SValue;
+	import aerys.minko.scene.data.LocalData;
+	import aerys.minko.scene.data.StyleStack;
 	import aerys.minko.type.math.Vector4;
+	import aerys.minko.type.skinning.SkinningMethod;
+
+	import flash.utils.Dictionary;

 	public class DebugEffect extends SinglePassEffect
 	{
@@ -12,12 +18,27 @@

 		override protected function getOutputPosition() : SValue
 		{
-			var lightDir	: SValue	= subtract(vertexPosition, cameraLocalPosition);
+			// compute vertex color to be interpolated by the fragment shader
+			var lightDir	: SValue	= subtract(cameraLocalPosition, vertexPosition);

 			lightDir.normalize();

 			_vertexColor = vertexNormal.dotProduct3(lightDir);
 			_vertexColor = float4(multiply(_vertexColor, COLOR.rgb), COLOR.a);
+
+			// perform skinning
+			var skinningMethod	: uint	= getStyleConstant(SkinningStyle.METHOD, SkinningMethod.DISABLED)
+									      as uint;
+
+			// handle skinning
+			if (skinningMethod != SkinningMethod.DISABLED)
+			{
+				var maxInfluences	: uint		= getStyleConstant(SkinningStyle.MAX_INFLUENCES, 0) as uint;
+				var numBones		: uint		= getStyleConstant(SkinningStyle.NUM_BONES, 0) as uint;
+				var skinnedPosition	: SValue	= getVertexSkinnedPosition(skinningMethod, maxInfluences, numBones);
+
+				return multiply4x4(skinnedPosition, localToScreenMatrix);
+			}

 			return vertexClipspacePosition;
 		}
@@ -27,5 +48,23 @@
 			return interpolate(_vertexColor);
 		}

+		override protected function getDataHash(style	: StyleStack,
+												local	: LocalData,
+												world	: Dictionary) : String
+		{
+			var hash 			: String	= "debug";
+
+			if (style.get(SkinningStyle.METHOD, SkinningMethod.DISABLED) != SkinningMethod.DISABLED)
+			{
+				hash += "_skin(";
+				hash += "method=" + style.get(SkinningStyle.METHOD);
+				hash += ",maxInfluences=" + style.get(SkinningStyle.MAX_INFLUENCES, 0);
+				hash += ",numBones=" + style.get(SkinningStyle.NUM_BONES, 0);
+				hash += ")";
+			}
+
+			return hash;
+		}
+
 	}
 }


Fixed sliderbar arrows for sysclk

Fixed sliderbar arrows for sysclk

--- src/UI/Sliderbar.as
+++ src/UI/Sliderbar.as
@@ -115,6 +115,7 @@
 		}

 		protected function checkClick():void {
+			var out:*;
 			var adjMouse:FlxPoint = getAdjMouse();
 			var barMoused:Boolean = adjMouse.x >= rail.x && adjMouse.x <= rail.x + rail.width && adjMouse.y >= slider.y && adjMouse.y <= slider.y + slider.height && (!U.buttonManager || !U.buttonManager.moused);
 			if (barMoused && U.buttonManager)
@@ -125,9 +126,21 @@
 					barClicked = true;
 					moveSlider();
 				} else if (leftArrow.overlapsPoint(U.mouseFlxLoc, true)) {
-					forceValue(config ? config.decrement() : value - 1);
+					if (config)
+						forceValue(config.decrement());
+					else if (onChange != null) {
+						out = onChange(value - 1);
+						forceValue(out is int ? out as int : value - 1);
+					} else
+						forceValue(value - 1);
 				} else if (rightArrow.overlapsPoint(U.mouseFlxLoc, true)) {
-					forceValue(config ? config.increment() : value + 1);
+					if (config)
+						forceValue(config.increment());
+					else if (onChange != null) {
+						out = onChange(value + 1);
+						forceValue(out is int ? out as int : value + 1);
+					} else
+						forceValue(value + 1);
 				} else if (tick && dieOnClickOutside) {
 					exists = false;
 					if (onDeath != null)


fix connection drawing bug

fix connection drawing bug

--- src/controllers/MainController.as
+++ src/controllers/MainController.as
@@ -433,8 +433,8 @@

 			var nodeState:NodeState = new NodeState();
 			nodeState.id = id;
-			nodeState.x = _view.stage.mouseX;
-			nodeState.y = _view.stage.mouseY;
+			nodeState.x = _view.mouseX;
+			nodeState.y = _view.mouseY;
 			_projectModel.addNode(nodeState);

 			if (connection != -1)


fix broken reference to the 'inFrustum' mesh binding

--- src/aerys/minko/scene/controller/mesh/skinning/SkinningController.as
+++ src/aerys/minko/scene/controller/mesh/skinning/SkinningController.as
@@ -112,7 +112,7 @@

 			var mesh : Mesh = target as Mesh;

-			mesh.bindings.addCallback('inFrustum', meshVisibilityChangedHandler);
+			mesh.bindings.addCallback('insideFrustum', meshVisibilityChangedHandler);

 			if (!_skinningHelper)
 			{
@@ -163,12 +163,12 @@
 		{
 			super.targetRemovedFromScene(target, scene);

-			if (numTargets == 0)
+			if (getNumTargetsInScene(scene) == 0)
 				unsubscribeFromJoints();

 			var mesh : Mesh = target as Mesh;

-			mesh.bindings.removeCallback('inFrustum', meshVisibilityChangedHandler);
+			mesh.bindings.removeCallback('insideFrustum', meshVisibilityChangedHandler);
 			_skinningHelper.removeMesh(mesh);
 		}


added typings for disposableChild()

added typings for disposableChild()

--- WeaveJS/src/Weave.as
+++ WeaveJS/src/Weave.as
@@ -377,7 +377,7 @@
 		 * @see weave.api.core.ISessionManager#newDisposableChild()
 		 * @see weave.api.core.ISessionManager#registerDisposableChild()
 		 */
-		public static function disposableChild(disposableParent:Object, disposableChildOrType:Object):*
+		public static function disposableChild/*/T/*/(disposableParent:Object, disposableChildOrType:/*/(new()=>T) | T/*/Object):/*/T/*/*
 		{
 			if (JS.isClass(disposableChildOrType))
 				return WeaveAPI.SessionManager.newDisposableChild(disposableParent, JS.asClass(disposableChildOrType));


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

--- frameworks/projects/advancedgrids/src/mx/styles/metadata/FocusStyles.as
+++ frameworks/projects/advancedgrids/src/mx/styles/metadata/FocusStyles.as
@@ -1,24 +1,4 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.
-//
-////////////////////////////////////////////////////////////////////////////////

-/**
- *  Specifies the alpha transparency value of the focus skin.
- *
- *  @default 0.4
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
 [Style(name="focusAlpha", type="Number", inherit="no")]

 /**


Transferred from the Adobe Open Source Subversion Repository

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

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

QE Notes: None
Doc Notes: None
Bugs: -

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 19337
Author:   mhorn@adobe.com
Date:     2010-12-13T22:01:27.841985Z

Log Message:
-----------
ASDoc updates

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.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/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
@@ -34,7 +34,7 @@
 use namespace mx_internal;

 /**
- *  The default skin class for the Spark ActionBar component.
+ *  The default skin class for the Spark ActionBar component in mobile applications.
  *
  *  @see spark.components.ActionBar
  *
@@ -140,6 +140,9 @@
     //
     //--------------------------------------------------------------------------

+    /**
+     *  @copy spark.skins.spark.ApplicationSkin#hostComponent
+     */
     public var hostComponent:ActionBar;

     private var _navigationVisible:Boolean = false;


Transferred from the Adobe Open Source Subversion Repository

Revision: 17970
Author:   egeorgie@adobe.com
Date:     2010-09-30T21:32:24.300370Z

Log Message:
-----------
Fix SDK-27642 Unnecessary Measure for Mobile Programmatic Skins

In this change:
- introduce new protected APIs in MobileSkin, MobileItemRenderer for resizing and positioning elements.
- update Mobile skin code to use new APIs instead of setting explicitly x, y, width, height
- update FXG assetes to make elements pixel aligned
- update Mobile skin code to assume FXG assest are always pixel aligned

QE notes: Verify skins look as expected; mobile item renderers layout as expected
Doc notes: None.
Bugs: SDK-27642
Reviewer: Glenn, Jason S, Jason SJ, Ryan
Tests run: full mobile mustella
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/Button_down.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_upSelected.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_down.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/Button_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_downSelected.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/NavigationButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
@@ -194,8 +194,7 @@
         var contentGroupsHeight:Number = unscaledHeight - 2;

         // FXG uses scale-9, 3 px drop shadow is drawn outside the bounds
-        border.width = unscaledWidth;
-        border.height = unscaledHeight + 3;
+        resizePart(border, unscaledWidth, unscaledHeight + 3);

         // position groups, overlap of navigation and action groups is allowed
         // when overlap occurs, titleDisplay/titleGroup is not visible


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

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

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

--- frameworks/projects/rpc/src/mx/messaging/management/MBeanFeatureInfo.as
+++ frameworks/projects/rpc/src/mx/messaging/management/MBeanFeatureInfo.as
@@ -18,11 +18,23 @@

 /**
  * Client representation of metadata for a MBean feature.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion BlazeDS 4
+ *  @productversion LCDS 3
  */
 public class MBeanFeatureInfo
 {
     /**
      *  Creates a new instance of an empty MBeanFeatureInfo.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
 	public function MBeanFeatureInfo()
 	{
@@ -31,11 +43,23 @@

 	/**
 	 * The name of the MBean feature.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion BlazeDS 4
+	 *  @productversion LCDS 3
 	 */
 	public var name:String;

 	/**
 	 * The description of the MBean feature.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion BlazeDS 4
+	 *  @productversion LCDS 3
 	 */
 	public var description:String;

@@ -43,6 +67,12 @@
      *  Returns a string representation of the feature info.
      *
      *  @return String representation of the feature info.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
 	public function toString():String
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18245
Author:   hmuller@adobe.com
Date:     2010-10-20T16:58:24.758693Z

Log Message:
-----------
GridLayer PARB changes:

GridLayer is now a Group, with the special semantics of the internal GridLayer LayerGroup class.  Grid layers are now just named GridLayer children.

Removed the Grid layers property and getLayer() method.

QE notes: Jacob is syncing up the failing Mustella tests
Doc notes:
Bugs:
Reviewer: Kevin
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayer.as
@@ -24,159 +24,32 @@
 use namespace mx_internal;

 /**
- *  The element type for the Grid layers property.
- *
- *
A GridLayer is a non-visual object that has a simple no-layout container for Grid visual elements.
- *  Visual elements are added to the layer's (internal) container with addElement() and removed with
- *  removeElement().   GridLayer containers must not impose a layout on their elements, the Grid's
- *  layout is responsible for sizing and positioning all GridLayer elements.

+ *  A no-layout group that's used as a container for "layers" of Grid visual
+ *  elements.  GridLayout creates and adds visual elements to the Grid's layers
+ *  as needed and is responsible for their layout.
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 2.4
  *  @productversion Flex 4.5
  */
-public class GridLayer
+public class GridLayer extends Group
 {
     public function GridLayer()
     {
         super();
+        layout = new LayoutBase();
     }

     //--------------------------------------------------------------------------
     //
-    //  Properties
+    //  Method Overrides
     //
-    //--------------------------------------------------------------------------
-
-    //----------------------------------
-    //  id
-    //----------------------------------
-
-    private var _id:String;
-
-    /**
-     *  A unique identifier for this layer.   The Grid's layout looks up layers by id.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.4
-     *  @productversion Flex 4.5
-     */
-    public function get id():String
-    {
-        return _id;
-    }
+    //--------------------------------------------------------------------------

     /**
      *  @private
      */
-    public function set id(value:String):void
-    {
-        _id = value;
-    }
-
-
-    //----------------------------------
-    //  root
-    //----------------------------------
-
-    private var _root:IVisualElement;
-
-    /**
-     *  The root of the hierarchy that addElement() adds visual elements to and
-     *  removeElement() removes them from.   To add a GridLayer to another Group,
-     *  add its root: myGroup.addElement(myGridLayer.root).
-     *
-     *  @default A Group configured with a no-op layout.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.4
-     *  @productversion Flex 4.5
-     */
-    public function get root():IVisualElement
-    {
-        if (!_root)
-            _root = new LayerGroup();
-
-        return _root;
-    }
-
-    /**
-     *  @private
-     */
-    public function set root(value:IVisualElement):void
-    {
-        _root = value;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Add the specified element to this GridLayer.  The relative order of elements
-     *  is not guaranteed.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.4
-     *  @productversion Flex 4.5
-     */
-    public function addElement(elt:IVisualElement):void
-    {
-        if (elt.parent != root)
-            IVisualElementContainer(root).addElement(elt);
-    }
-
-    /**
-     *  Remove the specified element from this GridLayer.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.4
-     *  @productversion Flex 4.5
-     */
-    public function removeElement(elt:IVisualElement):void
-    {
-        if (elt.parent == root)
-            IVisualElementContainer(root).removeElement(elt);
-    }
-
-    /**
-     *  Validate this layer's display list.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.4
-     *  @productversion Flex 4.5
-     */
-    public function validateNow():void
-    {
-        IInvalidating(root).validateNow();
-    }
-}
-}
-
-import mx.core.mx_internal;
-
-import spark.components.Grid;
-import spark.components.Group;
-import spark.layouts.supportClasses.LayoutBase;
-
-use namespace mx_internal;
-
-class LayerGroup extends Group
-{
-    public function LayerGroup()
-    {
-        super();
-        layout = new LayoutBase();
-    }
-
     override public function invalidateDisplayList():void
     {
         const grid:Grid = parent as Grid;
@@ -186,6 +59,9 @@
         super.invalidateDisplayList();
     }

+    /**
+     *  @private
+     */
     override public function invalidateSize():void
     {
         const grid:Grid = parent as Grid;
@@ -195,3 +71,4 @@
         super.invalidateSize();
     }
 }
+}


Fixed fullscreen resolution on seek.

Fixed fullscreen resolution on seek.

--- src/flash/FlashMediaElement.as
+++ src/flash/FlashMediaElement.as
@@ -658,7 +658,7 @@

 			stage.displayState = StageDisplayState.FULL_SCREEN;

-			repositionVideo(true);
+			repositionVideo();
 			positionControls();
 			updateControls(HtmlMediaEvent.FULLSCREENCHANGE);

@@ -708,7 +708,7 @@
 			try {
 				_controlBar.visible = true;
 				setFullscreen(!_isFullScreen);
-				repositionVideo(_isFullScreen);
+				repositionVideo();
 			} catch (error:Error) {
 			}
 		}
@@ -721,7 +721,7 @@
 			try {
 				_controlBar.visible = true;
 				setFullscreen(true);
-				repositionVideo(true);
+				repositionVideo();
 				positionControls();
 			} catch (error:Error) {
 			}
@@ -840,9 +840,15 @@
 		// END: external interface

-		function repositionVideo(fullscreen:Boolean = false):void {
-
-			_output.appendText("positioning video\n");
+		function repositionVideo():void {
+
+			if (stage.displayState == "fullScreen") {
+				fullscreen = true;
+			} else {
+				fullscreen = false;
+			}
+
+			_output.appendText("positioning video "+stage.displayState+"\n");

 			if (_mediaElement is VideoElement) {

@@ -860,7 +866,7 @@
 				if(fullscreen == true) {
 					stageRatio = flash.system.Capabilities.screenResolutionX/flash.system.Capabilities.screenResolutionY;
 					nativeRatio = _nativeVideoWidth/_nativeVideoHeight;
-
+
 					// adjust size and position
 					if (nativeRatio > stageRatio) {
 						_mediaElement.setSize(flash.system.Capabilities.screenResolutionX, _nativeVideoHeight * flash.system.Capabilities.screenResolutionX / _nativeVideoWidth);
@@ -875,7 +881,6 @@
 				} else {
 					stageRatio = _stageWidth/_stageHeight;
 					nativeRatio = _nativeVideoWidth/_nativeVideoHeight;
-

 					// adjust size and position
 					if (nativeRatio > stageRatio) {
@@ -924,12 +929,11 @@
 				_output.appendText(_nativeVideoWidth.toString() + "x" + _nativeVideoHeight.toString() + "\n");

-				 if(stage.displayState == "fullScreen" ) {
+				if(stage.displayState == "fullScreen" ) {
 					setVideoSize(_nativeVideoWidth, _nativeVideoHeight);
-					repositionVideo(true);
-				 } else {
-					repositionVideo();
-				 }
+				}
+				repositionVideo();
+
 			}

 			updateControls(eventName);


set fragment/key max retry to 3 related to #262

--- src/org/mangui/hls/HLSSettings.as
+++ src/org/mangui/hls/HLSSettings.as
@@ -69,7 +69,7 @@
          *      0, means no retry, error will be triggered automatically
          *     -1 means infinite retry
          */
-        public static var keyLoadMaxRetry : int = -1;
+        public static var keyLoadMaxRetry : int = 3;
         /** keyLoadMaxRetryTimeout

          * Maximum key retry timeout (in milliseconds) in case I/O errors are met.
@@ -83,7 +83,7 @@
          *      0, means no retry, error will be triggered automatically
          *     -1 means infinite retry
          */
-        public static var fragmentLoadMaxRetry : int = 4000;
+        public static var fragmentLoadMaxRetry : int = 3;
         /** fragmentLoadMaxRetryTimeout

          * Maximum Fragment retry timeout (in milliseconds) in case I/O errors are met.


95 MapUtil.indexKeys was wrong

95 MapUtil.indexKeys was wrong

--- raw/src/org/yellcorp/map/MapUtil.as
+++ raw/src/org/yellcorp/map/MapUtil.as
@@ -112,7 +112,7 @@

     public static function indexKeys(map:*, indexingFunc:Function, target:* = null):*
     {
-        return index(map, indexingFunc, true, target);
+        return index(map, indexingFunc, false, target);
     }

     public static function indexValues(map:*, indexingFunc:Function, target:* = null):*


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

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

 package mx.core
 {


Game controller already implemented

Game controller already implemented

--- DroneAnarchy/Resources/Scripts/LevelManager.as
+++ DroneAnarchy/Resources/Scripts/LevelManager.as
@@ -31,9 +31,6 @@
 	LS_PAUSED
 }

-
-//===NOTE
-//Add support for Game Controller

 abstract class LevelManager : ScriptObject
 {


Fix when the translation/rotation or scale vector is outdated before set translation/rotation/scaleX/Y/Z

--- src/aerys/minko/type/math/Matrix4x4.as
+++ src/aerys/minko/type/math/Matrix4x4.as
@@ -1,14 +1,14 @@
 package aerys.minko.type.math
 {
+	import flash.geom.Matrix3D;
+	import flash.geom.Orientation3D;
+	import flash.geom.Utils3D;
+	import flash.geom.Vector3D;
+
 	import aerys.minko.ns.minko_math;
 	import aerys.minko.type.Factory;
 	import aerys.minko.type.Signal;
 	import aerys.minko.type.binding.IWatchable;
-
-	import flash.geom.Matrix3D;
-	import flash.geom.Orientation3D;
-	import flash.geom.Utils3D;
-	import flash.geom.Vector3D;

 	use namespace minko_math;

@@ -50,8 +50,11 @@

 			return _translation.x;
 		}
+
         final public function set translationX(value : Number) : void
 		{
+			if (_invalidComponents)
+				updateComponents(COMPONENT_TRANSLATION);
 			setTranslation(value, _translation.y, _translation.z);
 		}

@@ -64,6 +67,8 @@
 		}
         final public function set translationY(value : Number) : void
 		{
+			if (_invalidComponents)
+				updateComponents(COMPONENT_TRANSLATION);
 			setTranslation(_translation.x, value, _translation.z);
 		}

@@ -76,6 +81,8 @@
 		}
         final public function set translationZ(value : Number) : void
 		{
+			if (_invalidComponents)
+				updateComponents(COMPONENT_TRANSLATION);
 			setTranslation(_translation.x, _translation.y, value);
 		}

@@ -88,6 +95,8 @@
 		}
         final public function set rotationX(value : Number) : void
 		{
+			if (_invalidComponents)
+				updateComponents(COMPONENT_ROTATION);
 			setRotation(value, _rotation.y, _rotation.z);
 		}

@@ -100,6 +109,8 @@
 		}
         final public function set rotationY(value : Number) : void
 		{
+			if (_invalidComponents)
+				updateComponents(COMPONENT_ROTATION);
 			setRotation(_rotation.x, value, _rotation.z);
 		}

@@ -112,6 +123,8 @@
 		}
         final public function set rotationZ(value : Number) : void
 		{
+			if (_invalidComponents)
+				updateComponents(COMPONENT_ROTATION);
 			setRotation(_rotation.x, _rotation.y, value);
 		}

@@ -124,6 +137,8 @@
 		}
         final public function set scaleX(value : Number) : void
 		{
+			if (_invalidComponents)
+				updateComponents(COMPONENT_SCALE);
 			setScale(value, _scale.y, _scale.z);
 		}

@@ -136,6 +151,8 @@
 		}
         final public function set scaleY(value : Number) : void
 		{
+			if (_invalidComponents)
+				updateComponents(COMPONENT_SCALE);
 			setScale(_scale.x, value, _scale.z);
 		}

@@ -148,6 +165,8 @@
 		}
         final public function set scaleZ(value : Number) : void
 		{
+			if (_invalidComponents)
+				updateComponents(COMPONENT_SCALE);
 			setScale(_scale.x, _scale.y, value);
 		}

@@ -329,6 +348,8 @@
                                                 z : Number = 0.) : Matrix4x4
 		{
 			_matrix.appendTranslation(x, y, z);
+
+			TMP_VECTOR4.set(x, y, z);

 			_hasChanged = true;
 			if (!_locked)


qnd: add c10 and c11 params

qnd: add c10 and c11 params

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

--- plugins/nielsenVideoCensusPlugin/src/nielsenVideoCensusPluginCode.as
+++ plugins/nielsenVideoCensusPlugin/src/nielsenVideoCensusPluginCode.as
@@ -1,5 +1,6 @@
 package
 {
+	import com.kaltura.kdpfl.model.SequenceProxy;
 	import com.kaltura.kdpfl.model.type.NotificationType;
 	import com.kaltura.kdpfl.plugin.IPlugin;
 	import com.kaltura.kdpfl.plugin.IPluginFactory;
@@ -18,7 +19,7 @@
 	import flash.utils.Dictionary;
 	import flash.utils.Timer;

-	import org.puremvc.as3.interfaces.IFacade;
+	import org.puremvc.as3.interfaces.IFacade;

 	public dynamic class nielsenVideoCensusPluginCode extends Sprite implements IPlugin
 	{
@@ -46,6 +47,9 @@
 		public var lp	:	String;
 		public var ls	: 	String;
 		public var serverUrl:String;
+		public var c10	: 	String;
+		public var c11	: 	String;
+
 		private var _facade:IFacade;
 		private var _eventData:Object;
 		private var _paramsMap:Object =	{videoCensusId:"C6",
@@ -56,9 +60,12 @@
 													ls:"LS",
 													cc:"CC",
 													rnd:"RND",
-													c3:"C3"};
-
-
+													c3:"C3",
+													c10:"C10",
+													c11:"C11"};
+
+
+		private var _sequenceProxy:SequenceProxy;
 		public function nielsenVideoCensusPluginCode()
 		{
 			super();
@@ -73,6 +80,7 @@
 			//_nielsenMediator.eventDispatcher.addEventListener(NielsenVideoCensusMediator.AD_START, onAdStart);

 			facade.registerMediator(_nielsenMediator);
+			_sequenceProxy = facade.retrieveProxy(SequenceProxy.NAME) as SequenceProxy;

 		}

@@ -114,17 +122,21 @@

 			//TL -Video title. Should be prefixed by “dav0-“. Percent (%) encode the TL value after the “dav0-“ previx.
 			//Encoding prevents restricted charactrs from impacting any processing scripts
-			if(tl)url=createQueryString(url,_paramsMap.tl,"dav0-"+tl);
+			if(tl)
+				url=createQueryString(url,_paramsMap.tl,"dav0-"+tl);

 			//CG - Show name or category name TV networks required to use program name here
 			//The entire cg value should be percent (%) encoded
-			if(cg)url=createQueryString(url,_paramsMap.cg,cg);
+			if(cg)
+				url=createQueryString(url,_paramsMap.cg,cg);

 			//CI -Client ID provider by Nielsen
-			if(clientId)url=createQueryString(url,_paramsMap.clientId,clientId);
+			if(clientId)
+				url=createQueryString(url,_paramsMap.clientId,clientId);

 			//C6 -Video Census ID
-			if(videoCensusId)url=createQueryString(url,_paramsMap.videoCensusId,videoCensusId);
+			if(videoCensusId)
+				url=createQueryString(url,_paramsMap.videoCensusId,videoCensusId);

 			//RND - Random number. Must be dynamic per event. Do not use scientific notation
 			url=createQueryString(url,_paramsMap.rnd,getRndNumber());
@@ -137,20 +149,28 @@
 			//4. Anticipated total number of segments/chapters for this episode. Set to 0 if not known

 			// NOTE: total length can only be determined.  unable to determine length of segments with current KDP3 libraries
-			if(lp)url=createQueryString(url,_paramsMap.lp,getLongPlayIndicator());
+			if(lp)
+				url=createQueryString(url,_paramsMap.lp,getLongPlayIndicator());

-			if(c3)url=createQueryString(url,_paramsMap.c3,c3);
+			if(c3)
+				url=createQueryString(url,_paramsMap.c3,c3);
+
+			//adid is sent only for ads. eidr is sent for both content and ads
+			if(_sequenceProxy.vo.isInSequence && c10)
+				url=createQueryString(url,_paramsMap.c10,c10);
+			if(c11)
+				url=createQueryString(url,_paramsMap.c11,c11);

 			//LS -Live stream indicator. One parameter:
 			//1. Set to Y if this is a live stream
 			//2. Set to N if this is a standard video on demand stream
-			if(ls)url=createQueryString(url,_paramsMap.ls,getLiveStreamIndicator());
+			if(ls)
+				url=createQueryString(url,_paramsMap.ls,getLiveStreamIndicator());

 			//C3  - Ad indicator. If this parameter is omitted then the stream will be assumed to be content.
 			//url = createQueryString(url,_paramsMap.c3,getAdIndicator());
-
-
+

 			loader.addEventListener(Event.COMPLETE, onComplete);
 			loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityError);


Added missing boilerplate.

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@258 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/flash/Vector3.as
+++ src/as/com/threerings/flash/Vector3.as
@@ -1,3 +1,24 @@
+//
+// $Id$
+//
+// Nenya library - tools for developing networked games
+// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
+// http://www.threerings.net/code/nenya/
+//
+// This library is free software; you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as published
+// by the Free Software Foundation; either version 2.1 of the License, or
+// (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
 package com.threerings.flash {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17038
Author:   dloverin@adobe.com
Date:     2010-07-23T14:18:56.320727Z

Log Message:
-----------
Move borderSkin out of the global selector and into the mx components that need it.

The borderSkin attribute was moved out of framework's defaults.css so framework does not always bring in sparkskins.swc. This was done for mobile but this will also improve RSL load time as sparkskin's RSL will not be needed for pure Spark applications.

QE notes: None.
Doc notes: Release note the change.
Bugs: SDK-26653
Reviewer: Glenn
Tests run: checkintests, full mustella run
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/halo/defaults.css</path>

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

--- frameworks/projects/mx/src/mx/controls/ButtonBar.as
+++ frameworks/projects/mx/src/mx/controls/ButtonBar.as
@@ -445,13 +445,6 @@
      */
     private var directionChanged:Boolean = false;

-    /**
-     *  @private
-     *  Flag indicating whether styles in the the module factory override
-     *  have been set.
-     */
-    private var moduleFactoryOverrideStylesSet:Boolean = false;
-
     //--------------------------------------------------------------------------
     //
     //  Overridden properties
@@ -491,46 +484,6 @@
         super.direction = value;
     }

-    /**
-     *  @private
-     */
-    override public function set moduleFactory(moduleFactory:IFlexModuleFactory):void
-    {
-        super.moduleFactory = moduleFactory;
-
-        if (moduleFactoryOverrideStylesSet)
-            return;
-
-        moduleFactoryOverrideStylesSet = true;
-
-        if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
-        {
-            var typeSelector:CSSStyleDeclaration = styleManager.getMergedStyleDeclaration("mx.controls.ButtonBar");
-
-            if (typeSelector)
-            {
-                var borderSkin:* =
-                    styleManager.getMergedStyleDeclaration("global").getStyle("borderSkin");
-
-                if (typeSelector.getStyle("borderSkin") !== borderSkin)
-                {
-                    // Setting a merged style is not supported so get a local style.
-                    typeSelector = styleManager.getStyleDeclaration("mx.controls.ButtonBar");
-
-                    // Our style manager may not have a local definition of the
-                    // button bar style so add a local one so we can modify it.
-                    if (!typeSelector)
-                    {
-                        var selector:CSSSelector = new CSSSelector("mx.controls.ButtonBar", null, null);
-                        typeSelector = new CSSStyleDeclaration(selector, styleManager);
-                    }
-
-                    typeSelector.setStyle("borderSkin", borderSkin);
-                }
-            }
-        }
-    }
-
     //----------------------------------
     //  viewMetrics
     //----------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 7743
Author:   clucier@adobe.com
Date:     2009-06-11T13:53:10.203664Z

Log Message:
-----------
Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
Bugs: SDK-21337
Reviewer: Ryan, Paul
QE Notes: None
Tests: Ran several random Mustella test groups, checkintests.

Modified Paths:
--------------
106 paths were modified

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

--- frameworks/projects/mx/src/mx/core/Application.as
+++ frameworks/projects/mx/src/mx/core/Application.as
@@ -842,7 +842,7 @@
         // event handler (SDK-12664)
         invalidateProperties();

-        super.mx_internal::setUnscaledHeight(value);
+        super.setUnscaledHeight(value);
     }

     //----------------------------------
@@ -858,7 +858,7 @@
         // event handler (SDK-12664)
         invalidateProperties();

-        super.mx_internal::setUnscaledWidth(value);
+        super.setUnscaledWidth(value);
     }

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


Room's ban() method did not work previously as it used the wrong MUC extension. This was fixed, as well the finish_admin callback will now be called correctly. In addition, we will not dispatch a USER_DEPARTURE event after already dispatching a USER_BANNED event.

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

--- src/org/jivesoftware/xiff/conference/Room.as
+++ src/org/jivesoftware/xiff/conference/Room.as
@@ -875,18 +875,16 @@
 	     * Room.ADMIN_AFFILIATION,
 	     * Room.OWNER_AFFILIATION
 	     * @param jids An array of JIDs to grant these permissions to
-	     * @param callback The function to call once permission granting is complete
 	     * @see #revoke
-	     * @see #ban
+	     * @see #allow
 	     */
-	    public function grant(affiliation:String, jids:Array, callback:Function):void
+	    public function grant(affiliation:String, jids:Array):void
 	    {
 	        var iq:IQ = new IQ(roomJID, IQ.SET_TYPE);
 	        var owner:MUCOwnerExtension = new MUCOwnerExtension();

-	        iq.callbackScope = this;
-	        iq.callbackName = "finish_admin";
-	        iq.callback = callback;
+		    iq.callbackScope = this;
+		    iq.callback = finish_admin;

 	        for (var i:int=0; i < jids.length; i++) {
 	            owner.addItem(affiliation, null, null, jids[i], null, null);
@@ -905,31 +903,36 @@
 	     * then this will also revoke the banned status.

 	     *
 	     * @param jids An array of JIDs to revoke affiliations from
-	     * @param callback The function to call once revocation is complete
 	     * @see #grant
-	     * @see #ban
 	     * @see #allow
 	     */
-	    public function revoke(jids:Array, callback:Function):void
-	    {
-	        grant(Room.NO_AFFILIATION, jids, callback);
+	    public function revoke(jids:Array):void
+	    {
+	        grant(Room.NO_AFFILIATION, jids);
 	    }

 	    /**
-	     * Bans an array of JIDs from entering the room.  This is the same as:
-	     * Room.grant( OUTCAST_AFFILIATION, jid )
+	     * Bans an array of JIDs from entering the room.
 	     *
 	     *
If the process could not be completed, the room will dispatch the event
 	     * RoomEvent.ADMIN_ERROR.

 	     *
 	     * @param jids An arry of JIDs to ban
-	     * @param callback The function to call once banning is complete
-	     * @see #grant
-	     * @see #allow
 	     */
-	    public function ban(jids:Array, callback:Function):void
-	    {
-	        grant(Room.OUTCAST_AFFILIATION, jids, callback);
+	    public function ban(jids:Array):void
+	    {
+	        var iq:IQ = new IQ(roomJID, IQ.SET_TYPE);
+	        var adminExt:MUCAdminExtension = new MUCAdminExtension();
+
+		    iq.callbackScope = this;
+		    iq.callback = finish_admin;
+
+	        for (var i:int=0; i < jids.length; i++) {
+	            adminExt.addItem(Room.OUTCAST_AFFILIATION, null, null, jids[i], null, null);
+	        }
+
+	        iq.addExtension(adminExt);
+	        connection.send(iq);
 	    }

 	    /**
@@ -940,13 +943,12 @@
 	     * RoomEvent.ADMIN_ERROR

 	     *
 	     * @param jids An array of JIDs to allow
-	     * @param callback The function to call once allowing is complete
+	     * @see #grant
 	     * @see #revoke
-	     * @see #ban
 	     */
-	    public function allow( jids:Array, callback:Function ):void
-	    {
-	        grant(Room.NO_AFFILIATION, jids, callback);
+	    public function allow( jids:Array ):void
+	    {
+	        grant(Room.NO_AFFILIATION, jids);
 	    }

 	    /*
@@ -1060,6 +1062,11 @@
 						var user:MUCUserExtension = aPresence.getAllExtensionsByNS(MUCUserExtension.NS)[0];
 						if (user.statusCode == 307) {
 							// User left as a result of a kick, so no need to dispatch a USER_DEPARTURE event as we already dispatched USER_KICKED
+							removeItemAt(i);
+							return;
+						}
+						else if (user.statusCode == 301) {
+							// User left as a result of a ban, so no need to dispatch a USER_DEPARTURE event as we already dispatched USER_BANNED
 							removeItemAt(i);
 							return;
 						}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8625
Author:   jszeto@adobe.com
Date:     2009-07-16T17:59:26.132133Z

Log Message:
-----------
Updating copyright text

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
@@ -1,3 +1,14 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.graphics
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13188
Author:   deeptika@adobe.com
Date:     2009-12-23T14:26:40.641841Z

Log Message:
-----------
Fix for FLEXENT-1204 ([AIR Specific]Not compiling a halo AIR App with automation_spark.swc causes an RTE)

Fix: Moving spark related AIR delegates from automation_air package to new package automation_airspark

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_air/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_air/manifest_automation_air.xml</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark/manifest_automation_airspark.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark/src/spark/automation/delegates/components/SparkWindowedApplicationAutomationImpl.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/automation_air/src/spark</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark/src/spark/automation/delegates/components/SparkWindowAutomationImpl.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark/src/spark</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark/src/spark/automation/delegates/components</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_air/src/AutomationAirClasses.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark/src/spark/automation/delegates</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark/src/AutomationAirSparkClasses.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark/src/spark/automation</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/automation_airspark/src</path>

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

--- frameworks/projects/automation_airspark/src/AutomationAirSparkClasses.as
+++ frameworks/projects/automation_airspark/src/AutomationAirSparkClasses.as
@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+/**
+ *  @private
+ *  In some projects, this class is used to link additional classes
+ *  into the SWC beyond those that are found by dependency analysis
+ *  starting from the classes specified in manifest.xml.
+ *  This project has no manifest file (because there are no MXML tags
+ *  corresponding to any classes in it) so all the classes linked into
+ *  the SWC are found by a dependency analysis starting from the classes
+ *  listed here.
+ */
+internal class AutomationAirSparkClasses
+{
+	import spark.automation.delegates.components.SparkWindowedApplicationAutomationImpl;SparkWindowedApplicationAutomationImpl;
+	import spark.automation.delegates.components.SparkWindowAutomationImpl;SparkWindowAutomationImpl;
+	//Maintain alphabetical order
+}
+
+}