Transferred from the Adobe Open Source Subversion Repository

Revision: 7731
Author:   egeorgie@adobe.com
Date:     2009-06-10T22:44:15.774641Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-18647 BasicLayout styles (e.g. top, left, bottom, right, verticalCenter, horizontalCenter) cannot be set at runtime when they are defined in CSS.

Fix: When the styleName changes, make sure we invalidate the layout of the parent as well.

Doc Notes: None
Bugs: SDK-18647
Reviewer: Glenn
tests: checkintests, mustella (components)

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as

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

--- frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
+++ frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
@@ -738,10 +738,10 @@

         if (parent)
         {
-            if (StyleManager.isParentSizeInvalidatingStyle(styleProp))
+            if (styleProp == "styleName" || StyleManager.isParentSizeInvalidatingStyle(styleProp))
                 parent.invalidateSize();

-            if (StyleManager.isParentDisplayListInvalidatingStyle(styleProp))
+            if (styleProp == "styleName" || StyleManager.isParentDisplayListInvalidatingStyle(styleProp))
                 parent.invalidateDisplayList();
         }
     }


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 16490
Author:   clucier@adobe.com
Date:     2010-06-08T00:34:15.056989Z

Log Message:
-----------
Fixing builds on Mac to not pop the dock icon and steal focus.
Image/BitmapImage bug fixes.

QE notes: None
Doc notes: None
Bugs: SDK-26616, SDK-26624, SDK-26642
Reviewer: Ryan
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/build.properties</path>

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

--- frameworks/projects/spark/src/spark/components/Image.as
+++ frameworks/projects/spark/src/spark/components/Image.as
@@ -628,13 +628,30 @@
     //  source
     //----------------------------------

+    [Bindable("sourceChanged")]
+    [Inspectable(category="General")]
+
+    /**
+     *  @private
+     */
+    public function get source():Object
+    {
+        if (imageDisplay)
+            return imageDisplay.source;
+        else
+            return imageDisplayProperties.source;
+    }
+
     /**
      *  @copy mx.primitives.BitmapImage#source
      */
     public function set source(value:Object):void
     {
         if (source != value)
-            _invalid = false;
+            return;
+
+        _loading = false;
+        _invalid = false;

         if (imageDisplay)
         {
@@ -646,17 +663,39 @@
             imageDisplayProperties.source = value;

         invalidateSkinState();
-    }
-
-    /**
-     *  @private
-     */
-    public function get source():Object
-    {
-        if (imageDisplay)
-            return imageDisplay.source;
-        else
-            return imageDisplayProperties.source;
+        dispatchEvent(new Event("sourceChanged"));
+    }
+
+    //----------------------------------
+    //  sourceHeight
+    //----------------------------------
+
+    /**
+     *  @copy mx.primitives.BitmapImage#sourceHeight
+     *  @default NaN
+     */
+    public function get sourceHeight():Number
+    {
+        if (imageDisplay)
+            return imageDisplay.sourceHeight;
+        else
+            return NaN;
+    }
+
+    //----------------------------------
+    //  sourceWidth
+    //----------------------------------
+
+    /**
+     *  @copy mx.primitives.BitmapImage#sourceWidth
+     *  @default NaN
+     */
+    public function get sourceWidth():Number
+    {
+        if (imageDisplay)
+            return imageDisplay.sourceWidth;
+        else
+            return NaN;
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5770
Author:   gruehle@adobe.com
Date:     2009-03-30T20:58:54.529722Z

Log Message:
-----------
Add [Alternative] metadata to the Halo components that have a Gumbo replacement.

Bugs: SDK-20190
QA notes: none
Doc notes: Additional ASDoc comments added for many of the classes. These should all be reviewed.
Reviewer: Chet

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TileList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Zoom.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Cubic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/RemoveChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/TweenEffect.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/effects/WipeRight.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quartic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeLeft.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quintic.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/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quadratic.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/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/AddChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeDown.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/SetPropertyAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Resize.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/framework/src/mx/effects/Blur.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HorizontalList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeUp.as</path>

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

--- frameworks/projects/framework/src/mx/effects/Fade.as
+++ frameworks/projects/framework/src/mx/effects/Fade.as
@@ -13,6 +13,8 @@
 {

 import mx.effects.effectClasses.FadeInstance;
+
+[Alternative(replacement="spark.effects.Fade", since="4.0")]

 /**
  *  The Fade effect animates the alpha property of a component,


Transferred from the Adobe Open Source Subversion Repository

Revision: 4899
Author:   jimurphy@adobe.com
Date:     2009-02-09T15:58:02.302090Z

Log Message:
-----------
Merge i10 revisions 4865,4870-4871,4877,4880-4882,4890-4891 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/StyleInitializer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/VisualChildInitializer.java</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/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/Initializer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextBlockComposer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/InitializedPropertyDeclaration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/EventInitializer.java</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/NamedInitializer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/TextParser.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ArrayElementInitializer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLListBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/EffectInitializer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/As3Compiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>

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

--- frameworks/projects/framework/src/mx/effects/Move.as
+++ frameworks/projects/framework/src/mx/effects/Move.as
@@ -82,6 +82,8 @@
      *  @private
      */
     private static var AFFECTED_PROPERTIES:Array = [ "x", "y" ];
+    private static var RELEVANT_STYLES:Array =
+        ["left", "right", "top", "bottom", "horizontalCenter", "verticalCenter"];

     //--------------------------------------------------------------------------
     //
@@ -187,6 +189,14 @@
     override public function getAffectedProperties():Array /* of String */
     {
         return AFFECTED_PROPERTIES;
+    }
+
+    /**
+     *  @private
+     */
+    override public function get relevantStyles():Array /* of String */
+    {
+        return RELEVANT_STYLES;
     }

     /**


- fixed repositioning problems when exiting fullscreen

--- src/flash/FlashMediaElement.as
+++ src/flash/FlashMediaElement.as
@@ -374,6 +374,9 @@
 			// calculate ratios
 			var stageRatio, nativeRatio;

+			_video.x = 0;
+			_video.y = 0;
+
 			if(fullscreen == true) {
 				stageRatio = flash.system.Capabilities.screenResolutionX/flash.system.Capabilities.screenResolutionY;
 				nativeRatio = _nativeVideoWidth/_nativeVideoHeight;
@@ -390,8 +393,7 @@
 				} else if (stageRatio == nativeRatio) {
 					_video.height = flash.system.Capabilities.screenResolutionY;
 					_video.width = flash.system.Capabilities.screenResolutionX;
-					_video.x = 0;
-					_video.y = 0;
+
 				}
 			} else {
 				stageRatio = _stageWidth/_stageHeight;
@@ -409,8 +411,6 @@
 				} else if (stageRatio == nativeRatio) {
 					_video.height = _stageHeight;
 					_video.width = _stageWidth;
-					_video.x = 0;
-					_video.y = 0;
 				}
 			}


Hm, this wasn't validating the values inside objects. Fixed.

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

--- src/as/com/threerings/util/ObjectMarshaller.as
+++ src/as/com/threerings/util/ObjectMarshaller.as
@@ -161,7 +161,7 @@
         }

         // check sub-properties (of arrays and objects)
-        for each (var arrValue :Object in (value as Array)) {
+        for each (var arrValue :Object in value) {
             var s :String = getValidationError(arrValue);
             if (s != null) {
                 return s;


cleanup

cleanup

--- exporter/src/main/as/flump/export/TexturePacker.as
+++ exporter/src/main/as/flump/export/TexturePacker.as
@@ -65,10 +65,10 @@
     public const atlases :Vector.<Atlas> = new Vector.<Atlas>();

     public function PackerImpl (lib :XflLibrary, baseScale :Number, scaleFactor :int,
-        borderSize :int, maxSize :int /*= 2048*/, prefix :String /*= ""*/) {
-
-        _maxSize = maxSize;
-        _borderSize = borderSize;
+        textureBorderSize :int, maxAtlasSize :int, filenamePrefix :String) {
+
+        _maxAtlasSize = maxAtlasSize;
+        _textureBorderSize = textureBorderSize;

         var scale :Number = baseScale * scaleFactor;

@@ -88,9 +88,9 @@
             // Add a new atlas
             const size :Point = findOptimalSize();
             atlases.push(new AtlasImpl(
-                prefix + "atlas" + atlases.length,
+                filenamePrefix + "atlas" + atlases.length,
                 size.x, size.y,
-                borderSize,
+                textureBorderSize,
                 scaleFactor));
             var hasEmptyAtlas :Boolean = true;

@@ -98,7 +98,7 @@
             for (var ii :int = 0; ii < _unpacked.length; ++ii) {
                 var unpacked :SwfTexture = _unpacked[ii];

-                if (unpacked.w > _maxSize || unpacked.h > _maxSize) {
+                if (unpacked.w > _maxAtlasSize || unpacked.h > _maxAtlasSize) {
                     throw new Error("Too large to fit in an atlas: " + unpacked.w + ", " +
                         unpacked.h + " " + unpacked.symbol);
                 }
@@ -128,8 +128,8 @@
         var maxH :int = 0;

         for each (var tex :SwfTexture in _unpacked) {
-            const w :int = tex.w + (_borderSize * 2);
-            const h :int = tex.h + (_borderSize * 2);
+            const w :int = tex.w + (_textureBorderSize * 2);
+            const h :int = tex.h + (_textureBorderSize * 2);
             area += w * h;
             maxW = Math.max(maxW, w);
             maxH = Math.max(maxH, h);
@@ -143,8 +143,8 @@
             else size.y *= 2;
         }

-        size.x = Math.min(size.x, _maxSize);
-        size.y = Math.min(size.y, _maxSize);
+        size.x = Math.min(size.x, _maxAtlasSize);
+        size.y = Math.min(size.y, _maxAtlasSize);

         return size;
     }
@@ -155,8 +155,8 @@
         return p;
     }

-    protected var _maxSize :int;
-    protected var _borderSize :int;
+    protected var _maxAtlasSize :int;
+    protected var _textureBorderSize :int;

     protected const _unpacked :Vector.<SwfTexture> = new Vector.<SwfTexture>();


- change: Removed ArrayUtil.arrayIndex, as it is superceded by the native Array#indexOf

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

--- src/reprise/utils/ArrayUtil.as
+++ src/reprise/utils/ArrayUtil.as
@@ -17,7 +17,7 @@
 	 * @author	Florian Finke
 	 * @version	$Revision$ | $Id$
 	 */
-	public class ArrayUtil
+	public final class ArrayUtil
 	{

 		/**
@@ -36,31 +36,7 @@
 		 */
 		public static function inArray( arr : Array, obj : Object ) : Boolean
 		{
-			return arrayIndex(arr, obj) > -1;
-		}
-
-
-
-		/**
-		 * @param	arr	The Array to search in.
-		 * @param	obj	The object to search for.
-		 *
-		 * @return	Number	The array index of the object
-		 * 			or -1 if the obj doesn't exist in the array.
-		 */
-		public static function arrayIndex( arr : Array, obj : Object ) : int
-		{
-			if (arr.length)
-			{
-				for (var i:Number = arr.length; i--;)
-				{
-					if (arr[i] == obj)
-					{
-						return i;
-					}
-				}
-			}
-			return -1;
+			return arr.indexOf(obj) > -1;
 		}


result constructor correction

result constructor correction

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

--- zucchini.lib/src/pl/ydp/automation/scripts/steps/base/Step.as
+++ zucchini.lib/src/pl/ydp/automation/scripts/steps/base/Step.as
@@ -94,11 +94,10 @@
 		 * (niektóre kroki mogą wymagać chwili na doładowanie
 		 * mimo, że wszystkie eventy już zostały przechwycone).
 		 */
-		protected function completeWithDelay( delay:int, result:StepResult ):void
-		{
-			setTimeout( complete, delay, result );
+		protected function completeWithDelay( delay:int, correctly:Boolean, message:String = null ):void
+		{
+			setTimeout( complete, delay, correctly, message );
 		}
-

 		/**
 		 * Zakończenie kroku.


Bugfix:  Forsikring om at kostgodtgjørelse blir sats til vertslandet ved lange reisestrekninger. Ved korte reiser sendes timer i spesifikasjonen i steden for dager.

--- app/src/no/makingwaves/cust/dss/code/TravelExpenceCalculator.as
+++ app/src/no/makingwaves/cust/dss/code/TravelExpenceCalculator.as
@@ -308,8 +308,11 @@
 							ranger.getDateRange(locationList.getItemAt(l).startDate, locationList.getItemAt(l).stopDate);
 							trace(locationList.getItemAt(l).country + ", (" + locationList.getItemAt(l).city + "): " + ranger.total_min + " minutes");
 							if (ranger.total_min > maxTimeframe) {
-								maxTimeframe = ranger.total_min;
-								maxTimeframeObject = locationList.getItemAt(l);
+								// check wether new total time is domestic
+								if (this.getInternationalRate(locationList.getItemAt(l).country, locationList.getItemAt(l).city) != null || ranger.overnight) {
+									maxTimeframe = ranger.total_min;
+									maxTimeframeObject = locationList.getItemAt(l);
+								}
 							}
 						}
 					}
@@ -373,7 +376,7 @@
 						if (!added) {
 							var allowance:RateVO = new RateVO();
 							allowance.rate = dailyAllowance;
-							allowance.num = 1;
+							allowance.num = (travelPeriode.total_24hours > 0) ? 1 : travelPeriode.total_hours;
 							allowance.amount = dailyAllowance;
 							allowancesInternational.addItem(allowance);
 						}


Fixed a bug in Label for some reason it was not updating the UI

--- src/org/openPyro/controls/Label.as
+++ src/org/openPyro/controls/Label.as
@@ -79,6 +79,7 @@
 			if(_text == str) return;
 			this._text = str;
 			if(!_textField)return;
+			_textField.text = str;
 			this.invalidateSize();
 			this.forceInvalidateDisplayList=true
 			this.invalidateDisplayList();


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

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

 package mx.automation.codec
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17357
Author:   klin@adobe.com
Date:     2010-08-17T21:41:02.298691Z

Log Message:
-----------
Fix bug where the DataGrid wouldn't redraw its item renderers when the itemRenderer property changed. The itemRenderer setter needs to clear the renderers from the layout as well as the typical item measurements. Also added similar logic in GridColumn for itemRenderer, itemRendererFunction, labelFunction, and dataField.

QE notes: No
Doc notes: No
Bugs: SDK-27262
Reviewer: Hans
Tests run: checkintests, DataGrid
Is noteworthy for integration: No

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -40,7 +40,6 @@
      */
     public static const ERROR_TEXT:String = new String(" ");

-
     public function GridColumn()
     {
         super();
@@ -51,21 +50,6 @@
     //  Properties
     //
     //--------------------------------------------------------------------------
-
-    private function dispatchChangeEvent(type:String):void
-    {
-        if (hasEventListener(type))
-            dispatchEvent(new Event(type));
-    }
-
-    private function maybeInvalidateGrid():void
-    {
-        if (grid)
-        {
-            grid.invalidateSize();
-            grid.invalidateDisplayList();
-        }
-    }

     //----------------------------------
     //  grid
@@ -173,9 +157,10 @@
         else
             dataFieldPath = [value];

+        invalidateGrid();
+        clearGridLayoutCache();
+
         dispatchChangeEvent("dataFieldChanged");
-
-        maybeInvalidateGrid();
     }

     //----------------------------------
@@ -349,13 +334,9 @@
             return;

         _itemRenderer = value;
-
-        if (grid)
-        {
-            if (grid.layout)
-                grid.layout.typicalLayoutElement = null;
-            grid.invalidateDisplayList();
-        }
+
+        invalidateGrid();
+        clearGridLayoutCache();

         dispatchChangeEvent("itemRendererChanged");
     }
@@ -399,6 +380,10 @@
             return;

         _itemRendererFunction = value;
+
+        invalidateGrid();
+        clearGridLayoutCache();
+
         dispatchChangeEvent("itemRendererFunctionChanged");
     }

@@ -449,9 +434,11 @@
             return;

         _labelFunction = value;
+
+        invalidateGrid();
+        clearGridLayoutCache();
+
         dispatchChangeEvent("labelFunctionChanged");
-
-        maybeInvalidateGrid();
     }

     //----------------------------------
@@ -483,7 +470,7 @@

         _width = value;

-        maybeInvalidateGrid();
+        invalidateGrid();

         dispatchChangeEvent("widthChanged");
     }
@@ -519,7 +506,7 @@

         _minWidth = value;

-        maybeInvalidateGrid();
+        invalidateGrid();

         dispatchChangeEvent("minWidthChanged");
     }
@@ -555,7 +542,7 @@

         _maxWidth = value;

-        maybeInvalidateGrid();
+        invalidateGrid();

         dispatchChangeEvent("maxWidthChanged");
     }
@@ -774,7 +761,41 @@
         const itemRendererFunction:Function = itemRendererFunction;
         return (itemRendererFunction != null) ? itemRendererFunction(item) : itemRenderer;
     }
-
-
+
+    /**
+     *  @private
+     *  Clears the layout's cache and the typical item's measurements.
+     */
+    private function clearGridLayoutCache():void
+    {
+        if (grid && grid.layout)
+        {
+            var gridLayout:GridLayout = grid.layout as GridLayout;
+            if (gridLayout)
+                gridLayout.gridDimensions.clearTypicalCellWidthsAndHeights();
+            grid.layout.clearVirtualLayoutCache();
+        }
+    }
+
+    /**
+     *  @private
+     */
+    private function dispatchChangeEvent(type:String):void
+    {
+        if (hasEventListener(type))
+            dispatchEvent(new Event(type));
+    }
+
+    /**
+     *  @private
+     */
+    private function invalidateGrid():void
+    {
+        if (grid)
+        {
+            grid.invalidateSize();
+            grid.invalidateDisplayList();
+        }
+    }
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10633
Author:   dloverin@adobe.com
Date:     2009-09-28T13:24:30.559033Z

Log Message:
-----------
Use styleManager instance instead of StyleManager singleton (framework and compiler generated code)

Modified compiler generated style code for the FlexInit class. The style related changes are only available with the -keep option. AST generation is coming later.

Only the framework project is changed here. The other projects are will be changed soon.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex and Paul
Tests run: checkintests, all Mustella tests(no new failures)
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserMonthArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollThumbSkin.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/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleModule.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/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.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/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/RadioButtonIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressBarSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderTrackSkin.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/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.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/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>

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

--- frameworks/projects/mx/src/mx/controls/ComboBox.as
+++ frameworks/projects/mx/src/mx/controls/ComboBox.as
@@ -53,7 +53,6 @@
 import mx.managers.ISystemManager;
 import mx.managers.PopUpManager;
 import mx.styles.CSSStyleDeclaration;
-import mx.styles.StyleManager;

 use namespace mx_internal;


Transferred from the Adobe Open Source Subversion Repository

Revision: 11151
Author:   klin@adobe.com
Date:     2009-10-26T17:41:10.135655Z

Log Message:
-----------
Various bug fixes.

Button.as
-Added some ASDocs for a previous fix where we made the icons property protected instead of private.

Skins.properties, components.properties, sparkEffects.properties
-Removed “Fx” prefix and cleaned up whitespace

SwatchPanel.as, defaults.css
-ColorPicker was drawing incorrectly with sparkskins because two halo specific styles were missing in the spark theme. Thus, I included highlightColor and shadowColor into the spark theme and added them to defaults.css.

TitleWindowSkin.mxml, wireframe/TitleWindowSkin.mxml
-The label skin part came too close to the close button so I added padding

DataGrid.as
-Added exclude metadata for columnWidth
-Column widths are now rounded down to avoid sub-pixel values in the initial rendering

QE notes: None
Doc notes: None
Bugs: SDK-23057, SDK-23695, SDK-23576, SDK-23791, SDK-22733, SDK-22757
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/components.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TitleWindowSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TitleWindowSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/sparkEffects.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/en_US/skins.properties</path>

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

--- frameworks/projects/mx/src/mx/controls/DataGrid.as
+++ frameworks/projects/mx/src/mx/controls/DataGrid.as
@@ -503,6 +503,7 @@
 //--------------------------------------

 [Exclude(name="columnCount", kind="property")]
+[Exclude(name="columnWidth", kind="property")]
 [Exclude(name="iconField", kind="property")]
 [Exclude(name="iconFunction", kind="property")]
 [Exclude(name="labelField", kind="property")]
@@ -3009,7 +3010,7 @@
                     lastColumn = visibleLockedColumns[i];
                     ratio = lastColumn.width / totalWidth;
                     //totalWidth -= visibleLockedColumns[i].width;
-                    newSize = displayWidth * ratio;
+                    newSize = Math.floor(displayWidth * ratio);
                     lastColumn.setWidth(newSize);
                     lastColumn.explicitWidth = NaN;
                     // trace("column " + i + " set to " + visibleLockedColumns[i].width);
@@ -3021,7 +3022,7 @@
                     lastColumn = visibleColumns[i];
                     ratio = lastColumn.width / totalWidth;
                     //totalWidth -= visibleColumns[i].width;
-                    newSize = displayWidth * ratio;
+                    newSize = Math.floor(displayWidth * ratio);
                     lastColumn.setWidth(newSize);
                     lastColumn.explicitWidth = NaN;
                     // trace("column " + i + " set to " + visibleColumns[i].width);


FLEX-34209 fix parsing of hours between 12pm and 1pm

--- frameworks/projects/framework/src/mx/formatters/DateFormatter.as
+++ frameworks/projects/framework/src/mx/formatters/DateFormatter.as
@@ -252,14 +252,14 @@
                 }
                 marker = 0;

-				// Other lacales AM/PM
+				// All known locales AM/PM
 				if (ampm.hasOwnProperty(word))
 				{
 					isPM = true;

 					if (hour > 12)
 						break; // error
-					else if (hour >= 0)
+					else if (hour >= 0 && hour < 12)
 						hour += 12;
 				}
             }
@@ -299,7 +299,7 @@
                 }

                 // If the current letter is a slash or a dash,
-                // assign num to year or month or day or sec.
+                // assign num to year or month or day or min or sec.
                 else if (punctuation.hasOwnProperty(letter) && punctuation[letter].date)
                 {
 					var monthFirst:Boolean = year != -1;
@@ -313,6 +313,8 @@
 						day = num;
 					else if (!monthFirst && mon < 0)
 						mon = (num -1);
+					else if (min < 0)
+						min = num;
 					else if (sec < 0)
 						sec = num;
 					else if (milli < 0)
@@ -333,7 +335,7 @@
 						{
 							if (hour > 12)
 								break; //error
-							else
+							else if (hour >= 0 && hour < 12)
 								hour += 12;
 						}
 					}
@@ -387,7 +389,7 @@
                     break;  //error
                 }

-                marker = 0
+                marker = 0;
             }
         }


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

--- frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as
+++ frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.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: 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@1259053 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
+++ frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
@@ -36,6 +36,7 @@
 [ExcludeClass]

 /**
+ *  @private
  *  Cross-domain RSL Item Class.
  *
  *  The rsls are typically located on a different host than the loader.
@@ -44,8 +45,7 @@
  *  Signed Rsls are loaded by setting the digest of the URLRequest.
  *  Unsigned Rsls are check using actionScript to calculate a sha-256 hash of
  *  the loaded bytes and compare them to the expected digest.
- *
- *  @private
+ *
  */
 public class CrossDomainRSLItem extends RSLItem
 {
@@ -115,11 +115,11 @@
      *
      * Load an RSL.
     *
-    * @param progressHandler       receives ProgressEvent.PROGRESS events, may be null.
-    * @param completeHandler       receives Event.COMPLETE events, may be null.
-    * @param ioErrorHandler        receives IOErrorEvent.IO_ERROR events, may be null.
-    * @param securityErrorHandler  receives SecurityErrorEvent.SECURITY_ERROR events, may be null.
-    * @param rslErrorHandler       receives RSLEvent.RSL_ERROR events, may be null.
+    * @param progressHandler       receives ProgressEvent.PROGRESS events, may be null
+    * @param completeHandler       receives Event.COMPLETE events, may be null
+    * @param ioErrorHandler        receives IOErrorEvent.IO_ERROR events, may be null
+    * @param securityErrorHandler  receives SecurityErrorEvent.SECURITY_ERROR events, may be null
+    * @param rslErrorHandler       receives RSLEvent.RSL_ERROR events, may be null
     *
     */
     override public function load(progressHandler:Function,


Transferred from the Adobe Open Source Subversion Repository

Revision: 10653
Author:   egeorgie@adobe.com
Date:     2009-09-28T19:34:37.823932Z

Log Message:
-----------
Add APIs for detecting whether an IVisualElement is in 3D, or an ILayoutElement has 3D matrix. Small cleanup for "depth" property and ASDoc comments, "depth" is now consistently non-bindable.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Ryan
Tests run: checkintests, mustella (Group, layout3D)

Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -284,14 +284,14 @@
      */
     public function set postLayoutTransformOffsets(value:TransformOffsets):void
     {
-        if(value != null && _layoutFeatures == null)
+        if (value != null && _layoutFeatures == null)
             initAdvancedLayoutFeatures();

-        if(_layoutFeatures.postLayoutTransformOffsets != null)
+        if (_layoutFeatures.postLayoutTransformOffsets != null)
             _layoutFeatures.postLayoutTransformOffsets.removeEventListener
                 (Event.CHANGE,transformOffsetsChangedHandler);
         _layoutFeatures.postLayoutTransformOffsets = value;
-        if(_layoutFeatures.postLayoutTransformOffsets != null)
+        if (_layoutFeatures.postLayoutTransformOffsets != null)
             _layoutFeatures.postLayoutTransformOffsets.addEventListener
                 (Event.CHANGE,transformOffsetsChangedHandler);
     }
@@ -2027,6 +2027,32 @@
 			invalidateParentSizeAndDisplayList();
 	}

+    /**
+     *  @inheritDoc
+     *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
+     */
+    public function get hasLayoutMatrix3D():Boolean
+    {
+        return _layoutFeatures ? _layoutFeatures.layoutIs3D : false;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get is3D():Boolean
+    {
+        return _layoutFeatures ? _layoutFeatures.is3D : false;
+    }
+
 	/**
 	 *  @inheritDoc
 	 *


Transferred from the Adobe Open Source Subversion Repository

Revision: 5309
Author:   gruehle@adobe.com
Date:     2009-03-13T21:54:51.752954Z

Log Message:
-----------
Add Spark style metadata to Halo components.

baseColor - added to:
 UIComponent
 ScrollControlBase

symbolColor - added to:
 CheckBox
 ComboBase
 Container
 DateChooser
 ScrollBar
 NumericStepper
 PopUpButton
 RadioButton
 ScrollControlBase

contentBackgroundColor - added to:
 ComboBase
 Container
 DateChooser
 NumericStepper
 ScrollControlBase
 TextInput

focusColor - added to:
 Button
 ComboBase
 Container
 DateChooser
 NumericStepper
 ScrollControlBase
 Slider
 TextInput

The remaining Spark styles - alternatingItemColors, rollOverColor, and selectionColor are already defined for the Halo components.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.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/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/controls/sliderClasses/Slider.as
+++ frameworks/projects/mx/src/mx/controls/sliderClasses/Slider.as
@@ -114,6 +114,18 @@
  *  @productversion Flex 3
  */
 [Style(name="borderColor", type="uint", format="Color", inherit="no")]
+
+/**
+ *  Color of focus ring when the component is in focus
+ *
+ *  @default 0x70B2EE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="focusColor", type="uint", format="Color", inherit="yes")]

 /**
  *  Invert the direction of the thumbs.


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

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

 package spark.components


SSSAttribute always interpolerate on the fly

--- src/jp/promotal/sssplayer/data/SSSAttribute.as
+++ src/jp/promotal/sssplayer/data/SSSAttribute.as
@@ -44,10 +44,6 @@
 		}

 		public function valueAt(time:Number):String {
-			if (false && this._frames) {
-				var frame:SSSFrame = this._frames[time] || this._frames[this._frames.length - 1];
-				return frame ? frame.value : "";
-			}
 			var prevKeyFrame:SSSKeyFrame = null;
 			var nextKeyFrame:SSSKeyFrame = null;
 			for each (var keyFrame:SSSKeyFrame in this.keyFrames) {


Улучшение SoundSystem

Улучшение SoundSystem

--- src/main/org/shypl/common/sound/SoundSystem.as
+++ src/main/org/shypl/common/sound/SoundSystem.as
@@ -4,7 +4,7 @@
 	import org.shypl.common.collection.HashSet;
 	import org.shypl.common.collection.Set;

-	public final class SoundSystem extends AbstractSoundStream {
+	public final class SoundSystem extends AbstractSoundStream implements SoundStream {
 		private var _streams:Set = new HashSet();

 		public function SoundSystem(volume:Number = 1, system:SoundSystem = null) {


Fix bug: Seek bar tooltip visibility was being reverted all the time.

--- skin-src/goplayer/StandardSkin.as
+++ skin-src/goplayer/StandardSkin.as
@@ -47,12 +47,7 @@
       playPausePart.visible = showPlayPauseButton
       leftTimeBackgroundPart.visible = showElapsedTime
       leftTimeFieldPart.visible = showElapsedTime
-
-      seekBarBuffer.visible = showSeekBar
-      seekBarPlayhead.visible = showSeekBar
-      seekBarTooltip.visible = showSeekBar
-      seekBarTooltipField.visible = showSeekBar
-
+      seekBar.visible = showSeekBar
       rightTimeBackgroundPart.visible = showTotalTime
       rightTimeFieldPart.visible = showTotalTime
       volumePart.visible = showVolumeControl


ArrayUtil.findIf convenience function

ArrayUtil.findIf convenience function

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

--- src/as/com/threerings/util/ArrayUtil.as
+++ src/as/com/threerings/util/ArrayUtil.as
@@ -119,6 +119,19 @@
     }

     /**
+     * Returns the first item in the array for which the predicate function returns true, or
+     * -1 if no such item was found. The predicate function should be of type:
+     *   function (element :*) :Boolean { }
+     *
+     * @return the matching element, or null if no matching element was found
+     */
+    public static function findIf (arr :Array, predicate :Function) :*
+    {
+        var index :int = (arr != null ? indexIf(arr, predicate) : -1);
+        return (index >= 0 ? arr[index] : null);
+    }
+
+    /**
      * Returns the first index of the supplied element in the array. Note that if the element
      * implements Equalable, an element that is equals() will have its index returned, instead
      * of requiring the search element to be === (strictly equal) to an element in the array


Transferred from the Adobe Open Source Subversion Repository

Revision: 10653
Author:   egeorgie@adobe.com
Date:     2009-09-28T19:34:37.823932Z

Log Message:
-----------
Add APIs for detecting whether an IVisualElement is in 3D, or an ILayoutElement has 3D matrix. Small cleanup for "depth" property and ASDoc comments, "depth" is now consistently non-bindable.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Ryan
Tests run: checkintests, mustella (Group, layout3D)

Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -11,8 +11,7 @@
 package mx.core
 {
 import flash.display.DisplayObjectContainer;
-import flash.events.IEventDispatcher;
-import mx.core.DesignLayer;
+
 import mx.geom.TransformOffsets;

 /**
@@ -85,12 +84,12 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
+    function get depth():Number;
+
+    /**
+     *  @private
+     */
     function set depth(value:Number):void;
-
-    /**
-     *  @private
-     */
-    function get depth():Number;

     /**
      *  Controls the visibility of this visual element.
@@ -251,8 +250,22 @@
     function get postLayoutTransformOffsets():TransformOffsets;

     /**
-     * @private
-     */
-    function set postLayoutTransformOffsets(value:TransformOffsets):void;
+     *  @private
+     */
+    function set postLayoutTransformOffsets(value:TransformOffsets):void;
+
+    /**
+     *  True, when the element is in 3D. The element can be in 3D either because
+     *  it has 3D transform properties or it has 3D transform offsets or both.
+     *
+     *  @see #postLayoutTransformOffsets
+     *  @see mx.core.ILayoutElement#hasLayoutMatrix3D
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function get is3D():Boolean;
 }
 }


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.effects
 {


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

--- frameworks/projects/framework/src/mx/graphics/BitmapFillMode.as
+++ frameworks/projects/framework/src/mx/graphics/BitmapFillMode.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 mx.graphics
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3930
Author:   egreenfi@adobe.com
Date:     2008-10-28T16:30:24.729265Z

Log Message:
-----------
Step 1 of memory improvements
GraphicElement now optimizes away its AdvancedLayoutFeatures as long is has a trivial (translation only) transform matrix.
Added a new OnDemandEventDispatcher class that only allocates memory for event dispatcher functionality when it gets its first listener.
GraphicElement, OverrideBase, and LayoutBase extend OnDemandEventDispatcher.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/OverrideBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.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/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/LinearGradient.as
+++ frameworks/projects/framework/src/mx/graphics/LinearGradient.as
@@ -12,8 +12,8 @@
 package mx.graphics
 {

+import flash.display.Graphics;
 import flash.display.GradientType;
-import flash.display.Graphics;
 import flash.geom.Matrix;
 import flash.geom.Rectangle;

@@ -119,7 +119,6 @@
 	public function LinearGradient()
  	{
 		super();
-		matrix = new Matrix();
 	}

 	//--------------------------------------------------------------------------
@@ -127,6 +126,11 @@
 	//  Methods
 	//
 	//--------------------------------------------------------------------------
+
+    /**
+     *  @inheritDoc
+     */
+	private static var commonMatrix:Matrix = new Matrix();

 	/**
 	 *  @inheritDoc
@@ -137,14 +141,14 @@
 		var tx:Number = !isNaN(x) ? x + rc.left : rc.left;
 		var ty:Number = !isNaN(y) ? y + rc.top : rc.top;

-		matrix.createGradientBox(w, rc.height,
+		commonMatrix.createGradientBox(w, rc.height,
 								!isNaN(mx_internal::_angle) ?
 									mx_internal::_angle : mx_internal::rotationInRadians,
 								 tx, ty);

 		target.beginGradientFill(GradientType.LINEAR, mx_internal::colors,
 								 mx_internal::alphas, mx_internal::ratios,
-								 matrix, spreadMethod, interpolationMethod);
+								 commonMatrix, spreadMethod, interpolationMethod);
 	}

 	/**


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/accessibility/ComboBaseAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/ComboBaseAccImpl.as
@@ -264,6 +264,10 @@
 	 */
 	override protected function eventHandler(event:Event):void
 	{
+		// Let AccImpl class handle the events
+		// that all accessible UIComponents understand.
+		$eventHandler(event);
+
 		switch (event.type)
 		{
 			case "change":


Transferred from the Adobe Open Source Subversion Repository

Revision: 8615
Author:   dsubrama@adobe.com
Date:     2009-07-16T00:06:27.325362Z

Log Message:
-----------
Added in enumerations to Inspectable metadata for a bunch of properties.

Reviewer: Ryan
QA: Yes, regress
Doc: No
Checkintests: Pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.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/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>

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

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -118,7 +118,7 @@

     /**
      *  @private
-     *  Storage for the blendMode property.
+     *  Storage for the bottom property.
      */
     private var _bottom:Object;


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

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

 package spark.automation.delegates.components


Transferred from the Adobe Open Source Subversion Repository

Revision: 10329
Author:   klin@adobe.com
Date:     2009-09-16T22:34:04.580675Z

Log Message:
-----------
Various small fixes

SDK-23047 - Added Inspectable metadata to popUpPosition allowing it to code hint.

SDK-23057 - "icons" property in mx:Button is now protected to allow for override of related functions.

SDK-22445 - Changed HostComponents on ButtonBarButton skins for both spark and wireframe.

SDK-22583 - Removed wireframe directory from \frameworks\projects\wireframe\src\.

SDK-22884 - Updated itemRenderer to make use of DataGroup's mapping of unique indices to data. This fixes the issue with duplicate data and alternating items color.

QE Notes: None
Doc Notes: None
Bugs: SDK-23047, SDK-23057, SDK-22445, SDK-22583, SDK-22884
Reviewer: Glenn
API Change: No
Is noteworthy for integration: FB
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarMiddleButtonSkin.mxml</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/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarFirstButtonSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/controls/Button.as
+++ frameworks/projects/mx/src/mx/controls/Button.as
@@ -735,7 +735,7 @@
      *  which of the children are the icons.
      *  New icons are created and added to this array in viewIcon().
      */
-    private var icons:Array /* of Sprite */ = [];
+    protected var icons:Array /* of Sprite */ = [];

     /**
      *  @private


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

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

 package mx.controls.olapDataGridClasses
 {


Remove Animation Class

Remove Animation Class

--- src/aerys/minko/type/Animation.as
+++ src/aerys/minko/type/Animation.as
@@ -1,26 +0,0 @@
-package aerys.minko.type
-{
-	public class Animation
-	{
-		private var _name		: String	= null;
-		private var _numFrames	: int		= 0;
-		private var _offset		: int		= 0;
-		private var _loop		: Boolean	= false;
-
-		public function get name() 		: String	{ return _name; }
-		public function get numFrames()	: int		{ return _numFrames; }
-		public function get offset()	: int		{ return _offset; }
-		public function get loop()		: Boolean	{ return _loop; }
-
-		public function Animation(name		: String,
-									numFrames	: int,
-									offset		: int,
-									loop		: Boolean	= false)
-		{
-			_name = name;
-			_numFrames = numFrames;
-			_offset = offset;
-			_loop = loop;
-		}
-	}
-}


Stop polling interval once impression or unmeasurable event has been dispatched.

Polling the beacons adds can affect video performance and is unnecessary once the ad has been determined to be viewable or unmeasurable.

--- src/org/openvv/OVVAsset.as
+++ src/org/openvv/OVVAsset.as
@@ -618,12 +618,14 @@
 		private function raiseImpression(ovvData:*):void
 		{
 			dispatchEvent(new OVVEvent(OVVEvent.OVVImpression, ovvData));
+			_intervalTimer.removeEventListener(TimerEvent.TIMER, onIntervalCheck);
 			_impressionEventRaised = true;
 		}

 		private function raiseImpressionUnmeasurable(ovvData:*):void
 		{
 			dispatchEvent(new OVVEvent(OVVEvent.OVVImpressionUnmeasurable, ovvData));
+			_intervalTimer.removeEventListener(TimerEvent.TIMER, onIntervalCheck);
 			_impressionUnmeasurableEventRaised = true;
 		}


Using bi-directional external interface

Using bi-directional external interface


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/advancedgrids/src/mx/olap/OLAPAxisPosition.as
+++ frameworks/projects/advancedgrids/src/mx/olap/OLAPAxisPosition.as
@@ -0,0 +1,95 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.olap
+{
+
+import mx.collections.ArrayCollection;
+import mx.collections.IList;
+
+/**
+ *  The OLAPAxisPosition class represents a position along the axis of the result of an OLAP query result.
+ *
+ *  @see mx.olap.IOLAPResultAxis
+ *  @see mx.olap.IOLAPResult
+ *  @see mx.olap.OLAPResult
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class OLAPAxisPosition implements IOLAPAxisPosition
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function OLAPAxisPosition()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    // members
+    //----------------------------------
+
+    private var _members:ArrayCollection = new ArrayCollection;
+
+    /**
+     *  The members of the query result,
+     *  at this position as a list of IOLAPMember instances.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get members():IList
+    {
+        return _members;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    public function addMember(member:IOLAPMember):void
+    {
+        // should we check for duplicates here?
+        _members.addItem(member);
+    }
+
+}
+}