Transferred from the Adobe Open Source Subversion Repository

Revision: 4692
Author:   gosmith@adobe.com
Date:     2009-01-27T22:13:03.562851Z

Log Message:
-----------
Fixed missing or misplaced 'break' statements in the eventHandler() methods of the mx.accessibility classes. These have probably been causing some unintented MSAA events to be dispatched.

Also, each accessible component now dispatches OBJ_NAMECHANGE when its toolTip or errorString property changes, because the MSAA name includes the tooltip or error tip.

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

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

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

--- frameworks/projects/mx/src/mx/accessibility/SliderAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/SliderAccImpl.as
@@ -289,13 +289,21 @@
 	 */
 	override protected function eventHandler(event:Event):void
 	{
-		if (event.type == "change")
+		// Let AccImpl class handle the events
+		// that all accessible UIComponents understand.
+		$eventHandler(event);
+
+		switch (event.type)
 		{
-			var childID:uint = SliderEvent(event).thumbIndex + 1;
-			Accessibility.sendEvent(master, 0, EVENT_OBJECT_SELECTION);
-			Accessibility.sendEvent(master, 0,
-								EVENT_OBJECT_VALUECHANGE, true)
-		}
+			case "change":
+			{
+				var childID:uint = SliderEvent(event).thumbIndex + 1;
+				Accessibility.sendEvent(master, 0, EVENT_OBJECT_SELECTION);
+				Accessibility.sendEvent(master, 0,
+										EVENT_OBJECT_VALUECHANGE, true);
+				break;
+			}
+		}
 	}

 	/**


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/accessibility/SliderAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/SliderAccImpl.as
@@ -26,6 +26,11 @@
 /**
  *  SliderAccImpl is a subclass of AccessibilityImplementation
  *  which implements accessibility for the Slider class.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class SliderAccImpl extends AccImpl
 {
@@ -101,6 +106,11 @@
 	 *  Afterwards, when instances of Slider are initialized,
 	 *  their accessibilityImplementation property
 	 *  will be set to an instance of this class.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function enableAccessibility():void
 	{
@@ -132,6 +142,11 @@
 	 *
 	 *  @param master The UIComponent instance that this AccImpl instance
 	 *  is making accessible.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function SliderAccImpl(master:UIComponent)
 	{
@@ -248,6 +263,11 @@

 	/**
 	 *  Utility method determines state of the accessible component.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	override protected function getState(childID:uint):uint
 	{


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.messaging
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

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

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

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

 package mx.rpc.soap.types
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3963
Author:   hmuller@adobe.com
Date:     2008-10-29T22:57:08.994125Z

Log Message:
-----------
Fixed 17746: sync FxScrollbar's value,pageSize,maximum when the viewport property is set.

QE Notes: viewport and scroller mustella tests pass
Doc Notes: None
Bugs: sdk-17746
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -11,14 +11,13 @@

 package mx.components
 {
-import flash.ui.Keyboard;
-import mx.layout.ILayoutItem;
-import mx.layout.LayoutItemFactory;
 import mx.components.baseClasses.FxScrollBar;
+import mx.core.IViewport;
 import mx.core.ScrollUnit;
 import mx.events.PropertyChangeEvent;
 import mx.events.ResizeEvent;
-import flash.events.Event;
+import mx.layout.ILayoutItem;
+import mx.layout.LayoutItemFactory;

 [IconFile("FxVScrollBar.png")]

@@ -66,6 +65,17 @@
             return 0;
     }

+    override public function set viewport(newViewport:IViewport):void
+    {
+        super.viewport = newViewport;
+        if (newViewport)
+        {
+            maximum = newViewport.contentHeight - newViewport.height;
+            pageSize = newViewport.height;
+            value = newViewport.verticalScrollPosition;
+        }
+    }
+
     //--------------------------------------------------------------------------
     //
     // Methods
@@ -270,4 +280,4 @@

 }

-}+}


Format settings in consistent and readable manner

Remove inconsistencies in formatting. Fix differences between defaults in descriptions and setting values.

--- src/org/mangui/hls/HLSSettings.as
+++ src/org/mangui/hls/HLSSettings.as
@@ -7,6 +7,8 @@

     public final class HLSSettings extends Object {
         /**
+         * capLevelToStage
+         *
          * Limit levels usable in auto-quality by the stage dimensions (width and height).
          *      true - level width and height (defined in m3u8 playlist) will be compared with the player width and height (stage.stageWidth and stage.stageHeight).
          *             Max level will be set depending on the maxLevelCappingMode option.
@@ -17,7 +19,10 @@
          * Default is false
          */
         public static var capLevelToStage : Boolean = false;
-        /**
+
+        /**
+         * maxLevelCappingMode
+         *
          * Defines the max level capping mode to the one available in HLSMaxLevelCappingMode
          *      HLSMaxLevelCappingMode.DOWNSCALE - max capped level should be the one with the dimensions equal or greater than the stage dimensions (so the video will be downscaled)
          *      HLSMaxLevelCappingMode.UPSCALE - max capped level should be the one with the dimensions equal or lower than the stage dimensions (so the video will be upscaled)
@@ -25,53 +30,76 @@
          * Default is HLSMaxLevelCappingMode.DOWNSCALE
          */
         public static var maxLevelCappingMode : String = HLSMaxLevelCappingMode.DOWNSCALE;
+
         // // // // // // /////////////////////////////////
         //
         // org.mangui.hls.stream.HLSNetStream
         //
         // // // // // // /////////////////////////////////
         /**
+         * minBufferLength
+         *
          * Defines minimum buffer length in seconds before playback can start, after seeking or buffer stalling.
          *
          * Default is -1 = auto
          */
         public static var minBufferLength : Number = -1;
-        /**
+
+        /**
+         * maxBufferLength
+         *
          * Defines maximum buffer length in seconds.
          * (0 means infinite buffering)
          *
-         * Default is 120.
+         * Default is 120
          */
         public static var maxBufferLength : Number = 120;
-        /**
+
+        /**
+         * maxBackBufferLength
+         *
          * Defines maximum back buffer length in seconds.
          * (0 means infinite back buffering)
          *
-         * Default is 30.
+         * Default is 30
          */
         public static var maxBackBufferLength : Number = 30;
-        /**
+
+        /**
+         * lowBufferLength
+         *
          * Defines low buffer length in seconds.
          * When crossing down this threshold, HLS will switch to buffering state.
          *
-         * Default is 3.
+         * Default is 3
          */
         public static var lowBufferLength : Number = 3;
-        /**
+
+        /**
+         * seekMode
+         *
          * Defines seek mode to one form available in HLSSeekMode class:
          *      HLSSeekMode.ACCURATE_SEEK - accurate seeking to exact requested position
          *      HLSSeekMode.KEYFRAME_SEEK - key-frame based seeking (seek to nearest key frame before requested seek position)
          *
-         * Default is HLSSeekMode.KEYFRAME_SEEK.
+         * Default is HLSSeekMode.KEYFRAME_SEEK
          */
         public static var seekMode : String = HLSSeekMode.KEYFRAME_SEEK;
-        /** max nb of retries for Key Loading in case I/O errors are met,
+
+        /**
+         * keyLoadMaxRetry
+         *
+         * Max nb of retries for Key Loading in case I/O errors are met,
          *      0, means no retry, error will be triggered automatically
          *     -1 means infinite retry
+         *
+         * Default is 3
          */
         public static var keyLoadMaxRetry : int = 3;
-        /** keyLoadMaxRetryTimeout
-
+
+        /**
+         * keyLoadMaxRetryTimeout
+         *
          * Maximum key retry timeout (in milliseconds) in case I/O errors are met.
          * Every fail on key request, player will exponentially increase the timeout to try again.
          * It starts waiting 1 second (1000ms), than 2, 4, 8, 16, until keyLoadMaxRetryTimeout is reached.
@@ -79,22 +107,32 @@
          * Default is 64000.
          */
         public static var keyLoadMaxRetryTimeout : Number = 64000;
-        /** max nb of retries for Fragment Loading in case I/O errors are met,
+
+        /**
+         * fragmentLoadMaxRetry
+         *
+         * Max number of retries for Fragment Loading in case I/O errors are met,
          *      0, means no retry, error will be triggered automatically
          *     -1 means infinite retry
+         *
+         * Default is 3
          */
         public static var fragmentLoadMaxRetry : int = 3;
-        /** fragmentLoadMaxRetryTimeout
-
+
+        /**
+         * fragmentLoadMaxRetryTimeout
+         *
          * Maximum Fragment retry timeout (in milliseconds) in case I/O errors are met.
          * Every fail on fragment request, player will exponentially increase the timeout to try again.
          * It starts waiting 1 second (1000ms), than 2, 4, 8, 16, until fragmentLoadMaxRetryTimeout is reached.
          *
-         * Default is 4000.
-         */
-        public static var fragmentLoadMaxRetryTimeout : Number = 64000;
-        /** fragmentLoadSkipAfterMaxRetry
-
+         * Default is 4000
+         */
+        public static var fragmentLoadMaxRetryTimeout : Number = 4000
+
+        /**
+         * fragmentLoadSkipAfterMaxRetry
+         *
          * control behaviour in case fragment load still fails after max retry timeout
          * if set to true, fragment will be skipped and next one will be loaded.
          * If set to false, an I/O Error will be raised.
@@ -102,73 +140,125 @@
          * Default is true.
          */
         public static var fragmentLoadSkipAfterMaxRetry : Boolean = true;
-        /**
+
+        /**
+         * flushLiveURLCache
+         *
          * If set to true, live playlist will be flushed from URL cache before reloading
          * (this is to workaround some cache issues with some combination of Flash Player / IE version)
          *
          * Default is false
          */
         public static var flushLiveURLCache : Boolean = false;
-        /** max nb of retries for Manifest Loading in case I/O errors are met,
+
+        /**
+         * manifestLoadMaxRetry
+         *
+         * max nb of retries for Manifest Loading in case I/O errors are met,
          *      0, means no retry, error will be triggered automatically
          *     -1 means infinite retry
          */
         public static var manifestLoadMaxRetry : int = -1;
-        /** manifestLoadMaxRetryTimeout
-
+
+        /**
+         * manifestLoadMaxRetryTimeout
+         *
          * Maximum Manifest retry timeout (in milliseconds) in case I/O errors are met.
          * Every fail on fragment request, player will exponentially increase the timeout to try again.
          * It starts waiting 1 second (1000ms), than 2, 4, 8, 16, until manifestLoadMaxRetryTimeout is reached.
          *
-         * Default is 64000.
+         * Default is 64000
          */
         public static var manifestLoadMaxRetryTimeout : Number = 64000;
-        /**
+
+        /**
+         * startFromBitrate
+         *
          * If greater than 0, specifies the preferred bitrate.
          * If -1, and startFromLevel is not specified, automatic start level selection will be used.
          * This parameter, if set, will take priority over startFromLevel.
+         *
+         * Default is -1
          */
         public static var startFromBitrate : Number = -1;
-        /** start level :
+
+        /**
+         * startFromLevel
+         *
+         * start level :
          *  from 0 to 1 : indicates the "normalized" preferred level. As such, if it is 0.5, the closest to the middle bitrate will be selected and used first.
          * -1 : automatic start level selection, playback will start from level matching download bandwidth (determined from download of first segment)
          * -2 : playback will start from the first level appearing in Manifest (not sorted by bitrate)
+         *
+         * Default is -1
          */
         public static var startFromLevel : Number = -1;
-        /** seek level :
-         *  from 0 to 1 : indicates the "normalized" preferred bitrate. As such, if it is 0.5, the closest to the middle bitrate will be selected and used first.
+
+        /**
+         * seekFromLevel
+         *
+         * Seek level:
+         *  from 0 to 1: indicates the "normalized" preferred bitrate. As such, if it is 0.5, the closest to the middle bitrate will be selected and used first.
          * -1 : automatic start level selection, keep previous level matching previous download bandwidth
+         *
+         * Default is -1
          */
         public static var seekFromLevel : Number = -1;
-        /** use hardware video decoder :
+
+        /**
+         * useHardwareVideoDecoder
+         *
+         * Use hardware video decoder:
          *  it will set NetStream.useHardwareDecoder
          *  refer to http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#useHardwareDecoder
+         *
+         * Default is false
          */
         public static var useHardwareVideoDecoder : Boolean = false;
-        /**
+
+        /**
+         * logInfo
+         *
          * Defines whether INFO level log messages will will appear in the console
-         * Default is true.
+         *
+         * Default is true
          */
         public static var logInfo : Boolean = true;
-        /**
+
+        /**
+         * logDebug
+         *
          * Defines whether DEBUG level log messages will will appear in the console
-         * Default is false.
+         *
+         * Default is false
          */
         public static var logDebug : Boolean = false;
-        /**
+
+        /**
+         * logDebug2
+         *
          * Defines whether DEBUG2 level log messages will will appear in the console
-         * Default is false.
+         *
+         * Default is false
          */
         public static var logDebug2 : Boolean = false;
-        /**
+
+        /**
+         * logWarn
+         *
          * Defines whether WARN level log messages will will appear in the console
-         * Default is true.
+         *
+         * Default is true
          */
         public static var logWarn : Boolean = true;
-        /**
+
+        /**
+         * logError
+         *
          * Defines whether ERROR level log messages will will appear in the console
-         * Default is true.
+         *
+         * Default is true
          */
         public static var logError : Boolean = true;
     }
-}+}


added ability to specify label text in constructor

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


- bugfix: The FrontController port to AS3 didn't really work

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

--- src/reprise/core/FrontController.as
+++ src/reprise/core/FrontController.as
@@ -9,22 +9,20 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package reprise.core {
+package reprise.core
+{
 	import reprise.commands.ICommand;
 	import reprise.events.EventBroadcaster;
 	import reprise.ui.DocumentView;

-	import flash.events.Event;
-
-
+	import flash.events.Event;
+
 	public class FrontController
 	{
-
-
 		/***************************************************************************
 		*							protected properties							   *
 		***************************************************************************/
-		protected	var m_commands : Object;
+		protected var m_commands : Object;
 		protected var m_view : DocumentView;

@@ -43,7 +41,7 @@
 			commandToExec.execute(event);
 		}

-		public function addGlobalCommand(name:String, command:Function) : void
+		public function addGlobalCommand(name:String, command:Class) : void
 		{
 			if (m_commands[name] != null)
 			{
@@ -64,7 +62,7 @@
 			m_commands[name] = null;
 		}

-		public function addCommand(name:String, command:Function) : void
+		public function addCommand(name:String, command:Class) : void
 		{
 			if (m_commands[name] != null)
 			{


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.olap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20135
Author:   cframpto@adobe.com
Date:     2011-02-04T17:17:14.255516Z

Log Message:
-----------
Fixup ASdoc for text styles and properties in TextArea/TextInput/SkinnableTextBase which are common to spark and mobile text but have different descriptions/values.  We are restricted to how we can format the doc since there can only be one @copy and it must be last.  In addition, we do not want the summary line to be "Not supported for the mobile theme".  Stephen Gilson and I worked out a template which uses @see rather than @copy since there can be multiple @see tags.  Look at SkinnableTextBase.editable for an example when mobile supports the property and SkinnableTextBase.typicalText for an example when mobile does not support the property.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<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/components/TextInput.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/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -1001,8 +1001,8 @@
  *  The default value for the Spark theme is mouse.
  *  The default value for the Mobile theme is touch.
  *
- *  @see mx.core.InteractionMode.MOUSE
- *  @see mx.core.InteractionMode.TOUCH
+ *  @see mx.core.InteractionMode#MOUSE
+ *  @see mx.core.InteractionMode#TOUCH
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 18146
Author:   chiedozi@adobe.com
Date:     2010-10-14T00:23:22.539629Z

Log Message:
-----------
View and ViewNavigator PARB changes.

MobileApplication
canCancelBackKeyBehavior has been renamed exitApplicationOnBackKey (also impacts ViewNavigator and TabbedViewNavigator)

ViewNavigator
backKeyHandler method is now mx_internal, it is no longer part of public api
useDefaultTransitions property has been removed from the framework
canRemoveCurrentView is now mx_internal, it is no longer part of the public api
createVisibiliyAnimation() method has been removed and replaced with the createActionBarShowEffect() and createActionBarHideEffect() methods.
commitViewChange, beginViewChanged and endViewChanged have been renamed to commitNavigatorAction, committingNavigatorAction and navigatorActionCommitted.
maintainNavigationStack removed from ViewNavigator and moved to TabbedViewNavigator

View
VIEW_ACTIVATE, VIEW_DEACTIVATE and REMOVING have been removed from the FlexEvent class and added to the new ViewNavigatorEvent class.
ViewNavigatorEvent class now has a "action" property that indicates what the last committed navigation operation was
ViewNavigatorAction enum class added and is used to populate the action property of a ViewNavigatorEvent
View now dispatches a "backKeyPressed" (FlexEvent.BACK_KEY_PRESSED) event when the back device key is pressed.  This is a cancelable event.  When cancelled, the MobileApplication's default back behavior will not run.

TabbedViewNavigator
Added createTabBarShowEffect() and createTabBarHideEffect() methods
Added a maintainNavigationStack property to the view navigator.  When false, the navigation stack of a navigator is cleared when deactivated.

TabbedMobileApplication
Added maintainNavigationStack proxy property to the application

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ScriptRunner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorAction.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/views/SearchView.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as</path>

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

--- frameworks/projects/framework/src/mx/events/FlexEvent.as
+++ frameworks/projects/framework/src/mx/events/FlexEvent.as
@@ -263,6 +263,34 @@
     public static const BUTTON_DOWN:String = "buttonDown";

     /**
+     *  The FlexEvent.BACK_KEY_PRESSED constant defines the value of the
+     *  type property of the event object for a backKeyPressed event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	true

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *

+     *
+     *  @eventType backKeyPressed
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public static const BACK_KEY_PRESSED:String = "backKeyPressed";
+
+    /**
      *  The FlexEvent.CHANGE_END constant defines the value of the
      *  type property of the event object for a changeEnd event.
      *
@@ -964,40 +992,6 @@
     public static const READY:String = "ready";

     /**
-     *  The FlexEvent.REMOVING constant defines the value of the
-     *  type property of the event object for an removing
-     *  event.  This event is dispatched when a screen is about to be replaced by
-     *  another screen through a navigator action.  If preventDefault()
-     *  is called on this event, the view removal will be canceled.
-     *
-     *
The properties of the event object have the following values:

-     *
-     *

-     *
Property	Value

-     *
bubbles	false

-     *
cancelable	true

-     *
returnValue	null

-     *
currentTarget	The Object that defines the
-     *       event listener that handles the event. For example, if you use
-     *       myButton.addEventListener() to register an event listener,
-     *       myButton is the value of the currentTarget.

-     *
target	The Object that dispatched the event;
-     *       it is not always the Object listening for the event.
-     *       Use the currentTarget property to always access the
-     *       Object listening for the event.

-     *
Type	FlexEvent.SCREEN_REMOVING

-     *

-     *
-     *  @eventType removing
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static const REMOVING:String = "removing";
-
-    /**
      *  The FlexEvent.RENDER constant defines the value of the
      *  type property of the event object for an Event.RENDER event.
      *
@@ -1330,70 +1324,6 @@
      *  @productversion Flex 3
      */
     public static const VALUE_COMMIT:String = "valueCommit";
-
-	/**
-	 *  The FlexEvent.VIEW_ACTIVATE constant defines the value of the
-	 *  type property of the event object for an viewActivate
-	 *  event.  This event is dispatched when a component is activated.
-	 *
-	 *
The properties of the event object have the following values:

-	 *
-	 *

-	 *
Property	Value

-	 *
bubbles	false

-	 *
cancelable	false

-	 *
returnValue	null

-	 *
currentTarget	The Object that defines the
-	 *       event listener that handles the event. For example, if you use
-	 *       myButton.addEventListener() to register an event listener,
-	 *       myButton is the value of the currentTarget.

-	 *
target	The Object that dispatched the event;
-	 *       it is not always the Object listening for the event.
-	 *       Use the currentTarget property to always access the
-	 *       Object listening for the event.

-	 *
Type	FlexEvent.VIEW_ACTIVATE

-	 *

-	 *
-	 *  @eventType activate
-	 *
-	 *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-	 */
-	public static const VIEW_ACTIVATE:String = "viewActivate";
-
-	/**
-	 *  The FlexEvent.VIEW_DEACTIVATE constant defines the value of the
-	 *  type property of the event object for an viewDeactivate
-	 *  event.  This event is dispatched when a component is deactivated.
-	 *
-	 *
The properties of the event object have the following values:

-	 *
-	 *

-	 *
Property	Value

-	 *
bubbles	false

-	 *
cancelable	false

-	 *
returnValue	null

-	 *
currentTarget	The Object that defines the
-	 *       event listener that handles the event. For example, if you use
-	 *       myButton.addEventListener() to register an event listener,
-	 *       myButton is the value of the currentTarget.

-	 *
target	The Object that dispatched the event;
-	 *       it is not always the Object listening for the event.
-	 *       Use the currentTarget property to always access the
-	 *       Object listening for the event.

-	 *
Type	FlexEvent.VIEW_DEACTIVATE

-	 *

-	 *
-	 *  @eventType deactivate
-	 *
-	 *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-	 */
-	public static const VIEW_DEACTIVATE:String = "viewDeactivate";

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 10766
Author:   gruehle@adobe.com
Date:     2009-09-30T22:55:55.205927Z

Log Message:
-----------
Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied.

The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder.

All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.

By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.

QE notes: Expect test breakage
Doc notes: The new policy for themes needs to be documented.
Bugs: none yet, but I'm sure there will be some...
Reviewer: Ryan
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<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/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java</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/controls/DateChooser.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/themes/Spark/spark.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.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/styles/metadata/SkinStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</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/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java</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/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.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/skins/halo/ToolTipBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java</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/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java</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/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/controls/CalendarLayout.as
+++ frameworks/projects/mx/src/mx/controls/CalendarLayout.as
@@ -48,6 +48,28 @@
 include "../styles/metadata/TextStyles.as"

 /**
+ *  Number of pixels between the component's top border
+ *  and the top edge of its content area.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="paddingTop", type="Number", format="Length", inherit="no")]
+
+/**
+ *  Number of pixels between the component's bottom border
+ *  and the bottom edge of its content area.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="paddingBottom", type="Number", format="Length", inherit="no")]
+
+/**
  *  Name of the skin for the rollOverIndicator.
  *  It can be customized to some other shape other than rectangular.
  *  If you want to change just the color,
@@ -76,9 +98,20 @@
 [Style(name="selectionIndicatorSkin", type="Class", inherit="no")]

 /**
+ *  Color of the background of today's date.
+ *  The default value is 0x818181.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="todayColor", type="uint", format="Color", inherit="yes")]
+
+/**
  *  Name of the skin for todayIndicator style property. It can be customized
  *  to some other shape other than rectangular. If you
- *  wnat to change just the color, use the todayColor style property instead.
+ *  want to change just the color, use the todayColor style property instead.
  *  The default value is the DateChooserTodayIndicator class.
  *
  *  @langversion 3.0


Transferred from the Adobe Open Source Subversion Repository

Revision: 9715
Author:   aharui@adobe.com
Date:     2009-08-27T21:20:28.280781Z

Log Message:
-----------
Introduce tabFocusEnabled to IFocusManagerComponent.  This replaces tabEnabled as the way to remove a component from the tabbing loop.  tabEnabled should be set to true for any component that can receive focus, and tabFocusEnabled determines whether the FocusManager will actually give it focus.  If tabEnabled=false on a non-TextField, the player will sometimes momentarily remove focus and dispatch a focusOut when the component has focus and is later clicked on.  This is now quite common with TLF-based text components so we are forced to make this change.

QE Notes: tests using tabEnabled must now use tabFocusEnabled
Doc Notes: needs documentation
Bugs: SDK-22731
Reviewer: Gordon
API Change: Yes
Is noteworthy for integration: Yes
tests: checkintests cyclone

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.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/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Image.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>

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

--- frameworks/projects/framework/src/mx/controls/SWFLoader.as
+++ frameworks/projects/framework/src/mx/controls/SWFLoader.as
@@ -385,6 +385,7 @@
         super();

         tabEnabled = false;
+        tabFocusEnabled = false;

         addEventListener(FlexEvent.INITIALIZE, initializeHandler);
         addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/accessibility/TreeAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/TreeAccImpl.as
@@ -27,11 +27,8 @@
 use namespace mx_internal;

 /**
- *  The TreeAccImpl class is the accessibility class for Tree.
- *
- *  @helpid 3009
- *  @tiptext This is the Tree Accessibility Class.
- *  @review
+ *  TreeAccImpl is a subclass of AccessibilityImplementation
+ *  which implements accessibility for the Tree class.
  */
 public class TreeAccImpl extends AccImpl
 {
@@ -39,117 +36,93 @@

 	//--------------------------------------------------------------------------
 	//
-	//  Class initialization
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Static variable triggering the hookAccessibility() method.
-	 *  This is used for initializing TreeAccImpl class to hook its
-	 *  createAccessibilityImplementation() method to Tree class
-	 *  before it gets called from UIComponent.
-	 */
-	private static var accessibilityHooked:Boolean = hookAccessibility();
-
-	/**
-	 *  @private
-	 *  Static method for swapping the createAccessibilityImplementation()
-	 *  method of Tree with the TreeAccImpl class.
-	 */
-	private static function hookAccessibility():Boolean
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Role of treeItem.
+	 */
+	private static const ROLE_SYSTEM_OUTLINEITEM:uint = 0x24;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_COLLAPSED:uint = 0x00000400;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_EXPANDED:uint = 0x00000200;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_INVISIBLE:uint = 0x00008000;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_SELECTABLE:uint = 0x00200000;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_SELECTED:uint = 0x00000002;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_STATECHANGE:uint = 0x800A;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Enables accessibility in the Tree class.
+	 *
+	 *
This method is called by application startup code
+	 *  that is autogenerated by the MXML compiler.
+	 *  Afterwards, when instances of Tree are initialized,
+	 *  their accessibilityImplementation property
+	 *  will be set to an instance of this class.

+	 */
+	public static function enableAccessibility():void
 	{
 		Tree.createAccessibilityImplementation =
 			createAccessibilityImplementation;
-
-		return true;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class constants
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Role of treeItem.
-	 */
-	private static const ROLE_SYSTEM_OUTLINEITEM:uint = 0x24;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_COLLAPSED:uint = 0x00000400;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_EXPANDED:uint = 0x00000200;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_INVISIBLE:uint = 0x00008000;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_SELECTABLE:uint = 0x00200000;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_SELECTED:uint = 0x00000002;
-
-	/**
-	 *  @private
-	 *  Event emitted if 1 item is selected.
-	 */
-	private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
-
-	/**
-	 *  @private
-	 *  Event emitted if 1 item is selected.
-	 */
-	private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_STATECHANGE:uint = 0x800A;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Method for creating the Accessibility class.
-	 *  This method is called from UIComponent.
-	 *  @review
+	}
+
+	/**
+	 *  @private
+	 *  Creates a Tree's AccessibilityImplementation object.
+	 *  This method is called from UIComponent's
+	 *  initializeAccessibility() method.
 	 */
 	mx_internal static function createAccessibilityImplementation(
 								component:UIComponent):void
 	{
 		component.accessibilityImplementation =
 			new TreeAccImpl(component);
-	}
-
-	/**
-	 *  Method call for enabling accessibility for a component.
-	 *  This method is required for the compiler to activate
-	 *  the accessibility classes for a component.
-	 */
-	public static function enableAccessibility():void
-	{
 	}

 	//--------------------------------------------------------------------------
@@ -218,7 +191,6 @@
 	 *  @param childID uint
 	 *
 	 *  @return Name String
-	 *  @review
 	 */
 	override public function get_accValue(childID:uint):String
 	{
@@ -435,7 +407,6 @@
 	 *  @param childID uint
 	 *
 	 *  @return Name String
-	 *  @review
 	 */
 	override protected function getName(childID:uint):String
 	{


Transferred from the Adobe Open Source Subversion Repository

Revision: 17528
Author:   smgilson@adobe.com
Date:     2010-08-31T11:53:03.095561Z

Log Message:
-----------
Fix broken ASDoc build by adding HTML closing tags to comments.

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/components/supportClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -239,7 +239,7 @@
  *
  *
This event is dispatched when the user interacts with the control.
  *  When you change the selection programmatically,
- *  the component does not dispatch the selectionChanging event.
+ *  the component does not dispatch the selectionChanging event.

  *
  *  @eventType spark.events.GridSelectionChangeEvent.SELECTION_CHANGING
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 17741
Author:   doug.lee@ssbbartgroup.com
Date:     2010-09-16T23:52:40.864576Z

Log Message:
-----------
Initial DataGrid AccImpl for Spark.

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

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

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -270,12 +270,31 @@

 [IconFile("DataGrid.png")]

+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[AccessibilityClass(implementation="spark.accessibility.DataGridAccImpl")]
+
 /**
  *  TBD(hmuller)
  */
+
 public class DataGrid extends SkinnableContainerBase implements IFocusManagerComponent, IGridItemRendererOwner
 {
     include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class mixins
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Placeholder for mixin by DataGridAccImpl.
+     */
+    mx_internal static var createAccessibilityImplementation:Function;

     //--------------------------------------------------------------------------
     //
@@ -1079,6 +1098,15 @@
     //  Overridden methods
     //
     //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function initializeAccessibility():void
+    {
+        if (DataGrid.createAccessibilityImplementation != null)
+            DataGrid.createAccessibilityImplementation(this);
+    }

     /**
      *  @private


Transferred from the Adobe Open Source Subversion Repository

Revision: 3509
Author:   jimurphy@adobe.com
Date:     2008-10-07T18:19:17.646255Z

Log Message:
-----------
Rename of flex -> mx.

For compatibility reasons it was decided that the new functionality remain integrated with the old framework, although we will continue to build two separate SWCs, one with primarily existing framework classes, and one with new Flex 4 classes. This change removes duplicate names from the Flex 4 framework to avoid class name overlapping with the old framework code.  The naming overlap consists of two major areas:  New Components, and New Effects

Modified Paths:
--------------
386 paths were modified

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -10,18 +10,18 @@
 ////////////////////////////////////////////////////////////////////////////////

-package flex.component
+package mx.components
 {
 import flash.events.Event;
 import flash.events.KeyboardEvent;
 import flash.ui.Keyboard;

-import flex.core.SkinnableComponent;
-import flex.core.Group;
-import flex.intf.IViewport;
-import flex.layout.LayoutBase;
+import mx.components.Group;
+import mx.core.IViewport;
+import mx.layout.LayoutBase;

 import mx.events.PropertyChangeEvent;
+import mx.components.baseClasses.FxComponent;
 import mx.core.ScrollPolicy;
 import mx.managers.IFocusManagerComponent;

@@ -53,7 +53,7 @@
  *  </p>
  */

-public class Scroller extends SkinnableComponent implements IFocusManagerComponent
+public class FxScroller extends FxComponent implements IFocusManagerComponent
 {
     include "../core/Version.as";

@@ -66,7 +66,7 @@
     /**
      * @private
      */
-	public function Scroller()
+	public function FxScroller()
 	{
 		super();
 	}
@@ -91,14 +91,14 @@
     //----------------------------------

     [SkinPart]
-    public var horizontalScrollBar:HScrollBar;
+    public var horizontalScrollBar:FxHScrollBar;

     //----------------------------------
     //  verticalScrollBar
     //----------------------------------

     [SkinPart]
-    public var verticalScrollBar:VScrollBar;
+    public var verticalScrollBar:FxVScrollBar;

     //----------------------------------
     //  viewport - default property


Transferred from the Adobe Open Source Subversion Repository

Revision: 19722
Author:   egeorgie@adobe.com
Date:     2011-01-12T00:53:24.336848Z

Log Message:
-----------
Fix popups/tooltips and scaling bugs:
Slider tooltip renders far above under 2.0 scaling - http://bugs.adobe.com/jira/browse/SDK-28833
Mobile HSliderSkin dataTip sometimes stops following the thumb all the way to the right edge - http://bugs.adobe.com/jira/browse/SDK-28762
When the app is scaled, DropDownList shows the list at wrong place - http://bugs.adobe.com/jira/browse/SDK-28818

In this change:
- update popup/tooltip positioning code to work with scaling.

QE notes:  make another test pass on tooltips/pop-ups
Doc notes:
Bugs: SDK-28833, SDK-28762, SDK-28818
Reviewer: Alex
Tests run: full mustella cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<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/mx/src/mx/controls/treeClasses/TreeItemRenderer.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/framework/src/mx/managers/PopUpManagerImpl.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/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.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="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/PopUpUtil.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/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.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/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
@@ -551,9 +551,6 @@
         var col:GridColumn = grid.columns.getItemAt(columnIndex) as GridColumn;
         var item:IGridItemRenderer = grid.getItemRendererAt(rowIndex, columnIndex);
         var cellBounds:Rectangle = grid.getCellBounds(rowIndex,columnIndex);
-
-        // convert the row origin from the grid to the editor layer.
-        var globalCellOrigin:Point = grid.localToGlobal(new Point(cellBounds.x, cellBounds.y));
         var localCellOrigin:Point = cellBounds.topLeft;

         _editedItemRenderer = item;


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

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