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

--- frameworks/projects/framework/src/mx/effects/effectClasses/MaskEffectInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/MaskEffectInstance.as
@@ -283,10 +283,10 @@
 		var value:Number;

 		if (moveTween)
-			value = moveTween.mx_internal::playheadTime;
+			value = moveTween.playheadTime;

 		else if (scaleTween)
-			value = scaleTween.mx_internal::playheadTime;
+			value = scaleTween.playheadTime;

 		else
 			return 0;
@@ -564,9 +564,9 @@
 		// This allows the MaskEffect subclass to set the effect properties.
 		initMaskEffect();

-		EffectManager.mx_internal::startVectorEffect(IUIComponent(target));
+		EffectManager.startVectorEffect(IUIComponent(target));

-		//EffectManager.mx_internal::startBitmapEffect(target);
+		//EffectManager.startBitmapEffect(target);

 		// Move Tween

@@ -619,14 +619,14 @@
 		{
 			// Set the animation to the initial value
 			// before the screen refreshes.
-			onMoveTweenUpdate(moveTween.mx_internal::getCurrentValue(0));
+			onMoveTweenUpdate(moveTween.getCurrentValue(0));
 		}

 		if (scaleTween)
 		{
 			// Set the animation to the initial value
 			// before the screen refreshes.
-			onScaleTweenUpdate(scaleTween.mx_internal::getCurrentValue(0));
+			onScaleTweenUpdate(scaleTween.getCurrentValue(0));
 		}
 	}

@@ -1014,7 +1014,7 @@
 	{
 		if (tweenCount == 0 || --tweenCount == 0)
 		{
-			EffectManager.mx_internal::endVectorEffect(IUIComponent(target));
+			EffectManager.endVectorEffect(IUIComponent(target));

 			var values:Array = [];
 			var value:Object;
@@ -1153,15 +1153,15 @@
 			{
 				// Remember the amount of the effect that has already been
 				// played.
-				var elapsed:Number = getTimer() - tween.mx_internal::startTime;
+				var elapsed:Number = getTimer() - tween.startTime;

 				// Destroy the old tween object. Set its listener to a dummy
 				// object, so that the onTweenEnd function is not called.
 				if (moveTween)
-					Tween.mx_internal::removeTween(moveTween);
+					Tween.removeTween(moveTween);

 				if (scaleTween)
-					Tween.mx_internal::removeTween(scaleTween);
+					Tween.removeTween(scaleTween);

 				// Reset the tween count
 				tweenCount = 0;
@@ -1179,16 +1179,16 @@
 				// milliseconds of the animation have already played.
 				if (moveTween)
 				{
-					moveTween.mx_internal::startTime -= elapsed;
+					moveTween.startTime -= elapsed;
 					// Update the screen before a repaint occurs
-					moveTween.mx_internal::doInterval();
+					moveTween.doInterval();
 				}

 				if (scaleTween)
 				{
-					scaleTween.mx_internal::startTime -= elapsed;
+					scaleTween.startTime -= elapsed;
 					// Update the screen before a repaint occurs
-					scaleTween.mx_internal::doInterval();
+					scaleTween.doInterval();
 				}
 			}
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20537
Author:   chiedozi@adobe.com
Date:     2011-03-02T04:23:09.889338Z

Log Message:
-----------
Fixed a bug in FlipViewTransition and ZoomViewTransition where the transitions were incorrectly re-parenting the animated navigator

QE notes:
Doc notes:
Bugs: SDK-29784
Reviewer: Corey
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/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/ZoomViewTransition.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as
@@ -1369,6 +1369,18 @@
             container.setChildIndex(component, index);
     }

+    /**
+     *  @private
+     *  Helper method that returns index of the given component.
+     */
+    protected function getComponentChildIndex(component:UIComponent, container:UIComponent):int
+    {
+        if (container is IVisualElementContainer)
+            return IVisualElementContainer(container).getElementIndex(component);
+        else
+            return container.getChildIndex(component);
+    }
+
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6858
Author:   egeorgie@adobe.com
Date:     2009-05-12T21:36:09.954248Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-21027 http://bugs.adobe.com/jira/browse/SDK-20760 http://bugs.adobe.com/jira/browse/SDK-20914

Fix:
1. modify VerticalLayout, HorizontalLayout to align children to the container edges/ middle of container in cases where clipping is disabled.
2. Modify VerticalLayout/HorizontalLayout to take element's min width/height while calculating minimum measured width/height in cases of "justify" alignment.
3. Modify the contentGroup part in the default skins for the Application, Panel, SkinnableContainer to have explicit minimum width/height of (0,0).

QE Notes: None
Doc Notes: None
Bugs: SDK-21027, SDK-20760, SDK-20914
Reviewer: Hans
tests: checkintests, mustella (gumbo/layouts, gumbo/core/Group, gumbo/containers/FxPanel, gumbo/components/FxContainer)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/SkinnableContainerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/PanelSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as
@@ -725,12 +725,7 @@
      *
      *  The minMinorSize is intended to be used LinearLayout::measure() time.
      *
-     *  It accumulates the maximum of the minWidth,Height for items for which
-     *  percentWidth,Height is specified, and preferredWidth,Height when
-     *  a percent size is not specified.
-     *
-     *  This is because LinearLayouts give items their preferred size along
-     *  the minor axis, unless percent size was specified.
+     *  It accumulates the maximum of the minWidth,Height for all items.
      *
      *  @param index The item's index.
      *  @param elt The layout element at index.
@@ -754,15 +749,13 @@
         {
             setMajorSize(index, elt.getLayoutBoundsHeight());
             minorSize = Math.max(minorSize, elt.getLayoutBoundsWidth());
-            var mw:Number =  isNaN(elt.percentWidth) ? elt.getPreferredBoundsWidth() : elt.getMinBoundsWidth();
-            minMinorSize = Math.max(minMinorSize, mw);
+            minMinorSize = Math.max(minMinorSize, elt.getMinBoundsWidth());
         }
         else
         {
             setMajorSize(index, elt.getLayoutBoundsWidth());
             minorSize = Math.max(minorSize, elt.getLayoutBoundsHeight());
-            var mh:Number =  isNaN(elt.percentHeight) ? elt.getPreferredBoundsHeight() : elt.getMinBoundsHeight();
-            minMinorSize = Math.max(minMinorSize, mh);
+            minMinorSize = Math.max(minMinorSize, elt.getMinBoundsHeight());
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4960
Author:   gosmith@adobe.com
Date:     2009-02-14T02:23:27.721068Z

Log Message:
-----------
Decreased the number of Gumbo style buckets.

Combined AdvancedCharacterFormatTextStyles.as, AdvancedParagraphFormatTextStyles.as, and AdvancedContainerFormatTextStyles.as into AdvancedTextLayoutFormatStyles.as.

Combined BasicCharacterFormatTextStyles.as, BasicParagraphFormatTextStyles.as, and BasicContainerFormatTextStyles.as into BasicTextLayoutFormatStyles.as.

The reason for doing this is that TLF combined its CharacterFormat, ParagraphFormat, and ContainerFormat classes into a single TextLayoutFormat.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: None; no functional change

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedCharacterFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicContainerFormatTextStyles.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedParagraphFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicCharacterFormatTextStyles.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/styles/metadata/AdvancedTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTextBase.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicParagraphFormatTextStyles.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedContainerFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -57,12 +57,8 @@
  */
 [Event(name="change", type="mx.events.TextOperationEvent")]

-include "../../styles/metadata/AdvancedCharacterFormatTextStyles.as"
-include "../../styles/metadata/AdvancedContainerFormatTextStyles.as"
-include "../../styles/metadata/AdvancedParagraphFormatTextStyles.as"
-include "../../styles/metadata/BasicCharacterFormatTextStyles.as"
-include "../../styles/metadata/BasicContainerFormatTextStyles.as"
-include "../../styles/metadata/BasicParagraphFormatTextStyles.as"
+include "../../styles/metadata/AdvancedTextLayoutFormatStyles.as"
+include "../../styles/metadata/BasicTextLayoutFormatStyles.as"
 include "../../styles/metadata/SelectionFormatTextStyles.as"

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 10006
Author:   gruehle@adobe.com
Date:     2009-09-03T22:04:47.081899Z

Log Message:
-----------
Initial checkin of the "More styles for Spark skins" feature. Details here:
http://opensource.adobe.com/wiki/display/flexsdk/More+Styles+for+Spark+Skins

There are some known issues:
* Panel bottom corners not rounded correctly when the panel has a control bar
* cornerRadius on Tab and DateChooser non functional
* cornerRadius values > 4 have drawing artifacts in the "down" state of Button and button-like components
* TextInput/TextArea incorrectly list lineBreak and verticalAlign as valid styles

This checkin also includes a couple minor unrelated bug fixes:
* Remove MiniDebugTarget. This is a logging target that used MiniDebug, which hasn't worked since Flex 1.5
* Fix RTEs when setting focusSkin to null
* Optimization: don't measure skins if the host component has explicit sizes

QE notes: Yes, many baseline images will need to be regenerated
Doc notes: New ASDoc comments should be scrubbed
Bugs: SDK-22931, SDK-22798, SDK-22217, SDK-19358
Reviewer: Jason
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperIncrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PopUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/targets/MiniDebugTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperDecrButtonSkin.mxml</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/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerDecrementButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/EditableComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SparkSkinForHalo.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/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerIncrementButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/halo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/NumericStepperTextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/BorderTestScript.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ApplicationSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -18,15 +18,14 @@

 import flashx.textLayout.elements.TextFlow;
 import flashx.textLayout.events.SelectionEvent;
-import flashx.textLayout.formats.LineBreak;

 import mx.core.IIMESupport;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.managers.IFocusManagerComponent;
+import mx.styles.StyleProxy;
 import mx.utils.BitFlagUtil;

-import spark.components.supportClasses.SkinnableComponent;
 import spark.components.TextSelectionHighlighting;
 import spark.events.TextOperationEvent;
 import spark.components.RichEditableText;
@@ -77,9 +76,50 @@
  */
 [Event(name="change", type="spark.events.TextOperationEvent")]

+include "../../styles/metadata/BasicNonInheritingTextStyles.as"
 include "../../styles/metadata/BasicInheritingTextStyles.as"
 include "../../styles/metadata/AdvancedInheritingTextStyles.as"
 include "../../styles/metadata/SelectionFormatTextStyles.as"
+
+/**
+ *  The alpha of the border for this component.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="borderAlpha", type="Number", inherit="no", theme="spark")]
+
+/**
+ *  The color of the border for this component.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="borderColor", type="uint", format="Color", inherit="no", theme="spark")]
+
+/**
+ *  Controls the visibility of the border for this component.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="borderVisible", type="Boolean", inherit="no", theme="spark")]
+
+/**
+ *  The alpha of the content background for this component.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="contentBackgroundAlpha", type="Number", inherit="yes", theme="spark")]

 /**
  *  @copy spark.components.supportClasses.GroupBase#contentBackgroundColor
@@ -90,6 +130,16 @@
  *  @productversion Flex 4
  */
 [Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes", theme="spark")]
+
+/**
+ *  The alpha of the focus ring for this component.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="focusAlpha", type="Number", inherit="no", theme="spark")]

 /**
  *  @copy spark.components.supportClasses.GroupBase#focusColor
@@ -187,6 +237,16 @@
      */
     private static const WIDTH_IN_CHARS_PROPERTY_FLAG:uint = 1 << 12;

+    /**
+     *  @private
+     */
+    private static const paddingStyleFilters:Object = {
+        "paddingLeft":"paddingLeft",
+        "paddingTop":"paddingTop",
+        "paddingRight":"paddingRight",
+        "paddingBottom":"paddingBottom"
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Constructor
@@ -761,6 +821,9 @@

             textDisplay.addEventListener(FlexEvent.VALUE_COMMIT,
                                          textDisplay_valueCommitHandler);
+
+            // Proxy padding styles to the textDisplay
+            textDisplay.styleName = new StyleProxy(this, paddingStyleFilters);
         }
     }


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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 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.
 //
 ////////////////////////////////////////////////////////////////////////////////


removed UIComponent dependency

removed UIComponent dependency

--- src/org/puremvc/as3/multicore/utilities/fabrication/logging/FabricationLogger.as
+++ src/org/puremvc/as3/multicore/utilities/fabrication/logging/FabricationLogger.as
@@ -15,13 +15,12 @@
  */

 package org.puremvc.as3.multicore.utilities.fabrication.logging {
+    import flash.display.DisplayObject;
     import flash.events.SecurityErrorEvent;
     import flash.events.StatusEvent;
     import flash.net.LocalConnection;
     import flash.net.registerClassAlias;
     import flash.utils.getQualifiedClassName;
-
-    import mx.core.UIComponent;

     import org.as3commons.reflect.Accessor;
     import org.as3commons.reflect.Field;
@@ -49,7 +48,7 @@

         }

-        private static const LOGGER_ID:String = "_org.puremvc.as3.multicore.utilities.fabrication";
+        public static const LOGGER_ID:String = "_org.puremvc.as3.multicore.utilities.fabrication";

         private var _lc:LocalConnection;

@@ -99,7 +98,7 @@
             action.type = ActionType.MEDIATOR_REGISTERED;
             var infoObject:Object = {};
             infoObject.mediatorName = mediatorName;
-            var mediatorComponent:UIComponent = mediator.getViewComponent() as UIComponent;
+            var mediatorComponent:DisplayObject = mediator.getViewComponent() as DisplayObject;
             if (mediatorComponent) {
                 infoObject.viewComponentClass = getQualifiedClassName(mediatorComponent);
                 infoObject.notificationInterests = mediator.listNotificationInterests();
@@ -311,7 +310,7 @@
          * Logs fabrication framework error
          * @param message error message to log
          */
-        public function frameworkError(message:String):void
+        public function error(message:String):void
         {
             logFrameworkMessage(message, LogLevel.ERROR.getName());

@@ -321,7 +320,7 @@
          * Logs fabrication framework warning
          * @param message warning message to log
          */
-        public function frameworkWarn(message:String):void
+        public function warn(message:String):void
         {
             logFrameworkMessage(message, LogLevel.WARN.getName());
         }
@@ -415,7 +414,7 @@

         private function _lc_securityErrorHandler(event:SecurityErrorEvent):void
         {
-            frameworkError(event.toString());
+            error(event.toString());
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20149
Author:   klin@adobe.com
Date:     2011-02-04T21:39:31.000080Z

Log Message:
-----------
Add and update [Inspectable] metadata across spark components.

QE notes: No
Doc notes: No
Bugs: SDK-28942
Reviewer: Carol
Tests run: cyclone server, checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TileGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<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/supportClasses/ButtonBarBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/modules/ModuleLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/mediaClasses/DynamicStreamingVideoItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as
@@ -168,6 +168,7 @@
     private var _selected:Boolean;

     [Bindable]
+    [Inspectable(category="General", defaultValue="false")]

     /**
      *  Contains true if the button is in the down state,


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskShader.as
+++ frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskShader.as
@@ -83,4 +83,4 @@
         this.data.mode.value=[v];
     }
 }
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20083
Author:   cframpto@adobe.com
Date:     2011-02-03T01:30:21.215519Z

Log Message:
-----------
Fix vertical alignment of text in mobile TextInput, update ASdoc for StyleableTextField styles and include StyleableTextFieldStyles.as in StyleableTextField so style metadata is correct.

QE notes:
Doc notes:
Bugs: SDK-29291, SDK-27522
Reviewer: Ryan
Tests run: cyclone
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/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/SelectionFormatTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.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/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>

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

--- frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as
@@ -12,7 +12,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#blockProgression
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -24,7 +24,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#breakOpportunity
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -36,7 +36,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#clearFloats
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -48,7 +48,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#firstBaselineOffset
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -60,7 +60,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#leadingModel
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -72,7 +72,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#listAutoPadding
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -84,7 +84,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#listStylePosition
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -96,7 +96,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#listStyleType
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -108,7 +108,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#paragraphEndIndent
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -120,7 +120,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#paragraphSpaceAfter
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -132,7 +132,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#paragraphSpaceBefore
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -144,7 +144,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#paragraphStartIndent
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -156,7 +156,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#tabStops
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -166,6 +166,13 @@
 [Style(name="tabStops", type="String", inherit="yes")]

 /**
+ *  Offset of first line of text from the left side of the container, in pixels.
+ * .
+ *
For the Mobile theme, this property defaults to 0 and cannot be a negative
+ *  number.

+ *
+ *
For the Spark theme:

+ *
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#textIndent
  *
  *  @langversion 3.0
@@ -178,7 +185,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#textRotation
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -190,7 +197,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#whiteSpaceCollapse
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -203,7 +210,7 @@
 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#wordSpacing
  *
- *
TLF styles are not supported in the mobile theme.

+ *
This style is not supported in the mobile theme.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10.5


Transferred from the Adobe Open Source Subversion Repository

Revision: 17343
Author:   clucier@adobe.com
Date:     2010-08-17T14:41:12.161184Z

Log Message:
-----------
Fix for mobile RTE. We now don't assume the existence of custom context item array.

QE notes: None
Doc notes: None
Bugs: SDK-27174
Reviewer: Ryan
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/spark/src/spark/components/Application.as
+++ frameworks/projects/spark/src/spark/components/Application.as
@@ -1272,7 +1272,10 @@
             viewSourceCMI = new ContextMenuItem(caption, true);
             viewSourceCMI.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);

-            defaultMenu.customItems.push(viewSourceCMI);
+            // Append custom option, validating customItems first as in the
+            // mobile context this is null.
+            if (defaultMenu.customItems)
+                defaultMenu.customItems.push(viewSourceCMI);
         }

         contextMenu = defaultMenu;


Transferred from the Adobe Open Source Subversion Repository

Revision: 19797
Author:   klin@adobe.com
Date:     2011-01-19T00:06:54.932970Z

Log Message:
-----------
Initial checkin of override default density mapping feature. Application and other classes delegate calculating runtimeDPI to a RuntimeDPIProvider class. Developers that wish to override how the runtimeDPI is calculated should subclass RuntimeDPIProvider and set it to the runtimeDPIProvider property on Application. Application actually calls DensityUtil.getRuntimeDPI() which creates the instance of the runtimeDPIProvider class and caches the runtimeDPI. I've also modified the compiler so that runtimeDPIProvider is recognized as a special attribute on Application. This checkin includes the PARB updates for changing DPI related properties and variables from ints to Numbers.

QE notes: Update tests
Doc notes: N/A
Bugs: SDK-28731
Reviewer: Evtim
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/DensityUtil.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/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/DPIClassification.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/BusyIndicator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/MediaQueryParser.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/utils/MultiDPIBitmapSource.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.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/spark/src/spark/primitives/BitmapImage.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/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/spark/src/spark/components/Application.as
+++ frameworks/projects/spark/src/spark/components/Application.as
@@ -32,6 +32,7 @@
 import mx.core.FlexGlobals;
 import mx.core.IInvalidating;
 import mx.core.InteractionMode;
+import mx.core.RuntimeDPIProvider;
 import mx.core.Singleton;
 import mx.core.UIComponentGlobals;
 import mx.core.mx_internal;
@@ -783,7 +784,7 @@
      *
      *  @private
      */
-    private var _applicationDPI:int = -1;
+    private var _applicationDPI:Number = NaN;

     [Inspectable(category="General", enumeration="160,240,320")]

@@ -800,12 +801,12 @@
      *  @see #runtimeDPI
      *  @see mx.core.DPIClassification
      */
-    public function get applicationDPI():int
-    {
-        if (_applicationDPI == -1)
+    public function get applicationDPI():Number
+    {
+        if (isNaN(_applicationDPI))
         {
             var value:String = systemManager.info()["applicationDPI"];
-            _applicationDPI = value ? int(value) : runtimeDPI;
+            _applicationDPI = value ? Number(value) : runtimeDPI;
         }

         return _applicationDPI;
@@ -814,7 +815,7 @@
     /**
      *  @private
      */
-    public function set applicationDPI(value:int):void
+    public function set applicationDPI(value:Number):void
     {
         // Can't change at run-time so do nothing here.
         // The compiler will propagate the MXML value to the
@@ -824,7 +825,7 @@
     //----------------------------------
     //  runtimeDPI
     //----------------------------------
-
+
     /**
      *  The DPI of the device the application is currently running on.
      *
@@ -833,11 +834,51 @@
      *  @see #applicationDPI
      *  @see mx.core.DPIClassification
      */
-    public function get runtimeDPI():int
-    {
-        return DensityUtil.classifyDPI(flash.system.Capabilities.screenDPI);
-    }
-
+    public function get runtimeDPI():Number
+    {
+        return DensityUtil.getRuntimeDPI();
+    }
+
+    //----------------------------------
+    //  runtimeDPIProvider
+    //----------------------------------
+
+    /**
+     *  A class that extends RuntimeDPIProvider and overrides the default Flex
+     *  calculations for runtimeDPI.
+     *
+     *
Flex's default mappings are:
+     *

+     *
160 DPI	<200 DPI

+     *
240 DPI	>=200 DPI and <280 DPI

+     *
320 DPI	>=280 DPI

+     *

+     *

+     *
+     *  This property cannot be set by ActionScript code; it must be set in MXML code.
+     *
+     *  @default spark.components.RuntimeDPIProvider
+     *
+     *  @see #applicationDPI
+     *  @see #runtimeDPI
+     *  @see mx.core.DPIClassification
+     *  @see mx.core.RuntimeDPIProvider
+     */
+    public function get runtimeDPIProvider():Class
+    {
+        return systemManager.info()["runtimeDPIProvider"];
+    }
+
+    /**
+     *  @private
+     */
+    public function set runtimeDPIProvider(value:Class):void
+    {
+        // Can't change at run-time so do nothing here.
+        // The compiler will propagate the MXML value to the
+        // systemManager's info object.
+    }
+
     //----------------------------------
     //  usePreloader
     //----------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 8509
Author:   smgilson@adobe.com
Date:     2009-07-10T17:58:51.724217Z

Log Message:
-----------
- Explicitly list the default skins for Spark components as part of the fix for SDK-18639
- Fix some bad @see links

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.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/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/components/RadioButton.as
+++ frameworks/projects/spark/src/spark/components/RadioButton.as
@@ -87,6 +87,10 @@
  *           Maximum size
  *           10000 pixels wide and 10000 pixels high
  *

+ *

+ *           Default skin class
+ *           spark.skins.spark.RadioButtonSkin
+ *

  *

  *
  *  @mxml


Transferred from the Adobe Open Source Subversion Repository

Revision: 12005
Author:   rfrishbe@adobe.com
Date:     2009-11-19T20:31:59.069383Z

Log Message:
-----------
Fixing a bunch of video player bugs:

- Fixing Binding events properties were using as they were still using the old events rather than the new ones
- Fixing issues around mute/volume.  Now the video component's definition of mute/volume is the same as Strobe (i.e.-when muted, volume is not neecessarily 0).  However, because of this, extra code had to be added in the VolumeBar and MuteButton to get the user-interaction correct so that when a user clicks on the slider, that automatically unmutes the video.
- Adding seekToFirstFrame, which needs to be PARBed, but gives us the old video component's behavior when autoPlay = false so that it connects to the server, loads up the first frame, and sizes the video.
- Fixing up DynamicStreamingVideoSource to have the host property typed as Object instead of a serverURI:String
- Now I'm exposing mediaPlayerState and videoObject on VideoDisplay and VideoPlayer
- Fixing a bug where someone clicks on the playPauseButton when no source is loaded and the "play button" changes to a "pause" when it should just stay as a "play" because the video didn't actually start playing.

QE notes: -
Doc notes: -
Bugs: SDK-24323, SDK-24285, SDK-24321, SDK-24313, SDK-22337
Reviewer: Kevin
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/mediaClasses/normal/MuteButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/DynamicStreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin2.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VideoPlayerSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/VideoPlayer.as
+++ frameworks/projects/spark/src/spark/components/VideoPlayer.as
@@ -20,6 +20,7 @@
 import flash.events.MouseEvent;
 import flash.events.TimerEvent;
 import flash.geom.Rectangle;
+import flash.media.Video;
 import flash.utils.Timer;

 import mx.core.FlexGlobals;
@@ -31,7 +32,9 @@
 import org.osmf.events.LoadEvent;
 import org.osmf.events.MediaPlayerStateChangeEvent;
 import org.osmf.events.TimeEvent;
-
+import org.osmf.media.MediaPlayerState;
+
+import spark.components.mediaClasses.DynamicStreamingVideoSource;
 import spark.components.mediaClasses.MuteButton;
 import spark.components.mediaClasses.ScrubBar;
 import spark.components.mediaClasses.VolumeBar;
@@ -452,17 +455,22 @@
     /**
      *  @private
      */
-    private static const VOLUME_PROPERTY_FLAG:uint = 1 << 6;
-
-    /**
-     *  @private
-     */
-    private static const PAUSE_WHEN_HIDDEN_PROPERTY_FLAG:uint = 1 << 7;
-
-    /**
-     *  @private
-     */
-    private static const THUMBNAIL_SOURCE_PROPERTY_FLAG:uint = 1 << 8;
+    private static const SEEK_TO_FIRST_FRAME_PROPERTY_FLAG:uint = 1 << 6;
+
+    /**
+     *  @private
+     */
+    private static const VOLUME_PROPERTY_FLAG:uint = 1 << 7;
+
+    /**
+     *  @private
+     */
+    private static const PAUSE_WHEN_HIDDEN_PROPERTY_FLAG:uint = 1 << 8;
+
+    /**
+     *  @private
+     */
+    private static const THUMBNAIL_SOURCE_PROPERTY_FLAG:uint = 1 << 9;

     //--------------------------------------------------------------------------
     //
@@ -769,7 +777,7 @@
     //----------------------------------

     [Inspectable(Category="General", defaultValue="0")]
-    [Bindable("bytesDownloadedChange")]
+    [Bindable("bytesLoadedChange")]

     /**
      *  @copy spark.components.VideoDisplay#bytesLoaded
@@ -819,7 +827,7 @@
     //----------------------------------

     [Inspectable(Category="General", defaultValue="0")]
-    [Bindable("playheadChange")]
+    [Bindable("currentTimeChange")]

     /**
      *  @copy spark.components.VideoDisplay#currentTime
@@ -883,6 +891,33 @@
         {
             videoDisplayProperties.loop = value;
         }
+    }
+
+    //----------------------------------
+    //  mediaPlayerState
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="uninitialized")]
+    [Bindable("mediaPlayerStateChange")]
+
+    /**
+     *  @copy spark.components.VideoDisplay#mediaPlayerState
+     *
+     *  @default uninitialized
+     *
+     *  @see org.osmf.media.MediaPlayerState
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get mediaPlayerState():String
+    {
+        if (videoDisplay)
+            return videoDisplay.mediaPlayerState;
+        else
+            return MediaPlayerState.UNINITIALIZED;
     }

     //----------------------------------
@@ -1053,6 +1088,52 @@
     }

     //----------------------------------
+    //  seekToFirstFrame
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="true")]
+
+    /**
+     *  @copy spark.components.VideoDisplay#seekToFirstFrame
+     *
+     *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get seekToFirstFrame():Boolean
+    {
+        if (videoDisplay)
+        {
+            return videoDisplay.seekToFirstFrame;
+        }
+        else
+        {
+            var v:* = videoDisplayProperties.seekToFirstFrame;
+            return (v === undefined) ? true : v;
+        }
+    }
+
+    /**
+     * @private
+     */
+    public function set seekToFirstFrame(value:Boolean):void
+    {
+        if (videoDisplay)
+        {
+            videoDisplay.seekToFirstFrame = value;
+            videoDisplayProperties = BitFlagUtil.update(videoDisplayProperties as uint,
+                SEEK_TO_FIRST_FRAME_PROPERTY_FLAG, true);
+        }
+        else
+        {
+            videoDisplayProperties.seekToFirstFrame = value;
+        }
+    }
+
+    //----------------------------------
     //  source
     //----------------------------------

@@ -1167,6 +1248,30 @@
             return videoDisplay.duration;
         else
             return 0;
+    }
+
+    //----------------------------------
+    //  videoObject
+    //----------------------------------
+
+    [Inspectable(category="General", defaultValue="null")]
+
+    /**
+     *  @copy spark.components.VideoDisplay#videoObject
+     *
+     *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get videoObject():Video
+    {
+        if (videoDisplay)
+            return videoDisplay.videoObject;
+        else
+            return null;
     }

     //----------------------------------
@@ -1316,6 +1421,13 @@
                 videoDisplay.pauseWhenHidden = videoDisplayProperties.pauseWhenHidden;
                 newVideoProperties = BitFlagUtil.update(newVideoProperties as uint,
                     PAUSE_WHEN_HIDDEN_PROPERTY_FLAG, true);
+            }
+
+            if (videoDisplayProperties.seekToFirstFrame !== undefined)
+            {
+                videoDisplay.seekToFirstFrame = videoDisplayProperties.seekToFirstFrame;
+                newVideoProperties = BitFlagUtil.update(newVideoProperties as uint,
+                    SEEK_TO_FIRST_FRAME_PROPERTY_FLAG, true);
             }

             if (videoDisplayProperties.thumbnailSource !== undefined)
@@ -1501,6 +1613,9 @@
             if (BitFlagUtil.isSet(videoDisplayProperties as uint, PAUSE_WHEN_HIDDEN_PROPERTY_FLAG))
                 newVideoProperties.pauseWhenHidden = videoDisplay.pauseWhenHidden;

+            if (BitFlagUtil.isSet(videoDisplayProperties as uint, SEEK_TO_FIRST_FRAME_PROPERTY_FLAG))
+                newVideoProperties.seekToFirstFrame = videoDisplay.seekToFirstFrame;
+
             if (BitFlagUtil.isSet(videoDisplayProperties as uint, THUMBNAIL_SOURCE_PROPERTY_FLAG))
                 newVideoProperties.thumbnailSource = videoDisplay.thumbnailSource;

@@ -1647,7 +1762,11 @@

         scrubBar.bufferedStart = 0;

-        if (videoDisplay.bytesTotal == 0)
+        // if streaming, then we pretend to have everything in view
+        // if progressive, then look at the bytesLoaded and bytesTotal
+        if (!videoDisplay.videoPlayer.downloadable)
+            scrubBar.bufferedEnd = videoDisplay.duration;
+        else if (videoDisplay.bytesTotal == 0)
             scrubBar.bufferedEnd = 0;
         else
             scrubBar.bufferedEnd = (videoDisplay.bytesLoaded/videoDisplay.bytesTotal)*videoDisplay.duration;
@@ -2057,6 +2176,11 @@
             pause();
         else
             play();
+
+        // need to synch up to what we've actually got because sometimes
+        // the play() didn't actually play() because there's no source
+        // or we're in an error state
+        playPauseButton.selected = playing;
     }

     /**


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 12969
Author:   egeorgie@adobe.com
Date:     2009-12-15T21:56:35.581732Z

Log Message:
-----------
Cleanup FIXMEs.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.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/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListItemDragProxy.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -1666,10 +1666,6 @@
         // Otherwise the contentWidth is used to position the element and even size
         // the element if it's "contentJustify" or "justify".
         var containerWidth:Number = targetWidth;
-
-        // FIXME (egeorgie): in the center or right case, we end up calculating percentWidth
-        // twice.  Once here for the contentWidth and once in distributeHeight
-        // to size that particular element.
         if (horizontalAlign == HorizontalAlign.CONTENT_JUSTIFY ||
            (clipAndEnableScrolling && (horizontalAlign == HorizontalAlign.CENTER ||
                                        horizontalAlign == HorizontalAlign.RIGHT)))


Transferred from the Adobe Open Source Subversion Repository

Revision: 14124
Author:   cframpto@adobe.com
Date:     2010-02-11T17:53:35.882363Z

Log Message:
-----------
Merge 14123 from 4.x branch to trunk.

Log Message:
***********
Two additions/corrections to 14076.  Add key mappings for layoutDirection="rtl" for spark list components.  Correct type of keyCode variable so it is an uint rather than an int to match event.keyCode.

BitmapImage has a hard-coded layout direction="ltr".

QE notes: For layoutDirection="rtl" need to test LEFT, RIGHT, UP and DOWN keys.
Doc notes: None
Bugs: SDK-25330
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No

Ticket Links:
***********
    http://bugs.adobe.com/jira/browse/SDK-25330

Modified Paths:
**************
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/ButtonBar.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/ColorPicker.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/Menu.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/MenuBar.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/RadioButton.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/Tree.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/Container.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/List.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/RadioButton.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/primitives/BitmapImage.as

Property Changed:
****************
    flex/sdk/branches/4.x/frameworks/

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.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/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/BitmapImage.as
+++ frameworks/projects/spark/src/spark/primitives/BitmapImage.as
@@ -56,6 +56,9 @@
     public function BitmapImage()
     {
         super();
+
+        // Typically, this should not be mirrored.
+        layoutDirection = "ltr";
     }

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


added the expectd parameter to the campaign method calls

--- source/actionscript/agnostic/src/eu/alebianco/air/extensions/analytics/Tracker.as
+++ source/actionscript/agnostic/src/eu/alebianco/air/extensions/analytics/Tracker.as
@@ -131,16 +131,16 @@
 		return getReferrer() != null;
 	}
 	public function getCampaignData():String {
-		return handleResultFromExtension(context.call("getCampaignData"), String) as String;
+		return handleResultFromExtension(context.call("getCampaignData", id), String) as String;
 	}
 	public function getReferrer():String {
-		return handleResultFromExtension(context.call("getReferrer"), String) as String;
+		return handleResultFromExtension(context.call("getReferrer", id), String) as String;
 	}
 	public function setCampaignData(data:String):void {
-		handleResultFromExtension(context.call("setCampaignData"));
+		handleResultFromExtension(context.call("setCampaignData", id, data));
 	}
 	public function setReferrer(uri:String):void {
-		handleResultFromExtension(context.call("setReferrer"));
+		handleResultFromExtension(context.call("setReferrer", id, uri));
 	}

 	public function send(data:Hit):void {


qnd: support "loadingPolicy=preInitialize" for more than one plugin

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

--- kdp3Lib/src/com/kaltura/kdpfl/controller/LoadConfigCommand.as
+++ kdp3Lib/src/com/kaltura/kdpfl/controller/LoadConfigCommand.as
@@ -789,7 +789,7 @@
 			var uiComponent : UIComponent;
 			_layoutProxy.numPreInitPlugins = plugins.length();
 			var plugin : XML;
-			for ( var i:int=0; i<plugins.length(); i++)
+			for ( var i:int=plugins.length()-1; i>=0; i--)
 			{
 				plugin=plugins[i];
 				_layoutProxy.loadPreInitPlugin(plugins[i]);


Enable collections to provide their own scoped typemaps, and use global typemap if no type info provided

--- as3/xobjas3/src/com/rpath/xobj/XObjXMLDecoder.as
+++ as3/xobjas3/src/com/rpath/xobj/XObjXMLDecoder.as
@@ -520,6 +520,20 @@
                             {
                                 // ask the IXObjCollection for the type it wants to use
                                 partClass = (result as IXObjCollection).elementType();
+                                if (!partClass)
+                                {
+                                    // fall through to using a typeMap if provided
+                                    var map:Dictionary = (result as IXObjCollection).typeMap();
+                                    if (map)
+                                    {
+                                        partClass = map[dataNode.nodeName];
+                                    }
+                                    else
+                                    {
+                                        // fall all the way back to the global typeMap
+                                        partClass = typeForTag(dataNode.nodeName);
+                                    }
+                                }
                             }
                             else
                             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6609
Author:   gruehle@adobe.com
Date:     2009-05-04T22:47:31.285324Z

Log Message:
-----------
Add theme attribute to theme-specific style metadata.

Example of a halo-specific style:
[Style(name="cornerRadius", type="Number", format="Length", inherit="no", theme="halo")]

Example of a spark-specific style:
[Style(name="baseColor", type="uint", format="Color", inherit="yes", theme="spark")]

Style metadata without a theme attribute is theme-agnostic, and works with either spark or halo.

Bugs: SDK-20606

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/FillStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BarColorStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/IconColorStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SelectedFillColorsStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.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/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -86,7 +86,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes")]
+[Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
  *  @copy spark.components.supportClasses.GroupBase#focusColor
@@ -96,7 +96,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="focusColor", type="uint", format="Color", inherit="yes")]
+[Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**


fixed bug where null keyType would become "null"

--- WeaveData/src/weave/data/DataSources/CSVDataSource.as
+++ WeaveData/src/weave/data/DataSources/CSVDataSource.as
@@ -369,7 +369,7 @@
 					var attr:XML = <attribute
 						title={ colName }
 					csvColumn={ colName }
-					keyType={ keyType.value }/>;
+					keyType={ keyType.value || DataTypes.STRING }/>;
 					root.appendChild(attr);
 				}
 				_attributeHierarchy.value = root;


Transferred from the Adobe Open Source Subversion Repository

Revision: 5999
Author:   jszeto@adobe.com
Date:     2009-04-07T22:00:52.943622Z

Log Message:
-----------
DropDownList fixes

- added support for enabled / disabled
- update labelElement when labelField or labelFunction has changed
- close the dropdown on focusOut
- skin fixed to use proper text margins. Component no longer resizes when first item is selected.
- disabled mouse interaction in InvalidatingSprite
- added null check to List keyboard handler

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/InvalidatingSprite.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/skins/default/DropDownListSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/InvalidatingSprite.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/InvalidatingSprite.as
@@ -5,7 +5,7 @@

 /**
  *  GraphicElement creates shared DsiplayObject of type
- *  InvalidatingSprite.
+ *  InvalidatingSprite. This class does not support mouse interaction.
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -17,6 +17,8 @@
     public function InvalidatingSprite()
     {
         super();
+        mouseChildren = false;
+        mouseEnabled = false;
     }

     private var _redrawRequested:Boolean = false;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4091
Author:   rfrishbe@adobe.com
Date:     2008-11-12T21:58:46.437695Z

Log Message:
-----------
FxComponent now throws RTEs when accessing the DisplayObjectContainer mutation APIs (addChild, removeChild, etc...).  Instead, one should modify the skin object directly, or if you're adding something to an FxContainer, use addItem, removeItem, etc...  I had to fix flex4tests in checkintests because it was using addChild() on a panel.

Fixed some ASDocs for FxScroller.as

Found a small bug in GraphicElement around setting blendModeChanged back to false in commitProperties (it was accidentally set to true).

Ran checkintests and mustella tests for: List, FxContainer, FxDataContainer, Button, ToggleButton, CheckBox, RadioButton.

QE Notes: We should add tests for FxComponent where one tries to call addChild, removeChild, etc... and gets an RTE.
Doc Notes: None
Bugs: SDK-17655
Reviewer: Jason, Deepa

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/flex4/flex4test.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/flex4/flex4test_testScript.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
@@ -323,7 +323,7 @@
                 catch (err:Error) {}
             }

-            addChild(skin);
+            super.addChild(skin);

             skin.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, skin_propertyChangeHandler);
         }
@@ -424,7 +424,7 @@
         skin.removeEventListener(PropertyChangeEvent.PROPERTY_CHANGE, skin_propertyChangeHandler);

         clearSkinParts();
-        removeChild(skin);
+        super.removeChild(skin);
         setSkin(null);
     }

@@ -738,6 +738,75 @@

     //--------------------------------------------------------------------------
     //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function addChild(child:DisplayObject):DisplayObject
+    {
+        throw(new Error("addChild is not available in FxComponent. " +
+                "Instead, modify the skin directly or use addItem."));
+    }
+
+    /**
+     *  @private
+     */
+    override public function addChildAt(child:DisplayObject, index:int):DisplayObject
+    {
+        throw(new Error("addChildAt is not available in FxComponent. " +
+                "Instead, modify the skin directly or use addItemAt."));
+    }
+
+    /**
+     *  @private
+     */
+    override public function removeChild(child:DisplayObject):DisplayObject
+    {
+        throw(new Error("removeChild is not available in FxComponent. " +
+                "Instead, modify the skin directly or use removeItem."));
+    }
+
+    /**
+     *  @private
+     */
+    override public function removeChildAt(index:int):DisplayObject
+    {
+        throw(new Error("removeChildAt is not available in FxComponent. " +
+                "Instead, modify the skin directly or use removeItemAt."));
+    }
+
+    /**
+     *  @private
+     */
+    override public function setChildIndex(child:DisplayObject, index:int):void
+    {
+        throw(new Error("setChildIndex is not available in FxComponent. " +
+                "Instead, modify the skin directly or setItemIndex."));
+    }
+
+    /**
+     *  @private
+     */
+    override public function swapChildren(child1:DisplayObject, child2:DisplayObject):void
+    {
+        throw(new Error("swapChildren is not available in FxComponent. " +
+                "Instead, modify the skin directly or use swapItems."));
+    }
+
+    /**
+     *  @private
+     */
+    override public function swapChildrenAt(index1:int, index2:int):void
+    {
+        throw(new Error("swapChildrenAt is not available in FxComponent. " +
+                "Instead, modify the skin directly or use swapItemsAt."));
+    }
+
+    //--------------------------------------------------------------------------
+    //
     //  Private variables
     //
     //--------------------------------------------------------------------------
@@ -753,7 +822,7 @@
      *  @private
      *  Whether the skin state is invalid or not.
      */
-    protected var skinStateIsDirty:Boolean = false;
+    private var skinStateIsDirty:Boolean = false;
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19777
Author:   smgilson@adobe.com
Date:     2011-01-17T16:40:41.362914Z

Log Message:
-----------
ASDoc edits on validators

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/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationValidatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>

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

--- frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as
+++ frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as
@@ -157,8 +157,7 @@

     /**
      *  Return true if a codepoint is a white space character.
-     *  Uses all unicode white space characters.
-     *  See the list of public static constants in this class.
+     *  Supports all unicode white space characters.
      *
      *  @param uint The input codepoint.
      *


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

--- frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as
+++ frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as
@@ -377,7 +377,7 @@
             if (!styleDeclaration)
             {
                 styleDeclaration = new CSSStyleDeclaration();
-                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
+                styleDeclaration.setLocalStyle(styleProp, newValue);

                 // If inheritingStyles is undefined, then this object is being
                 // initialized and we haven't yet generated the proto chain.  To
@@ -387,7 +387,7 @@
             }
             else
             {
-                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
+                styleDeclaration.setLocalStyle(styleProp, newValue);
             }
         }
         else
@@ -398,7 +398,7 @@
             if (!styleDeclaration)
             {
                 styleDeclaration = new CSSStyleDeclaration();
-                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
+                styleDeclaration.setLocalStyle(styleProp, newValue);

                 // If nonInheritingStyles is undefined, then this object is being
                 // initialized and we haven't yet generated the proto chain.  To
@@ -408,7 +408,7 @@
             }
             else
             {
-                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
+                styleDeclaration.setLocalStyle(styleProp, newValue);
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17491
Author:   aharui@adobe.com
Date:     2010-08-26T18:31:34.581497Z

Log Message:
-----------
Handle clipped sub-apps

QE notes: none
Doc notes: New optional parameter to SystemManager.getVisibleApplicationRect
Bugs: SDK-26478
Reviewer: Darrell
Tests run: checkintests mustella/MarshallPlan
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark_dmv/src/mx/controls/advancedDataGridClasses/FTEAdvancedDataGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/controls/advancedDataGridClasses/AdvancedDataGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as
+++ frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as
@@ -740,16 +740,7 @@

         toolTip.move(pt.x, pt.y + (height - toolTip.height) / 2);

-        if (sm != sbRoot)
-        {
-            var request:InterManagerRequest = new InterManagerRequest(InterManagerRequest.SYSTEM_MANAGER_REQUEST,
-                                    false, false,
-                                    "getVisibleApplicationRect");
-            sbRoot.dispatchEvent(request);
-            screen = Rectangle(request.value);
-        }
-        else
-            screen = sm.getVisibleApplicationRect();
+        screen = sm.getVisibleApplicationRect(null, true);

         var screenRight:Number = screen.x + screen.width;
         pt.x = toolTip.x;


Adds mp4 and 3gp to valid file type allowed <= 10MB

--- flexEditor/src/org/arisgames/editor/components/GameEditorMediaPickerUploadFormView.as
+++ flexEditor/src/org/arisgames/editor/components/GameEditorMediaPickerUploadFormView.as
@@ -183,7 +183,7 @@
 				{
 					trace("File to Upload: Name = '" + fileChooser.fileList[k].name + "'");
 					fileChosen = fileChooser.fileList[k];
-					if(fileChosen.type == "mov" || fileChosen.type == "m4v"){
+					if(fileChosen.type == "mov" || fileChosen.type == "m4v" || fileChosen.type == "3gp" || fileChosen.type == "mp4"){
 						if(fileChosen.size <= AppConstants.MAX_VIDEO_UPLOAD_SIZE){
 							fileName.text = fileChosen.name;
 							fileOK = true;