Transferred from the Adobe Open Source Subversion Repository

Revision: 4137
Author:   egeorgie@adobe.com
Date:     2008-11-19T01:53:32.903090Z

Log Message:
-----------
Optimize Group layout invalidation.
This change adds two Boolean flags to track if Group’s layout is invalidated. This way whenever a GraphicElement’s invalidateDisplayList() is called, the Group won’t redo the layout, but only validate that particular GraphicElement’s display list. Similar for size. Also I removed unconditional updateDisplayList() while assigning GraphicElement display objects and instead invalidate only the GraphicElements that have their sharedDisplayObject reassigned (we were already invalidating when the exclusive display object is assigned).
Additionally I added a small check in the stroke property change event handler to make sure we invalidate parent size & layout only when the stroke weight is changed, which minimizes layout passes for skin state changes, where states would change stroke color/settings.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Glenn
tests: checkintests, mustella (gumbo/core, gumbo/layout, graphictags, gumbo/filters)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as
@@ -193,11 +193,17 @@
     /**
      *  @private
      */
-    protected function stroke_propertyChangeHandler(event:Event):void
+    protected function stroke_propertyChangeHandler(event:PropertyChangeEvent):void
     {
         invalidateDisplayList();
-        // Parent layout takes stroke into account
-        invalidateParentSizeAndDisplayList();
+        switch (event.property)
+        {
+            case "weight":
+            case "scaleMode":
+                // Parent layout takes stroke weight into account
+                invalidateParentSizeAndDisplayList();
+            break;
+        }
     }

 }


Reorganize imports

Reorganize imports

--- src/aerys/minko/scene/visitor/rendering/RenderingVisitor.as
+++ src/aerys/minko/scene/visitor/rendering/RenderingVisitor.as
@@ -1,30 +1,19 @@
 package aerys.minko.scene.visitor.rendering
 {
-	import aerys.minko.ns.minko;
 	import aerys.minko.render.effect.IEffect;
-	import aerys.minko.render.effect.IEffectPass;
-	import aerys.minko.render.effect.IEffectTarget;
 	import aerys.minko.render.renderer.IRenderer;
-	import aerys.minko.render.ressource.IRessource;
-	import aerys.minko.render.renderer.state.RenderState;
-	import aerys.minko.scene.node.*;
-	import aerys.minko.scene.node.group.*;
-	import aerys.minko.scene.node.mesh.*;
-	import aerys.minko.scene.node.texture.*;
-	import aerys.minko.scene.visitor.*;
 	import aerys.minko.scene.action.IAction;
-	import aerys.minko.scene.action.IActionTarget;
-	import aerys.minko.scene.visitor.data.*;
-	import aerys.minko.type.stream.IndexStream;
-	import aerys.minko.type.stream.VertexStreamList;
+	import aerys.minko.scene.node.IScene;
+	import aerys.minko.scene.visitor.ISceneVisitor;
+	import aerys.minko.scene.visitor.data.CameraData;
+	import aerys.minko.scene.visitor.data.IWorldData;
+	import aerys.minko.scene.visitor.data.LocalData;
+	import aerys.minko.scene.visitor.data.RenderingData;

-	import flash.display.ActionScriptVersion;
 	import flash.utils.Dictionary;

 	public class RenderingVisitor implements ISceneVisitor
 	{
-		use namespace minko;
-
 		protected var _renderer			: IRenderer;
 		protected var _numNodes			: uint;


Commit test

Commit test

--- src/Converter.as
+++ src/Converter.as
@@ -5,6 +5,7 @@
 		public static function convert(input:String):String
 		{
 			var output:String = input;
+			// test

 			/*
 			Format Class Variables


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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstance.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 5545
Author:   jimurphy@adobe.com
Date:     2009-03-25T19:00:52.330680Z

Log Message:
-----------
1st pass of rename according to the spec http://opensource.adobe.com/wiki/display/flexsdk/Dropping+the+Fx+Prefix

Flex now requires CSS Style declarations to declare @namespace rules and disambiguate between halo and spark components using CSS 3 namespace prefixes on type selectors. At compile time, this namespace information will be used to map type names to qualified ActionScript class names. At runtime, type selectors are matched on qualified ActionScript class name (for example mx.controls.Button rather than just Button). Flex 3 applications must be compiled with -compatibility-version=3.0.0 to get unqualified CSS type selector behavior.

QE: Yes, this build may help in updating test cases to use the new namespaces and class names.
Dev: Not yet
Doc: Not yet

Modified Paths:
--------------
748 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstance.as
@@ -9,17 +9,17 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package mx.effects.effectClasses
+package spark.effects.supportClasses
 {

 import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;

-import mx.components.Group;
+import spark.components.Group;

 import mx.core.mx_internal;
 import mx.effects.effectClasses.ActionEffectInstance;
-import mx.effects.AddAction;
+import spark.effects.AddAction;
 import mx.core.IVisualElementContainer;

 /**


FLEX-34376 TreeItemRenderer null check.  Accept patch from Joao Fernandes

--- frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as
+++ frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as
@@ -363,7 +363,7 @@
             disclosureIcon = null;
         }

-        if (_data != null)
+        if (_data != null && _listData != null)
         {
             listOwner = Tree(_listData.owner);


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

--- frameworks/projects/spark/src/spark/components/supportClasses/Range.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/Range.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.components.supportClasses
 {


OFC-1383 - Form rendering slow on older machines

--- collect-client/src/main/flex/org/openforis/collect/client/AbstractClient.as
+++ collect-client/src/main/flex/org/openforis/collect/client/AbstractClient.as
@@ -13,7 +13,7 @@
 		internal static const CONCURRENCY_MULTIPLE:String = Concurrency.MULTIPLE;
 		internal static const CONCURRENCY_SINGLE:String = Concurrency.SINGLE;
 		internal static const CONCURRENCY_LAST:String = Concurrency.LAST;
-		internal static const TIMEOUT_SECONDS:int = 60;
+		internal static const TIMEOUT_SECONDS:int = 120;

 		internal var _remoteObject:RemoteObject;


Transferred from the Adobe Open Source Subversion Repository

Revision: 20690
Author:   mhorn@adobe.com
Date:     2011-03-08T20:26:51.755036Z

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/Legend.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/PieChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/PlotChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/series/items/LineSeriesSegment.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/CandlestickChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/HLOCChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/InstanceCache.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/series/BarSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/Series.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/LineChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/BubbleChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/effects/SeriesZoom.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/ColumnChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/DateTimeAxis.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/BarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/AreaChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/charts/src/mx/charts/chartClasses/ChartElement.as</path>

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

--- frameworks/projects/charts/src/mx/charts/chartClasses/ChartElement.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/ChartElement.as
@@ -205,8 +205,8 @@
      */
     public function set dataProvider(value:Object):void
     {
-		if(_userDataProvider == value)
-			return;
+        if(_userDataProvider == value)
+            return;
         _userDataProvider = value;
         processNewDataProvider(value);
     }
@@ -246,7 +246,7 @@
     public function set dataTransform(value:DataTransform):void
     {
         _dataTransform = value;
-		var n:int = numChildren;
+        var n:int = numChildren;
         for (var i:uint = 0; i < n; i++)
         {
             var g:DisplayObject = getChildAt(i);
@@ -457,6 +457,8 @@
      *  to the exact coordinates to be considered "under".
      *  This property is similar to the value of the mouseSensitivity
      *  property of the chart control.
+     *
+     *  @return An array of HitData.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -467,7 +469,7 @@
                                    sensitivity2:Number):Array /* of HitData */
     {
         var result:Array /* of HitData */ = [];
-		var n:int = numChildren;
+        var n:int = numChildren;
         for (var i:int = n - 1; i >= 0; i--)
         {
             var g:IChartElement = getChildAt(i) as IChartElement;
@@ -500,7 +502,7 @@
     public function getAllDataPoints():Array /* of HitData */
     {
         var result:Array /* of HitData */ = [];
-		var n:int = numChildren;
+        var n:int = numChildren;
         for (var i:int = n - 1; i >= 0; i--)
         {
             var g:IChartElement2 = getChildAt(i) as IChartElement2;


Transferred from the Adobe Open Source Subversion Repository

Revision: 1098
Author:   jimurphy@adobe.com
Date:     2008-04-03T21:50:39.896200Z

Log Message:
-----------
Merge 3.0.x -- 362:394, 427:429, 603:608, 644:645, 651:663, 672:676, 755:756, 763:766, 785:790, 812:814, 854:861, 862:866, 866:933,971:1009, 1050:1056 --> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.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/framework/src/mx/core/IRepeaterClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.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/framework/src/mx/resources/Locale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IBrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ComponentDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IViewCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/IMenuItemRenderer.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/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ILayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Spacer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Fault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/XMLListCollection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SliderEvent.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/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ScrollEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/CuePointManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/NumericStepperEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/CursorBookmark.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/LoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/FlexClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/LogLogger.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/HeaderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/ITreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>

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

--- frameworks/projects/framework/src/mx/collections/XMLListCollection.as
+++ frameworks/projects/framework/src/mx/collections/XMLListCollection.as
@@ -89,9 +89,9 @@
      */
     public function set source(s:XMLList):void
     {
-		if (list)
-			XMLListAdapter(list).source = null;
-
+        if (list)
+            XMLListAdapter(list).source = null;
+
         list = new XMLListAdapter(s);
     }

@@ -250,6 +250,8 @@
     /**
      * Calls the text() method of each XML object in
      *  the XMLList and returns an XMLList containing the results.
+     *
+     *  @return The XMLList that contains the result.
      *
      *  @see XML#text()
      */
@@ -278,6 +280,8 @@
      *  Use the toXMLString() method if you want to preserve these
      *  in the returned string for XML objects with simple content.

      *
+     *  @return The string representation of the XMLList object.
+     *
      *  @see XML#prettyPrinting
      */
     override public function toString():String


Transferred from the Adobe Open Source Subversion Repository

Revision: 5052
Author:   smgilson@adobe.com
Date:     2009-02-24T14:38:26.287098Z

Log Message:
-----------
Fix [Deprecated] link for ASDoc - Take II

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as

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

--- frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as
@@ -120,7 +120,7 @@
      */
     private static var commonMatrix:Matrix = new Matrix();

-    [Deprecated(replacement="draw()")]
+    [Deprecated(replacement="LinearGradientStroke.draw()")]
     /**
      *  Applies the properties to the specified Graphics object.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 20845
Author:   mhorn@adobe.com
Date:     2011-03-14T15:29:23.391952Z

Log Message:
-----------
merge 20756,20790,20712,20805

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/StringUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as
@@ -127,26 +127,26 @@
      */
     private static var commonMatrix:Matrix = new Matrix();

-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------

     //----------------------------------
-	//  matrix
-	//----------------------------------
+    //  matrix
+    //----------------------------------

     /**
      *  @private
      */
     override public function set matrix(value:Matrix):void
     {
-    	scaleX = NaN;
-    	super.matrix = value;
-    }
-
-	//----------------------------------
+        scaleX = NaN;
+        super.matrix = value;
+    }
+
+    //----------------------------------
     //  scaleX
     //----------------------------------

@@ -199,16 +199,21 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
-	{
-		commonMatrix.identity();
-
+    {
+        commonMatrix.identity();
+
         graphics.lineStyle(weight, 0, 1, pixelHinting, scaleMode,
                     caps, joints, miterLimit);

         if (targetBounds)
-        	calculateTransformationMatrix(targetBounds, commonMatrix, targetOrigin);
+            calculateTransformationMatrix(targetBounds, commonMatrix, targetOrigin);

         graphics.lineGradientStyle(GradientType.LINEAR, colors,
                             alphas, ratios,
@@ -254,7 +259,7 @@
             {
                 // Figure out the two sides
                 if (rotation % 90 != 0)
-                {
+                {
                     // Normalize angles with absolute value > 360
                     var normalizedAngle:Number = rotation % 360;
                     // Normalize negative angles
@@ -303,11 +308,11 @@
             if (!isNaN(tx) && !isNaN(ty))
                 matrix.translate(GRADIENT_DIMENSION / 2, GRADIENT_DIMENSION / 2); // 1638.4 / 2

-			// Force the length to a absolute minimum of 2. Values of 0, 1, or -1 have undesired behavior
-			if (length >= 0 && length < 2)
-				length = 2;
-			else if (length < 0 && length > -2)
-				length = -2;
+            // Force the length to a absolute minimum of 2. Values of 0, 1, or -1 have undesired behavior
+            if (length >= 0 && length < 2)
+                length = 2;
+            else if (length < 0 && length > -2)
+                length = -2;

             // Scale the gradient in the x direction. The natural size is 1638.4px. No need
             // to scale the y direction because it is infinite
@@ -322,7 +327,7 @@
                 ty = targetBounds.top + targetBounds.height / 2;
             else
                 ty += targetOrigin.y;
-            matrix.translate(tx, ty);
+            matrix.translate(tx, ty);
         }
         else
         {
@@ -330,7 +335,7 @@
             matrix.scale(1 / GRADIENT_DIMENSION, 1 / GRADIENT_DIMENSION);
             matrix.concat(compoundTransform.matrix);
             matrix.translate(targetOrigin.x, targetOrigin.y);
-        }
+        }
     }

 }


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


Transferred from the Adobe Open Source Subversion Repository

Revision: 18161
Author:   chiedozi@adobe.com
Date:     2010-10-14T23:15:44.404213Z

Log Message:
-----------
The ViewNavigator components now manage their orientation internally based on the stage width and height.  The landscapeOrientation property has been removed from all the components.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/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/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as
@@ -17,6 +17,7 @@
 import flash.events.StageOrientationEvent;
 import flash.ui.Keyboard;

+import mx.core.FlexGlobals;
 import mx.core.InteractionMode;
 import mx.core.mx_internal;
 import mx.managers.IFocusManagerComponent;
@@ -140,17 +141,6 @@
         mxmlContent = elements;

     }
-
-    // Returns true if the stage is in landscape orientation
-    private function get landscapeOrientation():Boolean
-    {
-        if (systemManager && systemManager.stage)
-            return systemManager.stage.deviceOrientation == StageOrientation.ROTATED_LEFT ||
-                systemManager.stage.deviceOrientation == StageOrientation.ROTATED_RIGHT;
-        else
-            return false;
-    }
-

     //--------------------------------------------------------------------------
     //
@@ -212,7 +202,8 @@

     override protected function getCurrentSkinState():String
     {
-        if (!landscapeOrientation)
+    	// TODO (jszeto): Just concat "AndLandscape" with super call if in landscape orientation
+        if (FlexGlobals.topLevelApplication.aspectRatio == "portrait")
             return super.getCurrentSkinState();
         else
             return enabled ? "normalAndLandscape" : "disabledAndLandscape";


- change: Added fix for player bug that results in a wrong character being returned for 'ß'.toUpperCase(). Now, the Label converts 'ß' to 'SS' if text-transform: uppercase is set.

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

--- src/reprise/controls/Label.as
+++ src/reprise/controls/Label.as
@@ -692,6 +692,10 @@
 			{
 				case 'uppercase':
 				{
+					if (text.indexOf('ß') != -1)
+					{
+						text = text.split('ß').join('SS');
+					}
 					text = text.toUpperCase();
 					break;
 				}


Transferred from the Adobe Open Source Subversion Repository

Revision: 115
Author:   rfrishbe@adobe.com
Date:     2008-01-07T23:49:42.372428Z

Log Message:
-----------
Bindable issues: Need to make some properties bindable by adding the appropriate metadata and dispatchEvent calls.  Bindable metadata needs to be copied when overriding a getter.

Bugs: SDK-13841
QA: Yes
Doc: No
Review: Gordon
Cyclone: Yes

[ private comments below ]

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -1173,6 +1173,10 @@
     //  horizontalScrollPosition
     //----------------------------------

+	[Bindable("scroll")]
+    [Bindable("viewChanged")]
+    [Inspectable(defaultValue="0")]
+
     /**
      *  @private
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 18323
Author:   smgilson@adobe.com
Date:     2010-10-26T17:50:12.524532Z

Log Message:
-----------
Fix invalid HTML in ASDoc comments for the [DiscouragedForProfile] metadata tag

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TitleWindow.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBarButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Form.as</path>

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

--- frameworks/projects/spark/src/spark/components/DropDownList.as
+++ frameworks/projects/spark/src/spark/components/DropDownList.as
@@ -34,7 +34,7 @@
  * Because this component does not define a skin for the mobile theme, Adobe
  * recommends that you not use it in a mobile application. Alternatively, you
  * can define your own mobile skin for the component. For more information,
- * see Spark Skinning.
+ * see Spark Skinning.
  */
 [DiscouragedForProfile("mobileDevice")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 17973
Author:   dloverin@adobe.com
Date:     2010-09-30T22:28:57.338114Z

Log Message:
-----------
First delivery of DataGrid editor code.

Still a ways to go to get it ready for testing and get the APIs correct.

QE notes: Not ready for testing.
Doc notes: None.
Bugs:
Reviewer: Hans, Alex (FocusManager)
Tests run: cyclone server
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/IGridItemEditor.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/DataGridEditEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/TextGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as
@@ -0,0 +1,176 @@
+package spark.components
+{
+import mx.core.IDataRenderer;
+import mx.core.IVisualElement;
+import mx.managers.IFocusManagerComponent;
+
+import spark.components.supportClasses.GridItemRenderer;
+import spark.components.supportClasses.GridColumn;
+import spark.components.DataGrid;
+
+/**
+ *  Grid item editors must implement this interface.
+ *
+ *
All of the item editor's properties are set by the DataGrid during
+ *  the start of the editor session. After they've been set, the editor's
+ *  prepare() method is called. IGridItemEditor
+ *  implementations should override the preprare() method to make any final
+ *  adjustments to its properties or any aspect of its visual elements.
+ *  When the editor is closing the discard() method is called.

+ *
+ *
When the editor is closed the input value can be saved or cancelled. If saving,
+ * the save() function is called. If canceling the
+ * cancel() function is called.
+ *

+ */
+public interface IGridItemEditor extends IDataRenderer, IVisualElement, IFocusManagerComponent
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  dataGrid
+    //----------------------------------
+
+    /**
+     *  The dataGrid that owns this editor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function get dataGrid():DataGrid;
+
+    //----------------------------------
+    //  column
+    //----------------------------------
+
+    /**
+     *  The column that is being edited.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function get column():GridColumn;
+    function set column(value:GridColumn):void;
+
+    //----------------------------------
+    //  columnIndex
+    //----------------------------------
+
+    /**
+     *  The zero-based index of the column that is being edited.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function get columnIndex():int;
+    function set columnIndex(value:int):void;
+
+    //----------------------------------
+    //  rowIndex
+    //----------------------------------
+
+    /**
+     *  The zero-based index of the row that is being edited.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function get rowIndex():int;
+    function set rowIndex(value:int):void;
+
+    //----------------------------------
+    //  value
+    //----------------------------------
+
+    /**
+     *  The value of the edit control. This is set by the data grid when
+     *  the editor is first created. When the editor is saved, the
+     *  data grid gets the editor value from this property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function get value():Object;
+    function set value(newValue:Object):void;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Called after the editor has been created and sized but before the
+     *  editor is visible. This is an oppurtunity to adjust the look of
+     *  the editor before it becomes visible.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function prepare():void;
+
+    /**
+     *  Called just before the editor is closed. This is a chance
+     *  of clean up anything that was set in prepare().
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function discard():void;
+
+    /**
+     *  Tests if the value in the editor is valid and may be saved.
+     *
+     *  @returns true if the value in the editor is valid. Otherwise
+     *  false is returned.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function validate():Boolean;
+
+    /**
+     *  Saves the value in the editor back into the item renderer's
+     *  data. This function calls validate() to verify
+     *  the data may be saved. If the data is not valid, then the
+     *  data is not saved and the editor is not closed.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function save():Boolean;
+
+    /**
+     *  Closes the editor without saving the data.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function cancel():void;
+
+}
+}


asdoc

asdoc

git-svn-id: 4969af7a11582c80b682e8a73ed7b35a57fe0a9c@128900 3e83ccf1-c6ce-0310-9054-8fdb33cf0640

--- zucchini.lib/src/pl/ydp/automation/execution/storage/StorageManager.as
+++ zucchini.lib/src/pl/ydp/automation/execution/storage/StorageManager.as
@@ -6,6 +6,13 @@

 	/**
 	 * Klasa rozwiązująca ścieżki do poszczególnych zasobów.
+	 *
+	 * WAŻNE:
+	 * Jest to jedyna klasa, która determinuje architekturę
+	 * testowanej aplikacji. Dobrym rozwiązaniem byłoby
+	 * stworzenie bardziej abstrakcyjnego interfejsu (np. IStorage)
+	 * i przekazanie jego implementacji	jako parametr aplikacji,
+	 * który będzie wtryskiwany w bibliotece.
 	 */
 	public class StorageManager
 	{


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

--- frameworks/projects/framework/src/mx/modules/ModuleManagerGlobals.as
+++ frameworks/projects/framework/src/mx/modules/ModuleManagerGlobals.as
@@ -0,0 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.modules
+{
+
+/**
+ *  @private
+ */
+public class ModuleManagerGlobals
+{
+	public static var managerSingleton:Object = null;
+}
+
+}
+


Transferred from the Adobe Open Source Subversion Repository

Revision: 21957
Author:   jasonsj@adobe.com
Date:     2011-08-12T18:34:39.058045Z

Log Message:
-----------
Add a flag to StyleProtoChain.initProtoChain() to allow pop-ups to disable inheriting styles from it's owner. Callout overrides initProtoChain() to change the default from false to true. This blocks Callout from accidentally inheriting undesired styles from it's owner that change the default appearance of it's contents.

QE notes: No longer need to undo the owner's styles inside Callout  and CalloutButton contents.
Doc notes: Callout takes inherited styles from the application.
Bugs:
SDK-31139 Callout contents inherit styles from the owner
Reviewer: gruehle
Tests run: checkintests, mustella, mustella-mobile
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/Callout.as
+++ frameworks/projects/mobilecomponents/src/spark/components/Callout.as
@@ -28,6 +28,7 @@
 import mx.core.mx_internal;
 import mx.events.ResizeEvent;
 import mx.managers.SystemManager;
+import mx.styles.StyleProtoChain;
 import mx.utils.MatrixUtil;
 import mx.utils.PopUpUtil;

@@ -561,6 +562,15 @@
         // Position the arrow
         updateSkinDisplayList();
     }
+
+    /**
+     *  @private
+     *  Force callout inheritance chain to start at the style root.
+     */
+    override mx_internal function initProtoChain():void
+    {
+        StyleProtoChain.initProtoChain(this, false);
+    }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 4106
Author:   rfrishbe@adobe.com
Date:     2008-11-14T01:56:47.949068Z

Log Message:
-----------
Mostly rename changes.  IVisualItem -> IVisualElement.  IVisualContainer -> IVisualElementContainer.  Also changed the APIs so that it's addElement, removeElement, etc.. instead of addItem, removeItem, etc...  Moreover, all of these APIs have been added to IVisualElementContainer (not just the read-only ones).  Now there's a common interface for all containers (even Halo's Container class implements it).  There's no more need to do:

if (x is Group || x is FxContainer)

Just use the IVisualElementContainer interface.

Some classes, like FxScroller (and perhaps DataGroup/FxDataContainer), will only implement the "getter" part of the API.  For now, if you call the mutation methods, we will throw an exception.  Perhaps later we'll add a separate interface for the read-only portion and the mutator interface will extend that one.

There might be a few more places in the code that need to be updated to use the new names for the methods.  I know Mustella needs cleaning up so it doesn't use getItem and uses getElement instead.  I've left the old APIs in there exactly for this purpose, so we can gradually move over to the new names (esp. QA).

At some point soon, we will remove the old methods as well as type them more strictly to only accept IVisualElements, for example addElement(element:IVisualElement).  Part of this work is dependent on updating the Flash Component Kit so that it implements IVisualElement (and perhaps IVisualElementContainer for containers).

Ran checkintests and all gumbo mustella tests.

QE Notes: Please update your tests to use addElement, removeElement, etc... along with the new IVisualElementContainer interface.  The old APIs (addItem, removeItem, etc...) will be removed soon.
Doc Notes: None
Bugs: -
Reviewer: Hans (he patiently sat through all these files...)

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IVisualContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IUIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as" copyfrom-rev="4083" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IVisualContainer.as" copyfrom-rev="4083" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElementContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableContainer.as
@@ -21,8 +21,8 @@
 import mx.core.IDeferredContentOwner;
 import mx.core.IDeferredInstance;
 import mx.core.IFactory;
-import mx.core.IVisualContainer;
-import mx.core.IVisualItem;
+import mx.core.IVisualElement;
+import mx.core.IVisualElementContainer;
 import mx.core.IUIComponent;
 import mx.core.IViewport;
 import mx.core.ScrollUnit;
@@ -74,7 +74,7 @@
  *  @see FxDataContainer
  */
 public class FxContainer extends FxContainerBase
-       implements IDeferredContentOwner, IVisualContainer, IViewport
+       implements IDeferredContentOwner, IViewport, IVisualElementContainer
 {
     include "../core/Version.as";

@@ -455,84 +455,171 @@
     //--------------------------------------------------------------------------

     /**
-     *  @copy mx.components.Group#numItems
+     *  @inheritDoc
+     */
+    public function get numElements():int
+    {
+        return mx_internal::currentContentGroup.numElements;
+    }
+
+    /**
+     *  @inheritDoc
+     */
+    public function getElementAt(index:int):Object
+    {
+        return mx_internal::currentContentGroup.getElementAt(index);
+    }
+
+
+    /**
+     *  @inheritDoc
+     */
+    public function getElementIndex(element:Object):int
+    {
+        return mx_internal::currentContentGroup.getElementIndex(element);
+    }
+
+    /**
+     *  @inheritDoc
+     */
+    public function addElement(element:Object):Object
+    {
+        return mx_internal::currentContentGroup.addElement(element);
+    }
+
+    /**
+     *  @inheritDoc
+     */
+    public function addElementAt(element:Object, index:int):Object
+    {
+        return mx_internal::currentContentGroup.addElementAt(element, index);
+    }
+
+    /**
+     *  @inheritDoc
+     */
+    public function removeElement(element:Object):Object
+    {
+        return mx_internal::currentContentGroup.removeElement(element);
+    }
+
+    /**
+     *  @inheritDoc
+     */
+    public function removeElementAt(index:int):Object
+    {
+        return mx_internal::currentContentGroup.removeElementAt(index);
+    }
+
+    /**
+     *  @inheritDoc
+     */
+    public function setElementIndex(element:Object, index:int):void
+    {
+        mx_internal::currentContentGroup.setElementIndex(element, index);
+    }
+
+    /**
+     *  @inheritDoc
+     */
+    public function swapElements(element1:Object, element2:Object):void
+    {
+        mx_internal::currentContentGroup.swapElements(element1, element2);
+    }
+
+    /**
+     *  @inheritDoc
+     */
+    public function swapElementsAt(index1:int, index2:int):void
+    {
+        mx_internal::currentContentGroup.swapElementsAt(index1, index2);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  DEPRECATED Methods proxied to contentGroup
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  This method is deprecated and will be removed from FxContainer.
      */
     public function get numItems():int
     {
-        return mx_internal::currentContentGroup.numItems;
-    }
-
-    /**
-     *  @copy mx.components.Group#getItemAt()
+        return numElements;
+    }
+
+    /**
+     *  This method is deprecated and will be removed from FxContainer.
      */
     public function getItemAt(index:int):Object
     {
-        return mx_internal::currentContentGroup.getItemAt(index);
-    }
-
-
-    /**
-     *  @copy mx.components.Group#getItemIndex()
+        return getElementAt(index);
+    }
+
+
+    /**
+     *  This method is deprecated and will be removed from FxContainer.
      */
     public function getItemIndex(item:Object):int
     {
-        return mx_internal::currentContentGroup.getItemIndex(item);
-    }
-
-    /**
-     *  @copy mx.components.Group#addItem()
+        return getElementIndex(item);
+    }
+
+    /**
+     *  This method is deprecated and will be removed from FxContainer.
      */
     public function addItem(item:Object):Object
     {
-        return mx_internal::currentContentGroup.addItem(item);
-    }
-
-    /**
-     *  @copy mx.components.Group#addItemAt()
+        return addElement(item);
+    }
+
+    /**
+     *  This method is deprecated and will be removed from FxContainer.
      */
     public function addItemAt(item:Object, index:int):Object
     {
-        return mx_internal::currentContentGroup.addItemAt(item, index);
-    }
-
-    /**
-     *  @copy mx.components.Group#removeItem()
+        return addElementAt(item, index);
+    }
+
+    /**
+     *  This method is deprecated and will be removed from FxContainer.
      */
     public function removeItem(item:Object):Object
     {
-        return mx_internal::currentContentGroup.removeItem(item);
-    }
-
-    /**
-     *  @copy mx.components.Group#removeItemAt()
+        return removeElement(item);
+    }
+
+    /**
+     *  This method is deprecated and will be removed from FxContainer.
      */
     public function removeItemAt(index:int):Object
     {
-        return mx_internal::currentContentGroup.removeItemAt(index);
-    }
-
-    /**
-     *  @copy mx.components.Group#setItemIndex()
+        return removeElementAt(index);
+    }
+
+    /**
+     *  This method is deprecated and will be removed from FxContainer.
      */
     public function setItemIndex(item:Object, index:int):void
     {
-        mx_internal::currentContentGroup.setItemIndex(item, index);
-    }
-
-    /**
-     *  @copy mx.components.Group#swapItems()
+        setElementIndex(item, index);
+    }
+
+    /**
+     *  This method is deprecated and will be removed from FxContainer.
      */
     public function swapItems(item1:Object, item2:Object):void
     {
-        mx_internal::currentContentGroup.swapItems(item1, item2);
-    }
-
-    /**
-     *  @copy mx.components.Group#swapItemsAt()
+        swapElements(item1, item2);
+    }
+
+    /**
+     *  This method is deprecated and will be removed from FxContainer.
      */
     public function swapItemsAt(index1:int, index2:int):void
     {
-        mx_internal::currentContentGroup.swapItemsAt(index1, index2);
+        swapElementsAt(index1, index2);
     }

     //----------------------------------
@@ -600,9 +687,9 @@
                     contentGroup.content = _placeHolderGroup.content;

                 // Temporary workaround because copying content from one Group to another throws RTE
-                for (var i:int = _placeHolderGroup.numItems; i > 0; i--)
+                for (var i:int = _placeHolderGroup.numElements; i > 0; i--)
                 {
-                    _placeHolderGroup.removeItemAt(0);
+                    _placeHolderGroup.removeElementAt(0);
                 }

             }
@@ -760,8 +847,8 @@
     private function contentGroup_itemAddedHandler(event:ItemExistenceChangedEvent):void
     {
         // TODO (rfrishbe): need to check for IUIComponent
-        // as well if checking for IVisualItem?
-        if (event.relatedObject is IVisualItem ||
+        // as well if checking for IVisualElement?
+        if (event.relatedObject is IVisualElement ||
             event.relatedObject is IUIComponent)
         {
             event.relatedObject.owner = this;
@@ -774,8 +861,8 @@
     private function contentGroup_itemRemovedHandler(event:ItemExistenceChangedEvent):void
     {
         // TODO (rfrishbe): need to check for IUIComponent
-        // as well if checking for IVisualItem?
-        if (event.relatedObject is IVisualItem ||
+        // as well if checking for IVisualElement?
+        if (event.relatedObject is IVisualElement ||
             event.relatedObject is IUIComponent)
         {
             event.relatedObject.owner = null;


Transferred from the Adobe Open Source Subversion Repository

Revision: 119
Author:   shodgson@adobe.com
Date:     2008-01-08T05:22:59.879412Z

Log Message:
-----------
[ private comments below ]

Bugs: 213924 - [NIO Server] Not failing over correctly when using streaming channel and per-session connection limit for user agent is reached.
QA: Yes - Alex has already run a test pass.
Doc: No

Details:
Streaming connections now wait to move their channel to a connected state until after reading an initial 'ack' message of the stream; previously they advanced to connected when the first byte over the connection arrived even if that byte was the beginning of an Http error response. Streaming connections are also now given a server assigned id (returned in the initial ack pushed down to the client) to support improved shutdown/disconnect.

Also, removed a dead private constant from PollingChannel.

Modified Paths:
--------------
<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/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as
@@ -819,17 +819,5 @@
         {
         	pollingChannel.pollFailed(false);
         }
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    // Static Constants
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     *  Code that indicates a poll message faulted because the agent isn't subscribed.
-     */
-    private static const NOT_SUBSCRIBED_CODE:String = "Server.Processing.NotSubscribed";
+    }
 }


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

--- frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as
+++ frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


now waiting for cache to load before requesting columns.

--- WeaveData/src/weave/data/DataSources/WeaveAnalystDataSource.as
+++ WeaveData/src/weave/data/DataSources/WeaveAnalystDataSource.as
@@ -69,16 +69,15 @@
 			promise.depend(url, scriptName, inputs, hierarchyRefresh);
 			if (!cacheFile)
 			{
-				cacheFileName = getQualifiedClassName(WeaveAnalystDataSource).split('::').join('.') + '.cache';
 				// register static LinkableFile as a child of the globalHashMap so it will not be disposed when an instance of this data source is disposed.
-				cacheFile = registerLinkableChild(WeaveAPI.globalHashMap, new LinkableFile(URLRequestUtils.LOCAL_FILE_URL_SCHEME + cacheFileName), parseCacheFile);
+				cacheFile = registerLinkableChild(WeaveAPI.globalHashMap, new LinkableFile(URLRequestUtils.LOCAL_FILE_URL_SCHEME + CACHE_FILE_NAME), parseCacheFile);
 			}
 			registerLinkableChild(this, cacheFile, runScript);
 		}

 		private static const CACHE_STATE:String = 'sessionState';
 		private static const CACHE_OUTPUT_STATE:String = 'outputCSV';
-		private static var cacheFileName:String;
+		private static const CACHE_FILE_NAME:String = 'WeaveAnalystDataSource.cache';
 		private static var cacheFile:LinkableFile = null;
 		private static var cache:Object;
 		private static function parseCacheFile():void
@@ -91,6 +90,23 @@
 			{
 				// ignore error
 			}
+		}
+		/**
+		 * @return true if data was loaded from cache
+		 */
+		private static function loadCache(source:WeaveAnalystDataSource):Boolean
+		{
+			var currentState:Object = getSessionState(source);
+			var sourceName:String = WeaveAPI.globalHashMap.getName(source);
+			if (cache && cache[sourceName])
+			{
+				if (WeaveAPI.SessionManager.computeDiff(currentState, cache[sourceName][CACHE_STATE]) === undefined)
+				{
+					setSessionState(source.outputCSV, cache[sourceName][CACHE_OUTPUT_STATE]);
+					return true;
+				}
+			}
+			return false;
 		}
 		private static function saveCache(source:WeaveAnalystDataSource):void
 		{
@@ -102,7 +118,7 @@
 			cache[name][CACHE_OUTPUT_STATE] = getSessionState(source.outputCSV);
 			var bytes:ByteArray = new ByteArray();
 			bytes.writeObject(cache);
-			WeaveAPI.URLRequestUtils.saveLocalFile(cacheFileName, bytes);
+			WeaveAPI.URLRequestUtils.saveLocalFile(CACHE_FILE_NAME, bytes);
 		}

 		public const url:LinkableString = registerLinkableChild(this, new LinkableString('/WeaveAnalystServices/ComputationalServlet'), handleURLChange);
@@ -135,18 +151,13 @@
 			// if callbacks are delayed, we assume that hierarchyRefresh will be explicitly triggered later.
 			if (getCallbackCollection(this).callbacksAreDelayed)
 				return;
+
+			if (linkableObjectIsBusy(cacheFile))
+				return;

 			// read from cache if present
-			var currentState:Object = getSessionState(this);
-			var name:String = WeaveAPI.globalHashMap.getName(this);
-			if (cache && cache[name])
-			{
-				if (WeaveAPI.SessionManager.computeDiff(currentState, cache[name][CACHE_STATE]) === undefined)
-				{
-					setSessionState(outputCSV, cache[name][CACHE_OUTPUT_STATE]);
-					return;
-				}
-			}
+			if (loadCache(this))
+				return;

 			// force retrieval of referenced columns
 			for each (var refCol:ReferencedColumn in getLinkableDescendants(inputs, ReferencedColumn))
@@ -203,7 +214,7 @@
 				_service.invokeAsyncMethod('runScriptWithInputs', [scriptName.value, simpleInputs, columnData]),
 				handleScriptResult,
 				handleScriptError,
-				currentState
+				getSessionState(this)
 			);
 		}


added outputKeyType and outputKeyColumn

added outputKeyType and outputKeyColumn

--- WeaveData/src/weave/data/DataSources/WeaveAnalystDataSource.as
+++ WeaveData/src/weave/data/DataSources/WeaveAnalystDataSource.as
@@ -15,11 +15,7 @@

 package weave.data.DataSources
 {
-	import avmplus.getQualifiedClassName;
-
 	import flash.utils.ByteArray;
-
-	import flashx.textLayout.tlf_internal;

 	import mx.rpc.events.FaultEvent;
 	import mx.rpc.events.ResultEvent;
@@ -42,6 +38,7 @@
 	import weave.api.registerLinkableChild;
 	import weave.api.reportError;
 	import weave.api.setSessionState;
+	import weave.compiler.StandardLib;
 	import weave.core.LinkableDynamicObject;
 	import weave.core.LinkableFile;
 	import weave.core.LinkableHashMap;
@@ -67,12 +64,15 @@
 		public function WeaveAnalystDataSource()
 		{
 			promise.depend(url, scriptName, inputs, hierarchyRefresh);
+			registerLinkableChild(this, outputCSV.keyType);
+			registerLinkableChild(this, outputCSV.keyColName);
 			if (!cacheFile)
 			{
 				// register static LinkableFile as a child of the globalHashMap so it will not be disposed when an instance of this data source is disposed.
 				cacheFile = registerLinkableChild(WeaveAPI.globalHashMap, new LinkableFile(URLRequestUtils.LOCAL_FILE_URL_SCHEME + CACHE_FILE_NAME), parseCacheFile);
 			}
 			registerLinkableChild(this, cacheFile, runScript);
+			getCallbackCollection(this).addGroupedCallback(this, saveCache);
 		}

 		private static const CACHE_STATE:String = 'sessionState';
@@ -94,37 +94,60 @@
 		/**
 		 * @return true if data was loaded from cache
 		 */
-		private static function loadCache(source:WeaveAnalystDataSource):Boolean
-		{
-			var currentState:Object = getSessionState(source);
-			var sourceName:String = WeaveAPI.globalHashMap.getName(source);
+		private function loadCache():Boolean
+		{
+			var currentState:Object = getSessionState(this);
+			var sourceName:String = WeaveAPI.globalHashMap.getName(this);
 			if (cache && cache[sourceName])
 			{
 				if (WeaveAPI.SessionManager.computeDiff(currentState, cache[sourceName][CACHE_STATE]) === undefined)
 				{
-					setSessionState(source.outputCSV, cache[sourceName][CACHE_OUTPUT_STATE]);
+					setSessionState(this.outputCSV, cache[sourceName][CACHE_OUTPUT_STATE]);
 					return true;
 				}
 			}
 			return false;
 		}
-		private static function saveCache(source:WeaveAnalystDataSource):void
-		{
-			var name:String = WeaveAPI.globalHashMap.getName(source);
+		private function saveCache():void
+		{
+			// don't cache if something is still in progress
+			if (linkableObjectIsBusy(this))
+				return;
+
+			var newCacheValue:Object = null;
+			// if there is no output data, cache value should be removed
+			if (outputCSV.csvData.getSessionState() != null)
+			{
+				newCacheValue = {};
+				newCacheValue[CACHE_STATE] = getSessionState(this);
+				newCacheValue[CACHE_OUTPUT_STATE] = getSessionState(this.outputCSV);
+			}
+
 			if (!cache)
 				cache = {};
-			cache[name] = {};
-			cache[name][CACHE_STATE] = getSessionState(source);
-			cache[name][CACHE_OUTPUT_STATE] = getSessionState(source.outputCSV);
-			var bytes:ByteArray = new ByteArray();
-			bytes.writeObject(cache);
-			WeaveAPI.URLRequestUtils.saveLocalFile(CACHE_FILE_NAME, bytes);
+			var name:String = WeaveAPI.globalHashMap.getName(this);
+			// only update cache if something changed
+			if (StandardLib.compare(cache[name], newCacheValue) != 0)
+			{
+				cache[name] = newCacheValue;
+				var bytes:ByteArray = new ByteArray();
+				bytes.writeObject(cache);
+				WeaveAPI.URLRequestUtils.saveLocalFile(CACHE_FILE_NAME, bytes);
+			}
 		}

 		public const url:LinkableString = registerLinkableChild(this, new LinkableString('/WeaveAnalystServices/ComputationalServlet'), handleURLChange);
 		public const scriptName:LinkableString = newLinkableChild(this, LinkableString);
 		public const inputs:LinkableHashMap = newLinkableChild(this, LinkableHashMap);
 		public const inputKeyFilter:LinkableDynamicObject = registerLinkableChild(this, new LinkableDynamicObject(IKeyFilter));
+		public function get outputKeyType():LinkableString
+		{
+			return outputCSV.keyType;
+		}
+		public function get outputKeyColumn():LinkableString
+		{
+			return outputCSV.keyColName;
+		}

 		private const promise:LinkablePromise = registerLinkableChild(this, new LinkablePromise(runScript, describePromise, true));
 		private function describePromise():String { return lang("Running script {0}", scriptName.value); }
@@ -155,7 +178,7 @@
 				return;

 			// read from cache if present
-			if (loadCache(this))
+			if (loadCache())
 				return;

 			// force retrieval of referenced columns
@@ -247,8 +270,6 @@
 			}
 			else
 				outputCSV.setCSVData(null);
-
-			saveCache(this);
 		}

 		private function handleScriptError(event:FaultEvent, sessionState:Object):void


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

--- frameworks/projects/framework/src/mx/core/IRepeaterClient.as
+++ frameworks/projects/framework/src/mx/core/IRepeaterClient.as
@@ -0,0 +1,120 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.core
+{
+
+/**
+ *  The IRepeaterClient interface defines the APIs for components
+ *  that can have multiple instances created by a Repeater.
+ *  The IRepeaterClient interface is implemented by the UIComponent class
+ *  and so is inherited by all Flex framework controls and containers.
+ */
+public interface IRepeaterClient
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  instanceIndices
+	//----------------------------------
+
+	/**
+	 *  An Array that contains the indices required
+	 *  to reference the repeated component instance from its document.
+	 *  This Array is empty unless the component
+	 *  is within one or more Repeaters.
+	 *  The first element corresponds to the outermost Repeater.
+	 *  For example, if the id is "b"
+	 *  and instanceIndices is [ 2, 4 ],
+	 *  you would reference it on the document as b[2][4].
+	 */
+	function get instanceIndices():Array;
+
+	/**
+	 *  @private
+	 */
+	function set instanceIndices(value:Array):void;
+
+	//----------------------------------
+	//  isDocument
+	//----------------------------------
+
+	/**
+	 *  @copy mx.core.UIComponent#isDocument
+	 */
+	function get isDocument():Boolean;
+
+	//----------------------------------
+	//  repeaterIndices
+	//----------------------------------
+
+	/**
+	 *  An Array that contains the indices of the items in the data
+	 *  providers of the Repeaters that produced the component.
+	 *  The Array is empty unless the component is within one or more
+	 *  Repeaters.
+	 *  The first element corresponds to the outermost Repeater component.
+	 *  For example, if repeaterIndices is [ 2, 4 ],
+	 *  the outer Repeater component used its dataProvider[2]
+	 *  data item and the inner Repeater component used its
+	 *  dataProvider[4] data item.
+	 *
+	 *
This property differs from instanceIndices
+	 *  if the startingIndex of any of the Repeater components
+	 *  is non-zero.
+	 *  For example, even if a Repeater component starts at
+	 *  dataProvider item 4, the document reference of the first
+	 *  repeated component is b[0], not b[4].

+	 */
+	function get repeaterIndices():Array;
+
+	/**
+	 *  @private
+	 */
+	function set repeaterIndices(value:Array):void;
+
+	//----------------------------------
+	//  repeaters
+	//----------------------------------
+
+	/**
+	 *  An Array that contains any enclosing Repeaters of the component.
+	 *  The Array is empty unless the component is within one or more Repeaters.
+	 *  The first element corresponds to the outermost Repeater.
+	 */
+	function get repeaters():Array;
+
+	/**
+	 *  @private
+	 */
+	function set repeaters(value:Array):void;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Initializes the instanceIndices,
+	 *  repeaterIndices, and repeaters properties.
+	 *
+	 *
This method is called by the Flex framework.
+	 *  Developers should not need to call it.

+	 */
+	function initializeRepeaterArrays(parent:IRepeaterClient):void;
+}
+
+}


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

--- frameworks/projects/framework/src/mx/utils/IXMLNotifiable.as
+++ frameworks/projects/framework/src/mx/utils/IXMLNotifiable.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2006-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@1278168 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/collections/SortField.as
+++ frameworks/projects/spark/src/spark/collections/SortField.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-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.collections
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12380
Author:   smgilson@adobe.com
Date:     2009-12-02T18:37:15.838623Z

Log Message:
-----------
ASDoc edits in preparation for localization

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DisplayLayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>

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

--- frameworks/projects/spark/src/spark/components/HScrollBar.as
+++ frameworks/projects/spark/src/spark/components/HScrollBar.as
@@ -67,7 +67,6 @@
  *

  *

  *
- *
  *  @mxml
  *
The <s:HScrollBar> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:

@@ -83,6 +82,9 @@
  *  @see spark.skins.spark.HScrollBarSkin
  *  @see spark.skins.spark.HScrollBarThumbSkin
  *  @see spark.skins.spark.HScrollBarTrackSkin
+ *
+ *  @includeExample examples/HScrollBarExample.mxml
+ *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
@@ -250,24 +252,19 @@

     /**
-     *  If viewport is not null,
-     *  changes the horizontal scroll position for a page up or page down operation
-     *  by scrolling the viewport.
-     *  This method calculates the amount to scroll by calling the
-     *  IViewport.getHorizontalScrollPositionDelta() method
-     *  with either flash.ui.Keyboard.PAGE_UP
-     *  or flash.ui.Keyboard.PAGE_DOWN.
-     *  It then calls the setValue() method to
-     *  set the IViewport.horizontalScrollPosition property
-     *  to the appropriate value.
+     *  Increment value by a page if increase is true,
+     *  or decrement value  by a page if increase is false.
+     *  Increasing the scrollbar's value scrolls the viewport to the right.
+     *  Decreasing the value scrolls to the viewport to the left.
+     *
+     *
If the viewport property is set, then its
+     *  getHorizontalScrollPositionDelta() method
+     *  is used to compute the size of the page increment.
+     *  If viewport is null, then the scrollbar's
+     *  pageSize property is used.

      *
-     *
If viewport is null,
-     *  calling this method changes the scroll position for
-     *  a page up or page down operation by calling
-     *  the changeValueByPage() method.

-     *
-     *  @param increase Whether the page scroll is up (true) or
-     *  down (false).
+     *  @param increase Whether to increment (true) or
+     *  decrement (false) value.
      *
      *  @see spark.components.supportClasses.ScrollBarBase#changeValueByPage()
      *  @see spark.components.supportClasses.Range#setValue()


Transferred from the Adobe Open Source Subversion Repository

Revision: 7910
Author:   egeorgie@adobe.com
Date:     2009-06-17T01:41:55.138890Z

Log Message:
-----------
P-ARB changes:

* IGraphicElement sharedIndex -> DisplayObjectSharingMode
* ScrollUnit -> NavigationUnit
* LayoutBase.getDestinationIndex -> LayoutBase.getNavigationDestinationIndex, param order reversed!!!!
* mouseOpaque -> mouseEnabledWhereTransparent
* various other small renames and changes to non-public APIs

Doc Notes: None
Bugs: N/A
Reviewer: Deepa
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</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/flex4/src/spark/components/supportClasses/InvalidatingSprite.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/ScrollUnit.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/NavigationUnit.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/DisplayObjectSharingMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -17,7 +17,7 @@

 import spark.components.supportClasses.ScrollBar;
 import spark.core.IViewport;
-import spark.core.ScrollUnit;
+import spark.core.NavigationUnit;

 //--------------------------------------
 //  Other metadata
@@ -243,7 +243,7 @@
             // implementation.
             oldPageSize = pageSize;
             pageSize = Math.abs(viewport.getVerticalScrollPositionDelta(
-                (increase) ? ScrollUnit.PAGE_DOWN : ScrollUnit.PAGE_UP));
+                (increase) ? NavigationUnit.PAGE_DOWN : NavigationUnit.PAGE_UP));
         }
         super.page(increase);
         if (viewport)
@@ -258,7 +258,7 @@
         if (viewport)
         {
             var vpPageSize:Number = Math.abs(viewport.getVerticalScrollPositionDelta(
-                (newValue > value) ? ScrollUnit.PAGE_DOWN : ScrollUnit.PAGE_UP));
+                (newValue > value) ? NavigationUnit.PAGE_DOWN : NavigationUnit.PAGE_UP));
             super.animatePaging(newValue, vpPageSize);
             return;
         }
@@ -306,7 +306,7 @@
             // implementation.
             oldStepSize = stepSize;
             stepSize = Math.abs(viewport.getVerticalScrollPositionDelta(
-                (increase) ? ScrollUnit.DOWN : ScrollUnit.UP));
+                (increase) ? NavigationUnit.DOWN : NavigationUnit.UP));
         }
         super.step(increase);
         if (viewport)


Transferred from the Adobe Open Source Subversion Repository

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

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

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

Modified Paths:
--------------
151 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/WipeDirection.as
+++ frameworks/projects/spark/src/spark/effects/WipeDirection.as
@@ -16,6 +16,11 @@
  *  for the direction property of the FxWipe class.
  *
  *  @see mx.effects.FxWipe
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class WipeDirection
 {
@@ -29,21 +34,41 @@

     /**
      * Wipe direction that starts at the left and moves right
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const RIGHT:String = "right";

     /**
      * Wipe direction that starts at the bottom and moves up
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const UP:String = "up";

     /**
      * Wipe direction that starts at the right and moves left
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const LEFT:String = "left";

     /**
      * Wipe direction that starts at the top and moves down
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const DOWN:String = "down";
 }