Transferred from the Adobe Open Source Subversion Repository

Revision: 5097
Author:   gauravj@adobe.com
Date:     2009-02-27T02:06:23.424936Z

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:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemTreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemControlHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemRawChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/airframework/src/mx/core/WindowedApplication.as
+++ frameworks/projects/airframework/src/mx/core/WindowedApplication.as
@@ -61,6 +61,10 @@
  *  Dispatched when this application is activated.
  *
  *  @eventType mx.events.AIREvent.APPLICATION_ACTIVATE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="applicationActivate", type="mx.events.AIREvent")]

@@ -68,6 +72,10 @@
  *  Dispatched when this application is deactivated.
  *
  *  @eventType mx.events.AIREvent.APPLICATION_DEACTIVATE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="applicationDeactivate", type="mx.events.AIREvent")]

@@ -75,6 +83,10 @@
  *  Dispatched after this application window has been activated.
  *
  *  @eventType mx.events.AIREvent.WINDOW_ACTIVATE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="windowActivate", type="mx.events.AIREvent")]

@@ -82,6 +94,10 @@
  *  Dispatched after this application window has been deactivated.
  *
  *  @eventType mx.events.AIREvent.WINDOW_DEACTIVATE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="windowDeactivate", type="mx.events.AIREvent")]

@@ -91,6 +107,10 @@
  *  @eventType flash.events.Event.CLOSE
  *
  *  @see flash.display.NativeWindow
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="close", type="flash.events.Event")]

@@ -101,6 +121,10 @@
  *  @eventType flash.events.Event.CLOSING
  *
  *  @see flash.display.NativeWindow
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="closing", type="flash.events.Event")]

@@ -109,6 +133,10 @@
  *  or restore.
  *
  *  @eventType flash.events.NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="displayStateChange", type="flash.events.NativeWindowDisplayStateEvent")]

@@ -117,11 +145,19 @@
  *  or restore.
  *
  *  @eventType flash.events.NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGING
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="displayStateChanging", type="flash.events.NativeWindowDisplayStateEvent")]

 /**
  *  Dispatched when an application is invoked.
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="invoke", type="flash.events.InvokeEvent")]

@@ -130,6 +166,10 @@
  *  or while the WindowedApplication object is being dragged.
  *
  *  @eventType flash.events.NativeWindowBoundsEvent.MOVING
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="moving", type="flash.events.NativeWindowBoundsEvent")]

@@ -137,6 +177,10 @@
  *  Dispatched when the computer connects to or disconnects from the network.
  *
  *  @eventType flash.events.Event.NETWORK_CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="networkChange", type="flash.events.Event")]

@@ -145,6 +189,10 @@
  *  or while the WindowedApplication object boundaries are being dragged.
  *
  *  @eventType flash.events.NativeWindowBoundsEvent.RESIZING
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="resizing", type="flash.events.NativeWindowBoundsEvent")]

@@ -153,6 +201,10 @@
  *  By default, the WindowedApplication will be visbile at this time.
  *
  *  @eventType mx.events.AIREvent.WINDOW_COMPLETE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="windowComplete", type="mx.events.AIREvent")]

@@ -160,6 +212,10 @@
  *  Dispatched after the WindowedApplication object moves.
  *
  *  @eventType mx.events.FlexNativeWindowBoundsEvent.WINDOW_MOVE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="windowMove", type="mx.events.FlexNativeWindowBoundsEvent")]

@@ -167,6 +223,10 @@
  *  Dispatched after the underlying NativeWindow object is resized.
  *
  *  @eventType mx.events.FlexNativeWindowBoundsEvent.WINDOW_RESIZE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="windowResize", type="mx.events.FlexNativeWindowBoundsEvent")]

@@ -187,6 +247,10 @@
  *  right on Windows.

  *
  *  @default "auto"
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="buttonAlignment", type="String", enumeration="left,right,auto", inherit="yes")]

@@ -194,6 +258,10 @@
  *  Defines the distance between the titleBar buttons.
  *
  *  @default 2
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="buttonPadding", type="Number", inherit="yes")]

@@ -201,6 +269,10 @@
  *  Skin for close button when using Flex chrome.
  *
  *  @default mx.skins.halo.WindowCloseButtonSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="closeButtonSkin", type="Class", inherit="no",states="up, over, down, disabled")]

@@ -209,6 +281,10 @@
  *  plus the padding around the edges is the hit area for the gripper resizing.
  *
  *  @default 3
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="gripperPadding", type="Number", format="Length", inherit="no")]

@@ -216,6 +292,10 @@
  *  Style declaration for the skin of the gripper.
  *
  *  @default "gripperStyle"
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="gripperStyleName", type="String", inherit="no")]

@@ -225,6 +305,10 @@
  *  heights, and the icon height.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="headerHeight", type="Number", format="Length", inherit="no")]

@@ -232,6 +316,10 @@
  *  Skin for maximize button when using Flex chrome.
  *
  *  @default mx.skins.halo.WindowMaximizeButtonSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="maximizeButtonSkin", type="Class", inherit="no",states="up, over, down, disabled")]

@@ -239,6 +327,10 @@
  *  Skin for minimize button when using Flex chrome.
  *
  *  @default mx.skins.halo.WindowMinimizeButtonSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="minimizeButtonSkin", type="Class", inherit="no",states="up, over, down, disabled")]

@@ -247,6 +339,10 @@
  *  This style is ignored for Mac OS X.
  *
  *  @default mx.skins.halo.WindowRestoreButtonSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="restoreButtonSkin", type="Class", inherit="no",states="up, over, down, disabled")]

@@ -255,6 +351,10 @@
  *  to draw chrome. Changing this style once the window is open has no effect.
  *
  *  @default true
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="showFlexChrome", type="Boolean", inherit="no")]

@@ -262,6 +362,10 @@
  *  The status bar background skin.
  *
  *  @default mx.skins.halo.StatusBarBackgroundSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="statusBarBackgroundSkin", type="Class", inherit="yes")]

@@ -269,6 +373,10 @@
  *  The colors used to draw the status bar.
  *
  *  @default 0xC0C0C0
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="statusBarBackgroundColor", type="uint", format="Color", inherit="yes")]

@@ -276,6 +384,10 @@
  *  Style declaration for the status text.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="statusTextStyleName", type="String", inherit="yes")]

@@ -292,6 +404,10 @@
  *  at the left on Windows and at the center on Mac OS X.

  *
  *  @default "auto"
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="titleAlignment", type="String", enumeration="left,center,auto", inherit="yes")]

@@ -299,6 +415,10 @@
  *  The title background skin.
  *
  *  @default mx.skins.halo.ApplicationTitleBarBackgroundSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="titleBarBackgroundSkin", type="Class", inherit="yes")]

@@ -307,6 +427,10 @@
  *  edge of the title bar.
  *
  *  @default 5
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="titleBarButtonPadding", type="Number", inherit="true")]

@@ -319,6 +443,10 @@
  *  panel background.
  *
  *  @default [ 0x000000, 0x000000 ]
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="titleBarColors", type="Array", arrayType="uint", format="Color", inherit="yes")]

@@ -326,6 +454,10 @@
  *  The style name for the title text.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="titleTextStyleName", type="String", inherit="yes")]

@@ -335,16 +467,28 @@

 /**
  *  Played when the window is closed.
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Effect(name="closeEffect", event="windowClose")]

 /**
  *  Played when the component is minimized.
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Effect(name="minimizeEffect", event="windowMinimize")]

 /**
  *  Played when the component is unminimized.
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Effect(name="unminimizeEffect", event="windowUnminimize")]

@@ -446,6 +590,10 @@
  *  />
  *

  *
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class WindowedApplication extends Application implements IWindow
 {
@@ -487,6 +635,10 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function WindowedApplication()
     {
@@ -705,6 +857,10 @@

     /**
      *  Specifies the maximum height of the application's window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function set maxHeight(value:Number):void
     {
@@ -746,6 +902,10 @@

     /**
      *  Specifies the maximum width of the application's window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function set maxWidth(value:Number):void
     {
@@ -775,6 +935,10 @@

     /**
      *  Specifies the minimum height of the application's window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get minHeight():Number
     {
@@ -816,6 +980,10 @@

     /**
      *  Specifies the minimum width of the application's window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get minWidth():Number
     {
@@ -988,6 +1156,10 @@

     /**
      *  The identifier that AIR uses to identify the application.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get applicationID():String
     {
@@ -1008,6 +1180,10 @@
      *  Determines whether the underlying NativeWindow is always in front of other windows.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get alwaysInFront():Boolean
     {
@@ -1036,6 +1212,10 @@
      *  window closes or will continue running in the background.
      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get autoExit():Boolean
     {
@@ -1093,6 +1273,10 @@

     /**
      *  Returns true when the underlying window has been closed.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get closed():Boolean
     {
@@ -1111,6 +1295,10 @@

     /**
      *  The dock icon menu. Some operating systems do not support dock icon menus.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get dockIconMenu():FlexNativeMenu
     {
@@ -1137,6 +1325,10 @@

     /**
      *  Specifies whether the window can be maximized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get maximizable():Boolean
     {
@@ -1152,6 +1344,10 @@

     /**
      *  Specifies whether the window can be minimized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get minimizable():Boolean
     {
@@ -1180,6 +1376,10 @@
      *  The application menu for operating systems that support an application menu,
      *  or the window menu of the application's initial window for operating
      *  systems that support window menus.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get menu():FlexNativeMenu
     {
@@ -1202,6 +1402,10 @@
     /**
      *  The NativeWindow used by this WindowedApplication component (the initial
      *  native window of the application).
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get nativeWindow():NativeWindow
     {
@@ -1217,6 +1421,10 @@

     /**
      *  Specifies whether the window can be resized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get resizable():Boolean
     {
@@ -1231,6 +1439,10 @@

     /**
      *  The NativeApplication object representing the AIR application.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get nativeApplication():NativeApplication
     {
@@ -1261,6 +1473,10 @@
      *  in that case.

      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showGripper():Boolean
     {
@@ -1301,6 +1517,10 @@
      *  If true, the status bar is visible.
      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showStatusBar():Boolean
     {
@@ -1341,6 +1561,10 @@
      *  If true, the window's title bar is visible.
      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showTitleBar():Boolean
     {
@@ -1383,6 +1607,10 @@
      *  The string that appears in the status bar, if it is visible.
      *
      *  @default ""
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get status():String
     {
@@ -1416,6 +1644,10 @@

     /**
      *  The UIComponent that displays the status bar.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get statusBar():UIComponent
     {
@@ -1446,6 +1678,10 @@
      *
      *
If you write a custom status bar class, it should expose
      *  a public property named status.

+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get statusBarFactory():IFactory
     {
@@ -1480,6 +1716,10 @@
      *  Set of styles to pass from the WindowedApplication to the status bar.
      *
      *  @see mx.styles.StyleProxy
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function get statusBarStyleFilters():Object
     {
@@ -1496,6 +1736,10 @@
      *  in the NativeWindowSystemChrome class.
      *
      *  @see flash.display.NativeWindow#systemChrome
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get systemChrome():String
     {
@@ -1516,6 +1760,10 @@

     /**
      *  The system tray icon menu. Some operating systems do not support system tray icon menus.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get systemTrayIconMenu():FlexNativeMenu
     {
@@ -1562,6 +1810,10 @@
      *  you may see the title from the XML file appear briefly first.
      *
      *  @default ""
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get title():String
     {
@@ -1595,6 +1847,10 @@

     /**
      *  The UIComponent that displays the title bar.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get titleBar():UIComponent
     {
@@ -1626,6 +1882,10 @@
      *
If you write a custom title bar class, it should expose
      *  public properties named titleIcon
      *  and title.

+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get titleBarFactory():IFactory
     {
@@ -1669,6 +1929,10 @@
     /**
      *  Set of styles to pass from the WindowedApplication to the titleBar.
      *  @see mx.styles.StyleProxy
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function get titleBarStyleFilters():Object
     {
@@ -1696,6 +1960,10 @@
      *  The Class (usually an image) used to draw the title bar icon.
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get titleIcon():Class
     {
@@ -1724,6 +1992,10 @@

     /**
      *  Specifies whether the window is transparent.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get transparent():Boolean
     {
@@ -1742,6 +2014,10 @@
      *  in the NativeWindowType class.
      *
      *  @see flash.display.NativeWindowType
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get type():String
     {
@@ -2249,6 +2525,10 @@

     /**
      *  Activates the underlying NativeWindow (even if this application is not the active one).
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function activate():void
     {
@@ -2258,6 +2538,10 @@

     /**
      *  Closes the application's NativeWindow (the initial native window opened by the application). This action is cancelable.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function close():void
     {
@@ -2272,6 +2556,10 @@

     /**
      *  Closes the window and exits the application.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function exit():void
     {
@@ -2310,6 +2598,10 @@

     /**
      *  Maximizes the window, or does nothing if it's already maximized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function maximize():void
     {
@@ -2335,6 +2627,10 @@

     /**
      *  Minimizes the window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function minimize():void
     {
@@ -2353,6 +2649,10 @@
     /**
      *  Restores the window (unmaximizes it if it's maximized, or
      *  unminimizes it if it's minimized).
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function restore():void
     {
@@ -2392,6 +2692,10 @@
      *
      *  @return true if the window was succesfully sent behind;
      *  false if the window is invisible or minimized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
      public function orderInBackOf(window:IWindow):Boolean
      {
@@ -2411,6 +2715,10 @@
      *
      *  @return true if the window was succesfully sent in front;
      *  false if the window is invisible or minimized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
      public function orderInFrontOf(window:IWindow):Boolean
      {
@@ -2425,6 +2733,10 @@
       *
       *  @return true if the window was succesfully sent to the back;
       *  false if the window is invisible or minimized.
+      *
+      *  @langversion 3.0
+      *  @playerversion AIR 1.1
+      *  @productversion Flex 3
       */
      public function orderToBack():Boolean
      {
@@ -2439,6 +2751,10 @@
   *
   *  @return true if the window was succesfully sent to the front;
   *  false if the window is invisible or minimized.
+  *
+  *  @langversion 3.0
+  *  @playerversion AIR 1.1
+  *  @productversion Flex 3
   */
      public function orderToFront():Boolean
      {
@@ -2641,6 +2957,10 @@

     /**
      *  Manages mouse down events on the window border.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function mouseDownHandler(event:MouseEvent):void
     {
@@ -2968,6 +3288,10 @@
      *  This is a temporary event handler which dispatches a initialLayoutComplete event after
      *  two updateCompletes. This event will only be dispatched after either setting the bounds or
      *  maximizing the window at startup.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function updateComplete_handler(event:FlexEvent):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 9177
Author:   jimurphy@adobe.com
Date:     2009-08-07T21:15:07.894169Z

Log Message:
-----------
Merged 3.4 revisions 8630,8660,8683,8735,8750,8753,8755,8757,8759,8764,8776,8798,8821,8824,8837,8862,8911,8946,8949,8962,8965,9026,9109,9131,9138-9139,9147 -> trunk

integrates:
player: 10.0.32.18
AIR kit: 1.5.2.8870 (20090721ap)

checkintests: pass

(btw: I'm not happy about doing this on a Friday PM!)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Install Flash Player 10 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/player/10/playerglobal.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/flashplayer.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</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/in/player/10/lnx/libflashplayer.so.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/FlashPlayer.exe</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/in/player/10/mac/Flash Player.app.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.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/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 Plugin.exe</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/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 ActiveX.exe</path>
<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/controls/Tree.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/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/mxml/IMXMLSupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/ISOAPDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/install_flash_player_10_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as</path>

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

--- frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as
@@ -476,8 +476,8 @@
     private function browserURLChange(fragment:String, force:Boolean = false):void
     {
         //trace("browserURLChange: |" + decodeURI(fragment) + "|, |" + decodeURI(_fragment) + "|" + ", " + force.toString());
-        if ((decodeURI(_fragment) != decodeURI(fragment)) || force)
-		{
+        if (((fragment != null) && (decodeURI(_fragment) != decodeURI(fragment))) || force)
+	{
             _fragment = fragment;

             var lastURL:String = url;


Transferred from the Adobe Open Source Subversion Repository

Revision: 17308
Author:   dthakkar@adobe.com
Date:     2010-08-12T23:22:20.533632Z

Log Message:
-----------
Flex integration feature (includes spark formatters and related checkintests.)
UIComponent.as - Added API's to support non visual style client
IAdvancedStyleClient.as - Added setter for StyleParent method
StyleProtoChain.as - Added else loop to verify if the component is IAdvancedStyleClient
StyleProxy.as - added setter for styleParent method (this class inherits IAdvancedStyleClient interface)

QE notes: No
Doc notes: No
Bugs: No
Reviewer: Gordon , Darrell
Tests run: CheckinTests, Mustella
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/styleTest</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CollatorTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/SortingCollator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/StringToolsTestScript.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/AdvancedStyleClientTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/NumberFormatterTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CurrencyFormatterTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CollatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/NumberFormatterTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/DateTimeFormatterTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CurrencyFormatterTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/DateTimeFormatterTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/AdvancedStyleClientTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/IFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/LastOperationStatus.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/StringToolsTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/MatchingCollator.as</path>

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

--- frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as
+++ frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as
@@ -48,14 +48,29 @@
     //----------------------------------

     /**
-     *  The parent of this component.
-     *
+     *  The parent of this IAdvancedStyleClient..
+     *
+     *  Typically, you do not assign this property directly.
+     *  It is set by the addChild, addChildAt, removeChild, and
+     *  removeChildAt methods of the
+     *  flash.display.DisplayObjectContainer and  the
+     *  mx.core.UIComponent.addStyleClient()  and
+     *  the mx.core.UIComponent.removeStyleClient() methods.
+     *
+     *  If it is assigned a value directly, without calling one of the
+     *  above mentioned methods the instance of the class that implements this
+     *  interface will not inherit styles from the UIComponent or DisplayObject.
+     *  Also if assigned a value directly without, first removing the
+     *  object from the current parent with the remove methods listed above,
+     *  a memory leak could occur.
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
     function get styleParent():IAdvancedStyleClient;
+    function set styleParent(parent:IAdvancedStyleClient):void;

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


Added query expression shorthand methods
Updated query expression test cases

git-svn-id: 6aa7ccb0a2048310a30f08a72aaff4ca39d980ed@91 91848ab2-c4ae-4e4f-8e6a-6a52ea0dccc3

--- flare.tests/flare/tests/ExpressionTests.as
+++ flare.tests/flare/tests/ExpressionTests.as
@@ -1,138 +1,212 @@
 package flare.tests
 {
+	import flare.query.And;
 	import flare.query.Arithmetic;
 	import flare.query.Comparison;
-	import flare.query.And;
+	import flare.query.Expression;
+	import flare.query.If;
+	import flare.query.Literal;
 	import flare.query.Or;
+	import flare.query.Range;
 	import flare.query.Variable;
-	import flare.query.If;
-	import flare.query.Range;
-	import flare.query.Literal;
-	import flare.query.Expression;
+	import flare.query.Xor;
+	import flare.query.methods.add;
+	import flare.query.methods.and;
+	import flare.query.methods.div;
+	import flare.query.methods.eq;
+	import flare.query.methods.gt;
+	import flare.query.methods.gte;
+	import flare.query.methods.iff;
+	import flare.query.methods.lt;
+	import flare.query.methods.lte;
+	import flare.query.methods.mod;
+	import flare.query.methods.mul;
+	import flare.query.methods.neq;
+	import flare.query.methods.or;
+	import flare.query.methods.range;
+	import flare.query.methods.sub;
+	import flare.query.methods.xor;
+
 	import unitest.TestCase;

 	public class ExpressionTests extends TestCase
 	{
 		public function ExpressionTests() {
 			addTest("testExpressions");
-		}
-
-		public function testExpressions():void
-		{
-			var t1:Date = new Date(1979,5,15);
-			var t2:Date = new Date(1982,2,19);
-
-			var l:Variable = new Variable("a");
-			var r:Variable = new Variable("b");
-
-			var lt:Expression   = Comparison.LessThan(l,r);
-			var gt:Expression   = Comparison.GreaterThan(l,r);
-			var eq:Expression   = Comparison.Equal(l,r);
-			var neq:Expression  = Comparison.NotEqual(l,r);
-			var lteq:Expression = Comparison.LessThanOrEqual(l,r);
-			var gteq:Expression = Comparison.GreaterThanOrEqual(l,r);
-
-			var add:Expression = Arithmetic.Add(l, r);
-			var sub:Expression = Arithmetic.Subtract(l, r);
-			var mul:Expression = Arithmetic.Multiply(l, r);
-			var div:Expression = Arithmetic.Divide(l, r);
-			var mod:Expression = Arithmetic.Mod(l, r);
-
-			var and:Expression  = new And(Comparison.GreaterThan(mul, add),
-										  Comparison.GreaterThan(add, sub));
-			var or:Expression   = new Or(Comparison.GreaterThan(add, mul),
-									      Comparison.GreaterThan(mul, add));
-
-			var iff:Expression = new If(eq, add, sub);
-
-			var range:Range = new Range(new Literal(-1), new Literal(+1), l);
-			var span:Range  = new Range(new Literal(t1), new Literal(t2), l);
-
-			var tests:Array = [
+			addTest("testExpressionMethods");
+		}
+
+		// test variables
+		private var t1:Date = new Date(1979,5,15);
+		private var t2:Date = new Date(1982,2,19);
+		private var _lt:Expression;
+		private var _gt:Expression;
+		private var _eq:Expression;
+		private var _neq:Expression;
+		private var _lte:Expression;
+		private var _gte:Expression;
+		private var _add:Expression;
+		private var _sub:Expression;
+		private var _mul:Expression;
+		private var _div:Expression;
+		private var _mod:Expression;
+		private var _and:Expression;
+		private var _xor:Expression;
+		private var _or:Expression;
+		private var _if:Expression;
+		private var _range:Range;
+		private var _span:Range;
+
+		private function _tests():Array
+		{
+			return [
 				// numbers
-				{expr:lt,   input:{a:0,b:0}, result:false},
-				{expr:gt,   input:{a:0,b:0}, result:false},
-				{expr:eq,   input:{a:0,b:0}, result:true},
-				{expr:neq,  input:{a:0,b:0}, result:false},
-				{expr:lteq, input:{a:0,b:0}, result:true},
-				{expr:gteq, input:{a:0,b:0}, result:true},
-				{expr:lt,   input:{a:1,b:0}, result:false},
-				{expr:gt,   input:{a:1,b:0}, result:true},
-				{expr:eq,   input:{a:1,b:0}, result:false},
-				{expr:neq,  input:{a:1,b:0}, result:true},
-				{expr:lteq, input:{a:1,b:0}, result:false},
-				{expr:gteq, input:{a:1,b:0}, result:true},
-				{expr:lt,   input:{a:0,b:1}, result:true},
-				{expr:gt,   input:{a:0,b:1}, result:false},
-				{expr:eq,   input:{a:0,b:1}, result:false},
-				{expr:neq,  input:{a:0,b:1}, result:true},
-				{expr:lteq, input:{a:0,b:1}, result:true},
-				{expr:gteq, input:{a:0,b:1}, result:false},
-
-				{expr:add,  input:{a:2,b:3}, result:5},
-				{expr:sub,  input:{a:2,b:3}, result:-1},
-				{expr:mul,  input:{a:2,b:3}, result:6},
-				{expr:div,  input:{a:2,b:3}, result:2/3},
-				{expr:mod,  input:{a:2,b:3}, result:2},
-				{expr:add,  input:{a:3,b:2}, result:5},
-				{expr:sub,  input:{a:3,b:2}, result:1},
-				{expr:mul,  input:{a:3,b:2}, result:6},
-				{expr:div,  input:{a:3,b:2}, result:1.5},
-				{expr:mod,  input:{a:3,b:2}, result:1},
-
-				{expr:and,  input:{a:3,b:2}, result:true},
-				{expr:and,  input:{a:0,b:2}, result:false},
-				{expr:or,   input:{a:3,b:2}, result:true},
-				{expr:or,   input:{a:0,b:0}, result:false},
-
-				{expr:iff,  input:{a:2,b:3}, result:-1},
-				{expr:iff,  input:{a:3,b:3}, result:6},
-
-				{expr:range,input:{a:-2},    result:false},
-				{expr:range,input:{a:-1},    result:true},
-				{expr:range,input:{a:0},     result:true},
-				{expr:range,input:{a:1},     result:true},
-				{expr:range,input:{a:2},     result:false},
+				{expr:_lt,   input:{a:0,b:0}, result:false},
+				{expr:_gt,   input:{a:0,b:0}, result:false},
+				{expr:_eq,   input:{a:0,b:0}, result:true},
+				{expr:_neq,  input:{a:0,b:0}, result:false},
+				{expr:_lte,  input:{a:0,b:0}, result:true},
+				{expr:_gte,  input:{a:0,b:0}, result:true},
+				{expr:_lt,   input:{a:1,b:0}, result:false},
+				{expr:_gt,   input:{a:1,b:0}, result:true},
+				{expr:_eq,   input:{a:1,b:0}, result:false},
+				{expr:_neq,  input:{a:1,b:0}, result:true},
+				{expr:_lte,  input:{a:1,b:0}, result:false},
+				{expr:_gte,  input:{a:1,b:0}, result:true},
+				{expr:_lt,   input:{a:0,b:1}, result:true},
+				{expr:_gt,   input:{a:0,b:1}, result:false},
+				{expr:_eq,   input:{a:0,b:1}, result:false},
+				{expr:_neq,  input:{a:0,b:1}, result:true},
+				{expr:_lte,  input:{a:0,b:1}, result:true},
+				{expr:_gte,  input:{a:0,b:1}, result:false},
+
+				{expr:_add,  input:{a:2,b:3}, result:5},
+				{expr:_sub,  input:{a:2,b:3}, result:-1},
+				{expr:_mul,  input:{a:2,b:3}, result:6},
+				{expr:_div,  input:{a:2,b:3}, result:2/3},
+				{expr:_mod,  input:{a:2,b:3}, result:2},
+				{expr:_add,  input:{a:3,b:2}, result:5},
+				{expr:_sub,  input:{a:3,b:2}, result:1},
+				{expr:_mul,  input:{a:3,b:2}, result:6},
+				{expr:_div,  input:{a:3,b:2}, result:1.5},
+				{expr:_mod,  input:{a:3,b:2}, result:1},
+
+				{expr:_and,  input:{a:3,b:2}, result:true},
+				{expr:_and,  input:{a:0,b:2}, result:false},
+				{expr:_xor,  input:{a:3,b:2}, result:true},
+				{expr:_xor,  input:{a:1,b:1}, result:true},
+				{expr:_xor,  input:{a:0,b:0}, result:false},
+				{expr:_or,   input:{a:3,b:2}, result:true},
+				{expr:_or,   input:{a:0,b:0}, result:false},
+
+				{expr:_if,   input:{a:2,b:3}, result:-1},
+				{expr:_if,   input:{a:3,b:3}, result:6},
+
+				{expr:_range,input:{a:-2},    result:false},
+				{expr:_range,input:{a:-1},    result:true},
+				{expr:_range,input:{a:0},     result:true},
+				{expr:_range,input:{a:1},     result:true},
+				{expr:_range,input:{a:2},     result:false},

 				// dates
-				{expr:lt,   input:{a:t1,b:t2}, result:true},
-				{expr:gt,   input:{a:t1,b:t2}, result:false},
-				{expr:eq,   input:{a:t1,b:t2}, result:false},
-				{expr:neq,  input:{a:t1,b:t2}, result:true},
-				{expr:lteq, input:{a:t1,b:t2}, result:true},
-				{expr:gteq, input:{a:t1,b:t2}, result:false},
-				{expr:lt,   input:{a:t1,b:t1}, result:false},
-				{expr:gt,   input:{a:t1,b:t1}, result:false},
-				{expr:eq,   input:{a:t1,b:t1}, result:true},
-				{expr:neq,  input:{a:t1,b:t1}, result:false},
-				{expr:lteq, input:{a:t1,b:t1}, result:true},
-				{expr:gteq, input:{a:t1,b:t1}, result:true},
-				{expr:span, input:{a:new Date(1978,1)}, result:false},
-				{expr:span, input:{a:t1},               result:true},
-				{expr:span, input:{a:new Date(1980,1)}, result:true},
-				{expr:span, input:{a:t2},               result:true},
-				{expr:span, input:{a:new Date(1990,1)}, result:false},
+				{expr:_lt,   input:{a:t1,b:t2}, result:true},
+				{expr:_gt,   input:{a:t1,b:t2}, result:false},
+				{expr:_eq,   input:{a:t1,b:t2}, result:false},
+				{expr:_neq,  input:{a:t1,b:t2}, result:true},
+				{expr:_lte,  input:{a:t1,b:t2}, result:true},
+				{expr:_gte,  input:{a:t1,b:t2}, result:false},
+				{expr:_lt,   input:{a:t1,b:t1}, result:false},
+				{expr:_gt,   input:{a:t1,b:t1}, result:false},
+				{expr:_eq,   input:{a:t1,b:t1}, result:true},
+				{expr:_neq,  input:{a:t1,b:t1}, result:false},
+				{expr:_lte,  input:{a:t1,b:t1}, result:true},
+				{expr:_gte,  input:{a:t1,b:t1}, result:true},
+				{expr:_span, input:{a:new Date(1978,1)}, result:false},
+				{expr:_span, input:{a:t1},               result:true},
+				{expr:_span, input:{a:new Date(1980,1)}, result:true},
+				{expr:_span, input:{a:t2},               result:true},
+				{expr:_span, input:{a:new Date(1990,1)}, result:false},

 				// strings
-				{expr:lt,   input:{a:"a",b:"b"}, result:true},
-				{expr:gt,   input:{a:"a",b:"b"}, result:false},
-				{expr:eq,   input:{a:"a",b:"b"}, result:false},
-				{expr:neq,  input:{a:"a",b:"b"}, result:true},
-				{expr:lteq, input:{a:"a",b:"b"}, result:true},
-				{expr:gteq, input:{a:"a",b:"b"}, result:false},
-				{expr:lt,   input:{a:"a",b:"a"}, result:false},
-				{expr:gt,   input:{a:"a",b:"a"}, result:false},
-				{expr:eq,   input:{a:"a",b:"a"}, result:true},
-				{expr:neq,  input:{a:"a",b:"a"}, result:false},
-				{expr:lteq, input:{a:"a",b:"a"}, result:true},
-				{expr:gteq, input:{a:"a",b:"a"}, result:true},
+				{expr:_lt,   input:{a:"a",b:"b"}, result:true},
+				{expr:_gt,   input:{a:"a",b:"b"}, result:false},
+				{expr:_eq,   input:{a:"a",b:"b"}, result:false},
+				{expr:_neq,  input:{a:"a",b:"b"}, result:true},
+				{expr:_lte,  input:{a:"a",b:"b"}, result:true},
+				{expr:_gte,  input:{a:"a",b:"b"}, result:false},
+				{expr:_lt,   input:{a:"a",b:"a"}, result:false},
+				{expr:_gt,   input:{a:"a",b:"a"}, result:false},
+				{expr:_eq,   input:{a:"a",b:"a"}, result:true},
+				{expr:_neq,  input:{a:"a",b:"a"}, result:false},
+				{expr:_lte,  input:{a:"a",b:"a"}, result:true},
+				{expr:_gte,  input:{a:"a",b:"a"}, result:true},
 			];
-
+		}
+
+		private function _runTests():void
+		{
+			var tests:Array = _tests();
 			for (var i:uint=0; i<tests.length; ++i) {
 				var e:Expression = tests[i].expr;
 				var val:Object = e.eval(tests[i].input);
 				assertEquals(tests[i].result, val, i+":"+e.toString());
 			}
 		}
+
+		public function testExpressions():void
+		{
+			var l:Variable = new Variable("a");
+			var r:Variable = new Variable("b");
+
+			_lt  = Comparison.LessThan(l,r);
+			_gt  = Comparison.GreaterThan(l,r);
+			_eq  = Comparison.Equal(l,r);
+			_neq = Comparison.NotEqual(l,r);
+			_lte = Comparison.LessThanOrEqual(l,r);
+			_gte = Comparison.GreaterThanOrEqual(l,r);
+			_add = Arithmetic.Add(l, r);
+			_sub = Arithmetic.Subtract(l, r);
+			_mul = Arithmetic.Multiply(l, r);
+			_div = Arithmetic.Divide(l, r);
+			_mod = Arithmetic.Mod(l, r);
+			_and = new And(Comparison.GreaterThan(_mul, _add),
+						   Comparison.GreaterThan(_add, _sub));
+			_xor = new Xor(Comparison.GreaterThan(_add, _mul),
+						   Comparison.GreaterThan(_mul, _add));
+			_or  = new Or(Comparison.GreaterThan(_add, _mul),
+						  Comparison.GreaterThan(_mul, _add));
+			_if = new If(_eq, _add, _sub);
+			_range = new Range(new Literal(-1), new Literal(+1), l);
+			_span  = new Range(new Literal(t1), new Literal(t2), l);
+
+			_runTests();
+		}
+
+		public function testExpressionMethods():void
+		{
+			var a:String = "[a]";
+			var b:String = "[b]";
+
+			_lt  = lt(a, b);
+			_gt  = gt(a, b);
+			_eq  = eq(a, b);
+			_neq = neq(a, b);
+			_lte = lte(a, b);
+			_gte = gte(a, b);
+			_add = add(a, b);
+			_sub = sub(a, b);
+			_mul = mul(a, b);
+			_div = div(a, b);
+			_mod = mod(a, b);
+			_and = and(gt(_mul, _add), gt(_add, _sub));
+			_xor = xor(gt(_add, _mul), gt(_mul, _add));
+			_or  = or(gt(_add, _mul), gt(_mul, _add));
+			_if = iff(_eq, _add, _sub);
+			_range = range(-1, +1, a);
+			_span  = range(t1, t2, a);
+
+			_runTests();
+		}
+
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3962
Author:   shodgson@adobe.com
Date:     2008-10-29T22:16:14.037040Z

Log Message:
-----------
Bug: LCDS-463 - Consumer stops receiving stream of messages after transient disconnect.
QA: Yes
Doc: No
Checkintests Pass: Yes

Details:
* Guard against multiple fault/result invocations via a Responder in the case of connection severing triggering general channel fault/disconnect as well as killing the underlying connection a specific Responder has been bound to by the player.

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as

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

--- frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as
@@ -480,10 +480,14 @@
     //--------------------------------------------------------------------------

     /**
-     * @private
-     */
-    private var resourceManager:IResourceManager =
-                                    ResourceManager.getInstance();
+     *  @private
+     */
+    private var handled:Boolean;
+
+    /**
+     *  @private
+     */
+    private var resourceManager:IResourceManager = ResourceManager.getInstance();

     //--------------------------------------------------------------------------
     //
@@ -499,6 +503,9 @@
      */
     override protected function resultHandler(msg:IMessage):void
     {
+        if (handled)
+            return;
+
         disconnect();
         if (msg is AsyncMessage)
         {
@@ -545,6 +552,9 @@
      */
     override protected function statusHandler(msg:IMessage):void
     {
+        if (handled)
+            return;
+
         disconnect();

         // even a fault is still an acknowledgement of a message sent so pass it on...
@@ -606,6 +616,9 @@
      */
     override protected function requestTimedOut():void
     {
+        if (handled)
+            return;
+
         disconnect();
         statusHandler(createRequestTimeoutErrorMessage());
     }
@@ -627,6 +640,9 @@
      */
     protected function channelDisconnectHandler(event:ChannelEvent):void
     {
+        if (handled)
+            return;
+
         disconnect();
         var errorMsg:ErrorMessage = new ErrorMessage();
         errorMsg.correlationId = message.messageId;
@@ -650,6 +666,9 @@
      */
     protected function channelFaultHandler(event:ChannelFaultEvent):void
     {
+        if (handled)
+            return;
+
         disconnect();
         var errorMsg:ErrorMessage = event.createErrorMessage();
         errorMsg.correlationId = message.messageId;
@@ -675,6 +694,7 @@
      */
     private function disconnect():void
     {
+        handled = true;
         channel.removeEventListener(ChannelEvent.DISCONNECT, channelDisconnectHandler);
         channel.removeEventListener(ChannelFaultEvent.FAULT, channelFaultHandler);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 1451
Author:   jimurphy@adobe.com
Date:     2008-04-29T14:19:59.414928Z

Log Message:
-----------
Merge 3.0.x [1412,1415-1417,1444] -> Trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as
@@ -225,7 +225,7 @@
             streamingConnectionHandler.addEventListener(SecurityErrorEvent.SECURITY_ERROR, streamSecurityErrorHandler);
             streamingConnectionHandler.addEventListener(StatusEvent.STATUS, streamStatusHandler);
         }
-        streamingConnectionHandler.openStreamingConnection();
+        streamingConnectionHandler.openStreamingConnection(appendToURL);
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 3148
Author:   gosmith@adobe.com
Date:     2008-09-08T22:01:15.712225Z

Log Message:
-----------
You can now use CSS styles to set the default text format for TextView. It no longer has any formatting properties. It supports the entire set of Gumbo text format styles.

SkinnableComponent and Group now also support all these styles. However, skins such as ButtonSkin, TextInputSkin, and TextAreaSkin continue for now to specify instance styles on their TextBox, TextGraphic, and TextView, in order to give them a Gumbo look rather than a Halo look. So if you try setting, for example, the fontSize on the Application, it doesn't yet affect the text format of a Button, TextInput, TextArea, etc. unless you remove the instance style in the skin.

Reviewer: Glenn
Bugs: -
QA: Lots of new stuff to test!
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -12,27 +12,17 @@
 package flex.graphics.graphicsClasses
 {

-import flash.display.DisplayObject;
 import flash.display.Graphics;
 import flash.display.Sprite;
-import flash.geom.Point;
-import flash.text.engine.FontPosture;
-import flash.text.engine.FontWeight;
-import flash.text.engine.Kerning;
-import flash.utils.getQualifiedClassName;

 import flex.graphics.IDisplayObjectElement;

 import mx.core.mx_internal;
 import mx.styles.CSSStyleDeclaration;
-import mx.styles.ISimpleStyleClient;
 import mx.styles.IStyleClient;
 import mx.styles.StyleManager;
 import mx.styles.StyleProtoChain;
 import mx.utils.ObjectUtil;
-
-import text.formats.TextAlign;
-import text.formats.VerticalAlign;

 /**
  *  Documentation is not currently available.
@@ -66,7 +56,8 @@
 	//  needsDisplayObject
 	//----------------------------------

-	// TODO!!! Always return a DO for now. We need to optimize this later.
+	// TODO!!! Always return a DisplayObject for now.
+    // We need to optimize this later.

     /**
      *  @private


unused parameter removed from Mediator.unsubscribe()

--- src/ru/whitered/kote/Mediator.as
+++ src/ru/whitered/kote/Mediator.as
@@ -27,7 +27,7 @@

-		public function unsubscribe(notificationType:NotificationType, handler:Function = null):Boolean
+		public function unsubscribe(notificationType:NotificationType):Boolean
 		{
 			if(handlers[notificationType] == null) return false;
 			delete handlers[notificationType];