Transferred from the Adobe Open Source Subversion Repository

Revision: 8481
Author:   smgilson@adobe.com
Date:     2009-07-09T17:28:31.741329Z

Log Message:
-----------
First of several checkins to update the namespace in ASDoc MXML syntax descriptions for Spark components

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</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/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -210,7 +210,7 @@
  *  attributes of its superclass and adds the following tag attributes:

  *
  *

- *  <Scroller
+ *  <s:Scroller
  *   Properties
  *    minViewportInset="0"
  *    viewport="null"


Transferred from the Adobe Open Source Subversion Repository

Revision: 7491
Author:   cframpto@adobe.com
Date:     2009-06-02T16:22:03.123279Z

Log Message:
-----------
Rename inputManager to textContainerManager and fix spelling mistake in [RichTextContent] comment.
Make RichEditableTextContainerManager private for docs.

QA Notes:
Doc Notes:
Bugs:
Reviewers: Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditableTextContainerManager.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextArea.as
+++ frameworks/projects/spark/src/spark/components/TextArea.as
@@ -190,7 +190,7 @@
     /**
      *  @private
      *  This metadata tells the MXML compiler to disable some of its default
-     *  interpreation of the value specified for the 'content' property.
+     *  interpretation of the value specified for the 'content' property.
      *  Normally, for properties of type Object, it assumes that things
      *  looking like numbers are numbers and things looking like arrays
      *  are arrays. But <content>1</content> should generate code to set the


Transferred from the Adobe Open Source Subversion Repository

Revision: 10755
Author:   clucier@adobe.com
Date:     2009-09-30T19:32:20.239118Z

Log Message:
-----------
Cleanup. Removing all 2.x APIs that have been deprecated since 3.0.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceBundle.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/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IHistoryManager.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/DateField.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/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/Locale.as</path>

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

--- frameworks/projects/framework/src/mx/managers/IHistoryManager.as
+++ frameworks/projects/framework/src/mx/managers/IHistoryManager.as
@@ -24,14 +24,6 @@
 	function register(obj:IHistoryManagerClient):void;
 	function unregister(obj:IHistoryManagerClient):void;
 	function save():void;
-	[Deprecated(since="3.0.0")]
-	function registered():void;
-	[Deprecated(since="3.0.0")]
-	function registerHandshake():void;
-	[Deprecated(since="3.0.0")]
-	function load(stateVars:Object):void;
-	[Deprecated(since="3.0.0")]
-	function loadInitialState():void;
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 22438
Author:   jszeto@adobe.com
Date:     2011-09-08T00:32:35.089685Z

Log Message:
-----------
SpinnerList bug fixes

SDK-31466 - Empty SpinnerListContainer height doesn't match visual height

Set minHeight to the selectionIndicatorHeight plus some border height

SDK-31454 - SpinnerList.mx_internal::animateToSelectedIndex() animates in the wrong direction for some indices

Fix the logic so we animate to the closest unwrapped index even if that index isn't on screen

SDK-31444 - SpinnerList should have DefaultTriggerEvent metadata on event "change

SDK-31473 - SpinnerList with IconItemRenderer stopped sizing properly between 4.5.2.22385 and 4.5.2.22427

Don't set measuredMinHeight to the measuredHeight in SpinnerListSkin

QE notes: none
Doc notes: none
Bugs: SDK-31466, SDK-31454, SDK-31444, SDK-31473
Reviewer: Tom K
Tests run: checkintests, cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/layouts/VerticalSpinnerLayout.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as
+++ frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as
@@ -44,6 +44,7 @@
 //--------------------------------------
 //  Other metadata
 //--------------------------------------
+[DefaultTriggerEvent("change")]

 [IconFile("SpinnerList.png")]

@@ -250,7 +251,7 @@
 		// SnapElement requires a layout pass in order to properly center the selection
 		// The listener for updateComplete calls commitSelection
 		if (initialized && spinnerLayout)
-			scroller.snapElement(spinnerLayout.getUnwrappedElementIndex(selectedIndex), false);
+			scroller.snapElement(spinnerLayout.getClosestUnwrappedElementIndex(selectedIndex), false);

 		return result;
 	}
@@ -298,7 +299,7 @@
 		if (scroller && spinnerLayout)
 		{
 			var animate:Animate = scroller.snapElement(
-				spinnerLayout.getUnwrappedElementIndex(index), true);
+				spinnerLayout.getClosestUnwrappedElementIndex(index), true);
 			if (animate)
             {
 				animate.addEventListener(EffectEvent.EFFECT_END, animateToIndex_effectEndHandler);
@@ -423,7 +424,7 @@
 		if (scrollToSelection && spinnerLayout)
 		{
 			scrollToSelection = false;
-			scroller.snapElement(spinnerLayout.getUnwrappedElementIndex(selectedIndex), false);
+			scroller.snapElement(spinnerLayout.getClosestUnwrappedElementIndex(selectedIndex), false);

 			removeEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler);
 		}


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

--- frameworks/projects/spark/src/spark/accessibility/ToggleButtonAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/ToggleButtonAccImpl.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Added a reference so that vilya.swc consumers (e.g. thane client) will not need to explicitly do so

git-svn-id: a3e1eb16dde062992de22c830ed8045c8013209a@707 c613c5cb-e716-0410-b11b-feb51c14d237

--- src/as/com/threerings/whirled/spot/data/SpotSceneObject.as
+++ src/as/com/threerings/whirled/spot/data/SpotSceneObject.as
@@ -27,6 +27,7 @@
 import com.threerings.presents.dobj.DSet;
 import com.threerings.presents.dobj.DSet_Entry;
 import com.threerings.whirled.data.SceneObject;
+import com.threerings.whirled.spot.data.SceneLocation;

 /**
  * Extends the {@link SceneObject} with information specific to spots.
@@ -44,6 +45,7 @@
     /** A distributed set containing {@link SceneLocation} records for all
      * occupants of this scene. */
     public var occupantLocs :DSet = new DSet();
+    SceneLocation; // plain reference to force linkage

     /** Contains information on all {@link Cluster}s in this scene. */
     public var clusters :DSet = new DSet();


Renamed Javascript external functions

Renamed Javascript external functions

--- MP3-Flashback.as
+++ MP3-Flashback.as
@@ -45,7 +45,7 @@
 function loadProgress(e:Event) {
 	if (soundFile && soundFile.length > 0) {
 		var percent:Number = Math.floor( (soundFile.bytesLoaded * 100) / soundFile.bytesTotal);
-		ExternalInterface.call('loadProgress', percent);
+		ExternalInterface.call('$.fn.loadProgress', percent);
 		isLoaded = false;
 	}
 }
@@ -53,7 +53,7 @@
 function loadComplete(e:Event) {
 	if (soundFile && soundFile.length > 0) {
 		soundFile.removeEventListener(Event.COMPLETE, loadComplete);
-		ExternalInterface.call('loadComplete');
+		ExternalInterface.call('$.fn.loadComplete');
 		isLoaded = true;
 	}
 }
@@ -68,14 +68,14 @@
 		var duration:String = minutes + ':' + seconds;
 		var loaded:Number   = soundFile.bytesLoaded  / soundFile.bytesTotal;
 		var percent:Number  = (soundChannel.position / soundFile.length * loaded);
-		ExternalInterface.call('playProgress', duration, percent);
+		ExternalInterface.call('$.fn.playProgress', duration, percent);
 		isPlaying = true;
 	}
 }

 function playComplete(e:Event) {
 	if (isPlaying) {
-		ExternalInterface.call('playComplete');
+		ExternalInterface.call('$.fn.playComplete');
 		isPlaying = false;
 	}
 }
@@ -91,7 +91,7 @@
 			if (isPlaying) { return }
 			isPlaying = true;
 			soundChannel = soundFile.play(startTime);
-			//addEventListener(Event.ENTER_FRAME, playProgress);
+			addEventListener(Event.ENTER_FRAME, playProgress);
 		break;

 		case 'pause' :


fixed Viewport (x,y) position always equal to (0,0) because of last commit

--- src/aerys/minko/render/Viewport.as
+++ src/aerys/minko/render/Viewport.as
@@ -377,8 +377,8 @@
 				var width	: Number	= Math.min(2048, _width);
 				var height	: Number	= Math.min(2048, _height);

-				_stageX = _stageX;
-				_stageY = _stageY;
+				_stageX = origin.x;
+				_stageY = origin.y;

 				_stage3d.x = _stageX;
 				_stage3d.y = _stageY;


Added keepDebugIds()

Added keepDebugIds()

--- WeaveCore/src/weave/utils/DebugUtils.as
+++ WeaveCore/src/weave/utils/DebugUtils.as
@@ -116,6 +116,16 @@
 			_nextId = 0;
 		}

+		/**
+		 * This will keep strong pointers to identified objects if enabled.
+		 */
+		public static function keepDebugIds(enable:Boolean = true):void
+		{
+			var old:Dictionary = _objToId;
+			_objToId = new Dictionary(!enable);
+			for (var key:Object in old)
+				_objToId[key] = old[key];
+		}

 		/*****************
 		 **  Profiling  **


Bug 683507: remove a test from the vector constructor testfile since it is asserting when run in debug mode. This testcase will be added back in as its own file (r=brbaker)

--- test/acceptance/as3/Vector/constructor.as
+++ test/acceptance/as3/Vector/constructor.as
@@ -145,18 +145,4 @@
             bug449468().toString()
             );

-
-expected = "TypeError: Error #1128";
-err = "exception not thrown";
-try {
-    var vError:Vector.<Number, int> = new Vector.<Number, int>;
- }
-catch (e:Error){
-    err = e.toString();
-}
-AddTestCase("TypeError: Error #1128: Incorrect number of type parameters",
-               expected,
-               parseError(err, expected.length));
-
-
 test();


test combine

test combine

--- testSrc/com/kemsky/support/TestSupport.as
+++ testSrc/com/kemsky/support/TestSupport.as
@@ -3,6 +3,8 @@
     import avmplus.getQualifiedClassName;

     import com.kemsky.Stream;
+    import com.kemsky.combine;
+    import com.kemsky.filters._;

     import org.flexunit.asserts.assertEquals;
     import org.flexunit.asserts.assertFalse;
@@ -14,6 +16,25 @@
         {
         }

+
+        [Test]
+        public function testCombine():void
+        {
+            var lower:Function = function(value:String):String
+            {
+                return value.toLowerCase();
+            };
+            var first:Function = function(value:String):String
+            {
+                return value.charAt(0);
+            };
+
+            assertEquals(combine()(1), 1);
+            assertEquals(combine(_)(1), 1);
+
+            var c:Function = combine(first, lower);
+            assertEquals(c("ALEX"), "a");
+        }

         [Test]
         public function testTypeCache():void


Mirror the video when capturing it to the BitmapData too

--- src/CameraMan.as
+++ src/CameraMan.as
@@ -171,7 +171,10 @@
             // freeze image
             try {
                 var photobits:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight, false);
-                photobits.draw(videoface);
+                var mirror:Matrix = new Matrix();
+                mirror.scale(-1, 1);
+                mirror.translate(stage.stageWidth, 0);
+                photobits.draw(videoface, mirror);

                 // Swap the video for the captured bitmap.
                 photo = new Bitmap(photobits);


Transferred from the Adobe Open Source Subversion Repository

Revision: 9433
Author:   clucier@adobe.com
Date:     2009-08-20T23:54:36.373816Z

Log Message:
-----------
Code complete for runtime design layers.  Incorporated PARB renames and refactoring.  Finished off all compiler optimizations that were spec'd.  Some minor bug fixes.

QE notes: Candidate checkin for code complete. You are welcome to write test plan against the current API.
Doc notes:  DesignLayer docs should be scrubbed.
Bugs:  N/A
Reviewer: Peter (compiler), Chet (renames), Paul (will review MXMLDocument post PTO).
Tests run: Checkin, added new basic test.
Is noteworthy for integration: Yes.

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/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DesignLayer.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/spark/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/DesignLayerTestScript.mxml</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/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/spark/views/DesignLayerTests.mxml</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/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests-config.xml</path>

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -200,17 +200,24 @@
     function set y(value:Number):void;

     /**
-     *  Specifies the optional runtime DesignLayer associated
-     *  with this visual element.
-     *
-     *  When a DesignLayer is assigned, a visual element
-     *  must listen for "layerPropertyChange" notifications from
-     *  the associated layer parent.  When the "computedAlpha" or
-     *  "computedVisibility" of the layer changes, the element must
-     *  then compute its own effective visibility (or alpha)
-     *  and apply it accordingly.
-     *
-     *  This property should not be set within MXML directly.
+     *  Specifies the optional DesignLayer instance associated with this visual
+     *  element.
+     *
+     *
When a DesignLayer is assigned, a visual element must consider the
+     *  visibility and alpha of its parent layer when ultimately committing its
+     *  own effective visibility or alpha to its backing DisplayObject
+     *  (if applicable).

+     *
+     *
A visual element must listen for layerPropertyChange
+     *  notifications from the associated layer parent.  When the
+     *  effectiveAlpha or effectiveVisibility of the
+     *  layer changes, the element must then compute its own effective visibility
+     *  (or alpha) and apply it accordingly.

+     *
+     *
The layer property is not used for z-order control,
+     *  please @see #depth.

+     *
+     *
This property should not be set within MXML directly.

      *
      *  @default null
      *
@@ -219,11 +226,11 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    function get layer():DesignLayer;
-
-    /**
-     *  @private
-     */
-    function set layer(value:DesignLayer):void;
+    function get designLayer():DesignLayer;
+
+    /**
+     *  @private
+     */
+    function set designLayer(value:DesignLayer):void;
 }
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/events/DynamicEvent.as
+++ frameworks/projects/framework/src/mx/events/DynamicEvent.as
@@ -0,0 +1,91 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-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.events
+{
+
+import flash.events.Event;
+
+/**
+ *  This subclass of Event is dynamic, meaning that you can set
+ *  arbitrary event properties on its instances at runtime.
+ *
+ *
By contrast, Event and its other subclasses are non-dynamic,
+ *  meaning that you can only set properties that are declared
+ *  in those classes.
+ *  When prototyping an application, using a DynamicEvent can be
+ *  easier because you don't have to write an Event subclass
+ *  to declare the properties in advance.
+ *  However, you should eventually eliminate your DynamicEvents
+ *  and write Event subclasses because these are faster and safer.
+ *  A DynamicEvent is so flexible that the compiler can't help you
+ *  catch your error when you set the wrong property or assign it
+ *  a value of an incorrect type.

+ *
+ *
Example:

+ *
+ *

+ *  var event:DynamicEvent = new DynamicEvent("credentialsChanged");
+ *  event.name = name;
+ *  event.passsword = password; // misspelling won't be caught!
+ *  dispatchEvent(event);
+ *

+ */
+public dynamic class DynamicEvent extends Event
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param type The event type; indicates the action that caused the event.
+	 *
+	 *  @param bubbles Specifies whether the event can bubble up
+	 *  the display list hierarchy.
+	 *
+	 *  @param cancelable Specifies whether the behavior
+	 *  associated with the event can be prevented.
+	 */
+	public function DynamicEvent(type:String, bubbles:Boolean = false,
+								 cancelable:Boolean = false)
+	{
+		super(type, bubbles, cancelable);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function clone():Event
+	{
+		var event:DynamicEvent = new DynamicEvent(type, bubbles, cancelable);
+
+		for (var p:String in this)
+		{
+			event[p] = this[p];
+		}
+
+		return event;
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/styles/IStyleClient.as
+++ frameworks/projects/framework/src/mx/styles/IStyleClient.as
@@ -0,0 +1,199 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-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.styles
+{
+
+import mx.styles.CSSStyleDeclaration;
+import mx.styles.ISimpleStyleClient;
+
+/**
+ *  This interface describes the properties and methods that an object
+ *  must implement so that it can fully participate in the style subsystem.
+ *  This interface is implemented by UIComponent.
+ *
+ *
If the object does not need to store style values locally, it can
+ *  implement the ISimpleStyleClient interface instead.

+ *
+ *  @see mx.styles.ISimpleStyleClient
+ *  @see mx.styles.CSSStyleDeclaration
+ */
+public interface IStyleClient extends ISimpleStyleClient
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  className
+    //----------------------------------
+
+    /**
+     *  The name of the component class.
+     */
+    function get className():String;
+
+    //----------------------------------
+    //  inheritingStyles
+    //----------------------------------
+
+    /**
+     *  An object containing the inheritable styles for this component.
+     */
+    function get inheritingStyles():Object;
+
+    /**
+     *  @private
+     */
+    function set inheritingStyles(value:Object):void;
+
+    //----------------------------------
+    //  nonInheritingStyles
+    //----------------------------------
+
+    /**
+     *  An object containing the noninheritable styles for this component.
+     */
+    function get nonInheritingStyles():Object;
+
+    /**
+     *  @private
+     */
+    function set nonInheritingStyles(value:Object):void;
+
+    //----------------------------------
+    //  styleDeclaration
+    //----------------------------------
+
+    /**
+     *  The style declaration used by this object.
+     *
+     *  @see mx.styles.CSSStyleDeclaration
+     */
+    function get styleDeclaration():CSSStyleDeclaration;
+
+    /**
+     *  @private
+     */
+    function set styleDeclaration(value:CSSStyleDeclaration):void;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Gets a style property that has been set anywhere in this
+     *  component's style lookup chain.
+     *
+     *
This same method is used to get any kind of style property,
+     *  so the value returned may be a Boolean, String, Number, int,
+     *  uint (for an RGB color), Class (for a skin), or any kind of object.
+     *  Therefore the return type is specified as ~~.

+     *
+     *
If you are getting a particular style property, you will
+     *  know its type and will often want to store the result in a
+     *  variable of that type. You can use either the as
+     *  operator or coercion to do this. For example:

+     *
+     *

+     *  var backgroundColor:uint = getStyle("backgroundColor") as int;
+     *
+     *  or
+     *
+     *  var backgroundColor:uint = int(getStyle("backgroundColor"));
+     *

+     *
+     *
If the style property has not been set anywhere in the
+     *  style lookup chain, the value returned by the getStyle() method
+     *  is undefined.
+     *  Note that undefined is a special value that is
+     *  not the same as false, the empty String (""),
+     *  NaN, 0, or null.
+     *  No valid style value is ever undefined.
+     *  You can use the static method
+     *  StyleManager.isValidStyleValue()
+     *  to test whether the value was set.

+     *
+     *  @param styleProp Name of the style property.
+     *
+     *  @return Style value.
+     */
+    function getStyle(styleProp:String):*;
+
+    /**
+     *  Sets a style property on this component instance.
+     *
+     *
This may override a style that was set globally.

+     *
+     *
Calling the setStyle() method can result in decreased performance.
+     *  Use it only when necessary.

+     *
+     *  @param styleProp Name of the style property.
+     *
+     *  @param newValue New value for the style.
+     */
+    function setStyle(styleProp:String, newValue:*):void
+
+    /**
+     *  Deletes a style property from this component instance.
+     *
+     *
This does not necessarily cause the getStyle() method to return
+     *  undefined.

+     *
+     *  @param styleProp Name of the style property.
+     */
+    function clearStyle(styleProp:String):void;
+
+    /**
+     *  Returns an Array of CSSStyleDeclaration objects for the type selector
+     *  that applies to this component, or null if none exist.
+     *
+     *
For example, suppose that component MyButton extends Button.
+     *  This method first looks for a MyButton selector; then, it looks for a Button type selector;
+     *  finally, it looks for a UIComponent type selector.

+     *
+     *  @return Array of CSSStyleDeclaration objects.
+     */
+    function getClassStyleDeclarations():Array; // of CSSStyleDeclaration;
+
+    /**
+     *  Propagates style changes to the children of this component.
+     *
+     *  @param styleProp Name of the style property.
+     *
+     *  @param recursive Whether to propagate the style changes to the children's children.
+     */
+    function notifyStyleChangeInChildren(styleProp:String,
+                                         recursive:Boolean):void;
+
+    /**
+     *  Sets up the internal style cache values so that the getStyle()
+     *  method functions.
+     *  If this object already has children, then reinitialize the children's
+     *  style caches.
+     *
+     *  @param recursive Regenerate the proto chains of the children.
+     */
+    function regenerateStyleCache(recursive:Boolean):void;
+
+    /**
+     *  Registers the EffectManager as one of the event listeners for each effect event.
+     *
+     *  @param effects An Array of Strings of effect names.
+     */
+    function registerEffects(effects:Array /* of String */):void
+}
+
+}


AxisLabelPlotter now displays a label at the specified offset value if interval is zero or NaN.

--- WeaveUISpark/src/weave/visualization/plotters/AxisLabelPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/AxisLabelPlotter.as
@@ -115,7 +115,9 @@
 				for (var i:int = 0, number:Number = first; number < _end; number = first + _interval * ++i)
 					drawLabel(number, dataBounds, screenBounds, destination);
 			}
-
+			else if (isFinite(offset.value) && _begin < _offset && _offset < _end)
+				drawLabel(_offset, dataBounds, screenBounds, destination);
+
 			if (_begin <= _end && ((_end - _offset) % _interval == 0 || _interval == 0))
 				drawLabel(_end, dataBounds, screenBounds, destination);
 		}


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

--- frameworks/projects/charts/src/mx/charts/renderers/DiamondItemRenderer.as
+++ frameworks/projects/charts/src/mx/charts/renderers/DiamondItemRenderer.as
@@ -0,0 +1,204 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.charts.renderers
+{
+
+import flash.display.Graphics;
+import flash.geom.Rectangle;
+import mx.charts.chartClasses.GraphicsUtilities;
+import mx.graphics.IFill;
+import mx.graphics.IStroke;
+import mx.skins.ProgrammaticSkin;
+import mx.core.IDataRenderer;
+import mx.charts.ChartItem;
+import mx.graphics.SolidColor;
+import mx.utils.ColorUtil;
+
+/**
+ *  A simple chart itemRenderer implementation
+ *  that fills a diamond in its assigned area.
+ *  This class can be used as an itemRenderer for ColumnSeries, BarSeries, AreaSeries, LineSeries,
+ *  PlotSeries, and BubbleSeries objects.
+ *  It renders its area on screen using the fill and stroke styles
+ *  of its associated series.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class DiamondItemRenderer extends ProgrammaticSkin implements IDataRenderer
+{
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class variables
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static var rcFill:Rectangle = new Rectangle();
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function DiamondItemRenderer()
+	{
+		super();
+	}
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+	//  data
+    //----------------------------------
+
+	/**
+	 *  @private
+	 *  Storage for the data property.
+	 */
+	private var _data:Object;
+
+	[Inspectable(environment="none")]
+
+	/**
+	 *  The chartItem that this itemRenderer is displaying.
+	 *  This value is assigned by the owning series
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get data():Object
+	{
+		return _data;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function set data(value:Object):void
+	{
+		if (_data == value)
+			return;
+		_data = value;
+
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function updateDisplayList(unscaledWidth:Number,
+												  unscaledHeight:Number):void
+	{
+		super.updateDisplayList(unscaledWidth, unscaledHeight);
+		var fill:IFill;
+		var state:String = "";
+
+		if (_data is ChartItem && _data.hasOwnProperty('fill'))
+		{
+		 	fill = _data.fill;
+		 	state = _data.currentState;
+		}
+		else
+		 	fill = GraphicsUtilities.fillFromStyle(getStyle('fill'));
+
+		var color:uint;
+		var adjustedRadius:Number = 0;
+
+		switch (state)
+		{
+			case ChartItem.FOCUSED:
+			case ChartItem.ROLLOVER:
+				if (styleManager.isValidStyleValue(getStyle('itemRollOverColor')))
+					color = getStyle('itemRollOverColor');
+				else
+					color = ColorUtil.adjustBrightness2(GraphicsUtilities.colorFromFill(fill),-20);
+				fill = new SolidColor(color);
+				adjustedRadius = getStyle('adjustedRadius');
+				if (!adjustedRadius)
+					adjustedRadius = 0;
+				break;
+			case ChartItem.DISABLED:
+				if (styleManager.isValidStyleValue(getStyle('itemDisabledColor')))
+					color = getStyle('itemDisabledColor');
+				else
+					color = ColorUtil.adjustBrightness2(GraphicsUtilities.colorFromFill(fill),20);
+				fill = new SolidColor(GraphicsUtilities.colorFromFill(color));
+				break;
+			case ChartItem.FOCUSEDSELECTED:
+			case ChartItem.SELECTED:
+				if (styleManager.isValidStyleValue(getStyle('itemSelectionColor')))
+					color = getStyle('itemSelectionColor');
+				else
+					color = ColorUtil.adjustBrightness2(GraphicsUtilities.colorFromFill(fill),-30);
+				fill = new SolidColor(color);
+				adjustedRadius = getStyle('adjustedRadius');
+				if (!adjustedRadius)
+					adjustedRadius = 0;
+				break;
+		}
+
+		var stroke:IStroke = getStyle("stroke");
+
+		var w:Number = stroke ? stroke.weight / 2 : 0;
+
+		var cx:Number = unscaledWidth / 2;
+		var cy:Number = unscaledHeight / 2;
+
+		rcFill.left = rcFill.left - adjustedRadius;
+		rcFill.top = rcFill.top - adjustedRadius;
+		rcFill.right = unscaledWidth + adjustedRadius;
+		rcFill.bottom = unscaledHeight + adjustedRadius;
+
+		var g:Graphics = graphics;
+		g.clear();
+		g.moveTo(w, w);
+		if (stroke)
+			stroke.apply(g,null,null);
+		g.moveTo(cx, w - adjustedRadius);
+		if (fill)
+			fill.begin(g, rcFill, null);
+		g.lineTo(unscaledWidth - w + adjustedRadius, cy);
+		g.lineTo(cx, unscaledHeight - w + adjustedRadius);
+		g.lineTo(w - adjustedRadius, cy);
+		g.lineTo(cx, w - adjustedRadius);
+		if (fill)
+			fill.end(g);
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 19398
Author:   smgilson@adobe.com
Date:     2010-12-15T20:20:48.744767Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/ContainerDestructionPolicy.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/IPersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as
+++ frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as
@@ -38,9 +38,9 @@
  *  The SplashScreen monitors device orientation and updates the image so that it
  *  appears on screen as if the orientation is always StageOrientation.DEFAULT.
  *
- *  @see spark.Application#splashScreenImage
- *  @see spark.Application#splashScreenScaleMode
- *  @see spark.Application#splashScreenMinimumDisplayTime
+ *  @see spark.components.Application#splashScreenImage
+ *  @see spark.components.Application#splashScreenScaleMode
+ *  @see spark.components.Application#splashScreenMinimumDisplayTime
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


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

--- frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
+++ frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.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.collections
 {


Initialization race in Validation pathway

--- as3/smartform/src/com/rpath/raf/util/ValidationHelper.as
+++ as3/smartform/src/com/rpath/raf/util/ValidationHelper.as
@@ -398,7 +398,7 @@
             {
                 var v:Validator = validators[i] as Validator;

-                if (v && v.enabled)
+                if (v && v.enabled && v.source)
                 {
                     // Validate with event dispatch so that we and our errorTip
                     // manager get to hear the events.


back port and apply adufilie's fixes to the Language class.   This closes #3

--- frameworks/projects/Core/as/src/org/apache/flex/utils/Language.as
+++ frameworks/projects/Core/as/src/org/apache/flex/utils/Language.as
@@ -106,55 +106,33 @@
 		 */
 		static public function is(leftOperand:Object, rightOperand:Object):Boolean
 		{
-			var checkInterfaces:Function, superClass:Object;
-
-			if (leftOperand == null)
+			var superClass:Object;
+
+			if (leftOperand == null || rightOperand == null)
 				return false;

-			if (leftOperand != null && rightOperand == null)
-			{
-				return false;
-			}
-
-			checkInterfaces = function(left:Object):Boolean {
-				var i:int, interfaces:Array;
-
-				interfaces = left.FLEXJS_CLASS_INFO.interfaces;
-				for (i = interfaces.length - 1; i > -1; i--) {
-					if (interfaces[i] === rightOperand) {
-						return true;
-					}
-
-					if (interfaces[i].prototype.FLEXJS_CLASS_INFO.interfaces) {
-						var isit:Boolean = checkInterfaces(new interfaces[i]());
-						if (isit) return true;
-					}
-				}
-
-				return false;
-			};
-
-			if ((rightOperand === String && typeof(leftOperand) === 'string') ||
-				(leftOperand instanceof (rightOperand)))
-			{
-				return true;
-			}
-
+            if (leftOperand instanceof rightOperand)
+                return true;
+            if (rightOperand === Object)
+                return true; // every value is an Object in ActionScript except null and undefined (caught above)
+
 			if (typeof leftOperand === 'string')
-				return false; // right was not String otherwise exit above
+				return rightOperand === String;

 			if (typeof leftOperand === 'number')
 				return rightOperand === Number;

-			if (rightOperand === Array && Array.isArray(leftOperand))
-				return true;
+            if (typeof leftOperand === 'boolean')
+                return rightOperand === Boolean;
+            if (rightOperand === Array)
+                return Array.isArray(leftOperand);

 			if (leftOperand.FLEXJS_CLASS_INFO === undefined)
 				return false; // could be a function but not an instance

 			if (leftOperand.FLEXJS_CLASS_INFO.interfaces)
 			{
-				if (checkInterfaces(leftOperand))
+				if (checkInterfaces(leftOperand, rightOperand))
 				{
 					return true;
 				}
@@ -169,7 +147,7 @@
 				{
 					if (superClass.FLEXJS_CLASS_INFO.interfaces)
 					{
-						if (checkInterfaces(superClass))
+						if (checkInterfaces(superClass, rightOperand))
 						{
 							return true;
 						}
@@ -182,8 +160,48 @@
 			return false;
 		}

-		/**
-		 * postdecrement handles foo++
+        /**
+         * Helper function for is()
+         */
+        private static function checkInterfaces(leftOperand:*, rightOperand:*):Boolean
+        {
+            var i:int, interfaces:Array;
+
+            interfaces = leftOperand.FLEXJS_CLASS_INFO.interfaces;
+            for (i = interfaces.length - 1; i > -1; i--) {
+                if (interfaces[i] === rightOperand) {
+                    return true;
+                }
+
+                if (interfaces[i].prototype.FLEXJS_CLASS_INFO.interfaces) {
+                    var isit:Boolean = checkInterfaces(interfaces[i].prototype, rightOperand);
+                    if (isit) return true;
+                }
+            }
+
+            return false;
+        }
+
+        /**
+         * Implementation of "classDef is Class"
+         */
+        public function isClass(classDef:*):Boolean
+        {
+            return typeof classDef === 'function'
+                   && classDef.prototype
+                   && classDef.prototype.constructor === classDef;
+        }
+
+        /**
+         * Implementation of "classDef as Class"
+         */
+        public function asClass(classDef:*):Boolean
+        {
+            return isClass(classDef) ? classDef : null;
+        }
+
+		/**
+		 * postdecrement handles foo--
 		 *
 		 * @param obj The object with the getter/setter.
 		 * @param prop The name of a property.
@@ -211,7 +229,7 @@
 		}

 		/**
-		 * predecrement handles ++foo
+		 * predecrement handles --foo
 		 *
 		 * @param obj The object with the getter/setter.
 		 * @param prop The name of a property.
@@ -225,7 +243,7 @@
 		}

 		/**
-		 * preincrement handles --foo
+		 * preincrement handles ++foo
 		 *
 		 * @param obj The object with the getter/setter.
 		 * @param prop The name of a property.
@@ -287,15 +305,6 @@
 			var theConsole:*;
             var windowConsole:* = window.console;

-			var msg:String = '';
-
-			for (var i:int = 0; i < rest.length; i++)
-			{
-				if (i > 0)
-					msg += ' ';
-				msg += rest[i];
-			}
-
 			theConsole = goog.global.console;

 			if (theConsole === undefined && windowConsole !== undefined)
@@ -305,7 +314,7 @@
 			{
 				if (theConsole && theConsole.log)
 				{
-					theConsole.log(msg);
+					theConsole.log.apply(theConsole, rest);
 				}
 			}
 			catch (e:Error)


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/View.as
+++ frameworks/projects/mobilecomponents/src/spark/components/View.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 spark.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 11995
Author:   doug.lee@ssbbartgroup.com
Date:     2009-11-19T18:50:30.831767Z

Log Message:
-----------
Updated all AccImpls that use MSAA constants (except TextLayout) to
use the new AccConst references instead of hard-coding hex numbers and
local copies of the constants.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LabelAccImpl.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/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextInputAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/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/airframework/src/spark/accessibility/WindowedApplicationAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/DropDownListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/RichEditableTextAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/CheckBoxAccImpl.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/spark/src/spark/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>
<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/spark/src/spark/accessibility/ButtonBarAccImpl.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/spark/src/spark/accessibility/NumericStepperAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SkinnableTextBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LinkButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ToggleButtonAccImpl.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/airframework/src/spark/accessibility/WindowAccImpl.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/spark/src/spark/accessibility/VideoPlayerAccImpl.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/TitleWindowAccImpl.as</path>

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

--- frameworks/projects/mx/src/mx/accessibility/TitleWindowAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/TitleWindowAccImpl.as
@@ -15,6 +15,7 @@
 import flash.accessibility.Accessibility;
 import flash.events.Event;
 import flash.events.MouseEvent;
+import mx.accessibility.AccConst;
 import mx.containers.Panel;
 import mx.containers.TitleWindow;
 import mx.core.UIComponent;
@@ -35,32 +36,6 @@
 {
     include "../core/Version.as";

-	//--------------------------------------------------------------------------
-	//
-	//  Class constants
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_MOVEABLE:uint = 0x00040000;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_CREATE:uint = 0x8000;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_DESTROY:uint = 0x8001;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_LOCATIONCHANGE:uint = 0x800B;
-
 	//--------------------------------------------------------------------------
 	//
 	//  Class methods
@@ -105,7 +80,7 @@
 		titleBar.accessibilityImplementation =
 			new TitleWindowAccImpl(component);

-		Accessibility.sendEvent(titleBar, 0, EVENT_OBJECT_CREATE);
+		Accessibility.sendEvent(titleBar, 0, AccConst.EVENT_OBJECT_CREATE);
 		Accessibility.updateProperties();
 	}

@@ -163,7 +138,7 @@
 	{
 		var accState:uint = getState(childID);

-		accState |= STATE_SYSTEM_MOVEABLE;
+		accState |= AccConst.STATE_SYSTEM_MOVEABLE;

 		return accState;
 	}
@@ -193,13 +168,13 @@
 				if (event.target == Panel(master).getTitleBar())
 				{
 					Accessibility.sendEvent(Panel(master).getTitleBar(), 0,
-											EVENT_OBJECT_LOCATIONCHANGE, true);
+											AccConst.EVENT_OBJECT_LOCATIONCHANGE, true);
 				}

 				if (event.target == Panel(master).closeButton)
 				{
 					Accessibility.sendEvent(Panel(master).getTitleBar(), 0,
-											EVENT_OBJECT_DESTROY, true);
+											AccConst.EVENT_OBJECT_DESTROY, true);
 				}

 				Accessibility.updateProperties();


Transferred from the Adobe Open Source Subversion Repository

Revision: 10435
Author:   gruehle@adobe.com
Date:     2009-09-20T16:57:43.613670Z

Log Message:
-----------
Collection of low-hanging fruit bug fixes:
* Add backgroundAlpha/backgroundColor style metadata to SkinnableContainerBase and remove it from Panel/Border.
* Add background rect to SkinnableContainerSkin and SkinnableDataContainerSkin.
* Add SkinnableContainerBase selector to spark defaults.css
* BorderSkin – clear the lineStyle before drawing the shadow
* BorderStyles – add ASDoc comment
* ApplicationBackground – remove flex 4 code. This class is only used with the Halo theme.
* Set DateField cornerRadius to 0 in framework defaults.css

QE notes: None
Doc notes: None
Bugs: SDK-23249, SDK-23144, SDK-23243, SDK-22551, SDK-21234
Reviewer: Kevin, Jason
Tests run: checkintests
Is noteworthy for integration: Yes - SkinnableContainer/SkinnableDataContainer now support backgroundColor/backgroundAlpha styles.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ApplicationBackground.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/skins/spark/SkinnableContainerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/BorderContainer.as
+++ frameworks/projects/spark/src/spark/components/BorderContainer.as
@@ -15,35 +15,6 @@
 import mx.graphics.IStroke;

 import spark.components.SkinnableContainer;
-
-/**
- *  Alpha level of the color defined by the backgroundColor
- *  property, or the image file defined by the backgroundImage
- *  style.
- *  Valid values range from 0.0 to 1.0.
- *
- *  @default 1.0
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Style(name="backgroundAlpha", type="Number", inherit="no")]
-
-/**
- *  Background color of the container.
- *
- *  The default value is undefined, which means it is not set.
- *  If both this style and the backgroundImage style
- *  are undefined, the component has a transparent background.
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Style(name="backgroundColor", type="uint", format="Color", inherit="no")]

 /**
  *  Background image of a container.  This can be an absolute or relative


Made Injector#setParentInjector public to enable turning independently created injectors into child injectors.

This is mainly meant to be used in the context of Robotlegs, which subclasses Injector to allow for using swappable injector implementations through a uniform interface.
Because SwiftSuspenders must not have a dependency on Robotlegs, we can't internally create an instance of Robotlegs' SwiftSuspendersInjector. Using the public setParentInjector method, it's possible to manually instantiate SwiftSuspendersInjector and set the parent context's injector as the parent injector afterwards.

--- src/org/swiftsuspenders/Injector.as
+++ src/org/swiftsuspenders/Injector.as
@@ -184,6 +184,11 @@
 			injector.setParentInjector(this);
 			return injector;
 		}
+
+		public function setParentInjector(parentInjector : Injector) : void
+		{
+			m_parentInjector = parentInjector;
+		}

 		/*******************************************************************************************
@@ -316,10 +321,5 @@
 					getInjectionPoints(Class(getDefinitionByName(parentClassName)));
 			injectionPoints.push.apply(injectionPoints, parentInjectionPoints);
 		}
-
-		private function setParentInjector(parentInjector : Injector) : void
-		{
-			m_parentInjector = parentInjector;
-		}
 	}
 }


Brings simple MediatorCreator in line with MediatorMap mediator lifecycle

--- src/robotlegs/bender/extensions/viewProcessorMap/utils/MediatorCreator.as
+++ src/robotlegs/bender/extensions/viewProcessorMap/utils/MediatorCreator.as
@@ -73,17 +73,32 @@

 		private function initializeMediator(view:Object, mediator:Object):void
 		{
-			if (mediator.hasOwnProperty('viewComponent'))
+			if ('preInitialize' in mediator)
+				mediator.preInitialize();
+
+			if ('viewComponent' in mediator)
 				mediator.viewComponent = view;

-			if (mediator.hasOwnProperty('initialize'))
+			if ('initialize' in mediator)
 				mediator.initialize();
+
+			if ('postInitialize' in mediator)
+				mediator.postInitialize();
 		}

 		private function destroyMediator(mediator:Object):void
 		{
-			if (mediator.hasOwnProperty('destroy'))
+			if ('preDestroy' in mediator)
+				mediator.preDestroy();
+
+			if ('destroy' in mediator)
 				mediator.destroy();
+
+			if ('viewComponent' in mediator)
+				mediator.viewComponent = null;
+
+			if ('postDestroy' in mediator)
+				mediator.postDestroy();
 		}
 	}
 }


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 21594
Author:   deeptika@adobe.com
Date:     2011-07-18T11:39:38.158141Z

Log Message:
-----------
Changing the style setting mechanism in charts (moving to defaults.css) to fix memory leak in charts.
QE notes:
Doc notes:
Bugs: FLEXDMV-2626 (Views with charts not getting GC-ed)
Reviewer:
Tests run: Mustella test suite for charts - cyclone tested by QE
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/BubbleChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/ColumnChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts-4.X.0.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/GridLines.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/PieSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/BarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/AreaChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/AxisRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/LineSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/PieChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/PlotChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/CandlestickChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts-3.0.0.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/HLOCChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/LineChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/BarSeries.as</path>

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

--- frameworks/projects/charts/src/mx/charts/AxisRenderer.as
+++ frameworks/projects/charts/src/mx/charts/AxisRenderer.as
@@ -46,6 +46,7 @@
 import mx.core.UITextFormat;
 import mx.core.mx_internal;
 import mx.graphics.IStroke;
+import mx.graphics.SolidColorStroke;
 import mx.graphics.Stroke;
 import mx.managers.ILayoutManagerClient;
 import mx.managers.ISystemManager;
@@ -1097,132 +1098,37 @@
 	private function initStyles():Boolean
 	{
 		HaloDefaults.init(styleManager);
+		var axisRenderer:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.AxisRenderer");
+		axisRenderer.setStyle("axisStroke", new SolidColorStroke(0, 0, 1));
+		axisRenderer.setStyle("tickStroke", new SolidColorStroke(0, 0, 1));
+		axisRenderer.setStyle("minorTickStroke", new SolidColorStroke(0, 0, 1));

-		var o:CSSStyleDeclaration;
+		var blockCategoryAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".blockCategoryAxis");
+		blockCategoryAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 8, 1, false, "normal", "none"));
+		blockCategoryAxis.setStyle("tickStroke", new SolidColorStroke(0xFFFFFF, 2, 1, false, "normal", "none"));

-		var axisRendererStyle:CSSStyleDeclaration =
-			HaloDefaults.createSelector("mx.charts.AxisRenderer", styleManager);
+		var blockNumericAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".blockNumericAxis");
+		blockNumericAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 8, 1, false, "normal", "none"));
+		blockNumericAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
+		blockNumericAxis.setStyle("minorTickStroke", new SolidColorStroke(0xFFFFFF, 1, 1, false, "normal", "none"));

-		axisRendererStyle.defaultFactory = function():void
-		{
-			this.axisStroke = new Stroke(0, 0, 1);
-			this.canDropLabels = null;
-			this.canStagger = true;
-			this.labelGap = 3;
-			this.labelRotation = NaN;
-			this.minorTickLength = 0;
-			this.minorTickPlacement = "none";
-			this.minorTickStroke = new Stroke(0, 0, 1);
-			this.showLabels = true;
-			this.showLine = true;
-			this.tickLength = 3;
-			this.tickPlacement = "outside";
-			this.tickStroke = new Stroke(0, 0, 1);
-			this.labelAlign = "center";
-			this.verticalAxisTitleAlignment="flippedVertical";
-		}
+		var lineNumericAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".linedNumericAxis");
+		lineNumericAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));
+		lineNumericAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
+		lineNumericAxis.setStyle("minorTickStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));

-		var vaxisRendererStyle:CSSStyleDeclaration =
-			HaloDefaults.createSelector(".verticalAxisStyle", styleManager);
+		var dashedNumericAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".dashedNumericAxis");
+		dashedNumericAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
+		dashedNumericAxis.setStyle("minorTickStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));

-		vaxisRendererStyle.defaultFactory = function():void
-		{
-			this.minorTickLength = 2;
-			this.minorTickPlacement = "outside";
-			this.tickLength = 5;
-		}
+		var dashedCategoryAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".dashedCategoryAxis");
+		dashedCategoryAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
+		dashedCategoryAxis.setStyle("tickStroke", new SolidColorStroke(0xFFFFFF, 2, 1, false, "normal", "none"));

-		var blockNumeric:CSSStyleDeclaration =
-			HaloDefaults.createSelector(".blockNumericAxis", styleManager);
-
-		blockNumeric.defaultFactory = function():void
-		{
-			this.axisStroke =
-				new Stroke(0xBBCCDD, 8, 1, false, "normal", "none");
-			this.minorTickLength = 0;
-			this.minorTickPlacement = "cross";
-			this.minorTickStroke =
-				new Stroke(0xFFFFFF, 1, 1, false, "normal", "none");
-			this.tickLength = 8;
-			this.tickStroke =
-				new Stroke(0xBBCCDD, 1, 1,false, "normal", "none");
-		}
-
-		var linedNumeric:CSSStyleDeclaration =
-			HaloDefaults.createSelector(".linedNumericAxis", styleManager);
-
-		linedNumeric.defaultFactory = function():void
-		{
-			this.axisStroke =
-				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
-			this.minorTickLength = 4;
-			this.minorTickPlacement = "outside";
-			this.minorTickStroke =
-				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
-			this.tickLength = 8;
-			this.tickStroke =
-				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
-		}
-
-		var dashedNumeric:CSSStyleDeclaration =
-			HaloDefaults.createSelector(".dashedNumericAxis", styleManager);
-
-		dashedNumeric.defaultFactory = function():void
-		{
-			this.minorTickLength = 4;
-			this.minorTickPlacement = "outside";
-			this.minorTickStroke =
-				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
-			this.showLine = false;
-			this.tickLength = 8;
-			this.tickStroke =
-				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
-		}
-
-		var blockCategory:CSSStyleDeclaration =
-			HaloDefaults.createSelector(".blockCategoryAxis", styleManager);
-
-		blockCategory.defaultFactory = function():void
-		{
-			this.axisStroke =
-				new Stroke(0xBBCCDD, 8, 1, false, "normal", "none");
-			this.minorTickLength = 0;
-			this.minorTickPlacement = "none";
-			this.tickLength = 0;
-			this.tickPlacement = "cross";
-			this.tickStroke =
-				new Stroke(0xFFFFFF, 2, 1, false, "normal", "none");
-		}
-
-		var hangingCategory:CSSStyleDeclaration =
-			HaloDefaults.createSelector(".hangingCategoryAxis", styleManager);
-
-		hangingCategory.defaultFactory = function():void
-		{
-			this.axisStroke =
-				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
-			this.minorTickLength = 0;
-			this.minorTickPlacement = "cross";
-			this.minorTickStroke = new Stroke(0, 0, 0);
-			this.tickLength = 4;
-			this.tickStroke =
-				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
-		}
-
-		var dashedCategory:CSSStyleDeclaration =
-			HaloDefaults.createSelector(".dashedCategoryAxis", styleManager);
-
-		dashedCategory.defaultFactory = function():void
-		{
-			this.axisStroke =
-				new Stroke(0xBBCCDD, 1, 1, false, "normal", "none");
-			this.minorTickPlacement = "none";
-			this.tickLength = 0;
-			this.tickPlacement = "cross";
-			this.tickStroke =
-				new Stroke(0xFFFFFF, 2, 1, false, "normal", "none");
-		}
-
+		var hangingCategoryAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".hangingCategoryAxis");
+		hangingCategoryAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
+		hangingCategoryAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));
+		hangingCategoryAxis.setStyle("minorTickStroke", new SolidColorStroke(0,0,0));
 		return true;
 	}

@@ -1833,8 +1739,12 @@
             if (skipCount > maxSkipCount)
             {
                 maxSkipCount = skipCount;
-            }
-			lastLabel = _labels[maxSkipCount + 1] ? _labels[maxSkipCount + 1] : _labels[_labels.length - 1];
+            }
+			if(maxSkipCount == 0)
+				lastLabel = _labels[_labels.length - 1];
+			else
+				lastLabel = _labels[maxSkipCount + 1] ? _labels[maxSkipCount + 1] : _labels[_labels.length - 1];
+			//lastLabel = prevLabel;
         }

         else
@@ -3291,7 +3201,7 @@
 					if(label.hasOwnProperty("htmlText"))
 						label.htmlText = labelData.text;
 					else
-						label.text = labelData.text;
+                    label.text = labelData.text;
 					if(sparkLabelClass && labelData.instance is sparkLabelClass)
 					{
 						label.setStyle("paddingTop", 5);


Transferred from the Adobe Open Source Subversion Repository

Revision: 8579
Author:   mhorn@adobe.com
Date:     2009-07-15T15:36:16.983550Z

Log Message:
-----------
asdoc fixes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -4237,17 +4237,17 @@
 	 *  A flag that indicates whether child objects can receive focus
 	 *
 	 *
This is similar to the tabChildren property
-     *  used by the Flash Player.
+     *  used by Flash Player.

 	 *
 	 *
This is usually false because most components
      *  either receive focus themselves or delegate focus to a single
      *  internal sub-component and appear as if the component has
-     *  received focus.  For example, a TextInput contains a focusable
+     *  received focus. For example, a TextInput contains a focusable
      *  child RichEditableText control, but while the RichEditableText
      *  sub-component actually receives focus, it appears as if the
-     *  TextInput has focus.  TextInput sets hasFocusableChildren
+     *  TextInput has focus. TextInput sets hasFocusableChildren
      *  to false because TextInput is considered the
-     *  component that has focus.  Its internal structure is an
+     *  component that has focus. Its internal structure is an
      *  abstraction.

      *
 	 *
Usually only navigator components like TabNavigator and


- change: the content displays for UIComponent now ignore mouse events

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8408
Author:   gosmith@adobe.com
Date:     2009-07-06T23:11:17.146372Z

Log Message:
-----------
Kerning is now enabled by default for Spark components, but remains disabled by default for Halo components.

This is accomplished by having the global selector set 'kerning' to a new value, "default". Spark components now interpret "default" as "auto", while Halo components interpret "default" as false.

In Beta 1, kerning was accidentally enabled in some Spark components; then it was deliberately disabled in all of them as an interim step. Now we're enabling it in all Spark components, which is what we want for Flex 4.0. A cyclone build of this change was performance-tested and showed no degradation.

Background info:

In Halo components based on TextField, kerning is supposed to be true or false. The default in TextField and Flex 3 is false because kerning doesn't work for device fonts and is slow for embedded fonts.

In Spark components based on TLF and FTE, kerning is "auto", "on", or, "off". The default in TLF and FTE is "auto"  (which means kern non-Asian characters) because kerning works even on device fonts and has miminal performance impact.

Since a CSS selector or parent container can affect both Halo and Spark components, we need to map "auto" and "on" to true and "off" to false for Halo components in UITextField and  UITLFTextField. For Spark components, SimpleText and CSSTextLayoutFormat, we do the opposite mapping of true to "on" and false to "off".

We will also now support a value of "default"  (which will be set in the global selector) to mean false for Halo and "auto" for Spark. This will enable developers  to get the recommended behavior in both sets of components.

QE Notes: This change will require all baseline bitmaps for Spark components containing text to be regenerated.
Doc Notes: None
Bugs: SDK-21952
Reviewer: Carol

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/CSSTextLayoutFormat.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/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/SimpleText.as</path>

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

--- frameworks/projects/framework/src/mx/core/UITextField.as
+++ frameworks/projects/framework/src/mx/core/UITextField.as
@@ -2111,11 +2111,31 @@
         textFormat.indent = getStyle("textIndent");
         textFormat.italic = getStyle("fontStyle") == "italic";
 		var kerning:* = getStyle("kerning");
-        // Map new Spark values that might be set in a selector
-		// affecting both Halo and Spark components.
+		// In Halo components based on TextField,
+		// kerning is supposed to be true or false.
+		// The default in TextField and Flex 3 is false
+		// because kerning doesn't work for device fonts
+		// and is slow for embedded fonts.
+		// In Spark components based on TLF and FTE,
+		// kerning is "auto", "on", or, "off".
+		// The default in TLF and FTE is "auto"
+		// (which means kern non-Asian characters)
+		// because kerning works even on device fonts
+		// and has miminal performance impact.
+        // Since a CSS selector or parent container
+		// can affect both Halo and Spark components,
+		// we need to map "auto" and "on" to true
+		// and "off" to false for Halo components
+		// here and in UITLFTextField.
+		// For Spark components, SimpleText and CSSTextLayoutFormat,
+		// do the opposite mapping of true to "on" and false to "off".
+		// We also support a value of "default"
+		// (which we set in the global selector)
+		// to mean false for Halo and "auto" for Spark,
+		// to get the recommended behavior in both sets of components.
 		if (kerning == "auto" || kerning == "on")
 			kerning = true;
-		else if (kerning == "off")
+		else if (kerning == "default" || kerning == "off")
 			kerning = false;
         textFormat.kerning = kerning;
         textFormat.leading = getStyle("leading");


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 10464
Author:   rfrishbe@adobe.com
Date:     2009-09-21T17:40:30.663638Z

Log Message:
-----------
Removing support in Flex framework for compatibility version < 3.  We won't support compatibility-version 2 or 2.01 anymore.  We only keep compatibility-version for one full release, so for Flex 4, we only support compatibility-version = 3.x.

This should reduce our code-size some as we no longer need this old code.  I didn't clean up the compiler's support for compatibility-versioning as it didn't seem worth the effort.

QE notes: -
Doc notes: -
Bugs: SDK-15360
Reviewer: Kevin
Tests run: checkintests, Joan ran all mustella tests
Is noteworthy for integration: Yes

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/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/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/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.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/skins/halo/ScrollArrowSkin.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/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.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/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.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/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/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/controls/CheckBox.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/DateChooserYearArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkButton.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/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuBarItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PanelSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuItemRenderer.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/controls/PopUpButton.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/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.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/ComboBox.as</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/List.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/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/Flex.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/controls/sliderClasses/Slider.as</path>

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

--- frameworks/projects/mx/src/mx/containers/TabNavigator.as
+++ frameworks/projects/mx/src/mx/containers/TabNavigator.as
@@ -20,7 +20,6 @@
 import mx.controls.TabBar;
 import mx.core.Container;
 import mx.core.EdgeMetrics;
-import mx.core.FlexVersion;
 import mx.core.IFlexDisplayObject;
 import mx.core.IInvalidating;
 import mx.core.IProgrammaticSkin;
@@ -403,9 +402,6 @@
      */
     override public function get baselinePosition():Number
     {
-        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
-            return super.baselinePosition;
-
         if (!validateBaselinePosition())
             return NaN;

@@ -557,13 +553,6 @@
             tabBar.focusEnabled = false;
             tabBar.styleName = new StyleProxy(this, tabBarStyleFilters);
             rawChildren.addChild(tabBar);
-
-            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
-            {
-                tabBar.setStyle("paddingTop", 0);
-                tabBar.setStyle("paddingBottom", 0);
-                tabBar.setStyle("borderStyle", "none");
-            }
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5092
Author:   gruehle@adobe.com
Date:     2009-02-26T20:31:11.499539Z

Log Message:
-----------
Spark skins for Halo components. WARNING: The appearance of ALL applications is affected by this checkin. If you want to go back to the old skins, there is a new Halo theme (in frameworks/themes/Halo) that can be used to go back to the Flex 3 appearance.

This checkin introduces a new swc - sparkskins.swc. This swc contains the spark skins for the Halo components. (these skins depend on FXG, which means they cannot live in frameworks.swc).

This checkin also introduces a new theme - Halo. This is the Flex 3 theme, packaged for easy consumption.

Known issues:
* DMV and AIR components are not reskinned yet
* Editable ComboBox skin is not final (left edge of button is wrong)
* PopUpButton/PopUpMenuButton does not differentiate over/down from popUpOver/popUpDown.
* Indeterminate progress bar is not final
* ComboBox/Menu drop shadows are incorrect (missing, actually...)
* Spark styles are mostly functional, but not entirely.
* Metadata for spark styles has not been added to the Halo components yet
* Focus drawing is off for many components
* Setting compatibilityVersion to 3.0.0 is not yet correctly loading the Halo skins (using 2.0.1 works)

There are some slight differences in appearance between some Halo and Gumbo components:
* Scroll thumb minimum size is smaller in Halo
* Height of text input is slightly different
* Slider data tips look different (this may be changing...)
* When using the halo theme and changing themeColor, you must also set rollOverColor and selectionColor

This checkin also fixes many bugs related to text styles in Gumbo components:
SDK-19476 - ID selectors don't match ids that are for a TextBox in a spark skins
SDK-18533 - color style doesn't work when set on FxList
SDK-18455 - Setting 'color' on a global selector does not affect Spark components
SDK-18343 - Spark components do not inherit some styles from their parent containers
(and possibly several others)

Modified Paths:
--------------
128 paths were modified

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

--- frameworks/projects/spark/src/spark/components/Button.as
+++ frameworks/projects/spark/src/spark/components/Button.as
@@ -446,11 +446,8 @@
         {
             labelField.text = label;

-            // TODO: Remove this hard-coded styleName assignment
-            // once all global text styles are moved to the global
-            // stylesheet. This is a temporary workaround to support
-            // inline text styles for Buttons and subclasses.
-            labelField.styleName = this;
+            // Temporary ...
+            labelField.setStyle("verticalAlign", getStyle("verticalAlign"));
         }
     }