Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
+++ frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
@@ -0,0 +1,118 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.rpc.remoting
+{
+
+import mx.core.mx_internal;
+import mx.messaging.messages.RemotingMessage;
+import mx.rpc.AbstractOperation;
+import mx.rpc.AbstractService;
+import mx.rpc.AsyncToken;
+import mx.utils.ObjectUtil;
+
+use namespace mx_internal;
+
+/**
+ * An Operation used specifically by RemoteObjects. An Operation is an individual method on a service.
+ * An Operation can be called either by invoking the
+ * function of the same name on the service or by accessing the Operation as a property on the service and
+ * calling the send() method.
+ */
+public class Operation extends AbstractOperation
+{
+    //---------------------------------
+    // Constructor
+    //---------------------------------
+
+    /**
+     * Creates a new Operation. This is usually done directly automatically by the RemoteObject
+     * when an unknown operation has been accessed. It is not recommended that a developer use this constructor
+     * directly.
+     */
+    public function Operation(remoteObject:AbstractService = null, name:String = null)
+    {
+        super(remoteObject, name);
+
+        argumentNames = [];
+    }
+
+
+    //---------------------------------
+    // Properties
+    //---------------------------------
+
+    [Inspectable(defaultValue="true", category="General")]
+
+    /**
+     * When this value is true, anonymous objects returned are forced to bindable objects.
+     */
+    override public function get makeObjectsBindable():Boolean
+    {
+        if (_makeObjectsBindableSet)
+        {
+            return _makeObjectsBindable;
+        }
+
+        return RemoteObject(service).makeObjectsBindable;
+    }
+
+    override public function set makeObjectsBindable(b:Boolean):void
+    {
+        _makeObjectsBindable = b;
+        _makeObjectsBindableSet = true;
+    }
+
+    /**
+     * An ordered list of the names of the arguments to pass to a method invocation.  Since the arguments object is
+     * a hashmap with no guaranteed ordering, this array helps put everything together correctly.
+     * It will be set automatically by the MXML compiler, if necessary, when the Operation is used in tag form.
+     */
+    public var argumentNames:Array;
+
+    private var _makeObjectsBindableSet:Boolean;
+
+    //---------------------------------
+    // Methods
+    //---------------------------------
+
+    /**
+     * @inheritDoc
+     */
+    override public function send(... args:Array):AsyncToken
+    {
+        if (!args || (args.length == 0 && this.arguments))
+        {
+            if (this.arguments is Array)
+            {
+                args = this.arguments as Array;
+            }
+            else
+            {
+                args = [];
+                for (var i:int = 0; i < argumentNames.length; ++i)
+                {
+                    args[i] = this.arguments[argumentNames[i]];
+                }
+            }
+        }
+
+        var message:RemotingMessage = new RemotingMessage();
+        message.operation = name;
+        message.body = args;
+        message.source = RemoteObject(service).source;
+
+        return invoke(message);
+    }
+
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8238
Author:   smgilson@adobe.com
Date:     2009-06-25T17:25:59.965879Z

Log Message:
-----------
More post PARB ASDoc cleanup

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/VGroup.as
+++ frameworks/projects/spark/src/spark/components/VGroup.as
@@ -21,7 +21,7 @@
  *  The VGroup container is an instance of the Group container
  *  that uses the VerticalLayout class.
  *  Do not modify the layout property.
- *  instead, use the properties of the VGroup class to modify the
+ *  Instead, use the properties of the VGroup class to modify the
  *  characteristics of the VerticalLayout class.
  *
  *  @mxml
@@ -34,6 +34,10 @@
  *    Properties
  *    gap="6"
  *    horizontalAlign="left"
+ *    paddingBottom="0"
+ *    paddingLeft="0"
+ *    paddingRight="0"
+ *    paddingTop="0"
  *    requestedRowCount"-1"
  *    rowHeight="no default"
  *    variableRowHeight="true"
@@ -148,6 +152,8 @@
     /**
      *  @copy spark.layouts.VerticalLayout#paddingLeft
      *
+     *  @default 0
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
@@ -175,6 +181,8 @@
     /**
      *  @copy spark.layouts.VerticalLayout#paddingRight
      *
+     *  @default 0
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
@@ -202,6 +210,8 @@
     /**
      *  @copy spark.layouts.VerticalLayout#paddingTop
      *
+     *  @default 0
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
@@ -228,6 +238,8 @@

     /**
      *  @copy spark.layouts.VerticalLayout#paddingBottom
+     *
+     *  @default 0
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -382,7 +394,7 @@
     [Inspectable(category="General")]

     /**
-     * @copy spark.layouts.VerticalLayout#lastIndexInview
+     *  @copy spark.layouts.VerticalLayout#lastIndexInView
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 5797
Author:   jimurphy@adobe.com
Date:     2009-03-31T15:35:34.544076Z

Log Message:
-----------
Merged revisions 3.x 5505,5526-5527,5535,5540,5542,5572,5616-5617,5656-5657,5671,5674,5683,5687-5688,5690,5698,5708-5709,5713-5716,5719-5723,5726,5728-5729,5736,5752,5754,5761,5774,5780,5784 -> trunk

most of these are user submitted patches! very cool.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/IResourceManager.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/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.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="D">/flex/sdk/trunk/modules/compiler/FlexCompilerShell-license.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.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/validators/PhoneNumberValidator.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/validators/NumberValidatorDomainType.as" copyfrom-rev="5784" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/NumberValidatorDomainType.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/NumberValidator.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/framework/src/mx/validators/CurrencyValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/CalendarLayoutChangeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/DataGridEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpMenuButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>

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

--- frameworks/projects/mx/src/mx/controls/CalendarLayout.as
+++ frameworks/projects/mx/src/mx/controls/CalendarLayout.as
@@ -2386,6 +2386,8 @@
         rowIndex = Math.min(rowIndex, 6);

         var colIndex:int = Math.floor((mouseX-paddingLeft) / cellWidth);
+        colIndex = Math.min(colIndex, 6);
+
         var selCell:IUITextField = dayBlocksArray[colIndex][rowIndex];//this["dayBlock"+colIndex+"label"+rowIndex];
         // If it is disabled, we're done.
         if (disabledArrays[colIndex][rowIndex])


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

--- frameworks/projects/mx/src/mx/controls/CalendarLayout.as
+++ frameworks/projects/mx/src/mx/controls/CalendarLayout.as
@@ -53,6 +53,11 @@
  *  If you want to change just the color,
  *  use the rollOverColor instead.
  *  The default value is the DateChooserRollOverIndicator class.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="rollOverIndicatorSkin", type="Class", inherit="no")]

@@ -62,6 +67,11 @@
  *  If one just needs to change color,
  *  use the selectionColor instead.
  *  The default value is the DateChooserSelectionIndicator class.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectionIndicatorSkin", type="Class", inherit="no")]

@@ -70,6 +80,11 @@
  *  to some other shape other than rectangular. If you
  *  wnat to change just the color, use the todayColor style property instead.
  *  The default value is the DateChooserTodayIndicator class.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="todayIndicatorSkin", type="Class", inherit="no")]

@@ -80,6 +95,11 @@
  *  Specify a "color" style to change the font color.
  *  If omitted, the current day text inherits
  *  the text styles of the control.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="todayStyleName", type="String", inherit="no")]

@@ -87,6 +107,11 @@
  *  Name of the style sheet definition to configure the weekday names of
  *  the control. If omitted, the weekday names inherit the text
  *  styles of the control.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="weekDayStyleName", type="String", inherit="no")]

@@ -119,6 +144,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function CalendarLayout()
     {
@@ -1000,6 +1030,16 @@
         selectedSkin0..selectedSkin6

         disabledSkin0..disabledSkin6
+
+    *
+
+    *  @langversion 3.0
+
+    *  @playerversion Flash 9
+
+    *  @playerversion AIR 1.1
+
+    *  @productversion Flex 3

     */

@@ -2095,6 +2135,11 @@
         /*
              PageUp: Previous Month
              PageDown: Next Month
+        *
+        *  @langversion 3.0
+        *  @playerversion Flash 9
+        *  @playerversion AIR 1.1
+        *  @productversion Flex 3
         */

         var selChanged:Boolean = false;
@@ -2110,6 +2155,16 @@
         4: Down
         5. Home
         6. End
+
+        *
+
+        *  @langversion 3.0
+
+        *  @playerversion Flash 9
+
+        *  @playerversion AIR 1.1
+
+        *  @productversion Flex 3

         */

@@ -2435,6 +2490,11 @@

    	/**
 	 *  We don't use 'is' to prevent dependency issues
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private static var dcis:Object = {};


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

--- frameworks/projects/spark/src/spark/components/HGroup.as
+++ frameworks/projects/spark/src/spark/components/HGroup.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 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: 4106
Author:   rfrishbe@adobe.com
Date:     2008-11-14T01:56:47.949068Z

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

if (x is Group || x is FxContainer)

Just use the IVisualElementContainer interface.

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

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

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

Ran checkintests and all gumbo mustella tests.

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

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

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

--- frameworks/projects/spark/src/spark/effects/AddAction.as
+++ frameworks/projects/spark/src/spark/effects/AddAction.as
@@ -15,6 +15,7 @@
 import flash.display.DisplayObjectContainer;

 import mx.components.Group;
+import mx.core.IVisualElementContainer;
 import mx.core.mx_internal;
 import mx.effects.effectClasses.AddActionInstance;
 import mx.effects.effectClasses.PropertyChanges;
@@ -267,7 +268,10 @@
 	    var container:* = target.parent;
 		if (property == "index")
 			return container ?
-                ((container is Group) ? container.getItemIndex(target) : container.getChildIndex(target)) : 0;
+                ((container is IVisualElementContainer) ?
+                    IVisualElementContainer(container).getElementIndex(target) :
+                    container.getChildIndex(target))
+                : 0;

 		return super.getValueFromTarget(target, property);
 	}
@@ -287,8 +291,8 @@
 		    {
                 // TODO : workaround for current situation of mis-match between
                 // Group having 'item's and Flex3 components having 'parent's
-                if (target.parent is Group)
-                    target.parent.removeItem(target);
+                if (target.parent is IVisualElementContainer)
+                    IVisualElementContainer(target.parent).removeElement(target);
                 else
                     target.parent.removeChild(target);
             }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5859
Author:   rfrishbe@adobe.com
Date:     2009-04-01T23:13:22.675548Z

Log Message:
-----------
Adding FLVPlayback source code to Flex 4 project, rather than using a pre-built SWC.

Some video PARB changes:

Class Name Changes:
Rename VideoDisplay -> VideoPlayer
Combine MetadataEvent and VideoEvent into VideoEvent

Video property/method changes:
isLive -> live
isPlaying -> playing
isMuted -> muted
mute(), unmute() -> muted getter/setter

Also fixed a bug where VideoPlayer wasn't properly re-dispatching events.

QE Notes: -
Doc Notes: -
Bugs: -
Reviewer: Deepa
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/VideoScaleMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/VideoEvent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoDisplayPlayPauseButtonSkin.mxml" copyfrom-rev="5766" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerPlayPauseButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/ConnectClient.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/flvplayback_internal.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/NCManager.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/videoPlayer.swc</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/VideoProgressEvent.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/FMSCapabilities.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/ConnectClientNative.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoDisplayPlayPauseButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/NCManagerNative.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/INCManager.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoDisplayMuteButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/VideoState.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/ComponentVersion.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/ConnectClientDynamicStream.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoDisplaySkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/DynamicStreamItem.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/ReconnectClient.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/VideoError.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoDisplay.as" copyfrom-rev="5766" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/VideoAlign.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/VideoPlayerClient.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/VideoElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/DVRManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/QueuedCommand.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults-3.0.0.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/ParseResults.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoDisplayMuteButtonSkin.mxml" copyfrom-rev="5766" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerMuteButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/SMILManager.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/MetadataEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/IVPEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/DynamicStream.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoDisplay.png" copyfrom-rev="5766" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/FPADManager.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoDisplaySkin.mxml" copyfrom-rev="5766" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/AutoLayoutEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/VideoEvent.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoDisplay.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/NCManagerDynamicStream.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/LayoutEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/FPMediaCapabilities.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/fl/video/MetadataEvent.as</path>

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

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

 package spark.events
 {
@@ -16,10 +16,10 @@

 /**
  *  The VideoEvent class represents the event object passed to the event listener for
- *  events dispatched by the VideoDisplay control, and defines the values of
- *  the VideoDisplay.state property.
+ *  events dispatched by the video control.
  *
- *  @see spark.controls.VideoDisplay
+ *  @see spark.controls.VideoPlayer
+ *  @see spark.primitives.VideoElement
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -49,6 +49,8 @@
      *       event listener that handles the event. For example, if you use
      *       myButton.addEventListener() to register an event listener,
      *       myButton is the value of the currentTarget.

+     *
metadataInfo	If the event was triggerred from
+     *       new metadata, an object describing the FLV file.

      *
playheadTime	The location of the playhead
      *       when the event occurs.

      *
target	The Object that dispatched the event;
@@ -79,6 +81,8 @@
      *       event listener that handles the event. For example, if you use
      *       myButton.addEventListener() to register an event listener,
      *       myButton is the value of the currentTarget.

+     *
metadataInfo	If the event was triggerred from
+     *       new metadata, an object describing the FLV file.

      *
playheadTime	The location of the playhead
      *       when the event occurs.

      *
target	The Object that dispatched the event;
@@ -95,6 +99,39 @@
      *  @productversion Flex 4
      */
     public static const COMPLETE:String = "complete";
+
+    /**
+     * The VideoEvent.METADATA_RECEIVED constant defines the value of the
+     * type property for a metadataReceived event.
+     *
+     *
This event has the following properties:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	false;
+     *        there is no default behavior to cancel.

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
metadataInfo	If the event was triggerred from
+     *       new metadata, an object describing the FLV file.

+     *
playheadTime	The location of the playhead
+     *       when the event occurs.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *

+     *
+     *  @eventType metadataReceived
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const METADATA_RECEIVED:String = "metadataReceived";

     /**
      *  The VideoEvent.PLAYHEAD_UPDATE constant defines the value of the
@@ -109,6 +146,8 @@
      *       event listener that handles the event. For example, if you use
      *       myButton.addEventListener() to register an event listener,
      *       myButton is the value of the currentTarget.

+     *
metadataInfo	If the event was triggerred from
+     *       new metadata, an object describing the FLV file.

      *
playheadTime	The location of the playhead
      *       when the event occurs.

      *
target	The Object that dispatched the event;
@@ -139,6 +178,8 @@
      *       event listener that handles the event. For example, if you use
      *       myButton.addEventListener() to register an event listener,
      *       myButton is the value of the currentTarget.

+     *
metadataInfo	If the event was triggerred from
+     *       new metadata, an object describing the FLV file.

      *
playheadTime	The location of the playhead
      *       when the event occurs.

      *
target	The Object that dispatched the event;
@@ -172,7 +213,10 @@
      *  @param cancelable Specifies whether the behavior associated with
      *  the event can be prevented.
      *
-     *  @param playeheadTime The location of the playhead when the event occurs.
+     *  @param playeheadTime The location of the playhead when the event occurs.
+     *
+     *  @param metadataInfo The metadata info object with properties
+     *  describing the FLB file.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -181,11 +225,13 @@
      */
     public function VideoEvent(type:String, bubbles:Boolean = false,
                                cancelable:Boolean = false,
-                               playheadTime:Number = NaN)
+                               playheadTime:Number = NaN,
+                               metadataInfo:Object = null)
     {
         super(type, bubbles, cancelable);

         this.playheadTime = playheadTime;
+        this.metadataInfo = metadataInfo;
     }

     //--------------------------------------------------------------------------
@@ -195,11 +241,25 @@
     //--------------------------------------------------------------------------

     //----------------------------------
+    //  metadataInfo
+    //----------------------------------
+
+    /**
+     *  The metadata info object with properties describing the FLB file.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var metadataInfo:Object;
+
+    //----------------------------------
     //  playheadTime
     //----------------------------------

     /**
-     *  The location of the playhead of the VideoDisplay control
+     *  The location of the playhead of the video control
      *  when the event occurs.
      *
      *  @langversion 3.0
@@ -220,7 +280,8 @@
      */
     override public function clone():Event
     {
-        return new VideoEvent(type, bubbles, cancelable, playheadTime);
+        return new VideoEvent(type, bubbles, cancelable,
+                              playheadTime, metadataInfo);
     }
 }


fix typo

fix typo

--- src/aerys/minko/render/material/phong/PhongProperties.as
+++ src/aerys/minko/render/material/phong/PhongProperties.as
@@ -10,7 +10,7 @@

 		public static const LIGHTMAP_MULTIPLIER			: String = 'lightMapMultiplier';
 		public static const AMBIENT_MULTIPLIER			: String = 'ambientMultiplier';
-		public static const DIFFUSE_MULTIPLIER			: String = 'aiffuseMultiplier';
+		public static const DIFFUSE_MULTIPLIER			: String = 'diffuseMultiplier';
 		public static const SPECULAR					: String = 'specular';
 		public static const SHININESS					: String = 'shininess';


Transferred from the Adobe Open Source Subversion Repository

Revision: 12331
Author:   smgilson@adobe.com
Date:     2009-12-01T19:45:33.274910Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TitleWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>

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

--- frameworks/projects/airspark/src/spark/components/WindowedApplication.as
+++ frameworks/projects/airspark/src/spark/components/WindowedApplication.as
@@ -378,17 +378,18 @@
  *    autoExit="true"
  *    backgroundFrameRate="1"
  *    dockIconMenu="null"
- *    maxHeight="2880 less the height of the system chrome"
- *    maxWidth="2880 less the width of the system chrome"
  *    menu="null"
- *    minHeight="dependent on the operating system and the AIR systemChrome setting"
- *    minWidth="dependent on the operating system and the AIR systemChrome setting"
  *    showStatusBar="true"
  *    status=""
  *    systemTrayIconMenu="null"
  *    title=""
  *    titleIcon="null"
  *    useNativeDragManager="true"
+ *
+ *    Styles
+ *    backgroundAlpha="1.0"
+ *    backgroundColor="0xFFFFFF"
+ *    resizeAffordanceWidth="6"
  *
  *    Effects
  *    closeEffect="No default"


Transferred from the Adobe Open Source Subversion Repository

Revision: 22093
Author:   mhorn@adobe.com
Date:     2011-08-19T14:59:39.659747Z

Log Message:
-----------
asdoc updates

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as

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

--- frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
+++ frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
@@ -39,7 +39,7 @@
 //  Events
 //--------------------------------------
 /**
- *  Dispatched after the selected date has been changed by the user
+ *  Dispatched after the selected date has been changed by the user.
  *
  *  @eventType flash.events.Event.CHANGE
  *
@@ -69,7 +69,7 @@

 /**
  *  The locale of the component. Controls how dates are formatted, e.g. in what order the fields
- *  are listed and what additional date-related characters are shown if any. Uses standard locale
+ *  are listed and what additional date-related characters are shown, if any. Uses standard locale
  *  identifiers as described in Unicode Technical Standard #35. For example "en", "en_US" and "en-US"
  *  are all English, "ja" is Japanese. If the specified locale is not supported on the platform, "en_US"
  *  will be used. To determine if a locale is supported, use
@@ -109,10 +109,38 @@
 [IconFile("DateSpinner.png")]

 /**
- *  The DateSpinner component presents an interface for picking a particular point
- *  in time. The interface is made up of a series of SpinnerList controls that show the
- *  user the currently selected date and, through touch or mouse interaction, allow the user
- *  to adjust the selected date.
+ *  The DateSpinner control presents an interface for picking a particular date or time.
+ *
+ *
The DateSpinner control can display the date, the time, or the date and time, based on the
+ *  value of the displayMode property.

+ *
+ *
The UI for the control is made up of a series of SpinnerList controls wrapped inside
+ *  a SpinnerListContainer that show the
+ *  currently-selected date. Through touch or mouse interaction, users
+ *  can adjust the selected date.

+ *
+ *
The DateSpinnerSkin only defines some sizing properties.
+ *  To change the appearance of the DateSpinner control, you typically reskin the underlying
+ *  SpinnerListSkin or SpinnerListContainerSkin.

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

+ *
+ *

+ *  <s:DateSpinner
+ *    Properties
+ *    displayMode="date|time|dateAndTime"
+ *    maxDate="null"
+ *    minDate="null"
+ *    minuteStepSize="1"
+ *    selectedDate=""
+ *
+ *    Styles
+ *    accentColor="0x0058A8"
+ *  />
+ *

+ *
+ *  @see spark.components.SpinnerList
  *
  *  @langversion 3.0
  *  @playerversion AIR 3
@@ -206,7 +234,7 @@
     //
     //--------------------------------------------------------------------------
     /**
-     *  Constructor
+     *  Constructor.
      *
      *  @langversion 3.0
      *  @playerversion AIR 3
@@ -275,7 +303,7 @@
     [SkinPart]
     /**
      *  The default factory for creating SpinnerList interfaces for all fields.
-     *  This is used by createDateItemList().
+     *  This is used by the createDateItemList() method.
      *
      *  @langversion 3.0
      *  @playerversion AIR 3
@@ -301,7 +329,6 @@

     /**
      *  The SpinnerList showing the year field of the date.
-     *  shown and manipulated
      *
      *  @langversion 3.0
      *  @playerversion AIR 3
@@ -311,7 +338,6 @@

     /**
      *  The SpinnerList showing the month field of the date.
-     *  shown and manipulated
      *
      *  @langversion 3.0
      *  @playerversion AIR 3
@@ -321,7 +347,6 @@

     /**
      *  The SpinnerList showing the date field of the date.
-     *  shown and manipulated
      *
      *  @langversion 3.0
      *  @playerversion AIR 3
@@ -331,7 +356,6 @@

     /**
      *  The SpinnerList showing the hour field of the date.
-     *  shown and manipulated
      *
      *  @langversion 3.0
      *  @playerversion AIR 3
@@ -341,7 +365,6 @@

     /**
      *  The SpinnerList showing the minutes field of the date.
-     *  shown and manipulated
      *
      *  @langversion 3.0
      *  @playerversion AIR 3
@@ -350,8 +373,7 @@
     protected var minuteList:SpinnerList;

     /**
-     *  The SpinnerList showing the meridian field of the date.
-     *  shown and manipulated
+     *  The SpinnerList showing the meridian field (AM/PM) of the date.
      *
      *  @langversion 3.0
      *  @playerversion AIR 3
@@ -370,8 +392,19 @@
     [Inspectable(category="General", enumeration="date,time,dateAndTime", defaultValue="date")]

     /**
-     *  Mode the DateSpinner is currently using for display. See
-     *  DateSelectorDisplayMode.
+     *  Mode the DateSpinner is currently using for display. You can set this value to the constants defined in the
+     *  DateSelectorDisplayMode class, or to their string equivalents.
+     *
+     *
The following table describes the possible values:
+     *

+     *
Mode (String equivalent)	Description

+     *
DateSelectorDisplayMode.DATE ("date")	Displays the month, day, and year. This is the default mode.

+     *
DateSelectorDisplayMode.TIME ("time")	Displays the day of week, month, day, and time.

+     *
DateSelectorDisplayMode.DATE_AND_TIME ("dateAndTime")	Displays the hours and minutes, and, if the locale supports it, the AM/PM selector.

+     *

+     *

+     *
+     *  @see spark.components.calendarClasses.DateSelectorDisplayMode
      *
      *  @default DateSelectorDisplayMode.DATE
      *  @langversion 3.0
@@ -383,6 +416,9 @@
         return _displayMode;
     }

+    /**
+     *  @private
+     */
     public function set displayMode(value:String):void
     {
         if (_displayMode == value || value == null)
@@ -427,11 +463,12 @@
     private var maxDateChanged:Boolean = false;

     /**
-     *  Maximum selectable date; only dates before this date are selectable.
+     *  Maximum selectable date; only this date and dates before this date are selectable.
      *
      *  @default If maxDate is null, the value defaults to 100 years after
      *           the currently selected date in DATE mode, and 100 days
      *           after the currently selected date in DATE_AND_TIME mode.
+     *
      *  @langversion 3.0
      *  @playerversion AIR 3
      *  @productversion Flex 4.5.2
@@ -441,6 +478,9 @@
         return _maxDate != null ? _maxDate : MAX_DATE_DEFAULT;
     }

+    /**
+     *  @private
+     */
     public function set maxDate(value:Date):void
     {
         if ((_maxDate && value && _maxDate.time == value.time)
@@ -465,7 +505,7 @@

     // TODO: add reference after the global team adds the doc
     /**
-     *  Minimum selectable date; only dates after this date are selectable.
+     *  Minimum selectable date; only this date and dates after this date are selectable.
      *
      *  @default If minDate is null, the value defaults to 100 years prior to
      *           the currently selected date in DATE mode, and 100 days prior
@@ -481,6 +521,9 @@
         return _minDate != null ? _minDate : MIN_DATE_DEFAULT;
     }

+    /**
+     *  @private
+     */
     public function set minDate(value:Date):void
     {
         if ((_minDate && value && _minDate.time == value.time)
@@ -504,7 +547,7 @@

     /**
      *  Minute interval to be used when displaying minutes. Only
-     *  applicable in TIME and DATEANDTIME modes. Valid values must
+     *  applicable in TIME and DATE_AND_TIME modes. Valid values must
      *  be evenly divisible into 60; invalid values will revert to
      *  the default interval of 1. For example, a value of "15" will show
      *  the values 0, 15, 30, 45.
@@ -519,6 +562,9 @@
         return _minuteStepSize;
     }

+    /**
+     *  @private
+     */
     public function set minuteStepSize(value:int):void
     {
         if (value == _minuteStepSize)
@@ -544,9 +590,10 @@

     [Bindable(event="valueCommit")]
     /**
-     *  Date that the DateSpinner is currently selected
+     *  Date that is currently selected in the DateSpinner control.
      *
-     *  @default current date when DateSpinner was instantiated
+     *  @default Current date when the DateSpinner was instantiated.
+     *
      *  @langversion 3.0
      *  @playerversion AIR 3
      *  @productversion Flex 4.5.2
@@ -797,7 +844,7 @@
     /**
      *  Create a list object for the specified date part.
      *
-     *  @param datePart use date part constants, e.g. YEAR_ITEM
+     *  @param datePart Use date part constants, e.g. YEAR_ITEM.
      *
      *  @langversion 3.0
      *  @playerversion AIR 3


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserYearArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuBarItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PanelSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/Flex.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>

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

--- frameworks/projects/mx/src/mx/controls/LinkButton.as
+++ frameworks/projects/mx/src/mx/controls/LinkButton.as
@@ -13,7 +13,6 @@
 {

 import flash.text.TextLineMetrics;
-import mx.core.FlexVersion;
 import mx.core.mx_internal;

 use namespace mx_internal;
@@ -246,79 +245,6 @@
 		if (createAccessibilityImplementation != null)
 			createAccessibilityImplementation(this);
 	}
-
-	/**
-	 *  @private
-	 */
-	override protected function measure():void
-	{
-		super.measure();
-
-    	if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
-		{
-
-			var textWidth:Number = 8;
-			var textHeight:Number = 8;
-
-			if (label)
-			{
-				var lineMetrics:TextLineMetrics = measureText(label);
-				textWidth += lineMetrics.width;
-				textHeight += lineMetrics.height;
-			}
-
-			textWidth += (getStyle("paddingLeft") +
-						  getStyle("paddingRight"));
-
-			// Make sure any pending icon changes are committed before measuring.
-			// commitProperties() should always be called before measure(),
-			// but bug 103305 is a case where it isn't.
-			//
-			//removed icon and iconchanged in api scrub replaced with icon style
-			//if (iconChanged)
-			//	changeIcons();
-
-			viewIcon();
-			viewSkin();
-
-			var iconWidth:Number = currentIcon ? currentIcon.width : 0;
-			var iconHeight:Number = currentIcon ? currentIcon.height : 0;
-
-			var w:Number = 0;
-			var h:Number = 0;
-
-			if (labelPlacement == ButtonLabelPlacement.LEFT ||
-				labelPlacement == ButtonLabelPlacement.RIGHT)
-			{
-				if (label && label.length > 0)
-					w = textWidth + iconWidth;
-				else
-					w = iconWidth;
-				if (iconWidth != 0)
-					w += getStyle("horizontalGap");
-				h = Math.max(textHeight, iconHeight);
-			}
-			else
-			{
-				w = Math.max(textWidth, iconWidth);
-				if (label && label.length > 0)
-					h = textHeight + iconHeight;
-				else
-					h = iconHeight;
-				if (iconHeight != 0)
-					h += getStyle("verticalGap");
-			}
-
-			if (label && label != "")
-				w += extraSpacing;
-
-			w = Math.max(20, w);
-			h = Math.max(14, h);
-
-			measuredMinWidth = measuredWidth = w;
-			measuredMinHeight = measuredHeight = h;
-		}
-	}

 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/messaging/Consumer.as
+++ frameworks/projects/rpc/src/mx/messaging/Consumer.as
@@ -0,0 +1,238 @@
+/*************************************************************************
+ *
+ * ADOBE CONFIDENTIAL
+ * __________________
+ *
+ *  [2002] - [2007] Adobe Systems Incorporated
+ *  All Rights Reserved.
+ *
+ * NOTICE:  All information contained herein is, and remains
+ * the property of Adobe Systems Incorporated and its suppliers,
+ * if any.  The intellectual and technical concepts contained
+ * herein are proprietary to Adobe Systems Incorporated
+ * and its suppliers and may be covered by U.S. and Foreign Patents,
+ * patents in process, and are protected by trade secret or copyright law.
+ * Dissemination of this information or reproduction of this material
+ * is strictly forbidden unless prior written permission is obtained
+ * from Adobe Systems Incorporated.
+ */
+package mx.messaging
+{
+
+import flash.events.TimerEvent;
+import flash.utils.Timer;
+import mx.core.mx_internal;
+import mx.events.PropertyChangeEvent;
+import mx.logging.ILogger;
+import mx.logging.Log;
+import mx.messaging.config.ServerConfig;
+import mx.messaging.errors.MessagingError;
+import mx.messaging.events.ChannelEvent;
+import mx.messaging.events.ChannelFaultEvent;
+import mx.messaging.events.MessageEvent;
+import mx.messaging.events.MessageFaultEvent;
+import mx.messaging.messages.AbstractMessage;
+import mx.messaging.messages.AcknowledgeMessage;
+import mx.messaging.messages.AsyncMessage;
+import mx.messaging.messages.CommandMessage;
+import mx.messaging.messages.ErrorMessage;
+import mx.messaging.messages.IMessage;
+
+use namespace mx_internal;
+
+/**
+ *  Dispatched when a message is received by the Consumer.
+ *
+ *  @eventType mx.messaging.events.MessageEvent.MESSAGE
+ */
+[Event(name="message", type="mx.messaging.events.MessageEvent")]
+
+/**
+ *  A Consumer subscribes to a destination to receive messages.
+ *  Consumers send subscribe and unsubscribe messages which generate a MessageAckEvent
+ *  or MessageFaultEvent depending upon whether the operation was successful or not.
+ *  Once subscribed, a Consumer dispatches a MessageEvent for each message it receives.
+ *  Consumers provide the ability to filter messages using a selector.
+ *  These selectors must be understood by the destination.
+ *  @mxml
+ *

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

+ *

+ *   <mx:Consumer
+ *    Properties
+ *    resubscribeAttempts="5"
+ *    resubscribeInterval="5000"
+ *    selector="No default."
+ *    timestamp="No default."
+ *  />
+ *

+ */
+public class Consumer extends AbstractConsumer
+{
+    //--------------------------------------------------------------------------
+    //
+    // Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructs a Consumer.
+     *
+     *  @param messageType The alias for the message type processed by the service
+     *                     hosting the remote destination the Consumer will subscribe to.
+     *                     This parameter is deprecated and it is ignored by the
+     *                     constructor.
+     *
+     *  @example
+     *  <listing version="3.0">
+     *   function initConsumer():void
+     *   {
+     *       var consumer:Consumer = new Consumer();
+     *       consumer.destination = "NASDAQ";
+     *       consumer.selector = "operation IN ('Bid','Ask')";
+     *       consumer.addEventListener(MessageEvent.MESSAGE, messageHandler);
+     *       consumer.subscribe();
+     *   }
+     *
+     *   function messageHandler(event:MessageEvent):void
+     *   {
+     *       var msg:IMessage = event.message;
+     *       var info:Object = msg.body;
+     *       trace("-App recieved message: " + msg.toString());
+     *   }
+     *   </listing>
+     */
+	public function Consumer(messageType:String="flex.messaging.messages.AsyncMessage")
+	{
+		super();
+	}
+
+
+    //--------------------------------------------------------------------------
+    //
+    // Properties
+    //
+    //--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  selector
+	//----------------------------------
+
+	/**
+     *  @private
+	 */
+	private var _selector:String = "";
+
+    [Bindable(event="propertyChange")]
+
+    [Inspectable(category="General", verbose="1")]
+	/**
+	 *  The selector for the Consumer.
+	 *  This is an expression that is passed to the destination which uses it
+	 *  to filter the messages delivered to the Consumer.
+	 *
+	 *
Before a call to the subscribe() method, this property
+	 *  can be set with no side effects.
+	 *  After the Consumer has subscribed to its destination, changing this
+	 *  value has the side effect of updating the Consumer's subscription to
+	 *  use the new selector expression immediately.

+	 *
+	 *
The remote destination must understand the value of the selector
+	 *  expression.

+	 */
+	public function get selector():String
+	{
+		return _selector;
+	}
+
+    /**
+     *  @private
+     */
+	public function set selector(value:String):void
+	{
+	    if (_selector !== value)
+	    {
+	        var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "selector", _selector, value);
+
+            var resetSubscription:Boolean = false;
+            if (subscribed)
+            {
+                unsubscribe();
+                resetSubscription = true;
+            }
+
+    		_selector = value;
+
+    		// Update an existing subscription to use the new selector.
+    		if (resetSubscription)
+    			subscribe(clientId);
+
+    	    dispatchEvent(event);
+    	}
+	}
+
+	//----------------------------------
+	//  subtopic
+	//----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _subtopic:String = "";
+
+    [Bindable(event="propertyChange")]
+
+    /**
+     *  Provides access to the subtopic for the remote destination that the MessageAgent uses.
+     */
+    public function get subtopic():String
+    {
+        return _subtopic;
+    }
+
+	/**
+	 *  Setting the subtopic when the Consumer is connected and
+	 *  subscribed has the side effect of unsubscribing and resubscribing
+	 *  the Consumer.
+	 */
+    public function set subtopic(value:String):void
+    {
+        if (subtopic != value)
+	    {
+	        var resetSubscription:Boolean = false;
+            if (subscribed)
+            {
+                unsubscribe();
+                resetSubscription = true;
+            }
+
+            _subtopic = value;
+
+            if (resetSubscription)
+                subscribe();
+        }
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    // Protected Methods
+    //
+    //--------------------------------------------------------------------------
+
+    override protected function internalSend(message:IMessage, waitForClientId:Boolean = true):void
+    {
+        if (subtopic.length > 0)
+            message.headers[AsyncMessage.SUBTOPIC_HEADER] = subtopic;
+        if (_selector.length > 0)
+            message.headers[CommandMessage.SELECTOR_HEADER] = _selector;
+
+        super.internalSend(message, waitForClientId);
+    }
+
+
+
+}
+
+}


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

--- frameworks/projects/advancedgrids/src/mx/olap/CubeNodeBuilder.as
+++ frameworks/projects/advancedgrids/src/mx/olap/CubeNodeBuilder.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.olap


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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5947
Author:   gauravj@adobe.com
Date:     2009-04-06T17:03:21.070169Z

Log Message:
-----------
Fix for "selectedItem" property for ComboBox not shown in the code hints.

QE Notes: None.
Doc Notes: None.
Bugs: SDK-18682
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/ComboBox.as
+++ frameworks/projects/mx/src/mx/controls/ComboBox.as
@@ -990,7 +990,6 @@
     [Bindable("change")]
     [Bindable("collectionChange")]
     [Bindable("valueCommit")]
-    [Inspectable(category="General", defaultValue="null")]

     /**
      *  Contains a reference to the selected item in the


fixing more error messages

fixing more error messages

--- WeaveAdmin/src/weave/services/WeaveAdminService.as
+++ WeaveAdmin/src/weave/services/WeaveAdminService.as
@@ -50,6 +50,7 @@
 	import weave.services.beans.ConnectionInfo;
 	import weave.services.beans.DatabaseConfigInfo;
 	import weave.services.beans.WeaveFileInfo;
+	import weave.utils.fixErrorMessage;

 	/**
 	 * The functions in this class correspond directly to Weave servlet functions written in Java.
@@ -155,7 +156,9 @@
 		}
 		private function initializeAdminServiceError(event:IOErrorEvent):void
 		{
-			messageDisplay(event.type, event.text, true);
+			var error:Error = new Error(event.text, event.errorID);
+			fixErrorMessage(error);
+			messageDisplay(null, error.message, true);
 		}

 		/**
@@ -309,6 +312,7 @@
 		// this function displays an error message from a FaultEvent in an Alert box.
 		private function alertFault(event:FaultEvent, query:ProxyAsyncToken):void
 		{
+			fixErrorMessage(event.fault);
 			var methodName:String = query._params[0];
 			var methodParams:Array = query._params[1];
 			if (PREVENT_FAULT_ALERT[query])
@@ -318,11 +322,11 @@
 			}

 			var paramDebugStr:String = '';
-
-			if (methodParams is Array && methodParams.length > 0)
+
+			if (methodParams is Array && methodParams.length > 0)
 				paramDebugStr = methodParams.map(function(p:Object, i:int, a:Array):String { return Compiler.stringify(p); }).join(', ');
 			else
-				paramDebugStr += Compiler.stringify(methodParams);
+				paramDebugStr += Compiler.stringify(methodParams);

 			trace(StandardLib.substitute(
 					"Received error on {0}({1}):\n\t{2}",
@@ -330,7 +334,7 @@
 					paramDebugStr,
 					event.fault.faultString
 				));
-
+
 			//Alert.show(event.fault.faultString, event.fault.name);
 			var msg:String = event.fault.faultString;
 			if (msg == "ioError")


* Change text when as node is clicked to read "Showing parent and child links" instead of "Showing parent and child link".

--- asn_visualization/asn_visualization.as
+++ asn_visualization/asn_visualization.as
@@ -833,7 +833,7 @@
                     _node_click_behavior_toggle.text="Showing node's path to the wider Internet. Click node again to see its parent and child links.";
                     break;
                 case 2:
-                    _node_click_behavior_toggle.text="Showing node's parent and child link. Click node again to see its path to the wider Internet.";
+                    _node_click_behavior_toggle.text="Showing node's parent and child links. Click node again to see its path to the wider Internet.";
                     break;
             }


Fixed bug where CSVDataSource hierarchy was not repopulating after refresh.

--- WeaveData/src/weave/data/DataSources/CSVDataSource.as
+++ WeaveData/src/weave/data/DataSources/CSVDataSource.as
@@ -88,7 +88,7 @@
 			{
 				// if csvDataString is specified, do not use url
 				url.value = null;
-				csvDataArray = null;
+				csvDataArray = WeaveAPI.CSVParser.parseCSV(csvDataString.value);
 			}
 		}

@@ -98,19 +98,12 @@
 			return super.initializationComplete && csvDataArray != null;
 		}

+		/**
+		 * This gets called when callbacks are triggered.
+		 */
 		override protected function initialize():void
 		{
-			if (csvDataString.value != null && csvDataArray == null) // if data is specified and not loaded yet
-			{
-				loadCSVData(csvDataString.value);
-			}
-			super.initialize();
-		}
-
-		private function loadCSVData(csvData:String):void
-		{
-			this.csvDataArray = WeaveAPI.CSVParser.parseCSV(csvData);
-			if (_attributeHierarchy.value == null)
+			if (_attributeHierarchy.value == null && csvDataArray != null)
 			{
 				// loop through column names, adding indicators to hierarchy
 				var firstRow:Array = csvDataArray[0];
@@ -119,8 +112,8 @@
 				{
 					var attr:XML = <attribute
 						title={ colName }
-						csvColumn={ colName }
-						keyType={ keyType.value }/>;
+					csvColumn={ colName }
+					keyType={ keyType.value }/>;
 					root.appendChild(attr);
 				}
 				_attributeHierarchy.value = root;
@@ -128,6 +121,8 @@
 			// recalculate all columns previously requested because CSV data may have changed.
 			for (var proxyColumn:* in _columnToReferenceMap)
 				requestColumnFromSource(_columnToReferenceMap[proxyColumn] as IColumnReference, proxyColumn);
+
+			super.initialize();
 		}

 		/**
@@ -143,9 +138,9 @@
 				var cc:ICallbackCollection = getCallbackCollection(this);
 				cc.delayCallbacks();

-				loadCSVData(String(event.result));
+				csvDataArray = WeaveAPI.CSVParser.parseCSV(String(event.result));

-				cc.triggerCallbacks();
+				cc.triggerCallbacks(); // this causes initialize() to be called
 				cc.resumeCallbacks();
 			}
 		}


removed todo comment

removed todo comment

--- WeaveData/src/weave/primitives/GeneralizedGeometry.as
+++ WeaveData/src/weave/primitives/GeneralizedGeometry.as
@@ -59,7 +59,6 @@
 			var part:Vector.<BLGNode>;
 			var node:BLGNode;

-			//TODO - http://geojson.org/geojson-spec.html#geometry-objects
 			if (type == GeoJSON.T_MULTI_POINT)
 			{
 				for each (part in parts)


Transferred from the Adobe Open Source Subversion Repository

Revision: 16519
Author:   dloverin@adobe.com
Date:     2010-06-10T17:09:46.036832Z

Log Message:
-----------
Fix MarshallPlan bootstrap test breakage.

Don't load RSLs into a bootstrap's application domain.

QE notes: None.
Doc notes: None.
Bugs: SDK-26670
Reviewer: Alex
Tests run: checkintests, MarshallPlan
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as

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

--- frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
+++ frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
@@ -266,6 +266,10 @@
         // domain. Remove this code once we have cooperative loading implemented.
         while (context.applicationDomain && context.applicationDomain.parentDomain)
         {
+            // Don't load an RSL into a bootstrap application domain.
+            if (!context.applicationDomain.parentDomain.hasDefinition("mx.managers::SystemManager"))
+                break;
+
             context.applicationDomain = context.applicationDomain.parentDomain;
         }


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

--- frameworks/projects/framework/src/mx/managers/ToolTipManager.as
+++ frameworks/projects/framework/src/mx/managers/ToolTipManager.as
@@ -26,6 +26,11 @@
  *
  *  @see mx.controls.ToolTip
  *  @see mx.validators.Validator
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ToolTipManager extends EventDispatcher
 {
@@ -81,6 +86,11 @@
     /**
      *  The UIComponent that is currently displaying a ToolTip,
      *  or null if none is.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function get currentTarget():DisplayObject
     {
@@ -102,6 +112,11 @@
     /**
      *  The ToolTip object that is currently visible,
      *  or null if none is shown.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function get currentToolTip():IToolTip
     {
@@ -126,6 +141,11 @@
      *  If false, no ToolTips will be shown.
      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function get enabled():Boolean
     {
@@ -154,6 +174,11 @@
      *  such as moving the mouse off of the component.
      *
      *  @default 10000
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function get hideDelay():Number
     {
@@ -177,6 +202,11 @@
      *  or null if the ToolTip should disappear with no effect.
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function get hideEffect():IAbstractEffect
     {
@@ -211,6 +241,11 @@
      *  descriptions of their functionality.

      *
      *  @default 100
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function get scrubDelay():Number
     {
@@ -236,6 +271,11 @@
      *  To make the ToolTip appear instantly, set showDelay to 0.
      *
      *  @default 500
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function get showDelay():Number
     {
@@ -259,6 +299,11 @@
      *  or null if the ToolTip should appear with no effect.
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function get showEffect():IAbstractEffect
     {
@@ -281,6 +326,11 @@
      *  The class to use for creating ToolTips.
      *
      *  @default mx.controls.ToolTip
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function get toolTipClass():Class
     {
@@ -315,6 +365,11 @@
      *  @param toolTip The text to display in the ToolTip.
      *  If null, no ToolTip will be displayed when the mouse hovers
      *  over the target.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal static function registerToolTip(target:DisplayObject,
                                                 oldToolTip:String,
@@ -337,6 +392,11 @@
      *  @param toolTip The text to display in the ToolTip.
      *  If null, no ToolTip will be displayed when the mouse hovers
      *  over the target.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal static function registerErrorString(target:DisplayObject,
                                                     oldErrorString:String,
@@ -410,6 +470,11 @@
      *
      *  @return The newly created ToolTip.
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function createToolTip(text:String, x:Number, y:Number,
                                          errorTipBorderStyle:String = null,
@@ -430,6 +495,11 @@
      *  currentToolTip.

      *
      *  @param toolTip The ToolTip instance to destroy.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function destroyToolTip(toolTip:IToolTip):void
     {