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

--- frameworks/projects/mx/src/mx/controls/MenuBar.as
+++ frameworks/projects/mx/src/mx/controls/MenuBar.as
@@ -70,6 +70,11 @@
  *  the pop-up submenu.
  *
  *  @eventType mx.events.MenuEvent.CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="change", type="mx.events.MenuEvent")]

@@ -77,6 +82,11 @@
  *  Dispatched when the user selects an item in a pop-up submenu.
  *
  *  @eventType mx.events.MenuEvent.ITEM_CLICK
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="itemClick", type="mx.events.MenuEvent")]

@@ -84,6 +94,11 @@
  *  Dispatched when a pop-up submenu closes.
  *
  *  @eventType mx.events.MenuEvent.MENU_HIDE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="menuHide", type="mx.events.MenuEvent")]

@@ -92,6 +107,11 @@
  *  user selects a menu bar item with no drop-down menu.
  *
  *  @eventType mx.events.MenuEvent.MENU_SHOW
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="menuShow", type="mx.events.MenuEvent")]

@@ -99,6 +119,11 @@
  *  Dispatched when the mouse pointer rolls out of a menu item.
  *
  *  @eventType mx.events.MenuEvent.ITEM_ROLL_OUT
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="itemRollOut", type="mx.events.MenuEvent")]

@@ -106,6 +131,11 @@
  *  Dispatched when the mouse pointer rolls over a menu item.
  *
  *  @eventType mx.events.MenuEvent.ITEM_ROLL_OVER
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="itemRollOver", type="mx.events.MenuEvent")]

@@ -123,6 +153,11 @@
  *  property.
  *  Valid values range from 0.0 to 1.0.
  *  @default 1.0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="backgroundAlpha", type="Number", inherit="no", deprecatedReplacement="menuStyleName", deprecatedSince="3.0")]

@@ -142,6 +177,11 @@
  *      <mx:ControlName ... fillAlphas="[1,1]"/>
  *  </mx:Container>
  *

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="backgroundColor", type="uint", format="Color", inherit="no", deprecatedReplacement="menuStyleName", deprecatedSince="3.0")]

@@ -149,6 +189,11 @@
  *  The background skin of the MenuBar control.
  *
  *  @default mx.skins.halo.MenuBarBackgroundSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="backgroundSkin", type="Class", inherit="no")]

@@ -156,6 +201,11 @@
  *  The default skin for a MenuBar item
  *
  *  @default mx.skins.halo.ActivatorSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="itemSkin", type="Class", inherit="no", states="up, over, down")]

@@ -163,6 +213,11 @@
  *  The skin when a MenuBar item is not selected.
  *
  *  @default mx.skins.halo.ActivatorSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="itemUpSkin", type="Class", inherit="no")]

@@ -170,6 +225,11 @@
  *  The skin when focus is over a MenuBar item either.
  *
  *  @default mx.skins.halo.ActivatorSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="itemOverSkin", type="Class", inherit="no")]

@@ -177,6 +237,11 @@
  *  The skin when a MenuBar item is selected.
  *
  *  @default mx.skins.halo.ActivatorSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="itemDownSkin", type="Class", inherit="no")]

@@ -190,17 +255,32 @@
  *  of the Menu class, including backgroundAlpha and backgroundColor.

  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="menuStyleName", type="String", inherit="no")]

 /**
  *  @copy mx.controls.Menu#style:rollOverColor
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="rollOverColor", type="uint", format="Color", inherit="yes")]

 /**
  *  @copy mx.controls.Menu#style:selectionColor
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectionColor", type="uint", format="Color", inherit="yes")]

@@ -318,6 +398,11 @@
  *
  *  @includeExample examples/MenuBarExample.mxml
  *
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class MenuBar extends UIComponent implements IFocusManagerComponent
 {
@@ -354,6 +439,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function MenuBar()
     {
@@ -527,6 +617,11 @@
      *
      *
The default value is an internal instance of the
      *  DefaultDataDescriptor class.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get dataDescriptor():IMenuDataDescriptor
     {
@@ -571,6 +666,11 @@
      *

      *
      *  @default "undefined"
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get dataProvider():Object
     {
@@ -656,6 +756,11 @@

     /**
      *  @copy mx.controls.Menu#hasRoot
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get hasRoot():Boolean
     {
@@ -692,6 +797,11 @@
      *  with that name and expects that property to map to a Class.

      *
      *  @default "icon"
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get iconField():String
     {
@@ -735,6 +845,11 @@
      *  Setting the labelFunction property overrides this property.
      *
      *  @default "label"
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get labelField():String
     {
@@ -778,6 +893,11 @@
      *  myLabelFunction(item:Object):String

      *
      *  @default "undefined"
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var labelFunction:Function;

@@ -809,6 +929,11 @@
      *  @default "mx.controls.menuClasses.MenuBarItem"
      *
      *  @see mx.controls.menuClasses.MenuBarItem
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get menuBarItemRenderer():IFactory
     {
@@ -846,6 +971,11 @@
      *  @default [ ]
      *
      *  @see mx.controls.menuClasses.MenuBarItem
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var menuBarItems:Array = [];

@@ -857,6 +987,11 @@
      *  The set of styles to pass from the MenuBar to the menuBar items.
      *  @see mx.styles.StyleProxy
      *  @review
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function get menuBarItemStyleFilters():Object
     {
@@ -882,6 +1017,11 @@
      *  control's data provider.
      *
      *  @default [ ]
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var menus:Array = [];

@@ -903,6 +1043,11 @@
      *  or the last opened Menu if none are currently open.
      *
      *  @default -1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get selectedIndex():int
     {
@@ -948,6 +1093,11 @@
      *
      *  @default true
      *  @see #hasRoot
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showRoot():Boolean
     {
@@ -1008,6 +1158,11 @@
      *
      *  This method is called when MenuBar children are created or when
      *  any styles on the MenuBar changes.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function updateBackground():void
     {
@@ -1146,6 +1301,11 @@
     /**
      *  Calculates the preferred width and height of the MenuBar based on the
      *  default widths of the MenuBar items.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override protected function measure():void
     {
@@ -1425,6 +1585,11 @@

     /**
      *  @copy mx.controls.listClasses.ListBase#itemToLabel()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function itemToLabel(data:Object):String
     {
@@ -1487,6 +1652,11 @@
      *  @param data The item from which to extract the icon class
      *  @return The icon for the item, as a class reference or
      *  null if none.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function itemToIcon(data:Object):Class
     {
@@ -1591,6 +1761,11 @@
      *  @param index Index of the Menu instance to return.
      *
      *  @return Reference to the Menu contained at the specified index.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getMenuAt(index:int):Menu
     {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/core/Application.as
+++ frameworks/projects/mx/src/mx/core/Application.as
@@ -34,7 +34,6 @@
 import mx.managers.ISystemManager;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.IStyleClient;
-import mx.styles.StyleManager;
 import mx.utils.LoaderUtil;

 use namespace mx_internal;
@@ -1218,7 +1217,7 @@
             var rc:Number;
             var sc:Number;
             var globalSelector:CSSStyleDeclaration =
-                StyleManager.getStyleDeclaration("global");
+                styleManager.getStyleDeclaration("global");

             if (globalSelector)
             {


removed VertexIterator.setProperty because it was actually meaningless

--- src/aerys/minko/type/vertex/VertexIterator.as
+++ src/aerys/minko/type/vertex/VertexIterator.as
@@ -53,17 +53,6 @@
 				for each (var field : String in component.fields)
 					_propToStream[field] = _vstream.getVertexStreamByComponent(component);
 			}
-		}
-
-		override flash_proxy function setProperty(name : *, value : *) : void
-		{
-			var vertex : VertexReference = value as VertexReference;
-
-			if (!vertex)
-				throw new Error();
-
-			vertex._index = _vstream.length;
-			vertex._propToStream = _propToStream;
 		}

 		override flash_proxy function getProperty(name : *) : *


Failing test for error on resolving unregistered scope

--- src/asfac.tests/src/com/thedevstop/asfac/ResolutionTests.as
+++ src/asfac.tests/src/com/thedevstop/asfac/ResolutionTests.as
@@ -1,9 +1,11 @@
 package com.thedevstop.asfac
 {
+	import adobe.utils.CustomActions;
 	import asunit.framework.TestCase;
 	import com.thedevstop.asfac.stubs.ConstructorWithRequiredParameters;
 	import com.thedevstop.asfac.stubs.HasObjectProperty;
 	import com.thedevstop.asfac.stubs.IPoint;
+	import flash.display.AVM1Movie;
 	import flash.errors.IllegalOperationError;
 	import flash.utils.Dictionary;

@@ -127,5 +129,20 @@
 			var instance:Object = factory.resolve(Object);
 			assertSame(instance, obj);
 		}
+
+		public function test_should_throw_error_when_resolving_with_scope_that_is_not_registered():void
+		{
+			var factory:AsFactory = new AsFactory();
+
+			var obj:Object = { numbers:[1, 2, 3] };
+			factory.registerInstance(obj, Object);
+
+			var resolveFunction:Function =function ():void
+			{
+				var instance:Object = factory.resolve(Object, "nonDefaultScope");
+			};
+
+			assertThrows(ArgumentError, resolveFunction);
+		}
 	}
 }


Differential fixes

Differential fixes

--- src/drive/components/DifferentialComponent.as
+++ src/drive/components/DifferentialComponent.as
@@ -86,7 +86,8 @@
         var torqueA:Number  = nextDataA.combinedTorque / nextDataA.gearRatio;
         var torqueB:Number  = nextDataB.combinedTorque / nextDataB.gearRatio;

-        _componentData.combinedTorque           = torqueA + torqueB - Math.abs(getInputExcessTorque());
+        _componentData.combinedTorque           = torqueA + torqueB;
+        _componentData.combinedTorque          += _componentData.combinedTorque > 0 ? -Math.abs(getInputExcessTorque()) : -Math.abs(getInputExcessTorque());
         _componentData.combinedEffectiveInertia = nextDataA.combinedEffectiveInertia / (nextDataA.gearRatio * nextDataA.gearRatio)
                                                 + nextDataB.combinedEffectiveInertia / (nextDataB.gearRatio * nextDataB.gearRatio)
         ;
@@ -106,7 +107,7 @@
         _componentData.combinedEffectiveInertia = prevAndThisData.combinedEffectiveInertia;

         // one of the next components has to be added, we need to check which one
-        var nextComponentOutput:DrivetrainComponentOutput = null;
+        var nextCompOutput:DrivetrainComponentOutput = null;

         var count:int = _nextComponentOutput.connections.size();
         for(var i:int = 0; i < count; ++i) {
@@ -122,16 +123,16 @@
             if(nextComponent == null)
                 throw new UninitializedError("two next components have to be connected to a differential");

-            nextComponentOutput                     = nextComponent.drivetrain_internal::_previousComponentOutput;
-            var nextData:DrivetrainComponentData    = nextComponentOutput.connections.get(0).pullData();
+            nextCompOutput                          = nextComponent.drivetrain_internal::_previousComponentOutput;
+            var nextData:DrivetrainComponentData    = nextCompOutput.connections.get(0).pullData();

             // don't pull torque from the other next component
             // just add excess torque
             // and share the torque pulled from prev components according to share ratio
             if(i == 0)
-                _componentData.combinedTorque = _componentData.combinedTorque * _shareRatio - getInputExcessTorque();
+                _componentData.combinedTorque = _componentData.combinedTorque * (1 - _shareRatio) - getInputExcessTorque();
             else
-                _componentData.combinedTorque = _componentData.combinedTorque * (1 - _shareRatio) + getInputExcessTorque();
+                _componentData.combinedTorque = _componentData.combinedTorque * _shareRatio + getInputExcessTorque();

             _componentData.combinedEffectiveInertia += nextData.combinedEffectiveInertia / (nextData.gearRatio * nextData.gearRatio);


"Start here" tip now uses title font settings

Change-Id: Ib62df43566a5b9d8861d2a8dfdf0b8e724815a74

--- WeaveUI/src/weave/application/VisApplication.as
+++ WeaveUI/src/weave/application/VisApplication.as
@@ -1117,6 +1117,7 @@
 			var color:uint = 0x0C4785;//0x0b333c;
 			var timeout:int = getTimer() + 1000 * 5;
 			var tip:UIComponent = ToolTipManager.createToolTip(lang("Start here"), 0, 0, null, dp) as UIComponent;
+			Weave.properties.panelTitleTextFormat.copyToStyle(tip);
 			tip.setStyle('color', 0xFFFFFF);
 			tip.setStyle('fontWeight', 'bold');
 			tip.setStyle('borderStyle', "errorTipBelow");
@@ -1125,7 +1126,7 @@
 			tip.setStyle('borderSkin', CustomToolTipBorder);
 			var callback:Function = function():void {
 				var p:Point = b.localToGlobal(new Point(0, b.height + 5));
-				tip.move(p.x, p.y);
+				tip.move(int(p.x), int(p.y));
 				tip.visible = !!b.parent;
 				if (getTimer() > timeout)
 					removeTip();


Comments fix.

Comments fix.

--- src/org/zozuar/volumetrics/EffectContainer.as
+++ src/org/zozuar/volumetrics/EffectContainer.as
@@ -76,8 +76,8 @@
 		* @param height Viewport height in pixels.
 		* @param emission A DisplayObject to which the effect will be applied. This object will be
 		* added as a child of the container. When applying the effect the object's filters and color
-		* matrix is ignored, if you want to use filters or a color matrix put your content in another
-		* object and addChild it to this one instead.
+		* transform are ignored, if you want to use filters or a color transform put your content in
+		* another object and addChild it to this one instead.
 		* @param occlusion An optional occlusion object, handled the same way as the emission object.
 		*/
 		public function EffectContainer(width:uint, height:uint, emission:DisplayObject, occlusion:DisplayObject = null) {


Fixed bug where initial Ignore caused failure due to test time information computation

--- FlexUnit4CIListener/src/org/flexunit/listeners/CIListener.as
+++ FlexUnit4CIListener/src/org/flexunit/listeners/CIListener.as
@@ -177,7 +177,7 @@
 			var descriptor:Descriptor = getDescriptorFromDescription(description);

 			var xml:String =
-				"<testcase classname=\""+descriptor.suite+"\" name=\""+descriptor.method+"\" time=\"" + lastTestTime  + "\" status=\""+IGNORE+"\">"
+				"<testcase classname=\""+descriptor.suite+"\" name=\""+descriptor.method+"\" time=\"0\" status=\""+IGNORE+"\">"
 				+ "<skipped />"
 				+ "</testcase>";


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

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

-/**
- *  Number of pixels between the container's left border and its content area.
- *  The default value is 0.
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
 [Style(name="paddingLeft", type="Number", format="Length", inherit="no")]

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 17052
Author:   cframpto@adobe.com
Date:     2010-07-24T11:58:50.019113Z

Log Message:
-----------
Fix caretChange event so old indexs are correct.
selectAll now only resets the caret if the mode is multipleCells or multipleRows
Can now tab to DG and start using keys without requiring a caret position
ctrl-A for selectAll
for user gestures update caret even if selection didn't change
use CellPosition rather than Point since we have that class now
invalidate the grid on column header changes such as width, minWidth, etc

QE notes:
Doc notes:
Bugs: SDK-26926, SDK-26950, SDK-26834, SDK-27040
Reviewer: Hans
Tests run: none
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -58,6 +58,15 @@
             dispatchEvent(new Event(type));
     }

+    private function maybeInvalidateGrid():void
+    {
+        if (grid)
+        {
+            grid.invalidateSize();
+            grid.invalidateDisplayList();
+        }
+    }
+
     //----------------------------------
     //  grid
     //----------------------------------
@@ -348,8 +357,6 @@
         }

         dispatchChangeEvent("itemRendererChanged");
-
-        // TBD invalidate grid
     }

     //----------------------------------
@@ -473,8 +480,10 @@
             return;

         _width = value;
+
+        maybeInvalidateGrid();
+
         dispatchChangeEvent("widthChanged");
-        // TBD invalidate grid
     }

     //----------------------------------
@@ -507,8 +516,10 @@
             return;

         _minWidth = value;
+
+        maybeInvalidateGrid();
+
         dispatchChangeEvent("minWidthChanged");
-        // TBD invalidate grid
     }

     //----------------------------------
@@ -541,8 +552,10 @@
             return;

         _maxWidth = value;
+
+        maybeInvalidateGrid();
+
         dispatchChangeEvent("maxWidthChanged");
-        // TBD invalidate grid
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 17651
Author:   smgilson@adobe.com
Date:     2010-09-10T12:25:53.467734Z

Log Message:
-----------
Fix invalid HTML in ASDoc comment

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

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -413,13 +413,13 @@
      *
A labelFunction can be use to combine the values of several dataProvider item
      *  properties into a single string.  If specified, this property is used by the
      *  itemToLabel() method, which computes the value of each item
-     *  renderer's label property in this column.
-     *
-     *
The labelFunction's signature must match the following:
+     *  renderer's label property in this column.

+     *
+     *
The labelFunction's signature must match the following:

      *
      *
labelFunction(item:Object, column:GridColumn):String

      *
-     *  The item parameter is the dataProvider item for an entire row; it's
+     *
The item parameter is the dataProvider item for an entire row; it's
      *  the value of grid.dataProvider.getItemAt(rowIndex).  The second
      *  parameter is this column.

      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 17350
Author:   klin@adobe.com
Date:     2010-08-17T17:59:48.307247Z

Log Message:
-----------
Add true states support to GridItemRenderer. Added the hovered property that was missing from IGridItemRenderer, and implemented it in GridItemRenderer and DefaultGridItemRenderer. GridLayout now also sets the hovered property correctly in initializeItemRenderer(). GridItemRenderer now sets the state correctly when the properties are changed. For now, we disable transitions at all times between states until Grid can support it.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/IGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridItemRenderer.as</path>
<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/skins/spark/DefaultGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -945,11 +945,13 @@
             {
                 gridRenderer.selected = grid.selectionContainsIndex(rowIndex);
                 gridRenderer.showsCaret = grid.caretRowIndex == rowIndex;
+                gridRenderer.hovered = grid.hoverRowIndex == rowIndex;
             }
             else if (isCellSelectionMode())
             {
                 gridRenderer.selected = grid.selectionContainsCell(rowIndex, columnIndex);
                 gridRenderer.showsCaret = (grid.caretRowIndex == rowIndex) && (grid.caretColumnIndex == columnIndex);
+                gridRenderer.hovered = (grid.hoverRowIndex == rowIndex) && (grid.hoverColumnIndex == columnIndex);
             }

             gridRenderer.data = dataItem;


Fix the i-frame and AVCC tag checks.

Fix the i-frame and AVCC tag checks.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -268,6 +268,8 @@
 			var header:FLVHeader = new FLVHeader();
 			var headerBytes:ByteArray = new ByteArray();
 			header.write(headerBytes);
+			if(writeToMasterBuffer)
+				_masterBuffer.writeBytes(headerBytes);
 			appendBytes(headerBytes);

 			// Initialize ourselves.
@@ -2244,6 +2246,8 @@
 				var header:FLVHeader = new FLVHeader();
 				var headerBytes:ByteArray = new ByteArray();
 				header.write(headerBytes);
+				if(writeToMasterBuffer)
+					_masterBuffer.writeBytes(headerBytes);
 				appendBytes(headerBytes);

 				flushPendingTags();
@@ -2291,7 +2295,7 @@
 				// Do writing.
 				CONFIG::LOGGING
 				{
-					logger.debug("Writing tag " + buffer.length + " bytes @ " + lastWrittenTime + "sec type=" + tag.tagType);
+					logger.debug("Writing tag " + buffer.length + " bytes @ " + lastWrittenTime + "sec type=" + tag.tagType + " avcc=" + isTagAVCC(tag as FLVTagVideo) + " iFrame=" + isTagIFrame(tag as FLVTagVideo));
 				}

 				if(writeToMasterBuffer)
@@ -2397,30 +2401,29 @@

 		public static function isTagAVCC(tag:FLVTagVideo):Boolean
 		{
+			if(!tag)
+				return false;
+
 			// Must be keyframe.
 			if(tag.frameType != FLVTagVideo.FRAME_TYPE_KEYFRAME)
 				return false;

-			// And config record.
-			if(tag.data[12] == 0)
-				return true;
-
-			return false;
+			// If config record, then it's an AVCC!
+			return tag.avcPacketType == 0;
 		}

 		public static function isTagIFrame(tag:FLVTagVideo):Boolean
 		{
+			if(!tag)
+				return false;
+
 			// Must be keyframe.
 			if(tag.frameType != FLVTagVideo.FRAME_TYPE_KEYFRAME)
 				return false;

-			// But not config record.
-			if(tag.data[12] == 0)
-				return false;
-
-			// It's an I-frame!
-			return true;
+			// It's an I-frame if not a config record!
+			return tag.avcPacketType == 1;
 		}

 		private function onBufferTag(tag:FLVTag):Boolean


Use cachedTimestamp to speed up tag sorting.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -2233,19 +2233,19 @@
 				curTagOffset++;

 				if(lastWrittenTime == -1)
-					lastWrittenTime = tag.timestamp / 1000;
+					lastWrittenTime = tag.cachedTimestamp / 1000;

 				// If it's more than 0.5 second jump ahead of current playhead, insert a RESET_SEEK so we won't stall forever.
-				if((tag.timestamp / 1000) - lastWrittenTime > bufferFeedMin + bufferFeedAmount * 2)
-				{
-					trace("Inserting RESET_SEEK due to " + (tag.timestamp / 1000) + " being too far ahead of " + (super.time + super.bufferLength));
+				if((tag.cachedTimestamp / 1000) - lastWrittenTime > bufferFeedMin + bufferFeedAmount * 2)
+				{
+					trace("Inserting RESET_SEEK due to " + (tag.cachedTimestamp / 1000) + " being too far ahead of " + (super.time + super.bufferLength));
 					appendBytesAction(NetStreamAppendBytesAction.RESET_SEEK);
 				}

-				lastWrittenTime = tag.timestamp / 1000;
+				lastWrittenTime = tag.cachedTimestamp / 1000;

 				// Do writing.
-				trace("Writing tag " + buffer.length + " bytes @ " + lastWrittenTime + "sec");
+				trace("Writing tag " + buffer.length + " bytes @ " + lastWrittenTime + "sec type=" + tag.tagType);
 				if(writeToMasterBuffer)
 					_masterBuffer.writeBytes(buffer);
 				appendBytes(buffer);
@@ -2463,7 +2463,7 @@

 		static protected function pendingSortCallback(a:FLVTag, b:FLVTag):int
 		{
-			if(a.timestamp == b.timestamp)
+			if(a.cachedTimestamp == b.cachedTimestamp)
 			{
 				var vTagA:FLVTagVideo = a as FLVTagVideo;
 				var vTagB:FLVTagVideo = b as FLVTagVideo;
@@ -2478,7 +2478,7 @@
 				}
 			}

-			return a.timestamp - b.timestamp;
+			return a.cachedTimestamp - b.cachedTimestamp;
 		}

 		private function ensurePendingSorted():void


Transferred from the Adobe Open Source Subversion Repository

Revision: 14483
Author:   smgilson@adobe.com
Date:     2010-03-01T19:01:18.459430Z

Log Message:
-----------
merge 14456: Adding ASDoc version tags classes

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/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkRangeAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkRadioButtonAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkPanelAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkButtonBaseAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkButtonBarAutomationImpl.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_air/src/mx/automation/air/AirFunctionsHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkSkinnableContainerAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/events/SparkValueChangeAutomationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkButtonBarBaseAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkNavigatorContentAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkDataGroupAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkTrackBaseAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation/src/mx/automation/events/EventDetails.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/events/SparkListItemSelectEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkTabBarAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkButtonBarButtonAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkGroupAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkSkinnableContainerBaseAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/mediaClasses/SparkMuteButtonAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_air/src/mx/automation/air/AirDragManagerAutomationHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPResult.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkTextBaseAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkTitleWindowAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkTileGroupAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkButtonAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkToggleButtonAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkSpinnerAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccConst.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkLabelAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkBorderContainerAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkGroupBaseAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkVideoPlayerAutomationImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkSkinnableComponentAutomationImpl.as</path>

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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkVideoPlayerAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkVideoPlayerAutomationImpl.as
@@ -11,157 +11,193 @@

 package spark.automation.delegates.components
 {
-	import flash.display.DisplayObject;
-	import flash.events.KeyboardEvent;
-	import flash.ui.Keyboard;
-
-	import mx.automation.Automation;
-	import mx.automation.IAutomationObject;
-	import mx.automation.IAutomationObjectHelper;
-	import mx.core.mx_internal;
-
-	import spark.automation.delegates.components.supportClasses.SparkSkinnableComponentAutomationImpl;
-	import spark.components.VideoPlayer;
-
-	use namespace mx_internal;
-
-	[Mixin]
-	/**
-	 *
-	 *  Defines methods and properties required to perform instrumentation for the
-	 *  VideoPlayer control.
-	 *
-	 *  @see spark.components.VideoPlayer
-	 *
-	 */
-	public class SparkVideoPlayerAutomationImpl extends SparkSkinnableComponentAutomationImpl
-	{
-
-		include "../../../core/Version.as";
-		//--------------------------------------------------------------------------
-		//
-		//  Class methods
-		//
-		//--------------------------------------------------------------------------
-
-		/**
-		 *  Registers the delegate class for a component class with automation manager.
-		 *
-		 *  @param root The SystemManger of the application.
-		 */
-		public static function init(root:DisplayObject):void
-		{
-			Automation.registerDelegateClass(spark.components.VideoPlayer, SparkVideoPlayerAutomationImpl);
-		}
-
-		/**
-		 *  Constructor.
-		 * @param obj VideoPlayer object to be automated.
-		 */
-		public function SparkVideoPlayerAutomationImpl(obj:spark.components.VideoPlayer)
-		{
-			super(obj);
-
-		}
-
-		/**
-		 *  @private
-		 */
-		protected function get sparkVideoPlayer():spark.components.VideoPlayer
-		{
-			return uiComponent as spark.components.VideoPlayer;
-		}
-
-
-		override protected function keyDownHandler(event:KeyboardEvent):void
-		{
-			if(event.keyCode == Keyboard.ESCAPE)
-				recordAutomatableEvent(event);
-		}
-
-
-		override public function get numAutomationChildren():int
-		{
-
-			var objArray:Array = getAutomationChildren();
-			return (objArray?objArray.length:0);
-		}
-
-
-		override public function getAutomationChildAt(index:int):IAutomationObject
-		{
-			var arr:Array = getAutomationChildren();
-			if (arr && (arr.length < index))
-				arr[index];
-
-			return null;
-		}
-
-
-		override public function getAutomationChildren():Array
-		{
-
-			var chilArray:Array = new Array();
-			if(sparkVideoPlayer.currentTimeDisplay)
-				chilArray.push(sparkVideoPlayer.currentTimeDisplay);
-
-			if(sparkVideoPlayer.fullScreenButton)
-				chilArray.push(sparkVideoPlayer.fullScreenButton);
-
-			if(sparkVideoPlayer.muteButton)
-				chilArray.push(sparkVideoPlayer.muteButton);
-
-			if(sparkVideoPlayer.pauseButton)
-				chilArray.push(sparkVideoPlayer.pauseButton);
-
-			if(sparkVideoPlayer.playButton)
-				chilArray.push(sparkVideoPlayer.playButton);
-
-
-			if(sparkVideoPlayer.playPauseButton)
-				chilArray.push(sparkVideoPlayer.playPauseButton);
-
-			if(sparkVideoPlayer.scrubBar)
-				chilArray.push(sparkVideoPlayer.scrubBar);
-
-			if(sparkVideoPlayer.stopButton)
-				chilArray.push(sparkVideoPlayer.stopButton);
-
-			if(sparkVideoPlayer.durationDisplay)
-				chilArray.push(sparkVideoPlayer.durationDisplay);
-
-
-			if(sparkVideoPlayer.volumeBar)
-				chilArray.push(sparkVideoPlayer.volumeBar);
-
-			return chilArray;
-		}
-
-
-
-		override public function createAutomationIDPart(child:IAutomationObject):Object
-		{
-			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
-			return help.helpCreateIDPart(uiAutomationObject, child);
-		}
-
-
-		override public function resolveAutomationIDPart(part:Object):Array
-		{
-			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
-			return help.helpResolveIDPart(uiAutomationObject, part);
-		}
-
-
-		override public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
-		{
-			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
-			return help.helpCreateIDPartWithRequiredProperties(uiAutomationObject, child,properties);
-
-		}
-
-
-
-	}
-
+    import flash.display.DisplayObject;
+    import flash.events.KeyboardEvent;
+    import flash.ui.Keyboard;
+
+    import mx.automation.Automation;
+    import mx.automation.IAutomationObject;
+    import mx.automation.IAutomationObjectHelper;
+    import mx.core.mx_internal;
+
+    import spark.automation.delegates.components.supportClasses.SparkSkinnableComponentAutomationImpl;
+    import spark.components.VideoPlayer;
+
+    use namespace mx_internal;
+
+    [Mixin]
+    /**
+     *
+     *  Defines methods and properties required to perform instrumentation for the
+     *  VideoPlayer control.
+     *
+     *  @see spark.components.VideoPlayer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     *
+     */
+    public class SparkVideoPlayerAutomationImpl extends SparkSkinnableComponentAutomationImpl
+    {
+
+        include "../../../core/Version.as";
+        //--------------------------------------------------------------------------
+        //
+        //  Class methods
+        //
+        //--------------------------------------------------------------------------
+
+        /**
+         *  Registers the delegate class for a component class with automation manager.
+         *
+         *  @param root The SystemManger of the application.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.5
+         *  @productversion Flex 4
+         */
+        public static function init(root:DisplayObject):void
+        {
+            Automation.registerDelegateClass(spark.components.VideoPlayer, SparkVideoPlayerAutomationImpl);
+        }
+
+        /**
+         *  Constructor.
+         * @param obj VideoPlayer object to be automated.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.5
+         *  @productversion Flex 4
+         */
+        public function SparkVideoPlayerAutomationImpl(obj:spark.components.VideoPlayer)
+        {
+            super(obj);
+
+        }
+
+        /**
+         *  @private
+         */
+        protected function get sparkVideoPlayer():spark.components.VideoPlayer
+        {
+            return uiComponent as spark.components.VideoPlayer;
+        }
+
+
+        /**
+         *  @private
+         */
+        override protected function keyDownHandler(event:KeyboardEvent):void
+        {
+            if(event.keyCode == Keyboard.ESCAPE)
+                recordAutomatableEvent(event);
+        }
+
+
+        /**
+         *  @private
+         */
+        override public function get numAutomationChildren():int
+        {
+
+            var objArray:Array = getAutomationChildren();
+            return (objArray?objArray.length:0);
+        }
+
+
+        /**
+         *  @private
+         */
+        override public function getAutomationChildAt(index:int):IAutomationObject
+        {
+            var arr:Array = getAutomationChildren();
+            if (arr && (arr.length < index))
+                arr[index];
+
+            return null;
+        }
+
+
+        /**
+         *  @private
+         */
+        override public function getAutomationChildren():Array
+        {
+
+            var chilArray:Array = new Array();
+            if(sparkVideoPlayer.currentTimeDisplay)
+                chilArray.push(sparkVideoPlayer.currentTimeDisplay);
+
+            if(sparkVideoPlayer.fullScreenButton)
+                chilArray.push(sparkVideoPlayer.fullScreenButton);
+
+            if(sparkVideoPlayer.muteButton)
+                chilArray.push(sparkVideoPlayer.muteButton);
+
+            if(sparkVideoPlayer.pauseButton)
+                chilArray.push(sparkVideoPlayer.pauseButton);
+
+            if(sparkVideoPlayer.playButton)
+                chilArray.push(sparkVideoPlayer.playButton);
+
+
+            if(sparkVideoPlayer.playPauseButton)
+                chilArray.push(sparkVideoPlayer.playPauseButton);
+
+            if(sparkVideoPlayer.scrubBar)
+                chilArray.push(sparkVideoPlayer.scrubBar);
+
+            if(sparkVideoPlayer.stopButton)
+                chilArray.push(sparkVideoPlayer.stopButton);
+
+            if(sparkVideoPlayer.durationDisplay)
+                chilArray.push(sparkVideoPlayer.durationDisplay);
+
+
+            if(sparkVideoPlayer.volumeBar)
+                chilArray.push(sparkVideoPlayer.volumeBar);
+
+            return chilArray;
+        }
+
+
+
+        /**
+         *  @private
+         */
+        override public function createAutomationIDPart(child:IAutomationObject):Object
+        {
+            var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+            return help.helpCreateIDPart(uiAutomationObject, child);
+        }
+
+
+        /**
+         *  @private
+         */
+        override public function resolveAutomationIDPart(part:Object):Array
+        {
+            var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+            return help.helpResolveIDPart(uiAutomationObject, part);
+        }
+
+
+        /**
+         *  @private
+         */
+        override public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
+        {
+            var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+            return help.helpCreateIDPartWithRequiredProperties(uiAutomationObject, child,properties);
+
+        }
+
+
+
+    }
+
 }


Corrected toString bug on Notification. See: http://forums.puremvc.org/index.php?topic=223.0

--- org/puremvc/as3/patterns/observer/Notification.as
+++ org/puremvc/as3/patterns/observer/Notification.as
@@ -112,8 +112,8 @@
 		public function toString():String
 		{
 			var msg:String = "Notification Name: "+getName();
-			msg += "\nBody:"+( body == null )?"null":body.toString();
-			msg += "\nType:"+( type == null )?"null":type;
+			msg += "\nBody:"+(( body == null )?"null":body.toString());
+			msg += "\nType:"+(( type == null )?"null":type);
 			return msg;
 		}


Create a BasicStyle.DIFFUSE_COLOR parameter

--- src/aerys/minko/render/effect/basic/BasicStyle.as
+++ src/aerys/minko/render/effect/basic/BasicStyle.as
@@ -4,6 +4,7 @@

 	public final class BasicStyle
 	{
+		public static const DIFFUSE_COLOR		: int	= Style.getStyleId("basic diffuse color");
 		public static const DIFFUSE_MAP			: int	= Style.getStyleId("basic diffuse map");
 		public static const NORMAL_MAP			: int	= Style.getStyleId("basic normal map");


SoundParameterController で再生時にマスターボリュームとグループボリュームが適用されていなかったのを修正

--- project/SoundConductor/src/jp/hiiragi/managers/soundConductor/SoundParameterController.as
+++ project/SoundConductor/src/jp/hiiragi/managers/soundConductor/SoundParameterController.as
@@ -126,6 +126,8 @@
 			}

 			super(initValue, minValue, maxValue);
+
+			valueChanged();
 		}


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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPMember.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPMember.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: 12291
Author:   smgilson@adobe.com
Date:     2009-11-30T20:05:25.519075Z

Log Message:
-----------
update old effects examples and add new ones. Add back the @includeExample tags to effects classes that had them removed for some reason.

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

Modified Paths:
--------------
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples/assets</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Sine.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/animation/examples</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/animation/examples/assets</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/Scale3DEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples/LinearEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples/SinePowerEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/animation/examples/KeyFrameEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples/assets/logo.jpg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/treeClasses/MXTreeItemRenderer.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/AnimateFilterEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/Rotate3DEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Bounce.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples/BounceElasticEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/ScaleEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/SetActionEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/animation/examples/assets/logo.jpg</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/animation</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/Move3DEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Elastic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/RotateEffectExample.mxml</path>

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

--- frameworks/projects/spark/src/spark/effects/easing/Linear.as
+++ frameworks/projects/spark/src/spark/effects/easing/Linear.as
@@ -46,6 +46,8 @@
  *    easeOutFraction="0"
  *   />
  *  </pre>
+ *
+ *  @includeExample examples/LinearEffectExample.mxml
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


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

--- frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
+++ frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
@@ -27,6 +27,8 @@
 import mx.events.FlexEvent;

 import spark.components.supportClasses.SkinnableComponent;
+
+use namespace mx_internal;

 /**
  *  Focus skins for Spark components.
@@ -145,8 +147,8 @@
         var m:Matrix = new Matrix();

         // If the focus object already has a focus skin, make sure it is hidden.
-        if (focusObject.mx_internal::focusObj)
-            focusObject.mx_internal::focusObj.visible = false;
+        if (focusObject.focusObj)
+            focusObject.focusObj.visible = false;

         // Temporary solution for focus drawing on CheckBox and RadioButton components.
         // Hide the label before drawing the focus.
@@ -165,8 +167,8 @@
         bitmapData.draw(focusObject as IBitmapDrawable, m);

         // Show the focus skin, if needed.
-        if (focusObject.mx_internal::focusObj)
-            focusObject.mx_internal::focusObj.visible = true;
+        if (focusObject.focusObj)
+            focusObject.focusObj.visible = true;

         // Show the label, if needed.
         if (hidLabelElement)


Updated subtitle sync

Updated subtitle sync

--- src/org/mangui/hls/loader/SubtitlesFragmentLoader.as
+++ src/org/mangui/hls/loader/SubtitlesFragmentLoader.as
@@ -119,8 +119,6 @@
 		 */
 		protected function fragmentPlayingHandler(event:HLSEvent):void
 		{
-			trace(this, event.playMetrics.continuity_counter);
-
 			_seqNum = event.playMetrics.seqnum;
 			_seqPosition = _hls.position;
 		}


qnd: add referrer and ks on thumbURl, if needed

git-svn-id: 3f608e5a9a704dd448217c0a64c508e7f145cfa1@85990 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- plugins/relatedEntriesPlugin/src/relatedEntriesPluginCode.as
+++ plugins/relatedEntriesPlugin/src/relatedEntriesPluginCode.as
@@ -23,6 +23,7 @@
 	import com.kaltura.vo.KalturaBaseEntry;
 	import com.kaltura.vo.KalturaBaseEntryFilter;
 	import com.kaltura.vo.KalturaBaseEntryListResponse;
+	import com.kaltura.kdpfl.util.URLUtils;

 	import fl.core.UIComponent;
 	import fl.data.DataProvider;
@@ -218,6 +219,11 @@
 				{
 					if (entry.id != entryId) //current entry shouldn't be part of related entries
 					{
+						if (entry.thumbnailUrl && entry.thumbnailUrl.indexOf( "thumbnail/entry_id" ) != -1)
+						{
+							entry.thumbnailUrl +=  URLUtils.getThumbURLPostfix((_facade.retrieveProxy(ConfigProxy.NAME) as ConfigProxy).vo.flashvars,
+								(_facade.retrieveProxy(ServicesProxy.NAME) as ServicesProxy).vo.kalturaClient.ks);
+						}
 						var relatedEntry:RelatedEntryVO = new RelatedEntryVO(entry);
 						dpArray.push(relatedEntry);
 					}


Apache license 2.0 added.

Apache license 2.0 added.

--- tui_flashdevelop3/lib/touchAll/rippler/Effects.as
+++ tui_flashdevelop3/lib/touchAll/rippler/Effects.as
@@ -1,3 +1,20 @@
+/*
+ * Tangible User Interfacer (former TouchAll) misc code.
+ *
+ * Copyright 2016 Gonçalo Amador <g.n.p.amador@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package touchAll.rippler
 {
 	import flash.display.*;
@@ -132,4 +149,4 @@
 			trace(_rainIntensity);
 		}
 	}
-}+}


Trailing space cleanup

Trailing space cleanup

--- com/zehfernando/input/binding/KeyActionBinder.as
+++ com/zehfernando/input/binding/KeyActionBinder.as
@@ -15,7 +15,7 @@

 		// Provides universal input control for game controllers and keyboard
 		// http://zehfernando.com/2013/abstracting-key-and-game-controller-inputs-in-adobe-air/
-
+
 		// TODO:
 		// * Read if it was pressed/released THIS frame?
 		// * Allow sensitive controls to be treated as normal controls


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 9033
Author:   jszeto@adobe.com
Date:     2009-08-04T00:16:21.093735Z

Log Message:
-----------
MouseWheel behavior in TrackBase and Spinner

http://bugs.adobe.com/jira/browse/SDK-20154 - awkward mouse wheel behavior on Gumbo Sliders

When Slider is in focus, it listens for the mouseWheel event on the systemManager in the capture phase. Added the same support to Spinner (and thus NumericStepper). I decided against moving the functionality into Range because range is an abstract class that has no user interaction code in it. Thus it didn’t seem correct to put mouse handling code into it.

I updated some of the Halo classes to use the preventDefault/isDefaultPrevented functions instead of using stopPropagation in their mouseWheel handlers.

QE notes: Add test cases for Spinner and NumericStepper
Doc notes: Mention mouse wheel support in Spinner and NumericStepper
Bugs: SDK-20157
Reviewer: Hans
Tests run: Spinner, NumericStepper, Slider
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/core/Container.as
+++ frameworks/projects/mx/src/mx/core/Container.as
@@ -5604,8 +5604,6 @@
         // and prevent further bubbling
         if (verticalScrollBar && !event.isDefaultPrevented())
         {
-            event.stopPropagation();
-
             var scrollDirection:int = event.delta <= 0 ? 1 : -1;

             var lineScrollSize:int = verticalScrollBar ?
@@ -5625,6 +5623,8 @@
                                 event.delta <= 0 ?
                                 ScrollEventDetail.LINE_UP :
                                 ScrollEventDetail.LINE_DOWN);
+
+            event.preventDefault();
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10690
Author:   aharui@adobe.com
Date:     2009-09-29T18:17:36.710451Z

Log Message:
-----------
Viewstack wasn't sending IList notifications when removeChild called

QE Notes: None
Doc Notes: None
Bugs: SDK-23444
Reviewer: Ryan
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/components/ViewStack

Modified Paths:
--------------
<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/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/core/Container.as
+++ frameworks/projects/mx/src/mx/core/Container.as
@@ -2656,6 +2656,7 @@
         /*

         Shouldn't implement removeChildAt() in terms of removeChild().
+        If we change this ViewStack IList is depending on it

         */
     }


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

--- frameworks/projects/mx/src/mx/core/Container.as
+++ frameworks/projects/mx/src/mx/core/Container.as
@@ -676,20 +676,6 @@
      */
     override public function get baselinePosition():Number
     {
-        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
-        {
-            // If we have a verticalAlignment of top,
-            // then return the baseline of our first child
-            if (getStyle("verticalAlign") == "top" && numChildren > 0)
-            {
-                var child:IUIComponent = getChildAt(0) as IUIComponent;
-                if (child)
-                    return child.y + child.baselinePosition;
-            }
-
-            return super.baselinePosition;
-        }
-
         if (!validateBaselinePosition())
             return NaN;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10024
Author:   gruehle@adobe.com
Date:     2009-09-04T17:13:32.562021Z

Log Message:
-----------
Fix regressions from "More styles for Spark skins" checkin.
* Remove redundant Group tag from BorderSkin
* Support borderStyle="none" for TextInputBorderSkin
* Made BorderSkin work correctly when borderStyle="none" and contentBackgroundColor is set

QE notes: This should clean up a bunch of mustella failures
Doc notes: None
Bugs: SDK-23004, SDK-23008, SDK-23011
Reviewer: Corey
Tests run: checkintests, basictests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/core/Container.as
+++ frameworks/projects/mx/src/mx/core/Container.as
@@ -4729,6 +4729,10 @@
             }
         }

+        v = getStyle("contentBackgroundColor");
+        if (c == sparkBorder && v !== null)
+            return true;
+
         v = getStyle("backgroundColor");
         if (v !== null && v !== "")
             return true;


utility method getItemIndex

utility method getItemIndex

--- collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/util/CollectionUtil.as
+++ collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/util/CollectionUtil.as
@@ -31,6 +31,16 @@
 			}
 			return null;
 		}
-
+
+		public static function getItemIndex(list:IList, propertyName:String, value:Object):int {
+			for(var index:int = 0; index < list.length; index ++) {
+				var item:Object = list.getItemAt(index);
+				if(ObjectUtil.getValue(item, propertyName) == value) {
+					return index;
+				}
+			}
+			return -1;
+		}
+
 	}
 }


Fix the UV Shader node

Fix the UV Shader node

--- src/aerys/minko/render/shader/node/common/UV.as
+++ src/aerys/minko/render/shader/node/common/UV.as
@@ -18,18 +18,19 @@
 	{
 		public function get interpolated() : INode
 		{
-//			var simpleUv : INode = new Multiply4x4(
-//				new Interpolate(new Attribute(VertexComponent.XYZ)),
-//				new TransformParameter(16, TransformData.LOCAL_TO_UV)
-//			);
-//
-//			var uv : INode = new Divide(
-//				simpleUv,
-//				new Extract(simpleUv, Components.W)
-//			);
-//
-//			return uv;
-			return new Interpolate(this);
+			var simpleUv : INode = new Interpolate(
+				new Multiply4x4(
+					new Attribute(VertexComponent.XYZ),
+					new TransformParameter(16, TransformData.LOCAL_TO_UV)
+				)
+			);
+
+			var uv : INode = new Divide(
+				simpleUv,
+				new Extract(simpleUv, Components.W)
+			);
+
+			return uv;
 		}

 		public function UV()


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

--- frameworks/projects/rpc/src/mx/messaging/management/MBeanAttributeInfo.as
+++ frameworks/projects/rpc/src/mx/messaging/management/MBeanAttributeInfo.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.messaging.management
 {


Fixed singleton callback not being passed a reference to AsFacotry.

--- src/asfac/src/com/thedevstop/asfac/AsFactory.as
+++ src/asfac/src/com/thedevstop/asfac/AsFactory.as
@@ -100,18 +100,20 @@
 			}

 			if (asSingleton)
-				registrationsByScope[scopeName] = (function(callback:Function, scopeName:String):Function
+			{
+				registrationsByScope[scopeName] = (function(callback:Function, factory:AsFactory, scopeName:String):Function
 				{
 					var instance:Object = null;

 					return function():Object
 					{
 						if (!instance)
-							instance = callback(this, scopeName);
+							instance = callback(factory, scopeName);

 						return instance;
 					};
-				})(callback, scopeName);
+				})(callback, this, scopeName);
+			}
 			else
 				registrationsByScope[scopeName] = callback;
 		}


LQ-23 Miracle: SWF parser - Add tile as Background of editor

--- src/com/merlinds/miracle_tool/view/MainScene.as
+++ src/com/merlinds/miracle_tool/view/MainScene.as
@@ -10,6 +10,7 @@
 	import com.merlinds.miracle_tool.models.AppModel;
 	import com.merlinds.miracle_tool.services.FileManager;
 	import com.merlinds.miracle_tool.tools.ToolProcessor;
+	import com.merlinds.miracle_tool.tools.editor.EditorLauncher;

 	import flash.display.Sprite;
 	import flash.events.Event;
@@ -72,7 +73,8 @@
 			_model.instanceName = inputDialog.message.text;
 //
 			_processor.addEventListener(Event.CHANGE, changeHandler);
-			setTimeout(_processor.execute, 0);
+			EditorLauncher.getInstance().execute(function():void{});
+//			setTimeout(_processor.execute, 0);
 		}

 		private function changeHandler(event:Event):void {


Change CURRENT_VERSION to 4.16.1

Change CURRENT_VERSION to 4.16.1

--- frameworks/projects/framework/src/mx/core/FlexVersion.as
+++ frameworks/projects/framework/src/mx/core/FlexVersion.as
@@ -56,7 +56,7 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public static const CURRENT_VERSION:uint = 0x04100000;
+    public static const CURRENT_VERSION:uint = 0x04100001;

 	/**
 	 *  The compatibilityVersion value of Flex 4.16.1,


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 548
Author:   smgilson@adobe.com
Date:     2008-02-15T17:32:31.427207Z

Log Message:
-----------
Final ASDoc updates for MessagePerformanceUtils.as

Fix incorrect description of return value of compareDate() in ObjectUtil.as

Checkin Test Passed: Yes
QA: No
Bug:
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>

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

--- frameworks/projects/framework/src/mx/utils/ObjectUtil.as
+++ frameworks/projects/framework/src/mx/utils/ObjectUtil.as
@@ -229,12 +229,12 @@
      *
      *  @param b Date object.
      *
-     *  @return 0 if a and b
-     *  are null or equal;
-     *  1 if a is null
-     *  or before b;
-     *  -1 if b is null
-     *  or before a.
+     *  @return 0 if a and b are equal
+     *  (or both are null);
+     *  -1 if a is before b
+     *  (or b is null);
+     *  1 if a is after b
+     *  (or a is null).
      */
     public static function dateCompare(a:Date, b:Date):int
     {


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

--- frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLOperation.as
+++ frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLOperation.as
@@ -0,0 +1,202 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.rpc.wsdl
+{
+
+import mx.rpc.soap.SOAPConstants;
+import mx.rpc.xml.SchemaManager;
+
+[ExcludeClass]
+
+/**
+ * A WSDLOperation describes both the interface for messages being
+ * sent to and from an operation and the SOAP encoding style for operation
+ * binding.
+ *
+ * @private
+ */
+public class WSDLOperation
+{
+    /**
+     * Constructor.
+     */
+    public function WSDLOperation(name:String)
+    {
+        super();
+        _name = name;
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    // Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     * Describes the parts and encoding for the input message of this
+     * operation.
+     */
+    public var inputMessage:WSDLMessage;
+
+    /**
+     * Used to map prefixes to namespace URIs.
+     */
+    public var namespaces:Object;
+
+    /**
+     * Describes the parts and encoding for the output message of this
+     * operation.
+     */
+    public var outputMessage:WSDLMessage;
+
+    [Inspectable(enumeration="document,rpc", category="General")]
+    /**
+     * Represents the style attribute for an operation's SOAP binding which
+     * indicates whether an operation is RPC-oriented (messages containing
+     * parameters and return values) or document-oriented (message containing
+     * document(s)).
+     *

+     * If a style is not specified for an operation the default will be
+     * determined from the parent WSDLBinding's style attribute.
+     *

+     */
+    public var style:String;
+
+
+    //--------------------------------------------------------------------------
+    //
+    // Properties
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     * The name of this WSDL operation.
+     */
+    public function get name():String
+    {
+        return _name;
+    }
+
+    /**
+     * A SchemaManager handles the XML Schema types section of a WSDL and
+     * is used to locate a type definition by QName.
+     */
+    public function get schemaManager():SchemaManager
+    {
+        return _schemaManager;
+    }
+
+    public function set schemaManager(manager:SchemaManager):void
+    {
+        _schemaManager = manager;
+    }
+
+    [Inspectable(defaultValue="", category="General")]
+    /**
+     * Specifies the value for the SOAPAction HTTPHeader used for the HTTP
+     * binding of SOAP.
+     *

+     * Although technically the soapAction must always be specified, a default
+     * value of the empty String will be returned in the event that it is
+     * not set.
+     *

+     */
+    public function get soapAction():String
+    {
+        if (_soapAction == null)
+            _soapAction = "";
+
+        return _soapAction;
+    }
+
+    public function set soapAction(value:String):void
+    {
+        _soapAction = value;
+    }
+
+    /**
+     * The constants for the version of SOAP used to encode messages
+     * to and from this operation.
+     */
+    public function get soapConstants():SOAPConstants
+    {
+        if (_soapConstants == null)
+            _soapConstants = SOAPConstants.getConstants(null);
+
+        return _soapConstants;
+    }
+
+    public function set soapConstants(value:SOAPConstants):void
+    {
+        _soapConstants = value;
+    }
+
+    /**
+     * The constants for the version of WSDL used to define this operation.
+     */
+    public function get wsdlConstants():WSDLConstants
+    {
+        if (_wsdlConstants == null)
+            _wsdlConstants = WSDLConstants.getConstants(null);
+
+        return _wsdlConstants;
+    }
+
+    public function set wsdlConstants(value:WSDLConstants):void
+    {
+        _wsdlConstants = value;
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     * Registers the encoding and type information for a potential fault for
+     * this operation.
+     * @private
+     */
+    public function addFault(fault:WSDLMessage):void
+    {
+        if (_faultsMap == null)
+            _faultsMap = {};
+
+        _faultsMap[fault.name] = fault;
+    }
+
+    /**
+     * Locates a fault by name.
+     * @private
+     */
+    public function getFault(name:String):WSDLMessage
+    {
+        var fault:WSDLMessage;
+
+        if (_faultsMap != null)
+            fault = _faultsMap[name];
+
+        return fault;
+    }
+
+    private var _faultsMap:Object;
+    private var _name:String;
+    private var _soapAction:String;
+    private var _soapConstants:SOAPConstants;
+    private var _schemaManager:SchemaManager;
+    private var _wsdlConstants:WSDLConstants;
+}
+
+}


update example

update example

--- src/gaforflash_example.as
+++ src/gaforflash_example.as
@@ -35,7 +35,8 @@
     public class gaforflash_example extends Sprite
     {
         /* You need to define a valid GA ID here */
-        private const GA_ID:String = "UA-111-222";
+        //private const GA_ID:String = "UA-111-222";
+        private const GA_ID:String = "UA-94526-19";

         public var tracker:AnalyticsTracker;

@@ -102,7 +103,7 @@
                and once the GATracker build
                the cached functions will run in batch
             */
-            tracker.trackPageview( "/before/setup" );
+            //tracker.trackPageview( "/before/setup" );

             _gasetup();


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

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

 package spark.skins.mobile
 {