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

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


FLEX-34119 Adding some explanations on the main unit test.

--- frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
+++ frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
@@ -19,6 +19,17 @@
 	import org.flexunit.asserts.assertTrue;
 	import org.flexunit.runners.Parameterized;

+    /**
+     * README
+     *
+     * -This unit test was initially created to test FLEX-34119, and ended up uncovering FLEX-34424 as well.
+     * -This test builds a hierarchical collection from a string (see HIERARCHY_STRING), so that it's easy
+     * to edit and change it for specific scenarios.
+     * -This test uses utility functions from HierarchicalCollectionViewTestUtils, and data objects from DataNode.
+     * -Running the test takes about 3min on my machine. It will vary on yours, of course, but it shouldn't
+     * be wildly different.
+     * -To speed it up you can decrease the size of the hierarchical collection by editing HIERARCHY_STRING.
+     */
 	[RunWith("org.flexunit.runners.Parameterized")]
 	public class HierarchicalCollectionViewCursor_FLEX_34119_Test
 	{


renamed main app to correlate to demo name, had to change type in facade

--- src/org/puremvc/as3/demos/flex/weborb/bookstore/ApplicationFacade.as
+++ src/org/puremvc/as3/demos/flex/weborb/bookstore/ApplicationFacade.as
@@ -41,7 +41,7 @@

 		}

-		public function startup( app:PureMVCExample ):void
+		public function startup( app:Bookstore ):void
 		{
 			facade.notifyObservers( new Notification( ApplicationFacade.APP_INIT, app ) );
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 16064
Author:   chaase@adobe.com
Date:     2010-05-12T15:37:49.345162Z

Log Message:
-----------
Initial checkin of "true autoReverse" feature. This feature adds no new API, but does add new behavior to the existing autoReverse property on Transition. Now, if autoReverse="true", any transition declared from/to the opposite states of the currently-requested state change can be used as a transition for this state change, played in reverse. This essentially means that you can author a single reverse for a forward direction and have the system play that transition in reverse for the opposite direction. Previously, you needed to author both directions, and take care to make them symmetric, in order to get them to play correctly when reversing in the middle. Note that if you author a *-to-* Transition (any to any), the new reversing behavior does nothing for you, because there is no way for the system to detect the forward (and thus the reverse) direction, so that transition will always play in the declared direction.
The main functionality needed to get this working was bolstering the currentSupport for playReversedFromEnd that already existed in Effect (along with the playReversed functionality in effect instances). There was also some timing engine details in Animation to make it work correctly, especially with startDelay.
Some work was done to make Fade work correctly when playing in reverse, though there is still a problem with some of the auto-fade functionality (fading items because of visible/parent changes between states) when the Fade effect has a startDelay.

QE notes: Tested on existing effects tests to make sure new behavior didn't break anything. But need new tests specifically around this new behavior.
Doc notes: Added new docs to Transition.autoReverse to describe the new behavior
Bugs: None
Reviewer: Corey
Tests run: checkintests, Mustella spark/effects, mx/effects
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/Transition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.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/effects/effectClasses/ParallelInstance.as</path>

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as
@@ -179,8 +179,41 @@
             var instances:Array = childSets[i];
             var m:int = instances.length;
             for (var j:int = 0; j < m; j++)
-                instances[j].playheadTime = childPlayheadTime;
-        }
+                instances[j].playheadTime = playReversed ?
+                    Math.max(0, (childPlayheadTime -
+                                 (durationWithoutRepeat - instances[j].actualDuration))) :
+                    childPlayheadTime;
+        }
+
+        // Add any effects waiting on the replayQueue, which holds the
+        // effects waiting to be played at the right time when reversing
+        if (playReversed && replayEffectQueue != null && replayEffectQueue.length > 0)
+        {
+            var position:Number = durationWithoutRepeat - playheadTime;
+            var numDone:int = replayEffectQueue.length;
+            for (i = numDone - 1; i >= 0; i--)
+            {
+                var childEffect:EffectInstance = replayEffectQueue[i];
+
+                // If the position is less than the child duration, then
+                // we must be either in or past the child effect, so we
+                // should start that effect
+                if (position <= childEffect.actualDuration)
+                {
+                    // Move the effect from the done queue back onto the active one
+                    if (activeEffectQueue == null)
+                        activeEffectQueue = [];
+                    activeEffectQueue.push(childEffect);
+                    replayEffectQueue.splice(i,1);
+
+                    childEffect.playReversed = playReversed;
+                    childEffect.startEffect();
+                    // Note that we've already set the playheadTime on these
+                    // queued effects in the previous loop on childSets
+                }
+            }
+        }
+
     }

 	//--------------------------------------------------------------------------
@@ -547,6 +580,8 @@
 			if (position <= childEffect.actualDuration)
 			{
 				// Move the effect from the done queue back onto the active one
+                if (activeEffectQueue == null)
+                    activeEffectQueue = [];
 				activeEffectQueue.push(childEffect);
 				replayEffectQueue.splice(i,1);


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

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

 package spark.skins.mobile
 {


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

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

 package mx.effects.effectClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4351
Author:   smgilson@adobe.com
Date:     2008-12-18T18:28:42.169255Z

Log Message:
-----------
Fix broken ASDoc comment in LinearLayoutVector.as

QE Notes: None
Doc Notes: None
Bugs:

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.as

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as
@@ -306,7 +306,7 @@
      *  Equivalent to:
      *

      *  var distance:Number = 0;
-     *  for (var i:int = 0; i < index; i++)
+     *  for (var i:int = 0; i < index; i++)
      *      distance += get(i);
      *  return distance + (gap * index);
      *

@@ -376,7 +376,7 @@
     /**
      *  Returns the index of the item that overlaps the specified distance.
      *
-     *  The item at index i overlaps a distance value
+     *  The item at index i overlaps a distance value
      *  if start(i) <= distance < end(i).
      *
      *  If no such item exists, -1 is returned.


Transferred from the Adobe Open Source Subversion Repository

Revision: 4960
Author:   gosmith@adobe.com
Date:     2009-02-14T02:23:27.721068Z

Log Message:
-----------
Decreased the number of Gumbo style buckets.

Combined AdvancedCharacterFormatTextStyles.as, AdvancedParagraphFormatTextStyles.as, and AdvancedContainerFormatTextStyles.as into AdvancedTextLayoutFormatStyles.as.

Combined BasicCharacterFormatTextStyles.as, BasicParagraphFormatTextStyles.as, and BasicContainerFormatTextStyles.as into BasicTextLayoutFormatStyles.as.

The reason for doing this is that TLF combined its CharacterFormat, ParagraphFormat, and ContainerFormat classes into a single TextLayoutFormat.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: None; no functional change

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedCharacterFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicContainerFormatTextStyles.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedParagraphFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicCharacterFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTextBase.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicParagraphFormatTextStyles.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedContainerFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as
@@ -0,0 +1,206 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#alignmentBaseline
+ */
+[Style(name="alignmentBaseline", type="String", enumeration="roman,ascent,descent,ideographicTop,ideographicCenter,ideographicBottom,useDominantBaseline", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#baselineShift
+ */
+[Style(name="baselineShift", type="Object", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#breakOpportunity
+ */
+[Style(name="breakOpportunity", type="String", enumeration="auto,all,any,none", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#cffHinting
+ */
+[Style(name="cffHinting", type="String", enumeration="none,horizontalStem", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#color
+ */
+[Style(name="color", type="uint", format="Color", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#digitCase
+ */
+[Style(name="digitCase", type="String", enumeration="default,lining,oldStyle", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#digitWidth
+ */
+[Style(name="digitWidth", type="String", enumeration="default,proportional,tabular", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#direction
+ */
+[Style(name="direction", type="String", enumeration="ltr,rtl", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#dominantBaseline
+ */
+[Style(name="dominantBaseline", type="String", enumeration="roman,ascent,descent,ideographicTop,ideographicCenter,ideographicBottom", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#fontFamily
+ */
+[Style(name="fontFamily", type="String", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#fontLookup
+ */
+[Style(name="fontLookup", type="String", enumeration="device,embeddedCFF", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#fontSize
+ */
+[Style(name="fontSize", type="Number", format="Length", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#fontStyle
+ */
+[Style(name="fontStyle", type="String", enumeration="normal,italic", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#fontWeight
+ */
+[Style(name="fontWeight", type="String", enumeration="normal,bold", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#justificationRule
+ */
+[Style(name="justificationRule", type="String", enumeration="eastAsian,space", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#justificationStyle
+ */
+[Style(name="justificationStyle", type="String", enumeration="prioritizeLeastAdjustment,pushInKinsoku,pushOutOnly", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#kerning
+ */
+[Style(name="kerning", type="String", enumeration="on,off,auto", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#ligatureLevel
+ */
+[Style(name="ligatureLevel", type="String", enumeration="none,minimum,common,uncommon,exotic", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#lineBreak
+ */
+[Style(name="lineBreak", type="String", enumeration="explicit,toFit", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#lineHeight
+ */
+[Style(name="lineHeight", type="Object", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#lineThrough
+ */
+[Style(name="lineThrough", type="Boolean", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#locale
+ */
+[Style(name="locale", type="String", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#paddingBottom
+ */
+[Style(name="paddingBottom", type="Number", format="Length", inherit="no")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#paddingLeft
+ */
+[Style(name="paddingLeft", type="Number", format="Length", inherit="no")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#paddingRight
+ */
+[Style(name="paddingRight", type="Number", format="Length", inherit="no")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#paddingTop
+ */
+[Style(name="paddingTop", type="Number", format="Length", inherit="no")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#renderingMode
+ */
+[Style(name="renderingMode", type="String", enumeration="normal,cff", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#tabStops
+ */
+[Style(name="tabStops", type="Object", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#textAlign
+ */
+[Style(name="textAlign", type="String", enumeration="left,right,center,justify,start,end", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#textAlignLast
+ */
+[Style(name="textAlignLast", type="String", enumeration="left,right,center,justify,start,end", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#textAlpha
+ */
+[Style(name="textAlpha", type="Number", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#textDecoration
+ */
+[Style(name="textDecoration", type="String", enumeration="none,underline", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#textJustify
+ */
+[Style(name="textJustify", type="String", enumeration="distribute,interWord", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#textRotation
+ */
+[Style(name="textRotation", type="String", enumeration="rotate0,rotate90,rotate180,rotate270,auto", inherit="yes")]
+
+/**
+ *  Space added to the advance after each character, as a percentage of the current point size. Percentages can be negative,
+ *  to bring characters closer together. The default value is 0.
+ */
+[Style(name="tracking", type="Object", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#trackingLeft
+ */
+[Style(name="trackingLeft", type="Object", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#trackingRight
+ */
+[Style(name="trackingRight", type="Object", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#typographicCase
+ */
+[Style(name="typographicCase", type="String", enumeration="default,title,caps,smallCaps,uppercase,lowercase,capsAndSmallCaps", inherit="yes")]
+
+/**
+ *  @copy flashx.textLayout.formats.ITextLayoutFormat#verticalAlign
+ */
+[Style(name="verticalAlign", type="String", enumeration="top,middle,bottom,justify", inherit="no")]


Read unsigned bytes, duh.

Read unsigned bytes, duh.

--- tamarin-central/thane/AMF3Decoder.as
+++ tamarin-central/thane/AMF3Decoder.as
@@ -66,25 +66,24 @@

     private static function decodeInteger () :int
     {
-        var b :uint = _ctx.bytes.readByte();
+        var b :uint = _ctx.bytes.readUnsignedByte();
         var n :uint = (b & 0x7f);
         if ((b & 0x80) != 0) {
-            b = _ctx.bytes.readByte();
+            b = _ctx.bytes.readUnsignedByte();
             n = (n << 7) | (b & 0x7f);

             if ((b & 0x80) != 0) {
-                b = _ctx.bytes.readByte();
+                b = _ctx.bytes.readUnsignedByte();
                 n = (n << 7) | (b & 0x7f);

                 if ((b & 0x80) != 0) {
-                    b = _ctx.bytes.readByte();
+                    b = _ctx.bytes.readUnsignedByte();
                     n = (n << 8) | b;

                     if (n >= (1 << 28)) {
                         // adjust for the fact that the 29th bit was the sign bit
-                        return (1 << 29) - n;
+                        return n - (1 << 29);
                     }
-                    return n;
                 }
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8487
Author:   smgilson@adobe.com
Date:     2009-07-09T18:57:21.985536Z

Log Message:
-----------
final checkin 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/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientFilter.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Fade.as
+++ frameworks/projects/spark/src/spark/effects/Fade.as
@@ -29,7 +29,7 @@
  *
  *  @mxml
  *
- *
The <mx:Fade> tag
+ *
The <s:Fade> tag
  *  inherits the tag attributes of its superclass,
  *  and adds the following tag attributes:

  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 7836
Author:   chaase@adobe.com
Date:     2009-06-15T14:37:21.379918Z

Log Message:
-----------
PARB changes for effects. This includes various property renames, a couple of class renames, moving 3 classes to a sub-package, and various doc cleanups. This also includes changing a handful of Array properties to typed Vectors.

QE: This breaks Mustella due to the renames
Doc: Docs will need to be updated to reflect the changes as well
Bugs: None
Reviewer: Jason
Tests: checkintests, Thermo's transitionbug test

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/KeyFrame.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/RepeatBehavior.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/CallActionInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.pbk</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Wipe.as
+++ frameworks/projects/spark/src/spark/effects/Wipe.as
@@ -26,8 +26,8 @@
  *  that is loaded by the effect. If you want to use
  *  a different Wipe behavior, you can specify a custom pixel-shader program
  *  as long as it adheres to the following constraints:
- *  obey the constraints specified for the shaderCode
- *  property of AnimateShaderTransition class, and supply three additional
+ *  obey the constraints specified for the shaderByteCode
+ *  property of AnimateTransitionShader class, and supply three additional
  *  parameters. The extra parameters required by the Wipe shader
  *  are an int direction parameter,
  *  whose values mean the same as the related String properties
@@ -52,8 +52,8 @@
  *

  *
  *  @see spark.effects.WipeDirection
- *  @see spark.effects.AnimateShaderTransition
- *  @see spark.effects.AnimateShaderTransition#shaderCode
+ *  @see spark.effects.AnimateTransitionShader
+ *  @see spark.effects.AnimateTransitionShader#shaderByteCode
  *  @see spark.effects.supportClasses.WipeInstance
  *
  *  @langversion 3.0
@@ -61,7 +61,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public class Wipe extends AnimateShaderTransition
+public class Wipe extends AnimateTransitionShader
 {
     [Embed(source="Wipe.pbj", mimeType="application/octet-stream")]
     private static var WipeShaderClass:Class;
@@ -102,7 +102,7 @@
     {
         super(target);
         instanceClass = WipeInstance;
-        shaderCode = wipeShaderCode;
+        shaderByteCode = wipeShaderCode;
     }

     /**


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

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

 package mx.collections
 {


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

--- frameworks/projects/advancedgrids/src/mx/styles/metadata/GapStyles.as
+++ frameworks/projects/advancedgrids/src/mx/styles/metadata/GapStyles.as
@@ -1,4 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////

+/**
+ *  Number of pixels between children in the horizontal direction.
+ *  The default value depends on the component class;
+ *  if not overriden for the class, the default value is 8.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
 [Style(name="horizontalGap", type="Number", format="Length", inherit="no")]

 /**


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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7221
Author:   dsubrama@adobe.com
Date:     2009-05-22T16:27:26.493658Z

Log Message:
-----------
-Use Drawing API-2 to render caps for every Line graphic element's strokes. As part of this, GradientStroke now implements IStroke and IStroke has a new method, generateGraphicsStroke() which returns a GraphicsStroke object representing this stroke. More refactoring to share graphics stroke logic between LinearGradientStroke and RadialGradientStroke.
-Removed some un-used imports.
-Added some comments to ItemRenderer and had modified List to use static constants for event listeners.

Fixes: SDK-17661, SDK-21353, SDK-21251

Checkintests: Pass
FXG Tests: Passed (cyclone ran by Joan)
Doc: Added ASDoc for ItemRenderer and IStroke, a glance-over would be swell.
Reviewer: Jason for SDK-17661 me for the others.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ErrorSkin.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
@@ -1,11 +1,16 @@
 package mx.graphics
 {
-
+
 import flash.display.GradientType;
 import flash.display.Graphics;
+import flash.display.GraphicsGradientFill;
+import flash.display.GraphicsStroke;
+import flash.geom.Matrix;
 import flash.geom.Rectangle;
+
 import mx.core.mx_internal;
-import flash.geom.Matrix;
+
+use namespace mx_internal;

 /**
  *  The RadialGradientStroke class lets you specify a gradient filled stroke.
@@ -22,7 +27,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-public class RadialGradientStroke extends GradientStroke implements IStroke
+public class RadialGradientStroke extends GradientStroke
 {
     /**
      *  Constructor.
@@ -155,7 +160,7 @@
         {
             _focalPointRatio = value;

-            mx_internal::dispatchGradientChangedEvent("focalPointRatio",
+            dispatchGradientChangedEvent("focalPointRatio",
                                                       oldValue, value);
         }
     }
@@ -204,7 +209,7 @@
         if (value != oldValue && !compoundTransform)
         {
             _scaleY = value;
-            mx_internal::dispatchGradientChangedEvent("scaleY", oldValue, value);
+            dispatchGradientChangedEvent("scaleY", oldValue, value);
         }
     }

@@ -217,7 +222,7 @@
     /**
      *  @private
      */
-    public function apply(g:Graphics):void
+    override public function apply(g:Graphics):void
     {
         // No-op. Need to deprecate. Was never implemented for this class
     }
@@ -233,45 +238,66 @@
 	private static var commonMatrix:Matrix = new Matrix();

     /**
-     *  Draws the stroke.
-     *
-     *  @param g The graphics context where the stroke is drawn.
-     *
-     *  @param rc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function draw(g:Graphics, rc:Rectangle):void
+     *  @private
+     */
+    override public function draw(g:Graphics, rc:Rectangle):void
     {
         g.lineStyle(weight, 0, 1, pixelHinting, scaleMode,
                     caps, joints, miterLimit);

+        calculateTransformationMatrix(rc, commonMatrix);
+
+        g.lineGradientStyle(GradientType.RADIAL, colors,
+                            alphas, ratios, commonMatrix,
+                            spreadMethod, interpolationMethod,
+                            focalPointRatio);
+    }
+
+    /**
+     *  @private
+     */
+    override public function generateGraphicsStroke(rect:Rectangle):GraphicsStroke
+    {
+        // The parent class sets the gradient stroke properties common to
+        // LinearGradientStroke and RadialGradientStroke
+        var graphicsStroke:GraphicsStroke = super.generateGraphicsStroke(rect);
+
+        if (graphicsStroke)
+        {
+            // Set other properties specific to this RadialGradientStroke
+            GraphicsGradientFill(graphicsStroke.fill).type = GradientType.RADIAL;
+            calculateTransformationMatrix(rect, commonMatrix);
+            GraphicsGradientFill(graphicsStroke.fill).matrix = commonMatrix;
+            GraphicsGradientFill(graphicsStroke.fill).focalPointRatio = focalPointRatio;
+
+        }
+
+        return graphicsStroke;
+    }
+
+    /**
+     *  @private
+     *  Calculates this RadialGradientStroke's transformation matrix
+     */
+    private function calculateTransformationMatrix(rect:Rectangle, matrix:Matrix):void
+    {
         if (!compoundTransform)
         {
-	        var w:Number = !isNaN(scaleX) ? scaleX : rc.width;
-	        var h:Number = !isNaN(scaleY) ? scaleY : rc.height;
-	        var bX:Number = !isNaN(x) ? x + rc.left : rc.left;
-	        var bY:Number = !isNaN(y) ? y + rc.top : rc.top;
-
-	        commonMatrix.createGradientBox(w, h,
-	                                 mx_internal::rotationInRadians,
-	                                 bX, bY);
+            var w:Number = !isNaN(scaleX) ? scaleX : rect.width;
+            var h:Number = !isNaN(scaleY) ? scaleY : rect.height;
+            var bX:Number = !isNaN(x) ? x + rect.left : rect.left;
+            var bY:Number = !isNaN(y) ? y + rect.top : rect.top;
+
+            matrix.createGradientBox(w, h, rotationInRadians,
+                bX, bY);
         }
         else
         {
-        	commonMatrix.identity();
-        	commonMatrix.scale (rc.width / 1638.4, rc.height / 1638.4);
-	 		commonMatrix.translate(rc.left, rc.top);
-	 		commonMatrix.concat(compoundTransform.matrix);
+            matrix.identity();
+            matrix.scale (rect.width / 1638.4, rect.height / 1638.4);
+            matrix.translate(rect.left, rect.top);
+            matrix.concat(compoundTransform.matrix);
         }
-
-        g.lineGradientStyle(GradientType.RADIAL, mx_internal::colors,
-                            mx_internal::alphas, mx_internal::ratios,
-                            commonMatrix, spreadMethod,
-                            interpolationMethod, focalPointRatio);
     }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18987
Author:   rfrishbe@adobe.com
Date:     2010-12-03T01:08:34.503999Z

Log Message:
-----------
PARB changes for sizeElement/positionElement.  MobileSkin and MobileItemRenderer's methods have been renamed: resizeElement() -> setElementSize(), positionElement() -> setElementPosition().

Also, cleaning up text reflow for TextAreaSkin

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as
@@ -202,7 +202,7 @@
         if (symbolIcon)
         {
             var currentIcon:DisplayObject = getIconDisplay();
-            positionElement(symbolIcon, currentIcon.x, currentIcon.y);
+            setElementPosition(symbolIcon, currentIcon.x, currentIcon.y);
         }
     }
 }


FLEX-32846 (and probably others) While FP may be fixed it's bad form to delete items from a list while iterating over it.

--- frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as
+++ frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as
@@ -3952,15 +3952,14 @@
     {
         if (isCellSelectionMode())
         {
-            for (var p:String in cellSelectionIndicators[uid])
-            {
-                removeCellIndicators(uid, int(p));
-            }
-
-            for (p in visibleCellRenderers[uid])
-            {
-                delete visibleCellRenderers[uid][p];
-            }
+			var keys:Array = [];
+			for (var p:String in cellSelectionIndicators[uid]) {
+				keys.push(p);
+			}
+
+			for each (p in keys) {
+				removeCellIndicators(uid, int(p));
+			}

             delete visibleCellRenderers[uid];
         }
@@ -7973,13 +7972,18 @@
      */
     protected function clearCellIndicators():void
     {
-        for (var p:String in cellSelectionIndicators)
-        {
-            for (var q:String in cellSelectionIndicators[p])
-            {
-                removeCellIndicators(p, int(q));
-            }
-        }
+		for (var p:String in cellSelectionIndicators)
+		{
+			var keys:Array = [];
+			for (var q:String in cellSelectionIndicators[p]) {
+				keys.push(q);
+			}
+
+			for each (q in keys)
+			{
+				removeCellIndicators(p, int(q));
+			}
+		}

         cellSelectionTweens     = {};
         cellSelectionIndicators = {};


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

--- frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as
+++ frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
 package mx.utils
 {
     import flash.events.IEventDispatcher;


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

--- frameworks/projects/framework/src/mx/formatters/DateFormatter.as
+++ frameworks/projects/framework/src/mx/formatters/DateFormatter.as
@@ -0,0 +1,594 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-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.formatters
+{
+
+import mx.core.mx_internal;
+import mx.managers.ISystemManager;
+import mx.managers.SystemManager;
+
+[ResourceBundle("SharedResources")]
+
+/**
+ *  The DateFormatter class uses a format String to return a formatted date and time String
+ *  from an input String or a Date object.
+ *  You can create many variations easily, including international formats.
+ *
+ *
If an error occurs, an empty String is returned and a String describing
+ *  the error is saved to the error property. The error
+ *  property can have one of the following values:

+ *
+ *

+ *
"Invalid value" means a value that is not a Date object or a
+ *    is not a recognized String representation of a date is
+ *    passed to the format() method. (An empty argument is allowed.)

+ *
 "Invalid format" means either the formatString
+ *    property is set to empty (""), or there is less than one pattern letter
+ *    in the formatString property.

+ *

+ *
+ *
The parseDateString() method uses the mx.formatters.DateBase class
+ *  to define the localized string information required to convert
+ *  a date that is formatted as a String into a Date object.

+ *
+ *  @mxml
+ *
+ *
You use the <mx:DateFormatter> tag
+ *  to render date and time Strings from a Date object.

+ *
+ *
The <mx:DateFormatter> tag
+ *  inherits all of the tag attributes  of its superclass,
+ *  and adds the following tag attributes:

+ *
+ *

+ *  <mx:DateFormatter
+ *    formatString="Y|M|D|A|E|H|J|K|L|N|S"
+ *   />
+ *

+ *
+ *  @includeExample examples/DateFormatterExample.mxml
+ *
+ *  @see mx.formatters.DateBase
+ */
+public class DateFormatter extends Formatter
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private static const VALID_PATTERN_CHARS:String = "Y,M,D,A,E,H,J,K,L,N,S";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Converts a date that is formatted as a String into a Date object.
+     *  Month and day names must match the names in mx.formatters.DateBase.
+     *
+     *  @see mx.formatters.DateBase
+     *
+     *  @param str Date that is formatted as a String.
+     *
+     *  @return Date object.
+     */
+    protected static function parseDateString (str:String):Date
+    {
+        if (!str || str == "")
+            return null;
+
+        var year:int = -1;
+        var mon:int = -1;
+        var day:int = -1;
+        var hour:int = -1;
+        var min:int = -1;
+        var sec:int = -1;
+
+        var letter:String = "";
+        var marker:Object = 0;
+
+        var count:int = 0;
+        var len:int = str.length;
+
+        while (count < len)
+        {
+            letter = str.charAt(count);
+            count++;
+
+            // If the letter is a blank space or a comma,
+            // continue to the next character
+            if (letter <= " " || letter == ",")
+                continue;
+
+            // If the letter is a key punctuation character,
+            // cache it for the next time around.
+            if (letter == "/" || letter == ":" ||
+                letter == "+" || letter == "-")
+            {
+                marker = letter;
+                continue;
+            }
+
+            // Scan for groups of numbers and letters
+            // and match them to Date parameters
+            if ("a" <= letter && letter <= "z" ||
+                "A" <= letter && letter <= "Z")
+            {
+                // Scan for groups of letters
+                var word:String = letter;
+                while (count < len)
+                {
+                    letter = str.charAt(count);
+                    if (!("a" <= letter && letter <= "z" ||
+                          "A" <= letter && letter <= "Z"))
+                    {
+                        break;
+                    }
+                    word += letter;
+                    count++;
+                }
+
+                // Allow for an exact match
+                // or a match to the first 3 letters as a prefix.
+                var n:int = DateBase.mx_internal::defaultStringKey.length;
+                for (var i:int = 0; i < n; i++)
+                {
+                    var s:String = String(DateBase.mx_internal::defaultStringKey[i]);
+                    if (s.toLowerCase() == word.toLowerCase() ||
+                        s.toLowerCase().substr(0,3) == word.toLowerCase())
+                    {
+                        if (i == 13)
+                        {
+                            // pm
+                            if (hour > 12 || hour < 1)
+                                break; // error
+                            else if (hour < 12)
+                                hour += 12;
+                        }
+                        else if (i == 12)
+                        {
+                            // am
+                            if (hour > 12 || hour < 1)
+                                break; // error
+                            else if (hour == 12)
+                                hour = 0;
+
+                        }
+                        else if (i < 12)
+                        {
+                            // month
+                            if (mon < 0)
+                                mon = i;
+                            else
+                                break; // error
+                        }
+                        break;
+                    }
+                }
+                marker = 0;
+            }
+
+            else if ("0" <= letter && letter <= "9")
+            {
+                // Scan for groups of numbers
+                var numbers:String = letter;
+                while ("0" <= (letter = str.charAt(count)) &&
+                       letter <= "9" &&
+                       count < len)
+                {
+                    numbers += letter;
+                    count++;
+                }
+                var num:int = int(numbers);
+
+                // If num is a number greater than 70, assign num to year.
+                if (num >= 70)
+                {
+                    if (year != -1)
+                    {
+                        break; // error
+                    }
+                    else if (letter <= " " || letter == "," || letter == "." ||
+                             letter == "/" || letter == "-" || count >= len)
+                    {
+                        year = num;
+                    }
+                    else
+                    {
+                        break; //error
+                    }
+                }
+
+                // If the current letter is a slash or a dash,
+                // assign num to month or day.
+                else if (letter == "/" || letter == "-" || letter == ".")
+                {
+                    if (mon < 0)
+                        mon = (num - 1);
+                    else if (day < 0)
+                        day = num;
+                    else
+                        break; //error
+                }
+
+                // If the current letter is a colon,
+                // assign num to hour or minute.
+                else if (letter == ":")
+                {
+                    if (hour < 0)
+                        hour = num;
+                    else if (min < 0)
+                        min = num;
+                    else
+                        break; //error
+                }
+
+                // If hours are defined and minutes are not,
+                // assign num to minutes.
+                else if (hour >= 0 && min < 0)
+                {
+                    min = num;
+                }
+
+                // If minutes are defined and seconds are not,
+                // assign num to seconds.
+                else if (min >= 0 && sec < 0)
+                {
+                    sec = num;
+                }
+
+                // If day is not defined, assign num to day.
+                else if (day < 0)
+                {
+                    day = num;
+                }
+
+                // If month and day are defined and year is not,
+                // assign num to year.
+                else if (year < 0 && mon >= 0 && day >= 0)
+                {
+                    year = 2000 + num;
+                }
+
+                // Otherwise, break the loop
+                else
+                {
+                    break;  //error
+                }
+
+                marker = 0
+            }
+        }
+
+        if (year < 0 || mon < 0 || mon > 11 || day < 1 || day > 31)
+            return null; // error - needs to be a date
+
+        // Time is set to 0 if null.
+        if (sec < 0)
+            sec = 0;
+        if (min < 0)
+            min = 0;
+        if (hour < 0)
+            hour = 0;
+
+        // create a date object and check the validity of the input date
+        // by comparing the result with input values.
+        var newDate:Date = new Date(year, mon, day, hour, min, sec);
+        if (day != newDate.getDate() || mon != newDate.getMonth())
+            return null;
+
+        return newDate;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     */
+    public function DateFormatter()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  formatString
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the formatString property.
+     */
+    private var _formatString:String;
+
+    /**
+     *  @private
+     */
+    private var formatStringOverride:String;
+
+    [Inspectable(category="General", defaultValue="null")]
+
+    /**
+     *  The mask pattern.
+     *
+     *
You compose a pattern String using specific uppercase letters,
+     *  for example: YYYY/MM.

+     *
+     *
The DateFormatter pattern String can contain other text
+     *  in addition to pattern letters.
+     *  To form a valid pattern String, you only need one pattern letter.

+     *
+     *
The following table describes the valid pattern letters:

+     *
+     *

+     *
Pattern letter	Description

+     *

+     *      Y
+     *       Year. If the number of pattern letters is two, the year is
+     *        truncated to two digits; otherwise, it appears as four digits.
+     *        The year can be zero-padded, as the third example shows in the
+     *        following set of examples:
+     *

+     *
YY = 05

+     *
YYYY = 2005

+     *
YYYYY = 02005

+     *

+     *

+     *

+     *      M
+     *       Month in year. The format depends on the following criteria:
+     *

+     *
If the number of pattern letters is one, the format is
+     *            interpreted as numeric in one or two digits.

+     *
If the number of pattern letters is two, the format
+     *            is interpreted as numeric in two digits.

+     *
If the number of pattern letters is three,
+     *            the format is interpreted as short text.

+     *
If the number of pattern letters is four, the format
+     *           is interpreted as full text.

+     *

+     *          Examples:
+     *

+     *
M = 7

+     *
MM= 07

+     *
MMM=Jul

+     *
MMMM= July

+     *

+     *

+     *

+     *      D
+     *      Day in month. While a single-letter pattern string for day is valid,
+     *        you typically use a two-letter pattern string.
+     *
+     *
Examples:

+     *

+     *
D=4

+     *
DD=04

+     *
DD=10

+     *

+     *

+     *

+     *      E
+     *      Day in week. The format depends on the following criteria:
+     *

+     *
If the number of pattern letters is one, the format is
+     *            interpreted as numeric in one or two digits.

+     *
If the number of pattern letters is two, the format is interpreted
+     *           as numeric in two digits.

+     *
If the number of pattern letters is three, the format is interpreted
+     *            as short text.

+     *
If the number of pattern letters is four, the format is interpreted
+     *           as full text.

+     *

+     *          Examples:
+     *

+     *
E = 1

+     *
EE = 01

+     *
EEE = Mon

+     *
EEEE = Monday

+     *

+     *

+     *

+     *      A
+     *       am/pm indicator.
+     *

+     *

+     *      J
+     *      Hour in day (0-23).
+     *

+     *

+     *      H
+     *      Hour in day (1-24).
+     *

+     *

+     *      K
+     *      Hour in am/pm (0-11).
+     *

+     *

+     *      L
+     *      Hour in am/pm (1-12).
+     *

+     *

+     *      N
+     *      Minute in hour.
+     *
+     *
Examples:

+     *

+     *
N = 3

+     *
NN = 03

+     *

+     *

+     *

+     *      S
+     *      Second in minute.
+     *
+     *
Example:

+     *

+     *
SS = 30

+     *

+     *

+     *

+     *      Other text
+     *      You can add other text into the pattern string to further
+     *        format the string. You can use punctuation, numbers,
+     *        and all lowercase letters. You should avoid uppercase letters
+     *        because they may be interpreted as pattern letters.
+     *
+     *
Example:

+     *

+     *
EEEE, MMM. D, YYYY at L:NN A = Tuesday, Sept. 8, 2005 at 1:26 PM

+     *

+     *

+     *

+     *
+     *  @default "MM/DD/YYYY"
+     */
+    public function get formatString():String
+    {
+        return _formatString;
+    }
+
+    /**
+     *  @private
+     */
+    public function set formatString(value:String):void
+    {
+        formatStringOverride = value;
+
+        _formatString = value != null ?
+                        value :
+                        resourceManager.getString(
+                            "SharedResources", "dateFormat");
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function resourcesChanged():void
+    {
+        super.resourcesChanged();
+
+        formatString = formatStringOverride;
+    }
+
+    /**
+     *  Generates a date-formatted String from either a date-formatted String or a Date object.
+     *  The formatString property
+     *  determines the format of the output String.
+     *  If value cannot be formatted, return an empty String
+     *  and write a description of the error to the error property.
+     *
+     *  @param value Date to format. This can be a Date object,
+     *  or a date-formatted String such as "Thursday, April 22, 2004".
+     *
+     *  @return Formatted String. Empty if an error occurs. A description
+     *  of the error condition is written to the error property.
+     */
+    override public function format(value:Object):String
+    {
+        // Reset any previous errors.
+        if (error)
+            error = null;
+
+        // If value is null, or empty String just return ""
+        // but treat it as an error for consistency.
+        // Users will ignore it anyway.
+        if (!value || value == "")
+        {
+            error = defaultInvalidValueError;
+            return "";
+        }
+
+        // -- value --
+
+        if (value is String)
+        {
+            value = DateFormatter.parseDateString(String(value));
+            if (!value)
+            {
+                error = defaultInvalidValueError;
+                return "";
+            }
+        }
+        else if (!(value is Date))
+        {
+            error = defaultInvalidValueError;
+            return "";
+        }
+
+        // -- format --
+
+        var letter:String;
+        var nTokens:int = 0;
+        var tokens:String = "";
+
+        var n:int = formatString.length;
+        for (var i:int = 0; i < n; i++)
+        {
+            letter = formatString.charAt(i);
+            if (VALID_PATTERN_CHARS.indexOf(letter) != -1 && letter != ",")
+            {
+                nTokens++;
+                if (tokens.indexOf(letter) == -1)
+                {
+                    tokens += letter;
+                }
+                else
+                {
+                    if (letter != formatString.charAt(Math.max(i - 1, 0)))
+                    {
+                        error = defaultInvalidFormatError;
+                        return "";
+                    }
+                }
+            }
+        }
+
+        if (nTokens < 1)
+        {
+            error = defaultInvalidFormatError;
+            return "";
+        }
+
+        var dataFormatter:StringFormatter = new StringFormatter(
+            formatString, VALID_PATTERN_CHARS,
+            DateBase.mx_internal::extractTokenDate);
+
+        return dataFormatter.formatValue(value);
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 16334
Author:   clucier@adobe.com
Date:     2010-05-27T02:31:28.322720Z

Log Message:
-----------
Preliminary Spark Image and BitmapImage enhancement feature work.  Also included with this checkin is the ability for BitmapImage and s:Image instances to share an image cache.  Queueing is next up to be checked in.

QE notes: Proceed with testing, though PARB related renames are pending. Not considered code complete.
Doc notes: Should begin reviewing new classes in preparation for doc'ing.
Bugs: None
Reviewer: Ryan
Tests run: Checkin, cyclone server Mustella tests.
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/contentLoader/ContentRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/LinkedList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ImageLoadingSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/contentLoader/ContentCache.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/contentLoader</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ImageSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Image.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/LinkedListNode.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapSmoothingQuality.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/contentLoader/LoaderInvalidationEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/contentLoader/IContentLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mx-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapScaleMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/BitmapScaleMode.as
+++ frameworks/projects/framework/src/mx/graphics/BitmapScaleMode.as
@@ -0,0 +1,48 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.graphics
+{
+
+/**
+ *  An enum of the scale modes that determine how a BitmapImage
+ *  scales image content when fillMode is set to BitmapImage.SCALE.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4.5
+ */
+public final class BitmapScaleMode
+{
+    /**
+     *  The bitmap fill stretches to fill the region.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4.5
+     */
+    public static const STRETCH:String = "stretch";
+
+    /**
+     *  The bitmap fill is scaled while maintaining the aspect
+     *  ratio of the original content.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4.5
+     */
+    public static const LETTERBOX:String = "letterbox";
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 5170
Author:   gruehle@adobe.com
Date:     2009-03-05T01:50:32.265259Z

Log Message:
-----------
Round 2 of bug fixes for the Spark skins for Halo components. Thanks to Alex for help with the data grid issues.

Bugs fixed:
SDK-19655 - Setting rowCount property on DataGrid causes extra blank row to be displayed
SDK-19652 - Items in a DataGrid do not line up after scrolling.
SDK-19605 - disabled Halo ColorPicker with Gumbo skin draws too dark
SDK-19596 - When you have a single button on an Alert, the left edge looks flatter than the right
SDK-19585 - Menus compiled with the halo theme in Flex 4 have a different backgroundColor than in Flex 3
SDK-19665 - Halo List with Gumbo skin doesnt draw the alternating item color all the way to the right edge of the control if VScrollBar is present
SDK-19651 - odd header rendering issue on Halo DataGrid with Gumbo skin

QA Notes: The alert layout code was positioning the buttons/text on sub-pixel boundaries if the width or height of the alert was an odd number of pixels. We always snap to pixel boundaries now, but this may cause bitmap compare issues with Alert.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ColorPickerSkin.mxml</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/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>

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

--- frameworks/projects/mx/src/mx/controls/alertClasses/AlertForm.as
+++ frameworks/projects/mx/src/mx/controls/alertClasses/AlertForm.as
@@ -346,7 +346,7 @@
 		newWidth = buttons.length * (buttons[0].width + 8) - 8;

 		// Center the buttons.
-		newX = (unscaledWidth - newWidth) / 2;
+		newX = Math.round((unscaledWidth - newWidth) / 2);
 		for (var i:int = 0; i < buttons.length; i++)
 		{
 			buttons[i].move(newX, newY);
@@ -360,7 +360,7 @@
 			newWidth += icon.width + 8;

 		// Center the text and icon horizontally and vertically.
-		newX = (unscaledWidth - newWidth) / 2;
+		newX = Math.round((unscaledWidth - newWidth) / 2);
 		if (icon)
 		{
 			icon.x = newX;
@@ -369,7 +369,7 @@
 		}

 		var newHeight:Number = textField.getExplicitOrMeasuredHeight();
-		textField.move(newX, (newY - newHeight) / 2);
+		textField.move(newX, Math.round((newY - newHeight) / 2));
 		textField.setActualSize(textWidth+5, newHeight);
 	}


Apache license 2.0 added.

Apache license 2.0 added.

--- tui_flashdevelop3/lib/touchAll/demos/googleMapsDemo/GoogleMapsDemo.as
+++ tui_flashdevelop3/lib/touchAll/demos/googleMapsDemo/GoogleMapsDemo.as
@@ -1,3 +1,20 @@
+/*
+ * Tangible User Interfacer (former TouchAll) demo code.
+ *
+ * Copyright 2016 Gonçalo Amador <g.n.p.amador@gmail.com>
+ *
+ * Licensed 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.
+ */
 package touchAll.demos.googleMapsDemo
 {
 	import flash.ui.*;
@@ -41,4 +58,4 @@
 			tAll.tuioLoader();
 		}
 	}
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20276
Author:   rfrishbe@adobe.com
Date:     2011-02-10T19:16:12.822838Z

Log Message:
-----------
Fixing up maxWidth in SkinnableTextBase when the textDisplay is not a RichEditableText.  Needed to add some calls to super.maxWidth when maxWidth wasn't pushed down to textDisplay.

Also cleaned up some maxHeight code that wasn't being hit.

QE notes: -
Doc notes:
Bugs: SDK-29479
Reviewer: Glenn, Carol
Tests run: checkintests, cyclone server
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -279,11 +279,6 @@
     /**
      *  @private
      */
-    private static const MAX_HEIGHT_PROPERTY_FLAG:uint = 1 << 6;
-
-    /**
-     *  @private
-     */
     private static const MAX_WIDTH_PROPERTY_FLAG:uint = 1 << 7;

     /**
@@ -665,6 +660,8 @@

             if (richEditableText)
                 richEditableText.maxWidth = value;
+            else
+                super.maxWidth = value;
             textDisplayProperties = BitFlagUtil.update(
                 uint(textDisplayProperties), MAX_WIDTH_PROPERTY_FLAG, true);
         }
@@ -1913,17 +1910,13 @@
             newTextDisplayProperties = BitFlagUtil.update(
                 uint(newTextDisplayProperties), MAX_CHARS_PROPERTY_FLAG, true);
         }
-
-        if (textDisplayProperties.maxHeight !== undefined && richEditableText)
-        {
-            richEditableText.maxHeight = textDisplayProperties.maxHeight;
-            newTextDisplayProperties = BitFlagUtil.update(
-                uint(newTextDisplayProperties), MAX_HEIGHT_PROPERTY_FLAG, true);
-        }
-
-        if (textDisplayProperties.maxWidth !== undefined && richEditableText)
-        {
-            richEditableText.maxWidth = textDisplayProperties.maxWidth;
+
+        if (textDisplayProperties.maxWidth !== undefined)
+        {
+            if (richEditableText)
+                richEditableText.maxWidth = textDisplayProperties.maxWidth;
+            else
+                super.maxWidth = textDisplayProperties.maxWidth;
             newTextDisplayProperties = BitFlagUtil.update(
                 uint(newTextDisplayProperties), MAX_WIDTH_PROPERTY_FLAG, true);
         }
@@ -2027,15 +2020,10 @@
         }

         if (BitFlagUtil.isSet(uint(textDisplayProperties),
-            MAX_HEIGHT_PROPERTY_FLAG) && richEditableText)
-        {
-            newTextDisplayProperties.maxHeight = richEditableText.maxHeight;
-        }
-
-        if (BitFlagUtil.isSet(uint(textDisplayProperties),
-                              MAX_WIDTH_PROPERTY_FLAG) && richEditableText)
-        {
-            newTextDisplayProperties.maxWidth = richEditableText.maxWidth;
+                              MAX_WIDTH_PROPERTY_FLAG))
+        {
+            newTextDisplayProperties.maxWidth = richEditableText ?
+                richEditableText.maxWidth : super.maxWidth;
         }

         if (BitFlagUtil.isSet(uint(textDisplayProperties),


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

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

 package mx.accessibility
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5119
Author:   smgilson@adobe.com
Date:     2009-03-01T15:19:39.936226Z

Log Message:
-----------
Clean up some ASDoc tags from the addition of the @productversion/@playerversion tags

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<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/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.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/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/NCManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/Base64Encoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/StringValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as</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/framework/src/mx/core/IInteractiveObjectInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ContainerRawChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.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/videoClasses/VideoPlayer.as</path>
<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/rpc/src/mx/rpc/xml/Schema.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/HexEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectContainerInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISpriteInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/HaloRectBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as
@@ -1157,11 +1157,6 @@
         {
             result = rawValue.substring(2, 5);
         }
-        *
-        *  @langversion 3.0
-        *  @playerversion Flash 9
-        *  @playerversion AIR 1.1
-        *  @productversion Flex 3
         */
         else if (type == datatypes.gMonthQName)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 1218
Author:   jimurphy@adobe.com
Date:     2008-04-15T16:09:32.174552Z

Log Message:
-----------
merge 3.0.x[1069:1202] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</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/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/PNGEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/JPEGEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaTypeRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/IImageEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPFault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</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/rpc/src/mx/rpc/soap/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloColors.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/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.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/rpc/src/mx/rpc/soap/SOAPHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLBinding.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as
@@ -17,8 +17,8 @@
 import mx.utils.ObjectUtil;

 /**
- * The SimpleXMLEncoder class take ActionScript Objects and encodes them to XML.  Use default
- * serialization.
+ * The SimpleXMLEncoder class takes ActionScript Objects and encodes them to XML
+ * using default serialization.
  */
 public class SimpleXMLEncoder
 {
@@ -27,7 +27,9 @@
 	//  Class Methods
 	//
 	//--------------------------------------------------------------------------
-
+    /**
+     * @private
+     */
     static internal function encodeDate(rawDate:Date, dateType:String):String
     {
         var s:String = new String();
@@ -104,12 +106,14 @@
 	//--------------------------------------------------------------------------

     /**
-     * parentNode - optional, an XMLNode under which to
-     *              put the encoded value.  If this is present, we
-     *              will be able to use namespace prefixes already
-     *              defined above the encoded object - if not,
-     *              a well-formed XML document
-     *              including all NS declarations necessary is returned.
+     * Encodes an ActionScript object to XML using default serialization.
+     *
+     * @param obj The ActionScript object to encode.
+     *
+     * @param qname The qualified name of the child node.
+     *
+     * @param parentNode An XMLNode under which to put the encoded
+     * value.
      */
     public function encodeValue(obj:Object, qname:QName, parentNode:XMLNode):XMLNode
     {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/filters/BevelFilter.as
+++ frameworks/projects/spark/src/spark/filters/BevelFilter.as
@@ -1,4 +1,4 @@
-package mx.filters
+package spark.filters
 {
 import flash.events.IEventDispatcher;
 import flash.filters.BevelFilter;