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

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


fixed bug where GroupedCallbackEntry frame callback was being re-added

Change-Id: I7226ed7e2dea8b8b0de0a7d5dc8a81793ca13ffd

--- WeaveJS/src/weavejs/core/GroupedCallbackEntry.as
+++ WeaveJS/src/weavejs/core/GroupedCallbackEntry.as
@@ -146,7 +146,10 @@
 			super(context, groupedCallback);

 			if (!_initialized)
-				_initialized = WeaveAPI.Scheduler.frameCallbacks.addImmediateCallback(null, _handleGroupedCallbacks);
+			{
+				_initialized = true;
+				WeaveAPI.Scheduler.frameCallbacks.addImmediateCallback(null, _handleGroupedCallbacks);
+			}
 		}

 		/**


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 3668
Author:   gruehle@adobe.com
Date:     2008-10-15T22:25:04.618381Z

Log Message:
-----------
Fix for SDK-15941: selectedItem/selectedIndex does not render as selected.

Reviewer: Deepa

Modified Paths:
--------------
<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/flex4/src/mx/components/baseClasses/FxListBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -184,6 +184,8 @@
     //  selectedItem
     //----------------------------------

+    private var _pendingSelectedItem:*;
+
     [Bindable("selectionChanged")]
     /**
      *  The item that is currently selected.
@@ -207,7 +209,10 @@
      */
     public function get selectedItem():*
     {
-        if (selectedIndex == NO_SELECTION)
+        if (_pendingSelectedItem != undefined)
+            return _pendingSelectedItem;
+
+        if (selectedIndex == NO_SELECTION || dataProvider == null)
            return undefined;

         return dataProvider.getItemAt(selectedIndex);
@@ -218,7 +223,11 @@
      */
     public function set selectedItem(value:*):void
     {
-        selectedIndex = dataProvider.getItemIndex(value);
+        if (selectedItem == value)
+            return;
+
+        _pendingSelectedItem = value;
+        invalidateProperties();
     }

     //----------------------------------
@@ -311,6 +320,13 @@
                 // commitSelectedIndex() is called below.
                 _proposedSelectedIndex = 0;
             }
+        }
+
+        if (_pendingSelectedItem !== undefined)
+        {
+            if (dataProvider)
+                _proposedSelectedIndex = dataProvider.getItemIndex(_pendingSelectedItem);
+            _pendingSelectedItem = undefined;
         }

         if (_proposedSelectedIndex != NO_PROPOSED_SELECTION)


Null channel when sound stops playing

Null channel when sound stops playing

--- SoundMain.as
+++ SoundMain.as
@@ -144,6 +144,9 @@
             return;
         }
         sounds[id].channel = sounds[id].instance.play(startTime, loops);
+        sounds[id].channel.addEventListener(Event.SOUND_COMPLETE, function(e:Event):void {
+            sounds[id].channel = null;
+        });
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 19940
Author:   chiedozi@adobe.com
Date:     2011-01-25T22:15:05.923796Z

Log Message:
-----------
Removing Flash @playerversion tags from ASDocs for ViewNavigator components

QE notes:
Doc notes:
Bugs: SDK-29208
Reviewer: Ryan
Tests run:
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigatorApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewReturnObject.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorAction.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewDescriptor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -60,7 +60,6 @@
  *  The state used when the navigator is in portrait orientation.
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -70,7 +69,6 @@
  *  The state used when the navigator is in landscape orientation.
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -81,7 +79,6 @@
  *  and the navigator controls are overlaid on top.
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -92,7 +89,6 @@
  *  and the navigator controls are overlaid on top.
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -155,7 +151,6 @@
  *  @see spark.transitions.ViewTransitionBase
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -189,7 +184,6 @@
      *  Constructor.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -225,9 +219,8 @@
     *  A skin part that defines the action bar of the navigator.
     *
     *  @langversion 3.0
-    *  @playerversion Flash 10
-    *  @playerversion AIR 1.5
-    *  @productversion Flex 4
+    *  @playerversion AIR 2.5
+    *  @productversion Flex 4.5
     */
     public var actionBar:ActionBar;

@@ -246,7 +239,6 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -353,7 +345,6 @@
      *  run after the transition is complete.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -428,7 +419,6 @@
      *  @inheritDoc
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -468,7 +458,6 @@
      *  @default null
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -497,7 +486,6 @@
      *  @see spark.transitions.SlideViewTransition
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -528,7 +516,6 @@
      *  @see spark.transitions.SlideViewTransition
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -568,7 +555,6 @@
      *  @see View
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -602,7 +588,6 @@
      *  @see View
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -668,7 +653,6 @@
      *  @see View#createReturnObject()
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -704,7 +688,6 @@
      *  @see spark.skins.mobile.ActionBarSkin
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -739,7 +722,6 @@
      *  @default null
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -782,7 +764,6 @@
      *  @see spark.skins.mobile.ActionBarSkin
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -817,7 +798,6 @@
      *  @default null
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -857,7 +837,6 @@
      *  @default ""
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -905,7 +884,6 @@
      *  @see spark.skins.mobile.ActionBarSkin
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -940,7 +918,6 @@
      *  @default null
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -975,7 +952,6 @@
      *  @param transition The view transition to play while switching views.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -995,7 +971,6 @@
      *  @param transition The view transition to play while switching views.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1014,7 +989,6 @@
      *  @param transition The view transition to play while switching views.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1043,7 +1017,6 @@
      *  @param transition The view transition to play while switching views.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1075,7 +1048,6 @@
      *  @param transition The view transition to play while switching views.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1097,7 +1069,6 @@
      *  when the action bar appears.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1124,7 +1095,6 @@
      *  when the action bar is hidden.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1157,7 +1127,6 @@
      *  interaction flags are disabled.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1193,7 +1162,6 @@
      *  @default null
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1212,7 +1180,6 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1289,7 +1256,6 @@
      *         this property.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1323,7 +1289,6 @@
      *  @param transition The view transition to play
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1360,7 +1325,6 @@
      *         this property.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1462,7 +1426,6 @@
      *  and the action bar's visibility has changed.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1515,7 +1478,6 @@
      *  @return An effect to play when the ActionBar control is hidden.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1534,7 +1496,6 @@
      *  @return An effect to play when the ActionBar control is appears.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1588,7 +1549,6 @@
      *  pass.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1652,7 +1612,6 @@
      *  @param props The bounds properties that were captured for the actionBar.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1673,7 +1632,6 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1728,7 +1686,6 @@
      *  completes.</p>
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1831,7 +1788,6 @@
      *  process.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2047,7 +2003,6 @@
      *  the underlying ViewDescriptor object and prepares the transition.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2161,7 +2116,6 @@
      *  Called when a transition dispatches an FlexEvent.TRANSITION_END event.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2180,7 +2134,6 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2194,7 +2147,6 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2276,7 +2228,6 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2314,7 +2265,6 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 17438
Author:   hmuller@adobe.com
Date:     2010-08-20T22:20:07.797793Z

Log Message:
-----------
Add DefaultGridItemRenderers support for the lineBreak style.

DefaultGridItemRenderer performance optimization: defeat wrapping when lineBreak="explicit" and use the textfield's intrinsic support for clipping.

Enable the "textFieldClass" style for DataGrid.

QE notes: This change will likely break most bitmap tests.
Doc notes:
Bugs: SDK-27402
Reviewer: Carol, Kevin
Tests run: checkintests
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as
+++ frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as
@@ -9,6 +9,7 @@

 import mx.core.IUITextField;
 import mx.core.LayoutElementUIComponentUtils;
+import mx.core.mx_internal;
 import mx.core.UIComponent;
 import mx.core.UITextField;
 import mx.events.FlexEvent;
@@ -16,6 +17,8 @@
 import spark.components.Grid;
 import spark.components.IGridItemRenderer;
 import spark.components.supportClasses.GridColumn;
+
+use namespace mx_internal;

 //--------------------------------------
 //  Events
@@ -44,11 +47,17 @@
     }

     /**
-     *  Padding added to the labelDisplay's textWidth and textHeight properties to compute
-     *  the renderer's measured width and height.
-     */
-    private static const TEXT_WIDTH_PADDING:Number = 15;
-    private static const TEXT_HEIGHT_PADDING:Number = 10;
+     *  Padding for the entire renderer.  Not to be confused with the UITextField
+     *  TEXT_WIDTH,HEIGHT_PADDING values which must be added to its textWidth,Height
+     *  to prevent clipping/wrapping.
+     */
+    private static const WIDTH_PADDING:Number = 15;
+    private static const HEIGHT_PADDING:Number = 10;
+
+    /**
+     *  Used to flag a lineBreak style change for commitProperties().   See styleChanged().
+     */
+    private var lineBreakStyleChanged:Boolean = false;

     //--------------------------------------------------------------------------
     //
@@ -219,7 +228,6 @@
         if (_showsCaret == value)
             return;

-        // TBD(hmuller): state change
         _showsCaret = value;
         dispatchChangeEvent("labelDisplayChanged");
     }
@@ -253,12 +261,43 @@
         if (_selected == value)
             return;

-        // TBD(hmuller): state change
         _selected = value;
         dispatchChangeEvent("selectedChanged");
     }

     //----------------------------------
+    //  singleLine (private)
+    //----------------------------------
+
+    private var _singleLine:Boolean = false;
+
+    /**
+     *  @private
+     *  If true, then the labelDisplay is confgured to not wrap and to display
+     *  only one line of text.  That's the most efficient rendering mode.  This
+     *  property is false by default, which means that multiline and wordWrap are
+     *  enabled (true) and autoSize is LEFT.
+     */
+    public function get singleLine():Boolean
+    {
+        return _singleLine
+    }
+
+    /**
+     *  @private
+     */
+    public function set singleLine(value:Boolean):void
+    {
+        if (_singleLine == value)
+            return;
+
+        _singleLine = value;
+
+        labelDisplay.multiline = !singleLine;  // can be reset, see updateMeasuredSize()
+        labelDisplay.wordWrap = !singleLine;
+    }
+
+    //----------------------------------
     //  dragging
     //----------------------------------

@@ -284,7 +323,6 @@
         if (_dragging == value)
             return;

-        // TBD(hmuller): state change
         _dragging = value;
         dispatchChangeEvent("draggingChanged");
     }
@@ -319,8 +357,7 @@
             return;

         _label = value;
-        if (labelDisplay)
-            labelDisplay.text = _label;
+        // Defer setting the labelDisplay's text property to avoid extra computation, see updateMeasuredSize()

         dispatchChangeEvent("labelChanged");
     }
@@ -388,23 +425,19 @@
         if (labelDisplay)
             removeChild(DisplayObject(labelDisplay));

-        labelDisplay = IUITextField(createInFontContext(UITextField));
-        labelDisplay.multiline = true;
+        labelDisplay = IUITextField(createInFontContext(UITextField));
+        labelDisplay.multiline = true;  // consistent with singleLine=false (the default)
         labelDisplay.wordWrap = true;
-        labelDisplay.autoSize = TextFieldAutoSize.LEFT;
+        labelDisplay.autoSize = TextFieldAutoSize.NONE;
+
+        // The default width of a TextField is 100.  If autoWrap is true, and
+        // multiline is true, the measured text will wrap if it is wider than
+        // the TextField's width. This is not what we want when measuring the
+        // width of typicalItem columns that lack an explicit GridColumn width.
+
+        labelDisplay.setActualSize(4096, NaN);  // 4096 is just an arbitrarily large value

         addChild(DisplayObject(labelDisplay));
-        if (_label != "")
-            labelDisplay.text = _label;
-    }
-
-    /**
-     *  @private
-     */
-    override protected function createChildren():void
-    {
-        super.createChildren();
-        createLabelDisplay();
     }

     /**
@@ -413,8 +446,29 @@
     override protected function commitProperties():void
     {
         super.commitProperties();
-        if (hasFontContextChanged())
+
+        if (!labelDisplay || hasFontContextChanged())
             createLabelDisplay();
+
+        if (lineBreakStyleChanged)
+        {
+            singleLine = getStyle("lineBreak") == "explicit";
+            lineBreakStyleChanged = false;
+        }
+    }
+
+    /**
+     *  @private
+     */
+    override public function styleChanged(styleName:String):void
+    {
+        super.styleChanged(styleName);
+
+        if (!styleName || (styleName == "styleName") || (styleName = "lineBreak"))
+        {
+            lineBreakStyleChanged = true;
+            invalidateProperties();
+        }
     }

@@ -428,17 +482,25 @@
      */
     private function updateMeasuredSize():void
     {
+        if (getStyle("lineBreak") == "explicit")
+            labelDisplay.multiline = _label.indexOf("\n") != -1;
+
+        labelDisplay.text = _label;  // forces a labelDisplay.validateNow(), if text has changed
+
+        const widthPadding:int = WIDTH_PADDING + UITextField.TEXT_WIDTH_PADDING;
+        const heightPadding:int = HEIGHT_PADDING + UITextField.TEXT_HEIGHT_PADDING
+
         if (!labelDisplay.stage || labelDisplay.embedFonts)
         {
-            measuredWidth = labelDisplay.textWidth + TEXT_WIDTH_PADDING;
-            measuredHeight = labelDisplay.textHeight + TEXT_HEIGHT_PADDING;
+            measuredWidth = labelDisplay.textWidth + widthPadding;
+            measuredHeight = labelDisplay.textHeight + heightPadding;
         }
         else
         {
             const m:Matrix = labelDisplay.transform.concatenatedMatrix;
-            measuredWidth = Math.abs((labelDisplay.textWidth * m.a / m.d)) + TEXT_WIDTH_PADDING;
-            measuredHeight = Math.abs((labelDisplay.textHeight * m.a / m.d)) + TEXT_HEIGHT_PADDING;
-        }
+            measuredWidth = Math.abs((labelDisplay.textWidth * m.a / m.d)) + widthPadding;
+            measuredHeight  = Math.abs((labelDisplay.textHeight * m.a / m.d)) + heightPadding;
+        }
     }

     /**
@@ -459,35 +521,29 @@
     /**
      *  @private
      *  Watch Out: this code relies on the fact that UITextField/setActualSize() can cause
-     *  labelDisplay.textHeight to change, if the text wraps.  The text field's measuredHeight
+     *  labelDisplay.textHeight to change, if the text wraps.  The textfield's measuredHeight
      *  is just a padded version of textHeight.  This is the only place where labelDisplay.setActualSize()
      *  is called, so we update the measuredHeight of this render here.  Very unconventional.
-     *  Doing so is essential because after this code runs, i.e. after GridLayout/layoutGridElement()
+     *  Doing so is essential because after this code runs, i.e. after GridLayout/layoutItemRenderer()
      *  invokes validateNow() on this renderer, it uses the renderer's preferredBoundsHeight()
      *  (that's the measuredHeight in our case) to update the overall row height.
      */
-    override protected function updateDisplayList(width:Number, height:Number):void
+    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
         super.updateDisplayList(width, height);

-        labelDisplay.setActualSize(width - 10, height - 5);  // setActualSize() side-effects labelDisplay.textHeight
+        if ((unscaledWidth == 0) || (unscaledHeight == 0))
+            return;
+
+        const labelDisplayX:int = 5;
+        const labelDisplayY:int = 5;
+        const labelDisplayWidth:int = unscaledWidth - (WIDTH_PADDING - labelDisplayX);
+        const labelDisplayHeight:int = unscaledHeight - (HEIGHT_PADDING - labelDisplayY);
+
+        labelDisplay.setActualSize(labelDisplayWidth, labelDisplayHeight);  // setActualSize() side-effects labelDisplay.textHeight
         updateMeasuredSize();  // See @private comment above

-        // If the Grid's row heights are fixed and the labelDisplay will not fit, then clip.
-
-        const grid:Grid = column.grid;
-        if (grid && !grid.variableRowHeight && (measuredHeight > grid.rowHeight))
-        {
-            clippingEnabled = true;
-            labelDisplay.scrollRect = new Rectangle(0, 0, width - 10, height - 5);
-        }
-        else if (clippingEnabled)
-        {
-            clippingEnabled = false;
-            labelDisplay.scrollRect = null;
-        }
-
-        labelDisplay.move(5, 5);
+        labelDisplay.move(labelDisplayX, labelDisplayY);
     }


Ignore empty elements in arrays or collections - do not put null values into collection

--- as3/xobjas3/src/com/rpath/xobj/XObjXMLDecoder.as
+++ as3/xobjas3/src/com/rpath/xobj/XObjXMLDecoder.as
@@ -902,7 +902,10 @@
     private function assignToProperty(result:*, propName:String, value:*,
                                       seenBefore:Boolean, makeArray:Boolean, makeCollection:Boolean, makeBindable:Boolean):*
     {
-        if (result == null)
+        // don't put nulls into arrays or collections.
+        // skip if result empty
+        if (result == null
+            || ((makeArray || makeCollection) && (value == null)))
             return result;

         // are we reusing an existing property value?


Changed default platform to DevicePlatform.WEB

--- snowplow-as3-tracker/src/com/snowplowanalytics/snowplow/tracker/Tracker.as
+++ snowplow-as3-tracker/src/com/snowplowanalytics/snowplow/tracker/Tracker.as
@@ -57,7 +57,7 @@
 				this.namespace = namespace;
 				this.subject = subject;
 				this.trackerVersion = Version.TRACKER;
-				this.platform = DevicePlatform.DESKTOP;
+				this.platform = DevicePlatform.WEB;
 				this.stage = stage;

 				this.playerType = Capabilities.playerType;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/HSlider.as
+++ frameworks/projects/mx/src/mx/controls/HSlider.as
@@ -48,6 +48,8 @@
 [DefaultTriggerEvent("change")]

 [IconFile("HSlider.png")]
+
+[Alternative(replacement="spark.components.HSlider", since="4.0")]

 /**
  *  The HSlider control lets users select a value by moving


Never terminate until we've shutdown.

Never terminate until we've shutdown.

The docs on isTerminated() claim that this should be the case, but as it was written, if the
Executor goes idle, then is given more tasks before shutting down, it was in a bad state because
it had already internally terminated.

--- runtime/src/main/as/flump/executor/Executor.as
+++ runtime/src/main/as/flump/executor/Executor.as
@@ -156,7 +156,7 @@

     /** @private */
     protected function terminateIfNecessary () :void {
-        if (_terminated || !isIdle) return;
+        if (!_shutdown || _terminated || !isIdle) return;
         _terminated = true;
         terminated.emit(this);
     }


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

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

 package mx.controls
 {
@@ -8241,4 +8231,4 @@
     }
 }

-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18548
Author:   rfrishbe@adobe.com
Date:     2010-11-11T22:05:22.380108Z

Log Message:
-----------
Just fixing up some ASDocs around touchDelay.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
@@ -157,8 +157,8 @@
 [Style(name="repeatInterval", type="Number", format="Time", inherit="no", minValueExclusive="0.0")]

 /**
- *  When in touch interaction mode, the number of milliseconds to wait before showing the
- *  component in a visually down state.
+ *  When in touch interaction mode, the number of milliseconds to wait after the user
+ *  interaction has occured before showing the component in a visually down state.
  *
  *
The reason for this delay is because when a user initiates a scroll gesture, we don't want
  *  components to flicker as they touch the screen.  By having a reasonable delay, we make
@@ -170,7 +170,7 @@
  *  components inside of a Scroller and 0 ms for components outside of a Scroller.

  *
  *  @langversion 3.0
- *  @playerversion Flash 10
+ *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */


added test variables and dump function to flash client

--- examples/http-client/NodeAmfConnection.as
+++ examples/http-client/NodeAmfConnection.as
@@ -36,8 +36,18 @@
 			addEventListener( SecurityErrorEvent.SECURITY_ERROR, onError );
 			proxyType = 'HTTP';
 			// call all available AMF methods defined by the gateway
-			//call("test", responder );
-			call("echo", responder, "a£b" );
+			call("test", responder );
+			// test a complex structure with all data types
+			call( "echo", responder,
+				 //strings
+				 'Hello World', 'a£b',
+				 // numbers
+				 Number.MIN_VALUE, -1234.5, -20000, -1, 0, 0.0123456, 2000000, 1234.5678, Number.MAX_VALUE, Number.NaN,
+				 // objects
+				 [ ,,{ test:'OK'}, new Date, new Date(0) ],
+				 // other scalars
+				 true, false, null, undefined
+			);
 		}

@@ -66,9 +76,9 @@
 		}

 		/** Successful Response handler - simple trace of top-level response data */
-		public function onResponse( returnValue:Object ):void{
-			// @todo full dump ....
-			trace('[onResponse] ('+typeof returnValue+') "'+String(returnValue)+'"');
+		public function onResponse( returnValue:Object, s:Object = ''):void {
+			trace('[onResponse] '+s);
+			dump( returnValue, '', '' );
 		}

@@ -77,6 +87,41 @@
 			trace('[onFault] `'+ ( f as String ) + '`');
 		}

+
+		/** simple dump function for inspecting returned structures */
+		private static function dump( value:*, tab:String = '', name:String = '' ):void {
+			var prefix:String = tab;
+			if( name ){
+				prefix += '['+name+'] ';
+			}
+			if( value === undefined ){
+				return trace( prefix + '(undefined)' );
+			}
+			if( value === null ){
+				return trace( prefix + '(null)' );
+			}
+			if( value is Number ){
+				return trace( prefix + '(Number) '+ value );
+			}
+			if( value is String ){
+				return trace( prefix + '(String) "'+ value+'"' );
+			}
+			if( value is Boolean ){
+				return trace( prefix + '(Boolean) '+ (value?'true':'false') );
+			}
+			if( value is Date ){
+				return trace( prefix + '(Date) '+ (value as Date).toString() );
+			}
+			if( value is Array || value.length ){
+				trace( prefix + '(Array length:'+value.length+') ');
+			}
+			else {
+				trace( prefix + '(Object)');
+			}
+			for( var s:String in value ){
+				dump( value[s], ' . '+tab, s );
+			}
+		}

 	}


fixed wrong variable reference

fixed wrong variable reference

Change-Id: I662a802c6f13070e647c6156ffcbf8364073e0af

--- WeaveData/src/weave/data/AttributeColumnCache.as
+++ WeaveData/src/weave/data/AttributeColumnCache.as
@@ -211,7 +211,7 @@
 								geoms.push(geom);
 							}
 						}
-						gc.setGeometries(keys, geoms);
+						gc.setGeometries(geomKeys, geoms);
 					});
 			}
 			else if (dataType == DataType.DATE)


Transferred from the Adobe Open Source Subversion Repository

Revision: 7036
Author:   jimurphy@adobe.com
Date:     2009-05-18T16:23:35.783417Z

Log Message:
-----------
Merged 3.x revisions 6955,6995,6997-7002 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RichTextEditor.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.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/rpc/src/mx/rpc/xml/SchemaMarshaller.as</path>

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

--- frameworks/projects/mx/src/mx/controls/NavBar.as
+++ frameworks/projects/mx/src/mx/controls/NavBar.as
@@ -397,6 +397,13 @@
 				"controls", "errWrongContainer", [ id ]);
             throw new Error(message);
         }
+
+        if (_dataProvider)
+        {
+            // use weak reference
+            _dataProvider.removeEventListener(CollectionEvent.COLLECTION_CHANGE,
+                                              collectionChangeHandler);
+        }

         // If value is a string, try to resolve here.
         // If value is a ViewStack name, document[value] may not be defined yet.
@@ -1060,6 +1067,19 @@

             targetStack.removeEventListener(
                 IndexChangedEvent.CHILD_INDEX_CHANGE, childIndexChangeHandler);
+
+            var numViews:int = targetStack.numChildren;
+            var child:Container;
+
+            for (var i:int = 0; i < numViews; i++)
+	        {
+                child = Container(targetStack.getChildAt(i));
+
+                child.removeEventListener("labelChanged", labelChangedHandler);
+                child.removeEventListener("iconChanged", iconChangedHandler);
+                child.removeEventListener("enabledChanged", enabledChangedHandler);
+                child.removeEventListener("toolTipChanged", toolTipChangedHandler);
+            }
         }

         // Clear out the current links
@@ -1082,11 +1102,11 @@
         targetStack.addEventListener(IndexChangedEvent.CHILD_INDEX_CHANGE,
                                      childIndexChangeHandler);

-        var numViews:int = targetStack.numChildren;
-
-        for (var i:int = 0; i < numViews; i++)
-        {
-            var child:Container = Container(targetStack.getChildAt(i));
+        numViews = targetStack.numChildren;
+
+        for (i = 0; i < numViews; i++)
+        {
+            child = Container(targetStack.getChildAt(i));
             var item:Button = Button(createNavItem(itemToLabel(child), child.icon));

@@ -1190,6 +1210,12 @@
         // such as when a TabBar is inside a TabNavigator.
         if (event.target == this)
             return;
+
+        // Remove listeners for this child
+        event.relatedObject.removeEventListener("labelChanged", labelChangedHandler);
+        event.relatedObject.removeEventListener("iconChanged", iconChangedHandler);
+        event.relatedObject.removeEventListener("enabledChanged", enabledChangedHandler);
+        event.relatedObject.removeEventListener("toolTipChanged", toolTipChangedHandler);

         var viewStack:ViewStack = ViewStack(event.target);
         removeChildAt(viewStack.getChildIndex(event.relatedObject));


Transferred from the Adobe Open Source Subversion Repository

Revision: 17230
Author:   cframpto@adobe.com
Date:     2010-08-09T16:03:57.138162Z

Log Message:
-----------
Fix off-by-1 bug in getNextRowIndexAt().  > should have been >=.  Corey's performance test program hit this.

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

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
@@ -839,7 +839,7 @@
             }

             // check if target Y is within default row heights range.
-            if (targetY > currentY && targetY < nextY)
+            if (targetY >= currentY && targetY < nextY)
             {
                 index = index + Math.ceil(Number(targetY - currentY)/(defaultRowHeight + rowGap));
                 break;


Transferred from the Adobe Open Source Subversion Repository

Revision: 18286
Author:   dloverin@adobe.com
Date:     2010-10-22T14:19:42.189298Z

Log Message:
-----------
Final DataGrid editor PARB changes plus bug fixes.

Removed cancel() from GridItemEditor.
ComboBoxGridItemEditor's width is now sized to fit in the cell.

QE notes: None.
Doc notes: None.
Bugs: SDK-28260, SDK-28291, SDK-28258
Reviewer: Hans
Tests run: cyclone
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as
@@ -317,20 +317,14 @@
     //  Methods
     //
     //--------------------------------------------------------------------------
-    /**
-     *  @inheritDoc
-     */
-    public function cancel():void
-    {
+
+    /**
+     *  @inheritDoc
+     */
+    public function discard():void
+    {
+        // Clean up
         clearErrorStringFromContainer(this);
-    }
-
-    /**
-     *  @inheritDoc
-     */
-    public function discard():void
-    {
-        // Clean up
         removeEventListener(MouseEvent.MOUSE_UP, mouseUpDownHandler);
         removeEventListener(MouseEvent.MOUSE_DOWN, mouseUpDownHandler);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8723
Author:   chaase@adobe.com
Date:     2009-07-21T23:19:39.441122Z

Log Message:
-----------
Fixed 2 areas of effects bugs (playheadTime and transform effects shared instances). Also fixed bug in GraphicElement.localToGlobal(). Fixes remaining transform effects bugs prior to feature signoff.

QE Notes: None
Doc Notes: None
Bugs: SDK-22315, sdk-22304, sdk-22302, sdk-21931, sdk-21068, sdk-20179, sdk-21069
Reviewer: Hans, Jason (GraphicElement), Glenn (SharedObjectDepot)
API Change: None
Is noteworthy for integration: No
tests: checkintests mustella spark/effects,mx/effects (run locally and in cyclone by Matt)

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/primitives/supportClasses/GraphicElement.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/framework/src/mx/effects/effectClasses/CompositeEffectInstance.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/framework/src/mx/effects/EffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SharedObjectDepot.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.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/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as
+++ frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as
@@ -78,6 +78,11 @@
     public function interpolate(fraction:Number, startValue:Object,
         endValue:Object):Object
     {
+        // Quick test for start or end
+        if (fraction == 0)
+            return startValue;
+        else if (fraction == 1)
+            return endValue;
         var startR:int;
         var startG:int;
         var startB:int;


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

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

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

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/mx/src/mx/containers/HBox.as
+++ frameworks/projects/mx/src/mx/containers/HBox.as
@@ -77,6 +77,11 @@
  *  @see mx.components.Container
  *  @see mx.containers.Box
  *  @see mx.containers.VBox
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class HBox extends Box
 {
@@ -90,6 +95,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function HBox()
     {


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

--- frameworks/projects/mx/src/mx/containers/VBox.as
+++ frameworks/projects/mx/src/mx/containers/VBox.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.containers
 {


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

 package mx.filters
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20750
Author:   klin@adobe.com
Date:     2011-03-09T23:38:34.049832Z

Log Message:
-----------
Merge 20748 -

Various ASDoc fixes in Form files.

QE notes: N/A
Doc notes: N/A
Bugs: N/A
Reviewer: N/A
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/FormItem.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Form.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/FormItemLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/FormLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/FormItemLayout.as
+++ frameworks/projects/spark/src/spark/layouts/FormItemLayout.as
@@ -24,7 +24,7 @@
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
- *  @playerversion AIR 1.5
+ *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
 public class FormItemLayout extends ConstraintLayout
@@ -40,7 +40,7 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function FormItemLayout()


Transferred from the Adobe Open Source Subversion Repository

Revision: 22828
Author:   eday@adobe.com
Date:     2011-09-30T17:39:52.356390Z

Log Message:
-----------
Fix for clearVirtualLayoutCache problem which was making renderers disappear

Need to invalidate the layout target after clearing the LLV.

QE notes:
Doc notes:
Bugs: SDK-SDK-31677
Reviewer: Evtim
Tests run: checkintests, full desktop cyclone, mobile List
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -883,6 +883,13 @@
     override public function clearVirtualLayoutCache():void
     {
         llv = null;
+
+        var g:GroupBase = GroupBase(target);
+        if (!g)
+            return;
+
+        target.invalidateSize();
+        target.invalidateDisplayList();
     }

     /**


fixed bug in applying session state diff

Change-Id: I049896e0b67505d21b23d3194b14614a0e47bf91

--- WeaveCore/src/weave/core/LinkableDynamicObject.as
+++ WeaveCore/src/weave/core/LinkableDynamicObject.as
@@ -190,18 +190,20 @@

 				var dynamicState:Object = null;
 				var objectName:String;
-				for each (dynamicState in newState)
-				{
-					if (DynamicState.objectHasProperties(dynamicState))
+				for each (var item:Object in newState)
+				{
+					if (DynamicState.objectHasProperties(item))
 					{
-						if (dynamicState[DynamicState.CLASS_NAME] == SessionManager.DIFF_DELETE)
+						if (item[DynamicState.CLASS_NAME] == SessionManager.DIFF_DELETE)
 						{
-							if (globalName == dynamicState[DynamicState.OBJECT_NAME])
+							// remove object if name matches
+							if (globalName == item[DynamicState.OBJECT_NAME])
 								removeObject();
 						}
 						else
 						{
-							// dynamicState is now the first entry that isn't for a deleted object
+							// set dynamicState to the first entry that isn't for a deleted object
+							dynamicState = item;
 							break;
 						}
 					}


Removed redundant destroy()

Removed redundant destroy()

--- src/Menu/MenuState.as
+++ src/Menu/MenuState.as
@@ -119,11 +119,6 @@
 			super.update();
 		}

-		override public function destroy():void {
-			super.destroy();
-			U.buttonManager.destroy();
-		}
-
 		private const MENU_BAR_WIDTH:int = 60;
 	}


Allow to use $Number$ with SegmentTimeline

--- src/main/actionscript/com/castlabs/dash/descriptors/index/SegmentTimeline.as
+++ src/main/actionscript/com/castlabs/dash/descriptors/index/SegmentTimeline.as
@@ -50,6 +50,7 @@
         var url:String = String(_segmentFilename);

         url = url.replace("$Time$", segment.time);
+        url = url.replace("$Number$", segment.num);
         url = url.replace("$RepresentationID$", representationId);

         var startTimestamp:Number = seconds(segment.time);
@@ -84,6 +85,7 @@
         var items:XMLList = traverseAndBuildTimeline(xml);

         var time:Number = 0;
+        var num:Number = _startNumber;
         for (var i:uint = 0; i < items.length(); i++) {

             // read time if present
@@ -103,10 +105,11 @@
             // add duplicates if repeats > 0
             for (var j:uint = 0; j <= repeats; j++) {
                 if (!isTimeExists(time)) { // unique
-                    _segments.push({ time: time, duration: duration});
+                    _segments.push({ time: time, duration: duration, num: num});
                 }

                 time += duration;
+                num++;
             }
         }
     }
@@ -170,10 +173,6 @@
         return NaN;
     }

-    protected override function traverseAndBuildStartNumber(node:XML):Number {
-        return NaN;
-    }
-
     override public function toString():String {
         var a:String = "isLive='" + _live;
         var b:String = "";


Transferred from the Adobe Open Source Subversion Repository

Revision: 4922
Author:   gosmith@adobe.com
Date:     2009-02-10T22:19:49.510252Z

Log Message:
-----------
Renamed mx.graphics.graphicsClasses to mx.graphics.baseClasses, based on PARB review.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Jason

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/TextFlowComposer.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as" copyfrom-rev="4920" action="R">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicElement.as" copyfrom-rev="4920" action="R">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses" copyfrom-rev="4916" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateShaderTransition.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/graphics/baseClasses/TextBlockComposer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
@@ -16,7 +16,7 @@
 import flash.geom.Point;

 import mx.core.mx_internal;
-import mx.graphics.graphicsClasses.TextGraphicElement;
+import mx.graphics.baseClasses.TextGraphicElement;

 /**
  *  The ItemRenderer class is the base class for List item renderers.


Use cleaner TypedArray factory method.

Use cleaner TypedArray factory method.

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

--- src/as/com/threerings/presents/net/AuthRequest.as
+++ src/as/com/threerings/presents/net/AuthRequest.as
@@ -15,7 +15,7 @@
     {
         _creds = creds;
         _version = version;
-        _bootGroups = new TypedArray("[Ljava.lang.String;");
+        _bootGroups = TypedArray.create(String);
         _bootGroups.addAll(bootGroups);

         // magic up a timezone in the format "GMT+XX:XX"


remove outdated version constant

remove outdated version constant

--- src/com/ryanberdeen/echonest/api/v4/ApiSupport.as
+++ src/com/ryanberdeen/echonest/api/v4/ApiSupport.as
@@ -22,7 +22,6 @@
   * Base class for Echo Nest API classes.
   */
   public class ApiSupport {
-    public static const API_VERSION:int = 3;
     /**
     * @private
     */


Removed loops from RollingAverage

Removed loops from RollingAverage

--- raw/src/org/yellcorp/lib/core/RollingAverage.as
+++ raw/src/org/yellcorp/lib/core/RollingAverage.as
@@ -2,40 +2,56 @@
 {
 public class RollingAverage
 {
-    private var size:int;
-    private var pointer:int;
-    private var length:int;
+    private var _average:Number;
+
+    private var _size:uint;
+
     private var samples:Array;
+    private var pointer:uint;
+    private var full:Boolean;

-    public function RollingAverage(windowSize:int)
+    public function RollingAverage(size:uint)
     {
-        size = windowSize;
-        clear();
-    }
-
-    public function clear():void
-    {
-        samples = new Array(size);
+        if (size == 0) throw new ArgumentError("size must be greater than zero");
+        _size = size;
+        samples = new Array(_size);
         pointer = 0;
-        length = 0;
+        full = false;
     }

     public function sample(value:Number):void
     {
-        samples[pointer] = value;
-        if (length < size) length++;
-        pointer = (pointer + 1) % size;
+        if (full)
+        {
+            value /= _size;
+            _average = _average - samples[pointer] + value;
+            samples[pointer] = value;
+        }
+        else if (pointer == 0)
+        {
+            samples[pointer] = value / _size;
+            _average = value;
+        }
+        else
+        {
+            samples[pointer] = value / _size;
+            _average = _average * (pointer / (pointer + 1)) + value / (pointer + 1);
+        }
+        if (++pointer == _size)
+        {
+            full = true;
+            pointer = 0;
+        }
     }

     public function get average():Number
     {
-        var i:int;
-        var result:Number = 0;
-        for (i = 0; i < length; i++)
-        {
-            result += samples[i];
-        }
-        return result / length;
+        return _average;
+    }
+
+    public function get size():uint
+    {
+        return _size;
     }
 }
 }


F Remove duplicate floor method

F Remove duplicate floor method

--- src/aerys/minko/render/shader/ShaderTemplatePart.as
+++ src/aerys/minko/render/shader/ShaderTemplatePart.as
@@ -609,11 +609,6 @@
 			return new SValue(new Instruction(Instruction.RSQ, getNode(scalar)));
 		}

-		protected final function floor(value : Object) : SValue
-		{
-			return subtract(value, fractional(value));
-		}
-
 		protected final function getVertexAttribute(vertexComponent : VertexComponent,
 													componentId		: uint = 0) : SValue
 		{


Player BAM5 told me about code his friend Shango wrote, for
extrapolating the total duration of an mp3 while it was loading.
Sure enough: we have length (so far), bytesLoaded and bytesTotal.
So: do that. It works pretty well!

Too bad we can't do something similar for FLVs that don't have metadata.
:( (there is no "current length" property, just a current position.
So any time estimate would get worse and worse as the bytes advanced
past the play position.

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@719 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/flash/media/Mp3AudioPlayer.as
+++ src/as/com/threerings/flash/media/Mp3AudioPlayer.as
@@ -77,7 +77,12 @@
         if (_sound == null) {
             return NaN;
         }
-        return _sound.length / 1000;
+        const duration :Number = _sound.length / 1000;
+        if (_isComplete) {
+            return duration;
+        }
+        // extrapolate the total duration based on the current length and current bytesLoaded
+        return (duration / _sound.bytesLoaded) * _sound.bytesTotal;
     }

     // from AudioPlayer
@@ -233,8 +238,8 @@
      */
     protected function handleLoadingComplete (event :Event) :void
     {
-        handlePositionCheck(); // also updates duration
         _isComplete = true;
+        dispatchEvent(new ValueEvent(MediaPlayerCodes.DURATION, getDuration()));
     }

     protected function handlePlaybackComplete (event :Event) :void


Fixing some bad algebra

Fixing some bad algebra

--- raw/src/org/yellcorp/lib/splines/CubicBezier.as
+++ raw/src/org/yellcorp/lib/splines/CubicBezier.as
@@ -214,7 +214,7 @@

     private static function appendFirstDerivRoots(a:Number, b:Number, c:Number, d:Number, out:Array):void
     {
-        var divisor:Number = a - 3 * (b * c) - d;
+        var divisor:Number = a + 3 * (c - b) - d;
         var a_2b_c:Number = a - 2 * b + c;
         var radicand:Number;

@@ -239,7 +239,7 @@
         }
         else
         {
-            // if the divisor == 0, then d == a - 3 * (b * c), in which
+            // if the divisor == 0, then d == a + 3 * (c - b), in which
             // case the solution simplifies to the following:
             if (a_2b_c != 0)
             {


update to the flash tracker

update to the flash tracker

--- src/com/google/analytics/components/FlashTracker.as
+++ src/com/google/analytics/components/FlashTracker.as
@@ -25,18 +25,21 @@
     import flash.display.MovieClip;
     import flash.display.Sprite;
     import flash.events.Event;
-    import flash.utils.getQualifiedClassName;
+    import flash.utils.getQualifiedClassName;
+    import flash.utils.getDefinitionByName;
+
+    /* force import for type in the includes */
     EventTracker;
     ServerOperationMode;
-
+
     /**
     * The Flash visual component.
     */
     [IconFile("analytics.png")]
     public class FlashTracker extends Sprite implements AnalyticsTracker
     {
-
-    	private var _display:DisplayObject;
+
+        private var _display:DisplayObject;
         private var _tracker:GoogleAnalyticsAPI;

         //factory
@@ -55,29 +58,25 @@
         private var _visualDebug:Boolean = false;

         //component
-
-        private var _componentInspectorSetting:Boolean;
-
-        private var isLivePreview:Boolean;
-        private var livePreviewWidth:Number;
-        private var livePreviewHeight:Number;
-
-        private var preview:MovieClip;
-
-        private var _width:Number = 0;
-        private var _height:Number = 0;
+        protected var preview:MovieClip;
+        protected var isLivePreview:Boolean;
+        protected var livePreviewWidth:Number;
+        protected var livePreviewHeight:Number;
+
+        protected var _width:Number = 100;
+        protected var _height:Number = 122;
+        protected var _componentInspectorSetting:Boolean;

         public var boundingBox_mc:DisplayObject;

-
-        public static var version:Version = API.version;
+        public static var version:Version = API.version;

         [IconFile("analytics.png")]
         public function FlashTracker()
         {
             super();

-            isLivePreview = (parent != null && getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent");
+            isLivePreview = _checkLivePreview();
             _componentInspectorSetting = false;

             boundingBox_mc.visible = false;
@@ -97,25 +96,40 @@
             addEventListener( Event.ENTER_FRAME, _factory );
         }

-
+
+        private function _checkLivePreview():Boolean
+        {
+            if( parent != null && (getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent"))
+            {
+                return true;
+            }
+
+            return false;
+        }

         private function _createLivePreview():void
         {
             preview = new MovieClip();

             var g:Graphics = preview.graphics;
-            g.beginFill(0x000000);
-            g.moveTo(0, 0);
-            g.lineTo(0, 100);
-            g.lineTo(100, 100);
-            g.lineTo(100, 0);
-            g.lineTo(0, 0);
-            g.endFill();
-
-            //decalred in the FLA
-//            preview.icon_mc = new Icon();
-//            preview.icon_mc.name = "icon_mc";
-//            preview.addChild(preview.icon_mc);
+                g.beginFill(0xffffff);
+                g.moveTo(0, 0);
+                g.lineTo(0, _width);
+                g.lineTo(_width, _height);
+                g.lineTo(_height, 0);
+                g.lineTo(0, 0);
+                g.endFill();
+
+            /* note:
+               because the Icon class is declared in the FLA
+               and the FLA generate it automatically
+               we need to use reflection to instanciate it
+               so compc/asdoc does not generate errors
+            */
+            var iconClass:Class = getDefinitionByName( "com.google.analytics.components::Icon" ) as Class;
+            preview.icon_mc = new iconClass();
+            preview.icon_mc.name = "icon_mc";
+            preview.addChild( preview.icon_mc );

             addChild( preview );
         }
@@ -127,7 +141,11 @@

         public function setSize( w:Number, h:Number ):void
         {
-
+            /* note:
+               we don't resize the live preview
+               we want to keep or default component size
+               defined in the FLA
+            */
         }

         /**
@@ -136,12 +154,16 @@
         */
         private function _factory( event:Event ):void
         {
+            removeEventListener( Event.ENTER_FRAME, _factory );
+
             if( isLivePreview )
             {
+                /* note:
+                   we don't want to init the factory
+                   when we are in live preview
+                */
                 return;
             }
-
-            removeEventListener( Event.ENTER_FRAME, _factory );

             _display = this;

@@ -221,8 +243,9 @@
         }

         /**
-         * Indicates the account value of the tracking.
-         */
+         * The Urchin Account.
+         * You have to define this parameter to initialize the tracking.
+         */
         [Inspectable]
         public function get account():String
         {
@@ -237,26 +260,44 @@
             _account = value;
         }

+        /**
+        * The Tracker configuration.
+        */
         public function get config():Configuration
         {
             return _config;
         }

+        /**
+         * @private
+         */
         public function set config(value:Configuration):void
         {
             _config = value;
         }

+        /**
+        * The Tracker debug configuration.
+        */
         public function get debug():DebugConfiguration
         {
             return _debug;
         }

+        /**
+         * @private
+         */
         public function set debug(value:DebugConfiguration):void
         {
             _debug = value;
         }

+        /**
+        * The Traker mode.
+        * You can select two modes:
+        * - AS3: use AS3 only, no dependency on HTML/JS
+        * - Bridge: use AS3 bridged to HTML/JS which define ga.js
+        */
         [Inspectable(defaultValue="AS3", enumeration="AS3,Bridge", type="String")]
         public function get mode():String
         {
@@ -273,7 +314,10 @@

         /**
          * Indicates if the tracker use a visual debug.
-         */
+         * If set to true, at compile time you will
+         * see a visual debug window with different
+         * informations about the tracking requests and parameters.
+         */
         [Inspectable(defaultValue="false", type="Boolean")]
         public function get visualDebug():Boolean
         {
@@ -287,7 +331,7 @@
         {
             _visualDebug = value;
         }
-
+
         include "../common.txt"

     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

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

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

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/mx/src/mx/containers/VBox.as
+++ frameworks/projects/mx/src/mx/containers/VBox.as
@@ -73,6 +73,11 @@
  *  @see mx.components.Container
  *  @see mx.containers.Box
  *  @see mx.containers.HBox
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class VBox extends Box
 {
@@ -86,6 +91,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function VBox()
     {


fix shortcut and moderation collision--

fix shortcut and moderation collision--

--- plugins/moderationPlugin/src/ModerationPlugin.as
+++ plugins/moderationPlugin/src/ModerationPlugin.as
@@ -42,6 +42,16 @@

 		/**
+		 * defines the value of the notification which turns off the shortcut 508 plugin
+		 */
+		public static const DISABLE_SHORTCUT_PLUGIN:String = "disableShortcutPlugin";
+		/**
+		 * defines the value of the notification which turns on the shortcut 508 plugin
+		 */
+		public static const ENABLE_SHORTCUT_PLUGIN:String = "enableShortcutPlugin";
+
+
+		/**
 		 * flagging form header
 		 */
 		public var header:String;
@@ -169,7 +179,7 @@
 			_mediator.sendNotification(NotificationType.CLOSE_FULL_SCREEN);
 			_mediator.sendNotification(NotificationType.ENABLE_GUI, {guiEnabled : false, enableType : "full"});
 			_mediator.sendNotification(NotificationType.DO_PAUSE);
-
+			_mediator.sendNotification(DISABLE_SHORTCUT_PLUGIN);
 			// show flagging form
 			if (_ui == null) {
 				_ui = new ModerationScreen();
@@ -215,6 +225,7 @@
 			_ui.clearData();
 			removeChild(_ui);
 			end();
+			_mediator.sendNotification(ENABLE_SHORTCUT_PLUGIN);
 		}


Added node attribute to DiscoItem.

Added node attribute to DiscoItem.

git-svn-id: c197267f952b24206666de142881703007ca05d5@12929 b35dd754-fafc-0310-a699-88a17e54d16e

--- src/org/igniterealtime/xiff/data/disco/DiscoItem.as
+++ src/org/igniterealtime/xiff/data/disco/DiscoItem.as
@@ -42,7 +42,7 @@

 		public function equals( other:DiscoItem ):Boolean
 		{
-			return jid == other.jid && name == other.name;
+			return jid == other.jid && name == other.name && node == other.node;
 		}

 		public function get jid():String
@@ -65,5 +65,15 @@
 			getNode().attributes.name = value;
 		}

+		public function get node():String
+		{
+			return getNode().attributes.node;
+		}
+
+		public function set node( value:String ):void
+		{
+			getNode().attributes.node = value;
+		}
+
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7743
Author:   clucier@adobe.com
Date:     2009-06-11T13:53:10.203664Z

Log Message:
-----------
Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
Bugs: SDK-21337
Reviewer: Ryan, Paul
QE Notes: None
Tests: Ran several random Mustella test groups, checkintests.

Modified Paths:
--------------
106 paths were modified

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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridItemRenderer.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridItemRenderer.as
@@ -377,7 +377,7 @@
             if (!styleDeclaration)
             {
                 styleDeclaration = new CSSStyleDeclaration();
-                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
+                styleDeclaration.setLocalStyle(styleProp, newValue);

                 // If inheritingStyles is undefined, then this object is being
                 // initialized and we haven't yet generated the proto chain.  To
@@ -387,7 +387,7 @@
             }
             else
             {
-                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
+                styleDeclaration.setLocalStyle(styleProp, newValue);
             }
         }
         else
@@ -398,7 +398,7 @@
             if (!styleDeclaration)
             {
                 styleDeclaration = new CSSStyleDeclaration();
-                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
+                styleDeclaration.setLocalStyle(styleProp, newValue);

                 // If nonInheritingStyles is undefined, then this object is being
                 // initialized and we haven't yet generated the proto chain.  To
@@ -408,7 +408,7 @@
             }
             else
             {
-                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
+                styleDeclaration.setLocalStyle(styleProp, newValue);
             }
         }


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

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