Transferred from the Adobe Open Source Subversion Repository

Revision: 18115
Author:   gruehle@adobe.com
Date:     2010-10-08T23:37:39.582350Z

Log Message:
-----------
Mobile text bug fixes:
* Add anti-alias style support to MobileTextField
* After truncating text, make sure scrollH is 0
* Make sure text field size is set properly when editing is enabled
* Copied focus skin logic from Skin/SparkSkin into MobileSkin

QE notes: -
Doc notes: -
Bugs: SDK-27987, SDK-27928, SDK-27926, SDK-28041, SDK-27945
Reviewer: Ryan, Jason San Jose
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/HighlightBitmapCaptureSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/IHighlightBitmapCaptureClient.as</path>

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

--- frameworks/projects/spark/src/spark/skins/IHighlightBitmapCaptureClient.as
+++ frameworks/projects/spark/src/spark/skins/IHighlightBitmapCaptureClient.as
@@ -0,0 +1,61 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.skins
+{
+
+
+/**
+ *  The IHighlightBitmapCaptureClient defines the interface for skins that support
+ *  highlight bitmap capture.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+public interface IHighlightBitmapCaptureClient
+{
+	/**
+	 *  Called before a bitmap capture is made for this skin.
+	 *
+	 *  Return true if the skin needs to be updated before the bitmap is captured.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 2.5
+	 *  @productversion Flex 4.5
+	 */
+	function beginHighlightBitmapCapture():Boolean;
+
+	/**
+	 *  Called after a bitmap capture is made for this skin.
+	 *
+	 *  Return true if the skin needs to be updated.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 2.5
+	 *  @productversion Flex 4.5
+	 */
+	function endHighlightBitmapCapture():Boolean;
+
+	/**
+	 *  Validate the skin.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 2.5
+	 *  @productversion Flex 4.5
+	 */
+	function validateNow():void;
+}
+}


Whitespace.

Whitespace.

--- swfcat.as
+++ swfcat.as
@@ -120,7 +120,7 @@
             proxy_pair = new ProxyPair(this, client_addr, DEFAULT_TOR_ADDR);
             proxy_pair.connect();

-            setTimeout(main, 1000);
+            setTimeout(main, 1000);
         }

         /* Parse an address in the form "host:port". Returns an Object with


Fixed relevance display not working properly for multiple attributes

--- collect-client/src/main/flex/org/openforis/collect/ui/component/detail/RelevanceDisplayManager.as
+++ collect-client/src/main/flex/org/openforis/collect/ui/component/detail/RelevanceDisplayManager.as
@@ -65,8 +65,9 @@
 				} else {
 					nodes = parentEntity.getChildren(childDefn);
 				}
-				//do not hide multiple entities renderer if they are relevant but no entities are defined or it will be impossible to add new entities
-				if ( childDefn is EntityDefinitionProxy && nodes.length == 0 ) {
+				//do not hide multiple nodes renderer if it is relevant but no entities are defined
+				//or it will be impossible to add new entries
+				if ( childDefn.multiple && nodes.length == 0 ) {
 					var result:Boolean = ! parentEntity.isRelevant(childDefn);
 					return result;
 				} else {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20736
Author:   smgilson@adobe.com
Date:     2011-03-09T21:18:00.204102Z

Log Message:
-----------
Merge 20719 - ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EdgeMetrics.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DeferredInstanceFromFunction.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/core/Container.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/FTETextField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITextFieldInterface.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DPIClassification.as</path>

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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBase.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBase.as
@@ -446,7 +446,7 @@
         return moduleFactory;
     }

-	/**
+    /**
     * @private
     */
     public function set fontContext(moduleFactory:IFlexModuleFactory):void
@@ -1170,7 +1170,7 @@
                     var headerItem:IInvalidating = headerItems[currentRowNum][i] as IInvalidating;

                     if (headerItem)
-                    	IInvalidating(headerItem).invalidateDisplayList();
+                        IInvalidating(headerItem).invalidateDisplayList();

                 }

@@ -2172,6 +2172,9 @@
     /**
      * Return true if selectedMode is
      * SINGLE_ROW or MULTIPLE_ROWS.
+     *
+     *  @return true if selectedMode is
+     * SINGLE_ROW or MULTIPLE_ROWS.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 3759
Author:   egeorgie@adobe.com
Date:     2008-10-20T22:55:37.561472Z

Log Message:
-----------
Fix bug https://bugs.adobe.com/jira/browse/SDK-17424 Changing states causes a selected FxCheckBox to display as unselected
QE Notes: None
Doc Notes: None
Bugs: sdk-17424
Reviewer: Glenn

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
@@ -311,6 +311,8 @@
         findSkinParts();

         skinLoaded();
+
+        invalidateSkinState();
     }

     /**


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 7400
Author:   gosmith@adobe.com
Date:     2009-05-29T02:53:47.451300Z

Log Message:
-----------
Integrated TLF build 442. This integration required some minor changes to framework code.

---

The advanced text format styles for Spark components now include four new inheriting styles corresponding to new TLF formats:

paragraphSpaceBefore and paragraphSpaceAfter are for adding space before and after a paragraph.

paragraphStartIndent and paragraphEndIndent are for indenting the entire paragraph (not just its first line), from either the "starting" or "ending" side, which depend on the direction of the paragraph.

All four styles are specified in pixels, and have a default value of 0 coming from the global selector.

You can set these styles on a component and they'll apply to all paragraphs. For example, simply setting <s:TextArea paragraphSpaceAfter="20"> will put 20 pixels of space after each paragraph.

TLF has removed its old non-inheriting marginXXX formats, so markup like
...
 is no longer allowed in text content. These formats were in the FXG 1.0 spec, so FXG 1.0 compilation will need to change to map

marginTop -> paragraphSpaceBefore
marginBottom -> paragraphSpaceAfter
marginLeft -> paragraphStartIndent
marginRight -> paragraphEndIndent

---

From TLF's ReleaseNotes.txt:

Build 441
	* rename StatusChangeEvent INLINE_GRAPHIC_STATUS_CHANGED to INLINE_GRAPHIC_STATUS_CHANGE
	* Fix 2300102 Spans with attached event listeners should not merge
Build 439
	* API and markup Changes (Fix 2339174)
	-- marginTop, marginBottom, marginLeft and marginRight formats have been renamed to paragraphSpaceBefore, paragraphSpaceAfter, paragraphStartIndent and paragraphEndIndent respectively
	-- paragraphStartIndent and paragraphEndIndent are direction-sensitive. For example, the former applies to the paragraph's left edge for left-to-right text, and to the right edge otherwise
	-- These formats now inherit values from parent flow element if undefined during cascade
	-- The previous names continue to be supported on import of FXG markup (but not TLF markup). FXG export uses the new names.
	* UndoManager and IUndoManager moved from flashx.textLayout.edit into flashx.undo namespace (actually done in build 436)

QE Notes: Need tests for these new styles.
Doc Notes: None
Bugs: None
Reviewer: Carol

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/textLayout.swz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/CSSTextLayoutFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/textLayout.swf</path>
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/tlf.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedTextLayoutFormatStyles.as</path>

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

--- frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as
@@ -70,6 +70,46 @@
 [Style(name="leadingModel", type="String", enumeration="auto,romanUp,ideographicCenterDown,ideographicCenterUp,ideographicTopDown,ideographicTopUp", inherit="yes")]

 /**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#paragraphEndIndent
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="paragraphEndIndent", type="Number", format="length", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#paragraphSpaceAfter
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="paragraphSpaceAfter", type="Number", format="length", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#paragraphSpaceBefore
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="paragraphSpaceBefore", type="Number", format="length", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.paragraphStartIndent
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="paragraphStartIndent", type="Number", format="length", inherit="yes")]
+
+/**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#tabStops
  *
  *  @langversion 3.0


Recyclable typo fixed

Recyclable typo fixed

--- src/potato/core/IRecyclable.as
+++ src/potato/core/IRecyclable.as
@@ -9,7 +9,7 @@
 	 * @author Fernando França
 	 * @since  26.07.2010
 	 */
-	public interface IRecyclable extends IDisposeable
+	public interface IRecyclable extends IDisposable
 	{
 		function recycle():void;
 	}


fix broken references to the 'zFar' and 'zNear' light properties in CubeShadowMapAttenuationShaderPart

--- src/aerys/minko/render/shader/part/phong/attenuation/CubeShadowMapAttenuationShaderPart.as
+++ src/aerys/minko/render/shader/part/phong/attenuation/CubeShadowMapAttenuationShaderPart.as
@@ -31,8 +31,8 @@

 			// retrieve depthmap, transformation matrix, zNear and zFar
 			var worldToLight		: SFloat = getLightParameter(lightId, 'worldToLocal', 16);
-			var zNear				: SFloat = getLightParameter(lightId, 'zNear', 1);
-			var zFar				: SFloat = getLightParameter(lightId, 'zFar', 1);
+			var zNear				: SFloat = getLightParameter(lightId, 'shadowZNear', 1);
+			var zFar				: SFloat = getLightParameter(lightId, 'shadowZFar', 1);
 			var cubeDepthMap		: SFloat = getLightTextureParameter(lightId, 'shadowMapCube',
 				SamplerFiltering.NEAREST,
 				SamplerMipMapping.DISABLE,


Appending JS resource tag to body instead of head.

--- src/org/openvv/OVVAsset.as
+++ src/org/openvv/OVVAsset.as
@@ -488,7 +488,7 @@
 					'var tag = document.createElement("script");' +
 					'tag.src = "' + tagUrl + '";' +
 					'tag.type="text/javascript";' +
-					'document.getElementsByTagName("head")[0].appendChild(tag); }';
+					'document.getElementsByTagName("body")[0].appendChild(tag); }';
 				ExternalInterface.call( injectTag );
 			  };
 		}
@@ -603,4 +603,4 @@
 			dispatchEvent(new OVVEvent(OVVEvent.OVVError, ovvData));
 		}
     }
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 4330
Author:   preilly@adobe.com
Date:     2008-12-16T21:45:10.745617Z

Log Message:
-----------
* Reduced code generation for Bindable, added weak reference support
  to BindingUtils and added support for binding to private Statics.

tests Passed: checkintests, mxunit databinding (with and without AST generation)

Needs QA: YES

Needs DOC: NO

Bug fixes: SDK-14891

API Change: Yes, see BindingUtils and IWatcherSetupUtil2.

Reviewer: Corey

Code-level description of changes:

  frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as

    Added useWeakReference arg to watch().

    Added useWeakReference variable.

    Modified reset() to use useWeakReference.

  frameworks/projects/framework/src/mx/binding/utils/BindingUtils.as

    Added useWeakReference arg to bindProperty() and bindSetter().

  frameworks/projects/framework/src/mx/binding/BindingManager.as

    Added set() function.

  frameworks/projects/framework/src/mx/binding/IWatcherSetupUtil2.as

    Initial checkin.

  modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeSecondPassEvaluator.java

    Renamed ensureNonPublic() to ensurePublic() and reversed the logic.

    Renamed makeAttrListPrivate() to makeAttrListPublic() and modified
    to use ensurePublic().

  modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java

    Updated AST generation to mirror changes to WatcherSetupUtil.vm.

  modules/compiler/src/java/flex2/compiler/as3/binding/BindableProperty.vm

    Modified setter code generation to use BindingManager.set() to
    reduce code size.

  modules/compiler/src/java/flex2/compiler/as3/binding/WatcherSetupUtil.vm

    Added support for staticPropertyGetter.

  modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java

    Updated WatcherSetupUtil imports.

  modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm

    Added static property getter arg to WatcherSetupUtil setup() call.

    Updated template to use IWatcherSetupUtil2.

  modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java

    Updated AST generation to mirror changes to ClassDefLib.vm.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SignatureEvaluator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/PropertyWatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/WatcherSetupUtil.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/BindingManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeSecondPassEvaluator.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/IWatcherSetupUtil2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/NameFormatter.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/StaticPropertyWatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/BindingUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableProperty.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>

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

--- frameworks/projects/framework/src/mx/binding/StaticPropertyWatcher.as
+++ frameworks/projects/framework/src/mx/binding/StaticPropertyWatcher.as
@@ -212,7 +212,7 @@
     {
         if (event is PropertyChangeEvent)
         {
-            var propName:Object = PropertyChangeEvent(event).property
+            var propName:Object = PropertyChangeEvent(event).property;

             if (propName != _propertyName)
                 return;


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

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

 package mx.controls
 {


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

--- frameworks/projects/mx/src/mx/accessibility/AccordionHeaderAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/AccordionHeaderAccImpl.as
@@ -239,20 +239,24 @@
 	 */
 	override protected function eventHandler(event:Event):void
 	{
+		// Let AccImpl class handle the events
+		// that all accessible UIComponents understand.
+		$eventHandler(event);
+
 		var index:int;
+
 		switch (event.type)
 		{
 			case "focusDraw":
 			{
 				// event.currentTarget here is the AccordionHeader (a/k/a 'master')
 				index = Accordion(event.currentTarget.parent).focusedIndex;
-
 				if (index >= 0 && master == Accordion(event.currentTarget.parent).getHeaderAt(index))
 				{
 					Accessibility.sendEvent(DisplayObject(event.currentTarget), index + 1,
 											EVENT_OBJECT_FOCUS, true);
-					break;
 				}
+				break;
 			}

 			case "change":
@@ -263,8 +267,8 @@
 				{
 					Accessibility.sendEvent(master, index + 1,
 											EVENT_OBJECT_SELECTION, true);
-					break;
 				}
+				break;
 			}
 		}
 	}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8679
Author:   jimurphy@adobe.com
Date:     2009-07-20T13:23:31.007823Z

Log Message:
-----------
These are Asdoc edit from 3.x rev 8623.  I somehow missed committing these when they were supposed to be committed during my previous merge.

bug: no
qa: no
doc: no
checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Consumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/CallResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ConfigMap.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/XMLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/IResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Producer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as
@@ -31,11 +31,11 @@
     //--------------------------------------------------------------------------

     /**
-     *  Creates an new SecureAMFChannel instance.
+     *  Constructor.
      *
-	 *  @param id The id of this Channel.
-	 *
-	 *  @param uri The uri for this Channel.
+     *  @param id The id of this Channel.
+     *
+     *  @param uri The uri for this Channel.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Update MainScript.as

Update MainScript.as


removed unnecessary error message

removed unnecessary error message

Change-Id: I917189906466dfe2d0466cd67dbac2f1fdc2b092


Fixed line chart selection bug when there were missing coordinates.

--- WeaveUISpark/src/weave/visualization/plotters/ParallelCoordinatesPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/ParallelCoordinatesPlotter.as
@@ -296,6 +296,7 @@
 			// push three geometries between each column
 			var x:Number, y:Number;
 			var prevX:Number, prevY:Number;
+			var geometry:ISimpleGeometry;
 			for (var i:int = 0; i < _columns.length; ++i)
 			{
 				x = i;
@@ -306,9 +307,29 @@

 				if (i > 0)
 				{
-					var geometry:ISimpleGeometry = new SimpleGeometry(GeometryType.LINE);
-					geometry.setVertices([new Point(prevX, prevY), new Point(x, y)]);
-					results.push(geometry);
+					if (isFinite(y) && isFinite(prevY))
+					{
+						geometry = new SimpleGeometry(GeometryType.LINE);
+						geometry.setVertices([new Point(prevX, prevY), new Point(x, y)]);
+						results.push(geometry);
+					}
+					else
+					{
+						// case where current coord is defined and previous coord is missing
+						if (isFinite(y))
+						{
+							geometry = new SimpleGeometry(GeometryType.POINT);
+							geometry.setVertices([new Point(x, y)]);
+							results.push(geometry);
+						}
+						// special case where i == 1 and y0 (prev) is defined and y1 (current) is missing
+						if (i == 1 && isFinite(prevY))
+						{
+							geometry = new SimpleGeometry(GeometryType.POINT);
+							geometry.setVertices([new Point(prevX, prevY)]);
+							results.push(geometry);
+						}
+					}
 				}

 				prevX = x;


code style

code style

--- src/as3reflect/Parameter.as
+++ src/as3reflect/Parameter.as
@@ -27,7 +27,11 @@
 	 * @author Christophe Herreman
 	 */
 	public class Parameter {
-
+
+		private var _index:int;
+		private var _type:Type;
+		private var _isOptional:Boolean;
+
 		/**
 		 * Creates a new Parameter object.
 		 *
@@ -52,9 +56,5 @@
 		public function get isOptional():Boolean {
 			return _isOptional;
 		}
-
-		private var _index:int;
-		private var _type:Type;
-		private var _isOptional:Boolean;
 	}
 }


I forgot to pass in the "this" required by Function.apply() (or rather, I
was passing in the args as the 'this').
I made the last checkin after compiling to make sure everything was right,
but I forget that compiling doesn't check much in actionscript.

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

--- src/as/Log.as
+++ src/as/Log.as
@@ -46,7 +46,8 @@
      */
     public static function testing (... params) :void
     {
-        mx.logging.Log.getLogger("testing").debug.apply(params);
+        var log :ILogger = mx.logging.Log.getLogger("testing");
+        log.debug.apply(log, params);
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 12069
Author:   dloverin@adobe.com
Date:     2009-11-20T23:24:46.331262Z

Log Message:
-----------
Split airspark project off airframework.

QE notes: None.
Doc notes: None.
Bugs: SDK-24109
Reviewer: Paul, Jim
Tests run: checkintests, tests/apollo/spark/components/Window
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_close_down.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_close_down.png</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/Window.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/airframework/src/AIRFrameworkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_restore_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_min_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_max_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_min_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/src/AIRSparkClasses.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/airframework/src/spark</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_max_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/Window.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_min_dis.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_max_dis.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_restore_up.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_min_up.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_max_up.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_min_up.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/accessibility/WindowedApplicationAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_max_up.png</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/core</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/accessibility/WindowAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/gripper_up.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_close_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_close_over.png</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark" copyfrom-rev="11985" action="A">/flex/sdk/trunk/frameworks/projects/airspark/src/spark</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/airframework/spark-air-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_close_up.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_restore_down.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_min_down.png</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/airframework/mx-air-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_max_down.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_close_up.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_min_down.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_max_down.png</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/mx-air-manifest.xml" copyfrom-rev="11985" action="A">/flex/sdk/trunk/frameworks/projects/airframework/manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_min_dis.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_max_dis.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/core/Version.as</path>

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

--- frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as
+++ frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as
@@ -76,7 +76,7 @@
  */
 public class TitleBar extends SkinnableComponent
 {
-    include "../../../mx/core/Version.as";
+    include "../../core/Version.as";

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


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

--- frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as
+++ frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.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 spark.components.windowClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17943
Author:   jszeto@adobe.com
Date:     2010-09-29T22:22:15.975011Z

Log Message:
-----------
ViewMenu initial checkin

Implemented ViewMenu, ViewMenuItem, ViewMenuLayout and all relevant skins.
Integrated into MobileApplicationBase and MobileApplication
Includes PARB review changes
Appearance will change once the visual design has been completed

QE notes: Ready to test!
Doc notes: Needs an ASDoc pass
Bugs: none
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/layouts/ViewMenuLayout.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/layouts</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.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/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenuItem.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.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/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/MobileApplicationSkin.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
@@ -13,10 +13,8 @@
 {
 import flash.events.Event;
 import flash.events.InvokeEvent;
-import flash.events.KeyboardEvent;
 import flash.events.StageOrientationEvent;
 import flash.net.registerClassAlias;
-import flash.ui.Keyboard;

 import mx.core.IVisualElement;
 import mx.core.mx_internal;
@@ -174,7 +172,7 @@
      */
     override public function get canCancelBackKeyBehavior():Boolean
     {
-        return navigator && navigator.canCancelBackKeyBehavior;
+        return (navigator && navigator.canCancelBackKeyBehavior) || viewMenuOpen;
     }

     //----------------------------------
@@ -545,7 +543,10 @@
     {
         super.backKeyHandler();

-        navigator.backKeyHandler();
+        if (viewMenuOpen)
+            viewMenuOpen = false;
+        else
+            navigator.backKeyHandler();
     }

     /**


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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorAction.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorAction.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2006 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: 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@1253324 13f79535-47bb-0310-9956-ffa450edef68

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

 package mx.charts.series.items
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/framework/src/mx/managers/IHistoryManagerClient.as
+++ frameworks/projects/framework/src/mx/managers/IHistoryManagerClient.as
@@ -0,0 +1,100 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 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.managers
+{
+
+/**
+ *  Interface that must be implemented by objects
+ *  registered with the History Manager. The methods in this interface are
+ *  called by the HistoryManager when saving and loading the history state
+ *  of the application.
+ *
+ *
This interface is implemented by the Flex navigator containers
+ *  TabNavigator, Accordion, and ViewStack. It must be implemented by any other
+ *  component that is registered with the HistoryManager.

+ *
+ *  @see mx.managers.HistoryManager
+ */
+public interface IHistoryManagerClient
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Saves the state of this object.
+	 *  The object contains name:value pairs for each property
+	 *  to be saved with the state.
+	 *
+	 *
The History Manager collects the state information from all components
+	 *  and encodes the information in a URL format. Most browsers have a length
+	 *  limitation on URLs, so the state information returned should be as minimal
+	 *  as possible.

+	 *
+	 *  @example The following code saves the selected index from a List, and
+	 *  a search string.
+	 *

+	 *  public function saveState():Object
+	 *  {
+	 *  	var state:Object = {};
+	 *
+	 *  	state.selectedIndex = myList.selectedIndex;
+	 *  	state.searchString = mySearchInput.text;
+	 *
+	 *  	return state;
+	 *	}
+	 *

+	 *
+	 *  @return The state of this object.
+	 */
+	function saveState():Object;
+
+	/**
+	 *  Loads the state of this object.
+	 *
+	 *  @param state State of this object to load.
+	 *  This will be null when loading the initial state of the application.
+	 *
+	 *  @example The following code loads the selected index and search string
+	 *  from the saved state.
+	 *

+	 *  public function loadState(state:Object):void
+	 *  {
+	 *  	// First, check to see if state is null. When the app is reset
+	 *  	// back to its initial state, loadState() is passed null.
+	 *  	if (state == null)
+	 *  	{
+	 *			myList.selectedIndex = -1;
+	 *  		mySearchInput.text = "";
+	 *  	}
+	 *  	else
+	 *  	{
+	 *  		myList.selectedIndex = state.selectedIndex;
+	 *  		mySearchInput.text = state.searchString;
+	 *  	}
+	 *  }
+	 *

+	 */
+	function loadState(state:Object):void;
+
+	/**
+	 *  Converts this object to a unique string.
+	 *  Implemented by UIComponent.
+	 *
+	 *  @return The unique identifier for this object.
+	 */
+	function toString():String;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 21125
Author:   smgilson@adobe.com
Date:     2011-04-22T14:44:03.408476Z

Log Message:
-----------
update ActionBar.as and TabbedViewNavigator.as to include the examples and move the example to the correct folders

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="A">/private/flex/sdk/trunk/frameworks/projects/mobilecomponents/asdoc/en_US/spark/components/examples/ActionBarExample2.mxml</path>
<path kind="file" action="A">/private/flex/sdk/trunk/frameworks/projects/mobilecomponents/asdoc/en_US/spark/components/examples/ActionBarExample3.mxml</path>
<path kind="file" action="D">/private/flex/sdk/trunk/frameworks/projects/mobilecomponents/asdoc/en_US/spark/components/examples/ActionBar/ActionBarExample2.mxml</path>
<path kind="file" action="A">/private/flex/sdk/trunk/frameworks/projects/mobilecomponents/asdoc/en_US/spark/components/examples/ActionBarExampleHomeView.mxml</path>
<path kind="file" action="D">/private/flex/sdk/trunk/frameworks/projects/mobilecomponents/asdoc/en_US/spark/components/examples/ActionBar/ActionBarExample3.mxml</path>
<path kind="file" action="A">/private/flex/sdk/trunk/frameworks/projects/mobilecomponents/asdoc/en_US/spark/components/examples/TabbedViewNavigatorExample.mxml</path>
<path kind="file" action="D">/private/flex/sdk/trunk/frameworks/projects/mobilecomponents/asdoc/en_US/spark/components/examples/ActionBar/ActionBarExampleHomeView.mxml</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="D">/private/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/TabbedViewNavigatorExample.mxml</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as
@@ -359,6 +359,10 @@
  *  @see View
  *  @see ViewNavigatorApplication
  *  @see spark.skins.mobile.ActionBarSkin
+ *
+ *  @includeExample examples/ActionBarExample2.mxml -noswf
+ *  @includeExample examples/ActionBarExample3.mxml -noswf
+ *  @includeExample examples/ActionBarExampleHomeView.mxml -noswf
  *
  *  @langversion 3.0
  *  @playerversion AIR 2.5


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/rpc/src/mx/messaging/errors/InvalidChannelError.as
+++ frameworks/projects/rpc/src/mx/messaging/errors/InvalidChannelError.as
@@ -0,0 +1,51 @@
+/*************************************************************************
+ *
+ * ADOBE CONFIDENTIAL
+ * __________________
+ *
+ *  [2002] - [2007] Adobe Systems Incorporated
+ *  All Rights Reserved.
+ *
+ * NOTICE:  All information contained herein is, and remains
+ * the property of Adobe Systems Incorporated and its suppliers,
+ * if any.  The intellectual and technical concepts contained
+ * herein are proprietary to Adobe Systems Incorporated
+ * and its suppliers and may be covered by U.S. and Foreign Patents,
+ * patents in process, and are protected by trade secret or copyright law.
+ * Dissemination of this information or reproduction of this material
+ * is strictly forbidden unless prior written permission is obtained
+ * from Adobe Systems Incorporated.
+ */
+package mx.messaging.errors
+{
+
+/**
+ *  This error is thrown when a Channel can't be accessed
+ *  or is not valid for the current destination.
+ *  This error is thrown by the following methods/properties
+ *  within the framework:
+ *

+ *
ServerConfig.getChannel() if the channel
+ *    can't be found based on channel id.

+ *

+ */
+public class InvalidChannelError extends ChannelError
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructs a new instance of an InvalidChannelError with the specified message.
+     *
+     *  @param msg String that contains the message that describes this InvalidChannelError.
+     */
+    public function InvalidChannelError(msg:String)
+    {
+        super(msg);
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/MenuBarItemAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/MenuBarItemAutomationImpl.as
@@ -0,0 +1,120 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.automation.delegates.controls
+{
+	import flash.display.DisplayObject;
+
+	import mx.automation.Automation;
+	import mx.automation.delegates.core.UIComponentAutomationImpl;
+	import mx.controls.menuClasses.MenuBarItem;
+	import mx.core.mx_internal;
+
+	use namespace mx_internal;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines methods and properties required to perform instrumentation for the
+	 *  MenuBarItem class.
+	 *
+	 *  @see mx.controls.menuClasses.MenuBarItem
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public class MenuBarItemAutomationImpl extends UIComponentAutomationImpl
+	{
+		include "../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(MenuBarItem, MenuBarItemAutomationImpl);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Constructor
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Constructor.
+		 * @param obj MenuBarItem object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function MenuBarItemAutomationImpl(obj:MenuBarItem)
+		{
+			super(obj);
+		}
+
+		//----------------------------------
+		//  menuBarItem
+		//----------------------------------
+
+		/**
+		 *  @private
+		 *  storage for the owner component
+		 */
+		protected function get menuBarItem():MenuBarItem
+		{
+			return uiComponent as MenuBarItem;
+		}
+
+		//----------------------------------
+		//  automationName
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get automationName():String
+		{
+			return menuBarItem.getLabel().text  || super.automationName;
+		}
+
+		//----------------------------------
+		//  automationValue
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get automationValue():Array
+		{
+			return [menuBarItem.getLabel().text];
+		}
+
+	}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/PopUpButtonAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/PopUpButtonAutomationImpl.as
@@ -0,0 +1,290 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.automation.delegates.controls
+{
+	import flash.display.DisplayObject;
+	import flash.events.Event;
+	import flash.events.KeyboardEvent;
+	import flash.events.MouseEvent;
+	import flash.ui.Keyboard;
+	import flash.utils.getTimer;
+
+	import mx.automation.Automation;
+	import mx.automation.AutomationIDPart;
+	import mx.automation.IAutomationObject;
+	import mx.automation.IAutomationObjectHelper;
+	import mx.core.mx_internal;
+	import mx.core.UIComponent;
+	import mx.controls.PopUpButton;
+	import mx.events.DropdownEvent;
+
+	use namespace mx_internal;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines methods and properties required to perform instrumentation for the
+	 *  PopUpButton control.
+	 *
+	 *  @see mx.controls.PopUpButton
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public class PopUpButtonAutomationImpl extends ButtonAutomationImpl
+	{
+
+		include "../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(PopUpButton, PopUpButtonAutomationImpl);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Constructor
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Constructor.
+		 * @param obj PopUpButton object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function PopUpButtonAutomationImpl(obj:PopUpButton)
+		{
+			super(obj);
+			obj.addEventListener(DropdownEvent.OPEN, popUpOpenHandler, false, 0, true);
+			obj.addEventListener(DropdownEvent.CLOSE, popUpCloseHandler, false, 0, true);
+		}
+
+		/**
+		 *  @private
+		 *  storage for the owner component
+		 */
+		protected function get popUpButton():PopUpButton
+		{
+			return uiComponent as PopUpButton;
+		}
+
+		//----------------------------------
+		//  automationName
+		//----------------------------------
+
+		/**
+		 *  @private
+		 *  We need to override Button's behavior since we don't want
+		 *  to use a changing label as our automation name
+		 *  though we're fine with using it for automationValue.
+		 */
+		override public function get automationName():String
+		{
+			return (uiComponent as UIComponent).id;
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Overridden methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function replayAutomatableEvent(event:Event):Boolean
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			if (event is DropdownEvent)
+			{
+				if (DropdownEvent(event).triggerEvent is KeyboardEvent)
+				{
+					var kbEvent:KeyboardEvent =
+						new KeyboardEvent(KeyboardEvent.KEY_DOWN);
+					kbEvent.keyCode = event.type == DropdownEvent.OPEN ?
+						Keyboard.DOWN :
+						Keyboard.UP;
+					kbEvent.ctrlKey = true;
+					help.replayKeyboardEvent(uiComponent, kbEvent);
+				}
+				else if (DropdownEvent(event).triggerEvent is MouseEvent)
+				{
+					if ((event.type == DropdownEvent.OPEN && !popUpButton.isShowingPopUp) ||
+						(event.type == DropdownEvent.CLOSE && popUpButton.isShowingPopUp))
+					{
+						var mEvent:MouseEvent = new MouseEvent(MouseEvent.CLICK);
+						mEvent.localX = popUpButton.getUnscaledWidth() - popUpButton.getArrowButtonsWidth();
+						mEvent.localY = popUpButton.getUnscaledHeight() / 2;
+						super.replayAutomatableEvent(mEvent);
+					}
+					else
+					{
+						return false;
+					}
+				}
+				else
+				{
+					throw new Error();
+				}
+
+				var completeTime:Number = getTimer() +
+					popUpButton.getStyle(DropdownEvent(event).type == DropdownEvent.OPEN ?
+						"openDuration": "closeDuration") as Number;
+
+				help.addSynchronization(function():Boolean
+				{
+					return getTimer() >= completeTime;
+				});
+
+				return true;
+			}
+			else
+			{
+				return super.replayAutomatableEvent(event);
+			}
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function createAutomationIDPart(
+			child:IAutomationObject):Object
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			return help.helpCreateIDPart(uiAutomationObject, child);
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			return  help ? help.helpCreateIDPartWithRequiredProperties(uiAutomationObject, child,properties) :null;
+		}
+
+
+		/**
+		 *  @private
+		 */
+		override public function resolveAutomationIDPart(part:Object):Array
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			return help.helpResolveIDPart(uiAutomationObject, part);
+		}
+
+		//----------------------------------
+		//  numAutomationChildren
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get numAutomationChildren():int
+		{
+			var delegate:IAutomationObject
+			= popUpButton.popUp as IAutomationObject;
+			return delegate ? 1 : 0;
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function getAutomationChildAt(index:int):IAutomationObject
+		{
+			return popUpButton.popUp as IAutomationObject;
+		}
+
+
+
+		/**
+		 * @private
+		 */
+		override public function getAutomationChildren():Array
+		{
+			return [popUpButton.popUp as IAutomationObject];
+		}
+
+		//----------------------------------
+		//  automationTabularData
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get automationTabularData():Object
+		{
+			var delegate:IAutomationObject =
+				(popUpButton.popUp as IAutomationObject);
+
+			return delegate.automationTabularData;
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Event handlers
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 */
+		private function popUpOpenHandler(event:DropdownEvent):void
+		{
+			if (event.triggerEvent)
+				recordAutomatableEvent(event);
+		}
+
+		/**
+		 *  @private
+		 */
+		private function popUpCloseHandler(event:DropdownEvent):void
+		{
+			if (event.triggerEvent)
+			{
+				recordAutomatableEvent(event);
+			}
+		}
+
+		/**
+		 *  @private
+		 */
+		override protected function clickHandler(event:MouseEvent):void
+		{
+			if (!popUpButton.overArrowButton(event))
+				super.clickHandler(event);
+		}
+	}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/BarSeriesAutomationImpl.as
+++ frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/BarSeriesAutomationImpl.as
@@ -0,0 +1,134 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.automation.delegates.charts
+{
+	import flash.display.DisplayObject;
+	import flash.geom.Point;
+
+	import mx.automation.Automation;
+	import mx.charts.ChartItem;
+	import mx.charts.series.BarSeries;
+	import mx.core.IFlexDisplayObject;
+	import mx.charts.series.items.BarSeriesItem;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines the methods and properties required to perform instrumentation for the
+	 *  BarSeries class.
+	 *
+	 *  @see mx.charts.series.BarSeries
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public class BarSeriesAutomationImpl extends SeriesAutomationImpl
+	{
+		include "../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(BarSeries, BarSeriesAutomationImpl);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Constructor
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Constructor.
+		 *  @param obj BarSeries object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function BarSeriesAutomationImpl(obj:BarSeries)
+		{
+			super(obj);
+
+			barSeries = obj;
+		}
+
+		/**
+		 * @private
+		 */
+		private var barSeries:BarSeries;
+
+		//--------------------------------------------------------------------------
+		//
+		//  Overridden properties
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get automationName():String
+		{
+			if(barSeries.xField && barSeries.yField)
+				return String(barSeries.xField + ";" + barSeries.yField);
+
+			return super.automationName;
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Overridden methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 */
+		override protected function getChartItemLocation(item:ChartItem):Point
+		{
+			if (item is BarSeriesItem)
+			{
+				var bItem:BarSeriesItem = item as BarSeriesItem;
+				var renderer:DisplayObject = bItem.itemRenderer as DisplayObject;
+				var xp:int = renderer.x + renderer.width/2;
+				var yp:int = renderer.y + renderer.height/2;
+				var p:Point = new Point(xp, yp);
+				p = barSeries.localToGlobal(p);
+				p = barSeries.owner.globalToLocal(p);
+				return p;
+			}
+
+			return super.getChartItemLocation(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@1265845 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonBarButtonSkinBase.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonBarButtonSkinBase.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2010 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: 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@1268131 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/controls/DateField.as
+++ frameworks/projects/mx/src/mx/controls/DateField.as
@@ -59,6 +59,11 @@
  *
  *  @eventType mx.events.CalendarLayoutChangeEvent.CHANGE
  *  @helpid 3613
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="change", type="mx.events.CalendarLayoutChangeEvent")]

@@ -68,6 +73,11 @@
  *
  *  @eventType mx.events.DropdownEvent.CLOSE
  *  @helpid 3615
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="close", type="mx.events.DropdownEvent")]

@@ -80,6 +90,11 @@
  *  when the data property changes.

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

@@ -88,6 +103,11 @@
  *
  *  @eventType mx.events.DropdownEvent.OPEN
  *  @helpid 3614
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="open", type="mx.events.DropdownEvent")]

@@ -96,6 +116,11 @@
  *
  *  @eventType mx.events.DateChooserEvent.SCROLL
  *  @helpid 3616
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="scroll", type="mx.events.DateChooserEvent")]

@@ -117,12 +142,22 @@
  *  components that support the borderStyle style.
  *  The default value depends on the component class;
  *  if not overriden for the class, the default value is 0xB7BABC.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="borderColor", type="uint", format="Color", inherit="no")]

 /**
  *  The bounding box thickness of the DateChooser control.
  *  The default value is 1.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="borderThickness", type="Number", format="Length", inherit="no")]

@@ -134,6 +169,11 @@
  *  that supports a borderStyle property set to "solid".
  *  The default value depends on the component class;
  *  if not overriden for the class, the default value is 0.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="cornerRadius", type="Number", format="Length", inherit="no", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]

@@ -147,6 +187,11 @@
  *  of the DateChooser class, including cornerRadius,
  *  fillAlphas, fillColors, headerColors, headerStyleName,
  *  highlightAlphas, todayStyleName, and weekdayStyleName.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="dateChooserStyleName", type="String", inherit="no")]

@@ -155,6 +200,11 @@
  *  opaque.
  *
  *  @default [ 0.6, 0.4 ]
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="fillAlphas", type="Array", arrayType="Number", inherit="no", deprecatedReplacement="nextMonthStyleFilters, prevMonthStyleFilters, dateChooserStyleName", deprecatedSince="3.0")]

@@ -163,18 +213,33 @@
  *  Pass the same color for both values for a flat-looking control.
  *
  *  @default [ 0xFFFFFF, 0xCCCCCC ]
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="fillColors", type="Array", arrayType="uint", format="Color", inherit="no", deprecatedReplacement="nextMonthStyleFilters, prevMonthStyleFilters, dateChooserStyleName", deprecatedSince="3.0")]

 /**
  *  Colors of the band at the top of the DateChooser control.
  *  The default value is [ 0xE6EEEE, 0xFFFFFF ].
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="headerColors", type="Array", arrayType="uint", format="Color", inherit="yes", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]

 /**
  *  Name of the style sheet definition to configure the text (month name and year)
  *  and appearance of the header area of the control.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="headerStyleName", type="String", inherit="no", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]

@@ -184,6 +249,11 @@
  *  of the bottom of the highlight. The highlight covers the top half of the skin.
  *
  *  @default [ 0.3, 0.0 ]
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="highlightAlphas", type="Array", arrayType="Number", inherit="no", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]

@@ -191,6 +261,11 @@
  *  Color of the highlight area of the date when the user holds the
  *  mouse pointer over a date in the DateChooser control.
  *  @default 0xE3FFD6
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="rollOverColor", type="uint", format="Color", inherit="yes")]

@@ -198,12 +273,22 @@
  *  Color of the highlight area of the currently selected date
  *  in the DateChooser control.
  *  @default 0xCDFFC1
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectionColor", type="uint", format="Color", inherit="yes")]

 /**
  *  Name of the class to use as the default skin for the background and border.
  *  For the DateField class, there is no default value.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="skin", type="Class", inherit="no", states=" up, over, down, disabled")]

@@ -211,6 +296,11 @@
 /**
  *  Color of the highlight of today's date in the DateChooser control.
  *  The default value is 0x2B333.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="todayColor", type="uint", format="Color", inherit="yes")]

@@ -221,6 +311,11 @@
  *  Specify a color style property to change the font color.
  *  If omitted, the current day text inherits
  *  the text styles of the control.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="todayStyleName", type="String", inherit="no", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]

@@ -228,6 +323,11 @@
  *  Name of the style sheet definition to configure the weekday names of
  *  the control. If omitted, the weekday names inherit the text
  *  styles of the control.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="weekDayStyleName", type="String", inherit="no", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]

@@ -389,6 +489,11 @@
  *  @includeExample examples/DateFieldExample.mxml
  *
  *  @helpid 3617
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class DateField extends ComboBase
                        implements IDataRenderer, IDropInListItemRenderer,
@@ -435,6 +540,11 @@
      *
      *  @return The formatted date as a Date object.
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function stringToDate(valueString:String, inputFormat:String):Date
     {
@@ -511,6 +621,11 @@
      *  @return The formatted date as a String.
      *
      *  @example
var todaysDate:String = DateField.dateToString(new Date(), "MM/DD/YYYY");

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function dateToString(value:Date, outputFormat:String):String
     {
@@ -576,6 +691,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function DateField()
     {
@@ -724,6 +844,11 @@
      *
      *  @default null
      *  @see mx.core.IDataRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get data():Object
     {
@@ -789,6 +914,11 @@
      *
      *  @default [ "S", "M", "T", "W", "T", "F", "S" ]
      *  @helpid 3626
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get dayNames():Array
     {
@@ -845,6 +975,11 @@
      *
      *  @default []
      *  @helpid 3627
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get disabledDays():Array
     {
@@ -918,6 +1053,11 @@
      *
      *  @default []
      *  @helpid 3629
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get disabledRanges():Array
     {
@@ -966,6 +1106,11 @@
      *
The default value is the current month.

      *
      *  @helpid 3624
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get displayedMonth():int
     {
@@ -1014,6 +1159,11 @@
      *
The default value is the current year.

      *
      *  @helpid 3625
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get displayedYear():int
     {
@@ -1049,6 +1199,11 @@
      *  contained by the DateField control.  The class used
      *  can be set with dropdownFactory as long as
      *  it extends DateChooser.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get dropdown():DateChooser
     {
@@ -1072,6 +1227,11 @@
      *  as the date-chooser
      *  The default value is an IFactory for DateChooser
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get dropdownFactory():IFactory
     {
@@ -1119,6 +1279,11 @@
      *
      *  @default 0 (Sunday)
      *  @helpid 3623
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get firstDayOfWeek():Object
     {
@@ -1167,6 +1332,11 @@
      *  delimiter, and punctuation characters.
      *
      *  @default "MM/DD/YYYY"
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get formatString():String
     {
@@ -1230,6 +1400,11 @@
      *  @default null
      *  @see mx.controls.DateField#parseFunction
      *  @helpid 3618
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get labelFunction():Function
     {
@@ -1276,6 +1451,11 @@
      *
      *  @default null
      *  @see mx.controls.listClasses.IDropInListItemRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get listData():BaseListData
     {
@@ -1310,6 +1490,11 @@
      *  @default 2100
      *
      *  @helpid
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get maxYear():int
     {
@@ -1353,6 +1538,11 @@
      *  @default 1900
      *
      *  @helpid
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get minYear():int
     {
@@ -1407,6 +1597,11 @@
      *
      *  @default [ "January", "February", "March", "April", "May", "June",
      *  "July", "August", "September", "October", "November", "December" ]
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get monthNames():Array
     {
@@ -1464,6 +1659,11 @@
      *  symbol after the month name.
      *
      *  @default ""
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get monthSymbol():String
     {
@@ -1528,6 +1728,11 @@
      *  @see mx.controls.DateField#labelFunction
      *
      *  @helpid
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get parseFunction():Function
     {
@@ -1587,6 +1792,11 @@
      *
      *  @default null
      *  @helpid 3628
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get selectableRange():Object
     {
@@ -1635,6 +1845,11 @@
      *
      *  @default null
      *  @helpid 3630
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get selectedDate():Date
     {
@@ -1680,6 +1895,11 @@
      *
      *  @default true
      *  @helpid 3622
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showToday():Boolean
     {
@@ -1724,6 +1944,11 @@
      *  before the month in the date format.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get yearNavigationEnabled():Boolean
     {
@@ -1771,6 +1996,11 @@
      *  add a symbol after the year.
      *
      *  @default ""
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get yearSymbol():String
     {
@@ -2076,6 +2306,11 @@
      *  Opens the DateChooser control.
      *
      *  @helpid 3620
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function open():void
     {
@@ -2086,6 +2321,11 @@
      *  Closes the DateChooser control.
      *
      *  @helpid 3621
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function close():void
     {


now behaving correctly when no column is specified

Change-Id: I516a99ed81c415a75f816f53bcf6a54022c37f83

--- WeaveData/src/weave/data/BinningDefinitions/DynamicBinningDefinition.as
+++ WeaveData/src/weave/data/BinningDefinitions/DynamicBinningDefinition.as
@@ -81,7 +81,7 @@
 			if (internalObject && column)
 				(internalObject as IBinningDefinition).generateBinClassifiersForColumn(column);
 			else
-				triggerCallbacks(); // bins are empty
+				asyncResultCallbacks.triggerCallbacks(); // bins are empty
 		}

 		/**
@@ -107,7 +107,7 @@
 		 */
 		public function getBinClassifiers():Array
 		{
-			if (internalObject)
+			if (internalObject && columnJuggler.target)
 				return (internalObject as IBinningDefinition).getBinClassifiers();
 			return [];
 		}
@@ -117,7 +117,7 @@
 		 */
 		public function getBinNames():Array
 		{
-			if (internalObject)
+			if (internalObject && columnJuggler.target)
 				return (internalObject as IBinningDefinition).getBinNames();
 			return [];
 		}


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

--- frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as
+++ frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.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: 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@1258580 13f79535-47bb-0310-9956-ffa450edef68

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

 package mx.binding.utils
 {


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

--- frameworks/projects/framework/src/mx/validators/NumberValidator.as
+++ frameworks/projects/framework/src/mx/validators/NumberValidator.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-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.
 //
 ////////////////////////////////////////////////////////////////////////////////