You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/10/22 00:36:53 UTC

[01/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-33772 Incorrect tab focus behaviour

Updated Branches:
  refs/heads/master 504abed4b -> db1aa1e6a


FLEX-33772 Incorrect tab focus behaviour


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/edb146e5
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/edb146e5
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/edb146e5

Branch: refs/heads/master
Commit: edb146e5aac2fe6db826925fd680e82dad6132f4
Parents: 8eddfd0
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Oct 11 10:16:36 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Oct 11 10:16:36 2013 +1100

----------------------------------------------------------------------
 .../framework/src/mx/managers/FocusManager.as   | 95 ++++++++++++++++----
 1 file changed, 79 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/edb146e5/frameworks/projects/framework/src/mx/managers/FocusManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/managers/FocusManager.as b/frameworks/projects/framework/src/mx/managers/FocusManager.as
index 4af19fd..6f17a07 100644
--- a/frameworks/projects/framework/src/mx/managers/FocusManager.as
+++ b/frameworks/projects/framework/src/mx/managers/FocusManager.as
@@ -1379,29 +1379,92 @@ public class FocusManager extends EventDispatcher implements IFocusManager
                 var o:DisplayObject = DisplayObject(findFocusManagerComponent2(focusableCandidates[i]));     
                 if (o is IFocusManagerGroup)
                 {
-                    // look around to see if there's an enabled and visible
-                    // selected member in the tabgroup, otherwise use the first
-                    // one we found.
+                    
+                    // when landing on an element that is part of group, try to
+                    // advance selection to the selected group element
+                    var j:int;
+                    var obj:DisplayObject;
                     var tg1:IFocusManagerGroup = IFocusManagerGroup(o);
-                    for (var j:int = 0; j < focusableCandidates.length; j++)
+                    var tg2:IFocusManagerGroup;
+                    
+                    // normalize the "no selected group element" case
+                    // to the "first group element selected" case
+                    // (respecting the tab direction)
+                    var groupElementToFocus:IFocusManagerGroup = null;
+                    for (j = 0; j < focusableCandidates.length; j++)
                     {
-                        var obj:DisplayObject = focusableCandidates[j];
-                        if (obj is IFocusManagerGroup && isEnabledAndVisible(obj))
+                        obj = focusableCandidates[j];
+                        if (obj is IFocusManagerGroup)
                         {
-                            var tg2:IFocusManagerGroup = IFocusManagerGroup(obj);
-                            if (tg2.groupName == tg1.groupName && tg2.selected)
+                            tg2 = IFocusManagerGroup(obj);
+                            if (tg2.groupName == tg1.groupName && isEnabledAndVisible(obj))
                             {
-                                // if objects of same group have different tab index
-                                // skip you aren't selected.
-                                if (InteractiveObject(obj).tabIndex != InteractiveObject(o).tabIndex && !tg1.selected)
-                                    return getIndexOfNextObject(i, shiftKey, bSearchAll, groupName);
-
-                                i = j;
-                                break;
+                                if (tg2.selected) 
+                                {
+                                    groupElementToFocus = tg2;
+                                    break;
+                                }
+                                if ((!shiftKey && groupElementToFocus == null) || shiftKey)
+                                    groupElementToFocus = tg2;
+                            }
+                        }
+                    }
+                    
+                    if (tg1 != groupElementToFocus)
+                    {
+                        // cycle the entire focusable candidates array forward or backward,
+                        // wrapping around boundaries, searching for our focus candidate
+                        j = i;
+                        for (var k:int = 0; k < focusableCandidates.length - 1; k++)
+                        {
+                            
+                            if (!shiftKey) 
+                            {
+                                j++;
+                                if (j == focusableCandidates.length)
+                                    j = 0;
+                            }
+                            else
+                            {
+                                j--;
+                                if (j == -1)
+                                    j = focusableCandidates.length - 1;
+                            }
+                            
+                            obj = focusableCandidates[j];
+                            if (isEnabledAndVisible(obj))
+                            {
+                                if (obj is IFocusManagerGroup)
+                                {
+                                    tg2 = IFocusManagerGroup(obj);
+                                    if (tg2.groupName == tg1.groupName)
+                                    {
+                                        if (tg2 == groupElementToFocus)
+                                        {
+                                            // if objects of same group have different tab index
+                                            // skip you aren't selected.
+                                            if (InteractiveObject(obj).tabIndex != InteractiveObject(o).tabIndex && !tg1.selected)
+                                                return getIndexOfNextObject(i, shiftKey, bSearchAll, groupName);
+                                            i = j;
+                                            break;
+                                        }
+                                    }
+                                    else
+                                    {
+                                        // element is part of another group, stop (no recursive search)
+                                        i = j;
+                                        break;
+                                    }
+                                }
+                                else
+                                {
+                                    // element isn't part of any group, stop
+                                    i = j;
+                                    break;
+                                }
                             }
                         }
                     }
-
                 }
                 return i;
             }


[03/50] git commit: [flex-sdk] [refs/heads/master] - Fixed malformed asdocs comments

Posted by jm...@apache.org.
Fixed malformed asdocs comments


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/12ff525e
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/12ff525e
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/12ff525e

Branch: refs/heads/master
Commit: 12ff525ef1acaeb6fc0384e5b2f8bb95eb46bf61
Parents: 53d5471
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Oct 11 11:57:21 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Oct 11 11:57:21 2013 +1100

----------------------------------------------------------------------
 .../framework/src/mx/collections/SortFieldCompareTypes.as     | 7 +++----
 .../spark/src/spark/collections/SortFieldCompareTypes.as      | 7 +++----
 2 files changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/12ff525e/frameworks/projects/framework/src/mx/collections/SortFieldCompareTypes.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/collections/SortFieldCompareTypes.as b/frameworks/projects/framework/src/mx/collections/SortFieldCompareTypes.as
index f11c682..119a415 100644
--- a/frameworks/projects/framework/src/mx/collections/SortFieldCompareTypes.as
+++ b/frameworks/projects/framework/src/mx/collections/SortFieldCompareTypes.as
@@ -24,15 +24,14 @@ package mx.collections
     *  The SortFieldCompareTypes class defines the valid constant values for the 
     *  <code>sortCompareType</code> property of the <code>SortField</code> and <code>GridColumn</code>.
     * 
-    *  <p>Designed to be used from a DataGrids column, but can be referenced directly on the </code>SortField</code></p>
+    *  <p>Designed to be used from a DataGrids column, but can be referenced directly on the <code>SortField</code></p>
     *  
-    *  <p>Use the constants in ActionsScript, as the following example shows: </p>
+    *  <p>Use the constants in ActionsScript, as the following example shows:</p>
     *  <pre>
     *    column.sortCompareType = SortFieldCompareTypes.NUMERIC;
     *  </pre>
     *
-    *  <p>In MXML, use the String value of the constants, 
-    *  as the following example shows:</p>
+    *  <p>In MXML, use the String value of the constants, as the following example shows:</p>
     *  <pre>
     *    &lt;s:GridColumn sortCompareType="numeric" /&gt; 
     *  </pre>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/12ff525e/frameworks/projects/spark/src/spark/collections/SortFieldCompareTypes.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/collections/SortFieldCompareTypes.as b/frameworks/projects/spark/src/spark/collections/SortFieldCompareTypes.as
index 98e55f3..e2958e5 100644
--- a/frameworks/projects/spark/src/spark/collections/SortFieldCompareTypes.as
+++ b/frameworks/projects/spark/src/spark/collections/SortFieldCompareTypes.as
@@ -24,15 +24,14 @@ package spark.collections
     *  The SortFieldCompareTypes class defines the valid constant values for the 
     *  <code>sortCompareType</code> property of the <code>SortField</code> and <code>GridColumn</code>.
     * 
-    *  <p>Designed to be used from a DataGrids column, but can be referenced directly on the </code>SortField</code></p>
+    *  <p>Designed to be used from a DataGrids column, but can be referenced directly on the <code>SortField</code></p>
     *  
-    *  <p>Use the constants in ActionsScript, as the following example shows: </p>
+    *  <p>Use the constants in ActionsScript, as the following example shows:</p>
     *  <pre>
     *    column.sortCompareType = SortFieldCompareTypes.NUMERIC;
     *  </pre>
     *
-    *  <p>In MXML, use the String value of the constants, 
-    *  as the following example shows:</p>
+    *  <p>In MXML, use the String value of the constants, as the following example shows:</p>
     *  <pre>
     *    &lt;s:GridColumn sortCompareType="numeric" /&gt; 
     *  </pre>


[12/50] git commit: [flex-sdk] [refs/heads/master] - ScrollBar should defer some of its calculations when styles change to a lifecycle method so things that affect measurement have a chance to be measured.

Posted by jm...@apache.org.
ScrollBar should defer some of its calculations when styles change to a lifecycle method so things that affect measurement have a chance to be measured.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/9c5f91e5
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/9c5f91e5
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/9c5f91e5

Branch: refs/heads/master
Commit: 9c5f91e5f25459c34b420c8596bb80adc5441498
Parents: 05833f8
Author: Alex Harui <ah...@apache.org>
Authored: Thu Sep 5 09:52:36 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:18:37 2013 -0700

----------------------------------------------------------------------
 .../spark/src/spark/components/VScrollBar.as    | 25 +++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/9c5f91e5/frameworks/projects/spark/src/spark/components/VScrollBar.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/VScrollBar.as b/frameworks/projects/spark/src/spark/components/VScrollBar.as
index 144a420..a8afadb 100644
--- a/frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ b/frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -158,6 +158,8 @@ public class VScrollBar extends ScrollBarBase
     //
     //--------------------------------------------------------------------------
 
+	private var maxAndPageSizeInvalid:Boolean = false;
+	
     private function updateMaximumAndPageSize():void
     {
         var vsp:Number = viewport.verticalScrollPosition;
@@ -523,11 +525,28 @@ public class VScrollBar extends ScrollBarBase
         if (allStyles || styleName == "interactionMode")
         {
             if (viewport)
-                updateMaximumAndPageSize();
+			{
+				// Some of the information needed
+				// is calculated in measure() on a child
+				maxAndPageSizeInvalid = true;
+				invalidateSize();
+			}
         }
     }
-    
-    
+
+	/**
+	 *  @private 
+	 */
+	override protected function measure():void
+	{
+		super.measure();
+		if (maxAndPageSizeInvalid)
+		{
+			maxAndPageSizeInvalid = false;
+			updateMaximumAndPageSize();
+		}
+	}
+	
     /**
      *  @private
      *  Scroll vertically by event.delta "steps".  This listener is added to both the scrollbar 


[09/50] git commit: [flex-sdk] [refs/heads/master] - MXMLC then saw these as ambiguous, but Falcon didn't?

Posted by jm...@apache.org.
MXMLC then saw these as ambiguous, but Falcon didn't?


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/5d2dc3f0
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/5d2dc3f0
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/5d2dc3f0

Branch: refs/heads/master
Commit: 5d2dc3f09acf773f96d6338e930b4bd2dd3ec281
Parents: 7a6be43
Author: Alex Harui <ah...@apache.org>
Authored: Sun Sep 1 23:05:12 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:18:35 2013 -0700

----------------------------------------------------------------------
 .../basicTests/graphics/scripts/GraphicsTagsTestScript.mxml    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5d2dc3f0/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
----------------------------------------------------------------------
diff --git a/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml b/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
index b64bf68..c9943b5 100644
--- a/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
+++ b/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
@@ -72,11 +72,11 @@
             public var stroke10Alpha:SolidColorStroke = new SolidColorStroke(0x000000, 10, 0.4);
 
             [Bindable]
-            public var bevelFilter:BevelFilter = new BevelFilter();
+            public var bevelFilter:spark.filters.BevelFilter = new spark.filters.BevelFilter();
             [Bindable]
-            public var blurFilter:BlurFilter = new BlurFilter();
+            public var blurFilter:spark.filters.BlurFilter = new spark.filters.BlurFilter();
             [Bindable]
-            public var dropShadowFilter:DropShadowFilter = new DropShadowFilter(0xFF00FF);
+            public var dropShadowFilter:spark.filters.DropShadowFilter = new spark.filters.DropShadowFilter(0xFF00FF);
 
             [Bindable]
             public var linearGrad:LinearGradient = new LinearGradient();


[32/50] git commit: [flex-sdk] [refs/heads/master] - Fix https://issues.apache.org/jira/browse/FLEX-33818 (Spark Datagrid column resize and sort bug when releasing mouse outside of headers)

Posted by jm...@apache.org.
Fix https://issues.apache.org/jira/browse/FLEX-33818 (Spark Datagrid column resize and sort bug when releasing mouse outside of headers)


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/3aef3953
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/3aef3953
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/3aef3953

Branch: refs/heads/master
Commit: 3aef395307dc6ce3fa825c6838df21e310938d5b
Parents: e16d783
Author: mamsellem <ma...@systar.com>
Authored: Mon Oct 14 00:32:31 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Mon Oct 14 00:32:31 2013 +0200

----------------------------------------------------------------------
 .../spark/src/spark/components/GridColumnHeaderGroup.as        | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3aef3953/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as b/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
index 43d5951..bd62162 100644
--- a/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
+++ b/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
@@ -1064,8 +1064,10 @@ public class GridColumnHeaderGroup extends Group implements IDataGridElement
     {
         const eventHeaderCP:CellPosition = new CellPosition();
         const eventHeaderXY:Point = new Point();
-        if (!eventToHeaderLocations(event, eventHeaderCP, eventHeaderXY))
-            return;
+         // mouse can be released outside of header , so don't check    cf.    https://issues.apache.org/jira/browse/FLEX-33818
+          if (event.type != MouseEvent.MOUSE_UP &&  !eventToHeaderLocations(event, eventHeaderCP, eventHeaderXY))
+                return;
+
 
         const eventSeparatorIndex:int = eventHeaderCP.rowIndex;
         const eventColumnIndex:int = (eventSeparatorIndex == -1) ? eventHeaderCP.columnIndex : -1;


[11/50] git commit: [flex-sdk] [refs/heads/master] - Revert "MXMLC then saw these as ambiguous, but Falcon didn't?"

Posted by jm...@apache.org.
Revert "MXMLC then saw these as ambiguous, but Falcon didn't?"

This reverts commit 07d30c0a8613e0cc37c9ae194090365ca837d566.

We don't need this change or the change before.  Falcon needs a different set of default imports.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/e8a1d842
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/e8a1d842
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/e8a1d842

Branch: refs/heads/master
Commit: e8a1d8422f92c9145bc604cdf01bbb2ad4ecdfee
Parents: 5d2dc3f
Author: Alex Harui <ah...@apache.org>
Authored: Tue Sep 3 12:45:05 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:18:36 2013 -0700

----------------------------------------------------------------------
 .../basicTests/graphics/scripts/GraphicsTagsTestScript.mxml    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e8a1d842/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
----------------------------------------------------------------------
diff --git a/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml b/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
index c9943b5..b64bf68 100644
--- a/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
+++ b/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
@@ -72,11 +72,11 @@
             public var stroke10Alpha:SolidColorStroke = new SolidColorStroke(0x000000, 10, 0.4);
 
             [Bindable]
-            public var bevelFilter:spark.filters.BevelFilter = new spark.filters.BevelFilter();
+            public var bevelFilter:BevelFilter = new BevelFilter();
             [Bindable]
-            public var blurFilter:spark.filters.BlurFilter = new spark.filters.BlurFilter();
+            public var blurFilter:BlurFilter = new BlurFilter();
             [Bindable]
-            public var dropShadowFilter:spark.filters.DropShadowFilter = new spark.filters.DropShadowFilter(0xFF00FF);
+            public var dropShadowFilter:DropShadowFilter = new DropShadowFilter(0xFF00FF);
 
             [Bindable]
             public var linearGrad:LinearGradient = new LinearGradient();


[08/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-33052: fix chart initStyles() methods in modules and subapps when some styles are in parent app

Posted by jm...@apache.org.
FLEX-33052: fix chart initStyles() methods in modules and subapps when some styles are in parent app


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/7a6be43c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/7a6be43c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/7a6be43c

Branch: refs/heads/master
Commit: 7a6be43c7dfd8a66300312dc5b65a997202bceb9
Parents: 00f5c28
Author: Alex Harui <ah...@apache.org>
Authored: Sun Sep 1 22:21:31 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:18:34 2013 -0700

----------------------------------------------------------------------
 .../projects/charts/src/mx/charts/AreaChart.as  | 19 +++--
 .../charts/src/mx/charts/AxisRenderer.as        | 73 +++++++++++-------
 .../projects/charts/src/mx/charts/BarChart.as   | 17 +++--
 .../charts/src/mx/charts/BubbleChart.as         | 19 +++--
 .../charts/src/mx/charts/CandlestickChart.as    | 63 ++++++++--------
 .../charts/src/mx/charts/ColumnChart.as         | 18 +++--
 .../projects/charts/src/mx/charts/GridLines.as  | 24 +++---
 .../projects/charts/src/mx/charts/HLOCChart.as  | 70 +++++++++---------
 .../projects/charts/src/mx/charts/LineChart.as  | 60 +++++++--------
 .../projects/charts/src/mx/charts/PieChart.as   | 10 ++-
 .../projects/charts/src/mx/charts/PlotChart.as  | 78 ++++++++++----------
 .../mx/charts/chartClasses/CartesianChart.as    |  7 +-
 .../src/mx/charts/chartClasses/ChartBase.as     | 15 ++--
 .../src/mx/charts/chartClasses/PolarChart.as    | 12 +--
 .../charts/src/mx/charts/series/AreaSeries.as   | 24 +++---
 .../charts/src/mx/charts/series/BarSeries.as    | 15 ++--
 .../charts/src/mx/charts/series/BubbleSeries.as | 13 ++--
 .../src/mx/charts/series/CandlestickSeries.as   | 17 +++--
 .../charts/src/mx/charts/series/ColumnSeries.as | 14 ++--
 .../charts/src/mx/charts/series/HLOCSeries.as   | 14 ++--
 .../charts/src/mx/charts/series/LineSeries.as   | 16 ++--
 .../charts/src/mx/charts/series/PieSeries.as    | 16 ++--
 .../charts/src/mx/charts/series/PlotSeries.as   | 14 ++--
 .../charts/src/mx/charts/styles/HaloDefaults.as | 24 ++++++
 24 files changed, 378 insertions(+), 274 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/AreaChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/AreaChart.as b/frameworks/projects/charts/src/mx/charts/AreaChart.as
index 421ea95..d6427f0 100644
--- a/frameworks/projects/charts/src/mx/charts/AreaChart.as
+++ b/frameworks/projects/charts/src/mx/charts/AreaChart.as
@@ -206,7 +206,7 @@ public class AreaChart extends CartesianChart
     //
     //--------------------------------------------------------------------------
     
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
@@ -237,13 +237,16 @@ public class AreaChart extends CartesianChart
             f(o, null, HaloDefaults.defaultFills[i]);
         }
 		
-		var areaChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.AreaChart");
-		areaChartStyle.setStyle("chartSeriesStyles", areaChartSeriesStyles);
-		areaChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		areaChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
-		areaChartStyle.setStyle("horizontalAxisStyleNames", ["hangingCategoryAxis"]);
-		areaChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
-        
+		var areaChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.AreaChart");
+		if (areaChartStyle)
+		{
+			areaChartStyle.setStyle("chartSeriesStyles", areaChartSeriesStyles);
+			areaChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			areaChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+			areaChartStyle.setStyle("horizontalAxisStyleNames", ["hangingCategoryAxis"]);
+			areaChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
+		}
+		
         return true;
     }
     

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/AxisRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/AxisRenderer.as b/frameworks/projects/charts/src/mx/charts/AxisRenderer.as
index 1f67d4f..5274aee 100644
--- a/frameworks/projects/charts/src/mx/charts/AxisRenderer.as
+++ b/frameworks/projects/charts/src/mx/charts/AxisRenderer.as
@@ -1100,44 +1100,65 @@ public class AxisRenderer extends DualStyleObject implements IAxisRenderer
     //  Overridden methods: UIComponent
     //
     //--------------------------------------------------------------------------
-
+	
 	/**
 	 *  @private
 	 */
 	private function initStyles():Boolean
 	{
 		HaloDefaults.init(styleManager);
-		var axisRenderer:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.AxisRenderer");
-		axisRenderer.setStyle("axisStroke", new SolidColorStroke(0, 0, 1));
-		axisRenderer.setStyle("tickStroke", new SolidColorStroke(0, 0, 1));
-		axisRenderer.setStyle("minorTickStroke", new SolidColorStroke(0, 0, 1));
+		var axisRenderer:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.AxisRenderer");
+		if (axisRenderer)
+		{
+			axisRenderer.setStyle("axisStroke", new SolidColorStroke(0, 0, 1));
+			axisRenderer.setStyle("tickStroke", new SolidColorStroke(0, 0, 1));
+			axisRenderer.setStyle("minorTickStroke", new SolidColorStroke(0, 0, 1));
+		}
 		
-		var blockCategoryAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".blockCategoryAxis");
-		blockCategoryAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 8, 1, false, "normal", "none"));
-		blockCategoryAxis.setStyle("tickStroke", new SolidColorStroke(0xFFFFFF, 2, 1, false, "normal", "none"));
+		var blockCategoryAxis:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, ".blockCategoryAxis");
+		if (blockCategoryAxis)
+		{
+			blockCategoryAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 8, 1, false, "normal", "none"));
+			blockCategoryAxis.setStyle("tickStroke", new SolidColorStroke(0xFFFFFF, 2, 1, false, "normal", "none"));
+		}
 		
-		var blockNumericAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".blockNumericAxis");
-		blockNumericAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 8, 1, false, "normal", "none"));
-		blockNumericAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
-		blockNumericAxis.setStyle("minorTickStroke", new SolidColorStroke(0xFFFFFF, 1, 1, false, "normal", "none"));
+		var blockNumericAxis:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, ".blockNumericAxis");
+		if (blockNumericAxis)
+		{
+			blockNumericAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 8, 1, false, "normal", "none"));
+			blockNumericAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
+			blockNumericAxis.setStyle("minorTickStroke", new SolidColorStroke(0xFFFFFF, 1, 1, false, "normal", "none"));
+		}
 		
-		var lineNumericAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".linedNumericAxis");
-		lineNumericAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));
-		lineNumericAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
-		lineNumericAxis.setStyle("minorTickStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));
+		var lineNumericAxis:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, ".linedNumericAxis");
+		if (lineNumericAxis)
+		{
+			lineNumericAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));
+			lineNumericAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
+			lineNumericAxis.setStyle("minorTickStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));
+		}
 		
-		var dashedNumericAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".dashedNumericAxis");
-		dashedNumericAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
-		dashedNumericAxis.setStyle("minorTickStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));
+		var dashedNumericAxis:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, ".dashedNumericAxis");
+		if (dashedNumericAxis)
+		{
+			dashedNumericAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
+			dashedNumericAxis.setStyle("minorTickStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));
+		}
 		
-		var dashedCategoryAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".dashedCategoryAxis");
-		dashedCategoryAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
-		dashedCategoryAxis.setStyle("tickStroke", new SolidColorStroke(0xFFFFFF, 2, 1, false, "normal", "none"));
+		var dashedCategoryAxis:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, ".dashedCategoryAxis");
+		if (dashedCategoryAxis)
+		{
+			dashedCategoryAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
+			dashedCategoryAxis.setStyle("tickStroke", new SolidColorStroke(0xFFFFFF, 2, 1, false, "normal", "none"));
+		}
 		
-		var hangingCategoryAxis:CSSStyleDeclaration = styleManager.getStyleDeclaration(".hangingCategoryAxis");
-		hangingCategoryAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
-		hangingCategoryAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));
-		hangingCategoryAxis.setStyle("minorTickStroke", new SolidColorStroke(0,0,0));
+		var hangingCategoryAxis:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, ".hangingCategoryAxis");
+		if (hangingCategoryAxis)
+		{
+			hangingCategoryAxis.setStyle("axisStroke", new SolidColorStroke(0xBBCCDD, 1, 1,false, "normal", "none"));
+			hangingCategoryAxis.setStyle("tickStroke", new SolidColorStroke(0xBBCCDD, 1, 1, false, "normal", "none"));
+			hangingCategoryAxis.setStyle("minorTickStroke", new SolidColorStroke(0,0,0));
+		}
 		return true;
 	}
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/BarChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/BarChart.as b/frameworks/projects/charts/src/mx/charts/BarChart.as
index f4a7ba1..06e298d 100644
--- a/frameworks/projects/charts/src/mx/charts/BarChart.as
+++ b/frameworks/projects/charts/src/mx/charts/BarChart.as
@@ -316,19 +316,22 @@ public class BarChart extends CartesianChart
     //
     //--------------------------------------------------------------------------
     
-    
     /**
      *  @private
      */
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
-		var barChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.BarChart");
-		barChartStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
-		barChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		barChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
-		barChartStyle.setStyle("horizontalAxisStyleNames", ["blockNumericAxis"]);
-		barChartStyle.setStyle("verticalAxisStyleNames", ["blockCategoryAxis"]);
+		var barChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.BarChart");
+		if (barChartStyle)
+		{
+			barChartStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
+			barChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			barChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+			barChartStyle.setStyle("horizontalAxisStyleNames", ["blockNumericAxis"]);
+			barChartStyle.setStyle("verticalAxisStyleNames", ["blockCategoryAxis"]);
+		}
+		
         return true;
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/BubbleChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/BubbleChart.as b/frameworks/projects/charts/src/mx/charts/BubbleChart.as
index bbb606a..311c676 100644
--- a/frameworks/projects/charts/src/mx/charts/BubbleChart.as
+++ b/frameworks/projects/charts/src/mx/charts/BubbleChart.as
@@ -214,20 +214,23 @@ public class BubbleChart extends CartesianChart
     //
     //--------------------------------------------------------------------------
 
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
 		
-		var bubbleChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.BubbleChart");
-		bubbleChartStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
-		bubbleChartStyle.setStyle("dataTipCalloutStroke", new SolidColorStroke(2,0));
-		bubbleChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		bubbleChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
-		bubbleChartStyle.setStyle("horizontalAxisStyleNames", ["blockNumericAxis"]);
-		bubbleChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
+		var bubbleChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.BubbleChart");
+		if (bubbleChartStyle)
+		{
+			bubbleChartStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
+			bubbleChartStyle.setStyle("dataTipCalloutStroke", new SolidColorStroke(2,0));
+			bubbleChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			bubbleChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+			bubbleChartStyle.setStyle("horizontalAxisStyleNames", ["blockNumericAxis"]);
+			bubbleChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
+		}
 		
         return true;
     }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/CandlestickChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/CandlestickChart.as b/frameworks/projects/charts/src/mx/charts/CandlestickChart.as
index 1af209b..63071ff 100644
--- a/frameworks/projects/charts/src/mx/charts/CandlestickChart.as
+++ b/frameworks/projects/charts/src/mx/charts/CandlestickChart.as
@@ -198,7 +198,7 @@ public class CandlestickChart extends CartesianChart
     //
     //--------------------------------------------------------------------------
 
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
@@ -206,36 +206,39 @@ public class CandlestickChart extends CartesianChart
         HaloDefaults.init(styleManager);
 		
 		var candlestickChartSeriesStyles:Array /* of Object */ = [];
-		var csChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.CandlestickChart");
-		csChartStyle.setStyle("chartSeriesStyles", candlestickChartSeriesStyles);
-		csChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		csChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
-		csChartStyle.setStyle("horizontalAxisStyleNames", ["blockCategoryAxis"]);
-		csChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
+		var csChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.CandlestickChart");
+		if (csChartStyle)
+		{
+			csChartStyle.setStyle("chartSeriesStyles", candlestickChartSeriesStyles);
+			csChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			csChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+			csChartStyle.setStyle("horizontalAxisStyleNames", ["blockCategoryAxis"]);
+			csChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
+				
+	        var n:int = HaloDefaults.defaultColors.length;
+	        for (var i:int = 0; i < n; i++)
+	        {
+	            var styleName:String = "haloCandlestickSeries" + i;
+	            candlestickChartSeriesStyles[i] = styleName;
+	            
+	            var o:CSSStyleDeclaration =
+	                HaloDefaults.createSelector("." + styleName, styleManager);
+	            
+	            var f:Function = function(o:CSSStyleDeclaration, boxStroke:Stroke,
+	                                      declineFill:IFill):void
+	            {
+	                o.defaultFactory = function():void
+	                {
+	                    this.boxStroke = boxStroke;
+	                    this.declineFill = declineFill;
+	                }
+	            }
+	            
+	            f(o, new Stroke(HaloDefaults.defaultColors[i], 0, 1),
+	                new SolidColor(HaloDefaults.defaultColors[i]));
+	        }
+		}
 		
-        var n:int = HaloDefaults.defaultColors.length;
-        for (var i:int = 0; i < n; i++)
-        {
-            var styleName:String = "haloCandlestickSeries" + i;
-            candlestickChartSeriesStyles[i] = styleName;
-            
-            var o:CSSStyleDeclaration =
-                HaloDefaults.createSelector("." + styleName, styleManager);
-            
-            var f:Function = function(o:CSSStyleDeclaration, boxStroke:Stroke,
-                                      declineFill:IFill):void
-            {
-                o.defaultFactory = function():void
-                {
-                    this.boxStroke = boxStroke;
-                    this.declineFill = declineFill;
-                }
-            }
-            
-            f(o, new Stroke(HaloDefaults.defaultColors[i], 0, 1),
-                new SolidColor(HaloDefaults.defaultColors[i]));
-        }
-        
         return true;
     }
     

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/ColumnChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/ColumnChart.as b/frameworks/projects/charts/src/mx/charts/ColumnChart.as
index 816fbe0..a135517 100644
--- a/frameworks/projects/charts/src/mx/charts/ColumnChart.as
+++ b/frameworks/projects/charts/src/mx/charts/ColumnChart.as
@@ -425,20 +425,22 @@ public class ColumnChart extends CartesianChart
     //
     //--------------------------------------------------------------------------
     
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
 		
-		var columnChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.ColumnChart");
-		columnChartStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
-		columnChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		columnChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
-		columnChartStyle.setStyle("horizontalAxisStyleNames", ["blockCategoryAxis"]);
-		columnChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
-		
+		var columnChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.ColumnChart");
+		if (columnChartStyle)
+		{
+			columnChartStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
+			columnChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			columnChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+			columnChartStyle.setStyle("horizontalAxisStyleNames", ["blockCategoryAxis"]);
+			columnChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
+		}		
         return true;
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/GridLines.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/GridLines.as b/frameworks/projects/charts/src/mx/charts/GridLines.as
index 341c926..f9b757f 100644
--- a/frameworks/projects/charts/src/mx/charts/GridLines.as
+++ b/frameworks/projects/charts/src/mx/charts/GridLines.as
@@ -355,15 +355,21 @@ public class GridLines extends ChartElement
 	{
 		HaloDefaults.init(styleManager);
 		
-		var gridLinesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.GridLines");
-		gridLinesStyle.setStyle("horizontalOriginStroke", new SolidColorStroke(0xB0C1D0, 1));
-		gridLinesStyle.setStyle("horizontalStroke", new SolidColorStroke(0xEEEEEE, 0));
-		gridLinesStyle.setStyle("verticalOriginStroke", new SolidColorStroke(0xB0C1D0, 1));
-		gridLinesStyle.setStyle("verticalStroke", new SolidColorStroke(0xEEEEEE, 0));
-		
-		var hgridLinesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration(".horizontalGridLines");
-		hgridLinesStyle.setStyle("horizontalFill", null);
-		hgridLinesStyle.setStyle("verticalFill", null);
+		var gridLinesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.GridLines");
+		if (gridLinesStyle)
+		{
+			gridLinesStyle.setStyle("horizontalOriginStroke", new SolidColorStroke(0xB0C1D0, 1));
+			gridLinesStyle.setStyle("horizontalStroke", new SolidColorStroke(0xEEEEEE, 0));
+			gridLinesStyle.setStyle("verticalOriginStroke", new SolidColorStroke(0xB0C1D0, 1));
+			gridLinesStyle.setStyle("verticalStroke", new SolidColorStroke(0xEEEEEE, 0));
+		}
+			
+		var hgridLinesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, ".horizontalGridLines");
+		if (hgridLinesStyle)
+		{
+			hgridLinesStyle.setStyle("horizontalFill", null);
+			hgridLinesStyle.setStyle("verticalFill", null);
+		}
 		return true;
 	}
 	

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/HLOCChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/HLOCChart.as b/frameworks/projects/charts/src/mx/charts/HLOCChart.as
index 91b7a27..8c72787 100644
--- a/frameworks/projects/charts/src/mx/charts/HLOCChart.as
+++ b/frameworks/projects/charts/src/mx/charts/HLOCChart.as
@@ -194,7 +194,7 @@ public class HLOCChart extends CartesianChart
     //
     //--------------------------------------------------------------------------
     
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
@@ -203,39 +203,41 @@ public class HLOCChart extends CartesianChart
         
         var hlocChartSeriesStyles:Array /* of Object */ = [];
 		
-		var hlocChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.HLOCChart");
-		hlocChartStyle.setStyle("chartSeriesStyles", hlocChartSeriesStyles);
-		hlocChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		hlocChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
-		hlocChartStyle.setStyle("horizontalAxisStyleNames", ["blockCategoryAxis"]);
-		hlocChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
-		
-        var n:int = HaloDefaults.defaultColors.length;
-        for (var i:int = 0; i < n; i++)
-        {
-            var styleName:String = "haloHLOCSeries"+i;
-            hlocChartSeriesStyles[i] = styleName;
-            
-            var o:CSSStyleDeclaration =
-                HaloDefaults.createSelector("." + styleName, styleManager);
-            
-            var f:Function = function(o:CSSStyleDeclaration, stroke:Stroke,
-                                      tickStroke:Stroke):void
-            {
-                o.defaultFactory = function():void
-                {
-                    this.closeTickStroke = tickStroke;
-                    this.openTickStroke = tickStroke;
-                    this.stroke = stroke;
-                    this.hlocColor = stroke.color;
-                }
-            }
-            
-            f(o, new Stroke(HaloDefaults.defaultColors[i], 0, 1),
-                new Stroke(HaloDefaults.defaultColors[i], 2, 1,
-                    false, "normal", "none"));
-        }
-        
+		var hlocChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.HLOCChart");
+		if (hlocChartStyle)
+		{
+			hlocChartStyle.setStyle("chartSeriesStyles", hlocChartSeriesStyles);
+			hlocChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			hlocChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+			hlocChartStyle.setStyle("horizontalAxisStyleNames", ["blockCategoryAxis"]);
+			hlocChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
+			
+	        var n:int = HaloDefaults.defaultColors.length;
+	        for (var i:int = 0; i < n; i++)
+	        {
+	            var styleName:String = "haloHLOCSeries"+i;
+	            hlocChartSeriesStyles[i] = styleName;
+	            
+	            var o:CSSStyleDeclaration =
+	                HaloDefaults.createSelector("." + styleName, styleManager);
+	            
+	            var f:Function = function(o:CSSStyleDeclaration, stroke:Stroke,
+	                                      tickStroke:Stroke):void
+	            {
+	                o.defaultFactory = function():void
+	                {
+	                    this.closeTickStroke = tickStroke;
+	                    this.openTickStroke = tickStroke;
+	                    this.stroke = stroke;
+	                    this.hlocColor = stroke.color;
+	                }
+	            }
+	            
+	            f(o, new Stroke(HaloDefaults.defaultColors[i], 0, 1),
+	                new Stroke(HaloDefaults.defaultColors[i], 2, 1,
+	                    false, "normal", "none"));
+	        }
+		}        
         return true;
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/LineChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/LineChart.as b/frameworks/projects/charts/src/mx/charts/LineChart.as
index 0b9ade8..79dea55 100644
--- a/frameworks/projects/charts/src/mx/charts/LineChart.as
+++ b/frameworks/projects/charts/src/mx/charts/LineChart.as
@@ -155,35 +155,37 @@ public class LineChart extends CartesianChart
         
         var lineChartSeriesStyles:Array /* of Object */ = [];
 		
-		var lineChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.LineChart");
-		lineChartStyle.setStyle("chartSeriesStyles", lineChartSeriesStyles);
-		lineChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		lineChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
-		lineChartStyle.setStyle("horizontalAxisStyleNames", ["hangingCategoryAxis"]);
-		lineChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
-        
-        var n:int = HaloDefaults.defaultColors.length;
-        for (var i:int = 0; i < n; i++)
-        {
-            var styleName:String = "haloLineSeries" + i;
-            lineChartSeriesStyles[i] = styleName;
-            
-            var o:CSSStyleDeclaration =
-                HaloDefaults.createSelector("." + styleName, styleManager);
-            
-            var f:Function = function(o:CSSStyleDeclaration, stroke:Stroke):void
-            {
-                o.defaultFactory = function():void
-                {
-                    this.lineStroke = stroke;
-                    this.stroke = stroke;
-                    this.lineSegmentRenderer = new ClassFactory(LineRenderer);
-                }
-            }
-            
-            f(o, new Stroke(HaloDefaults.defaultColors[i], 3, 1));
-        }
-        
+		var lineChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.LineChart");
+		if (lineChartStyle)
+		{
+			lineChartStyle.setStyle("chartSeriesStyles", lineChartSeriesStyles);
+			lineChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			lineChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+			lineChartStyle.setStyle("horizontalAxisStyleNames", ["hangingCategoryAxis"]);
+			lineChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
+	        
+	        var n:int = HaloDefaults.defaultColors.length;
+	        for (var i:int = 0; i < n; i++)
+	        {
+	            var styleName:String = "haloLineSeries" + i;
+	            lineChartSeriesStyles[i] = styleName;
+	            
+	            var o:CSSStyleDeclaration =
+	                HaloDefaults.createSelector("." + styleName, styleManager);
+	            
+	            var f:Function = function(o:CSSStyleDeclaration, stroke:Stroke):void
+	            {
+	                o.defaultFactory = function():void
+	                {
+	                    this.lineStroke = stroke;
+	                    this.stroke = stroke;
+	                    this.lineSegmentRenderer = new ClassFactory(LineRenderer);
+	                }
+	            }
+	            
+	            f(o, new Stroke(HaloDefaults.defaultColors[i], 3, 1));
+	        }
+		}        
         return true;
     }
     

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/PieChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/PieChart.as b/frameworks/projects/charts/src/mx/charts/PieChart.as
index 41c5c9d..b1d6694 100644
--- a/frameworks/projects/charts/src/mx/charts/PieChart.as
+++ b/frameworks/projects/charts/src/mx/charts/PieChart.as
@@ -192,10 +192,12 @@ public class PieChart extends PolarChart
     {
         HaloDefaults.init(styleManager);
 		
-		var pieChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.PieChart");
-		pieChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		pieChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
-		
+		var pieChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.PieChart");
+		if (pieChartStyle)
+		{
+			pieChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			pieChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+		}		
         return true;
     }
     

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/PlotChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/PlotChart.as b/frameworks/projects/charts/src/mx/charts/PlotChart.as
index f872900..4e2bdd6 100644
--- a/frameworks/projects/charts/src/mx/charts/PlotChart.as
+++ b/frameworks/projects/charts/src/mx/charts/PlotChart.as
@@ -119,7 +119,7 @@ public class PlotChart extends CartesianChart
     //
     //--------------------------------------------------------------------------
     
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
@@ -128,43 +128,45 @@ public class PlotChart extends CartesianChart
         
         var plotChartSeriesStyles:Array /* of Object */ = [];
         
-		var plotChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.PlotChart");
-		plotChartStyle.setStyle("chartSeriesStyles", plotChartSeriesStyles);
-		plotChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		plotChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
-		plotChartStyle.setStyle("horizontalAxisStyleNames", ["blockNumericAxis"]);
-		plotChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
-		
-        var defaultSkins:Array /* of IFactory */ = [ new ClassFactory(DiamondItemRenderer),
-            new ClassFactory(CircleItemRenderer),
-            new ClassFactory(BoxItemRenderer) ];
-        var defaultSizes:Array /* of Number */ = [ 5, 3.5, 3.5 ];
-        
-        var n:int = HaloDefaults.defaultFills.length;
-        for (var i:int = 0; i < n; i++)
-        {
-            var styleName:String = "haloPlotSeries"+i;
-            plotChartSeriesStyles[i] = styleName;
-            
-            var o:CSSStyleDeclaration =
-                HaloDefaults.createSelector("." + styleName, styleManager);
-            
-            var f:Function = function(o:CSSStyleDeclaration, skin:IFactory,
-                                      fill:IFill, radius:Number):void
-            {
-                o.defaultFactory = function():void
-                {
-                    this.fill = fill;
-                    this.itemRenderer = skin;
-                    this.radius = radius
-                }
-            }
-            
-            f(o, defaultSkins[i % defaultSkins.length],
-                HaloDefaults.defaultFills[i],
-                defaultSizes[i % defaultSizes.length]);
-        }
-        
+		var plotChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.PlotChart");
+		if (plotChartStyle)
+		{
+			plotChartStyle.setStyle("chartSeriesStyles", plotChartSeriesStyles);
+			plotChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			plotChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+			plotChartStyle.setStyle("horizontalAxisStyleNames", ["blockNumericAxis"]);
+			plotChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
+			
+	        var defaultSkins:Array /* of IFactory */ = [ new ClassFactory(DiamondItemRenderer),
+	            new ClassFactory(CircleItemRenderer),
+	            new ClassFactory(BoxItemRenderer) ];
+	        var defaultSizes:Array /* of Number */ = [ 5, 3.5, 3.5 ];
+	        
+	        var n:int = HaloDefaults.defaultFills.length;
+	        for (var i:int = 0; i < n; i++)
+	        {
+	            var styleName:String = "haloPlotSeries"+i;
+	            plotChartSeriesStyles[i] = styleName;
+	            
+	            var o:CSSStyleDeclaration =
+	                HaloDefaults.createSelector("." + styleName, styleManager);
+	            
+	            var f:Function = function(o:CSSStyleDeclaration, skin:IFactory,
+	                                      fill:IFill, radius:Number):void
+	            {
+	                o.defaultFactory = function():void
+	                {
+	                    this.fill = fill;
+	                    this.itemRenderer = skin;
+	                    this.radius = radius
+	                }
+	            }
+	            
+	            f(o, defaultSkins[i % defaultSkins.length],
+	                HaloDefaults.defaultFills[i],
+	                defaultSizes[i % defaultSizes.length]);
+	        }
+		}        
        return true;
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as b/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as
index af9e587..9460f93 100644
--- a/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as
+++ b/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as
@@ -787,19 +787,22 @@ public class CartesianChart extends ChartBase
         invalidateProperties();
     }
     
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
 		
-		var cartesianChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.chartClasses.CartesianChart");
+		var cartesianChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.chartClasses.CartesianChart");
+		if (cartesianChartStyle)
+		{
 		cartesianChartStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
 		cartesianChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
 		cartesianChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
 		cartesianChartStyle.setStyle("horizontalAxisStyleNames", ["blockCategoryAxis"]);
 		cartesianChartStyle.setStyle("verticalAxisStyleNames", ["blockNumericAxis"]);
+		}
 		
         return true;
     }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as b/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as
index d5932ce..f548052 100644
--- a/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as
+++ b/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as
@@ -30,7 +30,7 @@ import flash.events.KeyboardEvent;
 import flash.events.MouseEvent;
 import flash.geom.Point;
 import flash.geom.Rectangle;
-import flash.utils.*;
+import flash.utils.Dictionary;
 
 import mx.charts.ChartItem;
 import mx.charts.HitData;
@@ -1859,17 +1859,20 @@ public class ChartBase extends UIComponent implements IFocusManagerComponent
                                priority, useWeakReference);
     }
     
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
 		
-		var chartBaseStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.chartClasses.ChartBase");
-		chartBaseStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
-		chartBaseStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		chartBaseStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+		var chartBaseStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.chartClasses.ChartBase");
+		if (chartBaseStyle)
+		{
+			chartBaseStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
+			chartBaseStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			chartBaseStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+		}
 		
         return true;
     }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as b/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as
index df60f38..1319439 100644
--- a/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as
+++ b/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as
@@ -205,17 +205,19 @@ public class PolarChart extends ChartBase
     //
     //--------------------------------------------------------------------------
 
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
 		
-		var polarChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.chartClasses.PolarChart");
-		polarChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
-		polarChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2))
-		
+		var polarChartStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.chartClasses.PolarChart");
+		if (polarChartStyle)
+		{
+			polarChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+			polarChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2))
+		}		
         return true;
     }
     

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as b/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as
index 6fbc951..1b26975 100644
--- a/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as
@@ -873,12 +873,15 @@ public class AreaSeries extends Series implements IStackable2
 	{
 		HaloDefaults.init(styleManager);
 		
-		var areaSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.AreaSeries");
-		areaSeriesStyle.setStyle("areaRenderer", new ClassFactory(mx.charts.renderers.AreaRenderer));
-		areaSeriesStyle.setStyle("legendMarkerRenderer", new ClassFactory(AreaSeriesLegendMarker));
-		areaSeriesStyle.setStyle("areaFill", new SolidColor(0x000000));
-		areaSeriesStyle.setStyle("fills", []);
-		areaSeriesStyle.setStyle("stroke", HaloDefaults.pointStroke);
+		var areaSeriesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.series.AreaSeries");
+		if (areaSeriesStyle)
+		{
+			areaSeriesStyle.setStyle("areaRenderer", new ClassFactory(mx.charts.renderers.AreaRenderer));
+			areaSeriesStyle.setStyle("legendMarkerRenderer", new ClassFactory(AreaSeriesLegendMarker));
+			areaSeriesStyle.setStyle("areaFill", new SolidColor(0x000000));
+			areaSeriesStyle.setStyle("fills", []);
+			areaSeriesStyle.setStyle("stroke", HaloDefaults.pointStroke);
+		}
 		
 		return true;
 	}
@@ -2145,13 +2148,14 @@ public class AreaSeries extends Series implements IStackable2
 
 
 import flash.display.Graphics;
-import mx.charts.series.AreaSeries;
-import mx.graphics.IStroke;
-import mx.graphics.IFill;
-import mx.graphics.Stroke;
 import flash.geom.Rectangle;
+
 import mx.charts.chartClasses.GraphicsUtilities;
+import mx.charts.series.AreaSeries;
+import mx.graphics.IFill;
+import mx.graphics.IStroke;
 import mx.graphics.LinearGradientStroke;
+import mx.graphics.Stroke;
 import mx.skins.ProgrammaticSkin;
 
 /**

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/series/BarSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/BarSeries.as b/frameworks/projects/charts/src/mx/charts/series/BarSeries.as
index a19b40b..864e37e 100644
--- a/frameworks/projects/charts/src/mx/charts/series/BarSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/BarSeries.as
@@ -1055,18 +1055,21 @@ public class BarSeries extends Series implements IStackable2, IBar
     //
     //--------------------------------------------------------------------------
     
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
 		
-		var barSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.BarSeries");
-		barSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.BoxItemRenderer));
-		barSeriesStyle.setStyle("fill", new SolidColor(0x000000));
-		barSeriesStyle.setStyle("fills", []);
-		barSeriesStyle.setStyle("stroke", HaloDefaults.emptyStroke);
+		var barSeriesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.series.BarSeries");
+		if (barSeriesStyle)
+		{
+			barSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.BoxItemRenderer));
+			barSeriesStyle.setStyle("fill", new SolidColor(0x000000));
+			barSeriesStyle.setStyle("fills", []);
+			barSeriesStyle.setStyle("stroke", HaloDefaults.emptyStroke);
+		}
 		
         return true;
     }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as b/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as
index c84bece..57bfcfb 100644
--- a/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as
@@ -703,11 +703,14 @@ public class BubbleSeries extends Series
 	{
 		HaloDefaults.init(styleManager);
 		
-		var bubbleSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.BubbleSeries");
-		bubbleSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.CircleItemRenderer));
-		bubbleSeriesStyle.setStyle("fill", new SolidColor(0x444444));
-		bubbleSeriesStyle.setStyle("fills", []);
-		bubbleSeriesStyle.setStyle("stroke", new SolidColorStroke(0,1,0.2));
+		var bubbleSeriesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.series.BubbleSeries");
+		if (bubbleSeriesStyle)
+		{
+			bubbleSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.CircleItemRenderer));
+			bubbleSeriesStyle.setStyle("fill", new SolidColor(0x444444));
+			bubbleSeriesStyle.setStyle("fills", []);
+			bubbleSeriesStyle.setStyle("stroke", new SolidColorStroke(0,1,0.2));
+		}
 		
 		return true;
 	}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as b/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as
index 8d1f13b..32959fb 100644
--- a/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as
@@ -288,13 +288,16 @@ public class CandlestickSeries extends HLOCSeriesBase
     {
         HaloDefaults.init(styleManager);
 		
-		var csSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.CandlestickSeries");
-		csSeriesStyle.setStyle("boxStroke", new SolidColorStroke(0,0));
-		csSeriesStyle.setStyle("declineFill", new SolidColor(0));
-		csSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.CandlestickItemRenderer));
-		csSeriesStyle.setStyle("fill", new SolidColor(0xFFFFFF));
-		csSeriesStyle.setStyle("fills", []);
-		csSeriesStyle.setStyle("stroke", new SolidColorStroke(0,0));
+		var csSeriesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.series.CandlestickSeries");
+		if (csSeriesStyle)
+		{
+			csSeriesStyle.setStyle("boxStroke", new SolidColorStroke(0,0));
+			csSeriesStyle.setStyle("declineFill", new SolidColor(0));
+			csSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.CandlestickItemRenderer));
+			csSeriesStyle.setStyle("fill", new SolidColor(0xFFFFFF));
+			csSeriesStyle.setStyle("fills", []);
+			csSeriesStyle.setStyle("stroke", new SolidColorStroke(0,0));
+		}
 		
         return true;
     }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as b/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as
index fd37e69..bf81896 100644
--- a/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as
@@ -1050,12 +1050,14 @@ public class ColumnSeries extends Series implements IColumn,IStackable2
     {
         HaloDefaults.init(styleManager);
 		
-		var columnSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.ColumnSeries");
-		columnSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.BoxItemRenderer));
-		columnSeriesStyle.setStyle("fill", new SolidColor(0x000000));
-		columnSeriesStyle.setStyle("fills", []);
-		columnSeriesStyle.setStyle("stroke", HaloDefaults.emptyStroke);
-		
+		var columnSeriesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.series.ColumnSeries");
+		if (columnSeriesStyle)
+		{
+			columnSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.BoxItemRenderer));
+			columnSeriesStyle.setStyle("fill", new SolidColor(0x000000));
+			columnSeriesStyle.setStyle("fills", []);
+			columnSeriesStyle.setStyle("stroke", HaloDefaults.emptyStroke);
+		}		
         return true;
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as b/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as
index 31804d2..93a5739 100644
--- a/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as
@@ -186,7 +186,6 @@ public class HLOCSeries extends HLOCSeriesBase
 	//
 	//--------------------------------------------------------------------------
 	
-	
 	/**
 	 *  @private
 	 */
@@ -194,11 +193,14 @@ public class HLOCSeries extends HLOCSeriesBase
 	{
 		HaloDefaults.init(styleManager);
 		
-		var hlocSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.HLOCSeries");
-		hlocSeriesStyle.setStyle("closeTickStroke", new SolidColorStroke(0, 3, 1, false, "normal", "none"));
-		hlocSeriesStyle.setStyle("openTickStroke", new SolidColorStroke(0, 3, 1, false, "normal", "none"));
-		hlocSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.HLOCItemRenderer));
-		hlocSeriesStyle.setStyle("stroke", new SolidColorStroke(0,0));
+		var hlocSeriesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.series.HLOCSeries");
+		if (hlocSeriesStyle)
+		{
+			hlocSeriesStyle.setStyle("closeTickStroke", new SolidColorStroke(0, 3, 1, false, "normal", "none"));
+			hlocSeriesStyle.setStyle("openTickStroke", new SolidColorStroke(0, 3, 1, false, "normal", "none"));
+			hlocSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.HLOCItemRenderer));
+			hlocSeriesStyle.setStyle("stroke", new SolidColorStroke(0,0));
+		}
 		
 		return true;
 	}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/series/LineSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/LineSeries.as b/frameworks/projects/charts/src/mx/charts/series/LineSeries.as
index f68b5b2..08c97c4 100644
--- a/frameworks/projects/charts/src/mx/charts/series/LineSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/LineSeries.as
@@ -880,19 +880,21 @@ public class LineSeries extends Series
     //
     //--------------------------------------------------------------------------
 
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
 		
-		var lineSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.LineSeries");
-		lineSeriesStyle.setStyle("lineSegmentRenderer", new ClassFactory(LineRenderer));
-		lineSeriesStyle.setStyle("fill", new SolidColor(0xFFFFFF));
-		lineSeriesStyle.setStyle("fills", []);
-		lineSeriesStyle.setStyle("lineStroke", new SolidColorStroke(0,3));
-		
+		var lineSeriesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.series.LineSeries");
+		if (lineSeriesStyle)
+		{
+			lineSeriesStyle.setStyle("lineSegmentRenderer", new ClassFactory(LineRenderer));
+			lineSeriesStyle.setStyle("fill", new SolidColor(0xFFFFFF));
+			lineSeriesStyle.setStyle("fills", []);
+			lineSeriesStyle.setStyle("lineStroke", new SolidColorStroke(0,3));
+		}		
         return true;
     }
     

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/series/PieSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/PieSeries.as b/frameworks/projects/charts/src/mx/charts/series/PieSeries.as
index 30198f7..fb64092 100644
--- a/frameworks/projects/charts/src/mx/charts/series/PieSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/PieSeries.as
@@ -1167,7 +1167,6 @@ public class PieSeries extends Series
     //
     //--------------------------------------------------------------------------
 
-	
 	/**
 	 *  @private
 	 */
@@ -1183,12 +1182,14 @@ public class PieSeries extends Series
 			pieFills[i] = HaloDefaults.defaultFills[i];
 		}
 		
-		var pieSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.PieSeries");
-		pieSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.WedgeItemRenderer));
-		pieSeriesStyle.setStyle("fills", pieFills);
-		pieSeriesStyle.setStyle("legendMarkerRenderer", new ClassFactory(PieSeriesLegendMarker));
-		pieSeriesStyle.setStyle("calloutStroke", new SolidColorStroke(0,0,1));
-		
+		var pieSeriesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.series.PieSeries");
+		if (pieSeriesStyle)
+		{
+			pieSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.WedgeItemRenderer));
+			pieSeriesStyle.setStyle("fills", pieFills);
+			pieSeriesStyle.setStyle("legendMarkerRenderer", new ClassFactory(PieSeriesLegendMarker));
+			pieSeriesStyle.setStyle("calloutStroke", new SolidColorStroke(0,0,1));
+		}		
 		return true;
 	}
 	
@@ -3118,6 +3119,7 @@ public class PieSeries extends Series
 
 import flash.display.Graphics;
 import flash.geom.Rectangle;
+
 import mx.charts.chartClasses.LegendData;
 import mx.core.IDataRenderer;
 import mx.graphics.IFill;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as b/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as
index cec1303..7d1c7bb 100644
--- a/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as
+++ b/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as
@@ -629,18 +629,20 @@ public class PlotSeries extends Series
     //
     //--------------------------------------------------------------------------
 
-    /**
+	/**
      *  @private
      */
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
 		
-		var plotSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.PlotSeries");
-		plotSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.DiamondItemRenderer));
-		plotSeriesStyle.setStyle("fill", new SolidColor(0x4444AA));
-		plotSeriesStyle.setStyle("fills", []);
-		
+		var plotSeriesStyle:CSSStyleDeclaration = HaloDefaults.findStyleDeclaration(styleManager, "mx.charts.series.PlotSeries");
+		if (plotSeriesStyle)
+		{
+			plotSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.DiamondItemRenderer));
+			plotSeriesStyle.setStyle("fill", new SolidColor(0x4444AA));
+			plotSeriesStyle.setStyle("fills", []);
+		}		
         return true;
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7a6be43c/frameworks/projects/charts/src/mx/charts/styles/HaloDefaults.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/charts/src/mx/charts/styles/HaloDefaults.as b/frameworks/projects/charts/src/mx/charts/styles/HaloDefaults.as
index 73d92ad..4fb3e67 100644
--- a/frameworks/projects/charts/src/mx/charts/styles/HaloDefaults.as
+++ b/frameworks/projects/charts/src/mx/charts/styles/HaloDefaults.as
@@ -220,6 +220,30 @@ public class HaloDefaults
 		}
 	
 	}
+	
+	/**
+	 *  Returns the CSSStyleDeclaration by chasing the chain of styleManagers
+	 *  if necessary.
+	 * 
+	 *  @param name The name of the CSSStyleDeclaration
+	 *  @return The CSSStyleDeclaration or null if not found
+	 */
+	public static function findStyleDeclaration(styleManager:IStyleManager2, name:String):CSSStyleDeclaration
+	{
+		var decl:CSSStyleDeclaration = styleManager.getStyleDeclaration(name);
+		if (!decl)
+		{
+			var sm:IStyleManager2 = styleManager;
+			while (sm.parent)
+			{
+				decl = sm.getStyleDeclaration(name);
+				if (decl)
+					break;
+				sm = sm.parent;
+			}
+		}
+		return decl;
+	}
 }
 
 }


[34/50] git commit: [flex-sdk] [refs/heads/master] - FIX https://issues.apache.org/jira/browse/FLEX-33813 (DataGrid goes blank when scrolled and dataProvider is changed ) FIX minor ASDOC wording in CalloutSkin for desktop

Posted by jm...@apache.org.
FIX https://issues.apache.org/jira/browse/FLEX-33813 (DataGrid goes blank when scrolled and dataProvider is changed )
FIX minor ASDOC wording in CalloutSkin for desktop


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/35706c9c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/35706c9c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/35706c9c

Branch: refs/heads/master
Commit: 35706c9c1f0d15961d7fec0f81a9cf3e779538c0
Parents: 0234ed5
Author: mamsellem <ma...@systar.com>
Authored: Mon Oct 14 02:13:41 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Mon Oct 14 02:13:41 2013 +0200

----------------------------------------------------------------------
 .../projects/spark/src/spark/components/Grid.as | 24 ++++++++++++++++----
 .../spark/src/spark/skins/spark/CalloutSkin.as  |  3 +--
 2 files changed, 21 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/35706c9c/frameworks/projects/spark/src/spark/components/Grid.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/Grid.as b/frameworks/projects/spark/src/spark/components/Grid.as
index 7deb6eb..847fa1d 100644
--- a/frameworks/projects/spark/src/spark/components/Grid.as
+++ b/frameworks/projects/spark/src/spark/components/Grid.as
@@ -269,6 +269,8 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
      *  rowIndex of the caret after a collection refresh event.
      */    
     private var caretSelectedItem:Object = null;
+    private var updateCaretForDataProviderChanged:Boolean = false;
+    private var updateCaretForDataProviderChangeLastEvent:CollectionEvent;
     
     /**
      *  @private
@@ -4599,7 +4601,12 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
         clearInvalidateDisplayListReasons = true;
 		
 		if (!variableRowHeight)
-			setFixedRowHeight(gridDimensions.getRowHeight(0));    
+			setFixedRowHeight(gridDimensions.getRowHeight(0));
+        if (updateCaretForDataProviderChanged){
+            updateCaretForDataProviderChanged = false;
+            updateCaretForDataProviderChange(updateCaretForDataProviderChangeLastEvent);
+            updateCaretForDataProviderChangeLastEvent = null;
+        }
 	}
         
     //--------------------------------------------------------------------------
@@ -5446,7 +5453,6 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
                 else 
                 {
                     caretRowIndex = _dataProvider.length > 0 ? 0 : -1;
-                   validateNow();
                    verticalScrollPosition = 0;
                 }
                 
@@ -5620,8 +5626,18 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
         invalidateSize();
         invalidateDisplayList();
         
-        if (caretRowIndex != -1)
-            updateCaretForDataProviderChange(event);
+        if (caretRowIndex != -1)  {
+            if (event.kind == CollectionEventKind.RESET){
+                // defer for reset events 
+                updateCaretForDataProviderChanged = true;
+                updateCaretForDataProviderChangeLastEvent = event;
+                invalidateDisplayList(); 
+            }
+            else {
+                updateCaretForDataProviderChange(event);
+            }         
+        }
+
         
         // Trigger bindings to selectedIndex/selectedCell/selectedItem and the plurals of those.
         if (selectionChanged)

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/35706c9c/frameworks/projects/spark/src/spark/skins/spark/CalloutSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/skins/spark/CalloutSkin.as b/frameworks/projects/spark/src/spark/skins/spark/CalloutSkin.as
index 6d4f91d..6b15598 100644
--- a/frameworks/projects/spark/src/spark/skins/spark/CalloutSkin.as
+++ b/frameworks/projects/spark/src/spark/skins/spark/CalloutSkin.as
@@ -47,8 +47,7 @@ import spark.skins.spark.supportClasses.CalloutArrow;
 use namespace mx_internal;
 
 /**
- *  The default skin class for the Spark Callout component in mobile
- *  applications.
+ *  The default skin class for the Spark Callout component in desktop applications.
  * 
  *  <p>The <code>contentGroup</code> lies above a <code>backgroundColor</code> fill
  *  which frames the <code>contentGroup</code>. The position and size of the frame 


[25/50] git commit: [flex-sdk] [refs/heads/master] - Merge branch 'release4.11.0' of https://git-wip-us.apache.org/repos/asf/flex-sdk into release4.11.0

Posted by jm...@apache.org.
Merge branch 'release4.11.0' of https://git-wip-us.apache.org/repos/asf/flex-sdk into release4.11.0


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/09c4e92f
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/09c4e92f
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/09c4e92f

Branch: refs/heads/master
Commit: 09c4e92fdb42a806185873352e1130bf7058c561
Parents: 922b10d 86d77d2
Author: Justin Mclean <jm...@apache.org>
Authored: Sat Oct 12 08:33:26 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Sat Oct 12 08:33:26 2013 +1100

----------------------------------------------------------------------
 RELEASE_NOTES | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/09c4e92f/RELEASE_NOTES
----------------------------------------------------------------------


[45/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-33829 correct UID format

Posted by jm...@apache.org.
FLEX-33829 correct UID format


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/debea17e
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/debea17e
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/debea17e

Branch: refs/heads/master
Commit: debea17e635629e46e9818b95dc2bc3637067a34
Parents: 3f93971
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Oct 18 15:57:56 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Oct 18 15:57:56 2013 +1100

----------------------------------------------------------------------
 frameworks/projects/framework/src/mx/utils/UIDUtil.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/debea17e/frameworks/projects/framework/src/mx/utils/UIDUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/utils/UIDUtil.as b/frameworks/projects/framework/src/mx/utils/UIDUtil.as
index 20186e0..36ad6fb 100644
--- a/frameworks/projects/framework/src/mx/utils/UIDUtil.as
+++ b/frameworks/projects/framework/src/mx/utils/UIDUtil.as
@@ -73,7 +73,7 @@ public class UIDUtil
 		'-','0','0','0','0',
 		'-','0','0','0','0',
 		'-','0','0','0','0',
-		'0','0','0','0','0','0','0','0','0','0','0','0'
+		'-','0','0','0','0','0','0','0','0','0','0','0','0'
 	];
 
     //--------------------------------------------------------------------------


[47/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-33824 DG's nestlevel trick would fail in certain situations. Force validation before mucking with nestLevel

Posted by jm...@apache.org.
FLEX-33824 DG's nestlevel trick would fail in certain situations.  Force validation before mucking with nestLevel


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/3e752d9c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/3e752d9c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/3e752d9c

Branch: refs/heads/master
Commit: 3e752d9c63682fbe48cc58b27fdc73260376be74
Parents: e1a6549
Author: Alex Harui <ah...@apache.org>
Authored: Fri Oct 18 12:42:13 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Oct 18 12:42:13 2013 -0700

----------------------------------------------------------------------
 frameworks/projects/spark/src/spark/components/DataGrid.as | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3e752d9c/frameworks/projects/spark/src/spark/components/DataGrid.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/DataGrid.as b/frameworks/projects/spark/src/spark/components/DataGrid.as
index 3ee69f0..32358f8 100644
--- a/frameworks/projects/spark/src/spark/components/DataGrid.as
+++ b/frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -3427,7 +3427,10 @@ public class DataGrid extends SkinnableContainerBase
         
         elt.dataGrid = this;
         if (elt.nestLevel <= grid.nestLevel)
+        {
+            elt.validateNow();
             elt.nestLevel = grid.nestLevel + 1;
+        }
     }
     
     /**


[24/50] git commit: [flex-sdk] [refs/heads/master] - Updated with the release of FP 11.9 and AIR 3.9

Posted by jm...@apache.org.
Updated with the release of FP 11.9 and AIR 3.9


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/922b10dd
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/922b10dd
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/922b10dd

Branch: refs/heads/master
Commit: 922b10dd6c34fb47010fbea6ea1cd66723f45a89
Parents: cb64e35
Author: Justin Mclean <jm...@apache.org>
Authored: Sat Oct 12 08:32:30 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Sat Oct 12 08:32:30 2013 +1100

----------------------------------------------------------------------
 README                                   | 24 ++++++++++++------------
 RELEASE_NOTES                            |  4 ++--
 ide/addAIRtoSDK.sh                       |  5 -----
 ide/checkAllPlayerGlobals.sh             |  2 +-
 ide/flashbuilder/makeApacheFlexForIDE.sh |  4 ++--
 jenkins.xml                              |  2 +-
 6 files changed, 18 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/922b10dd/README
----------------------------------------------------------------------
diff --git a/README b/README
index 2ed02f9..eca4ce0 100644
--- a/README
+++ b/README
@@ -166,15 +166,15 @@ Install Prerequisites
          you will get compile errors.
         
     *3) The Adobe AIR integration kit for Windows can be downloaded from:
-           http://airdownload.adobe.com/air/win/download/3.8/AdobeAIRSDK.zip
+           http://airdownload.adobe.com/air/win/download/3.9/AdobeAIRSDK.zip
         
          The Adobe AIR integration kit for Mac can be downloaded from:
-            http://airdownload.adobe.com/air/mac/download/3.8/AdobeAIRSDK.tbz2
+            http://airdownload.adobe.com/air/mac/download/3.9/AdobeAIRSDK.tbz2
             
           The Adobe AIR integration kit for Linux can be downloaded from:
             http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRSDK.tbz2        
 
-        This version of Apache Flex was certified for use with AIR 3.8, and should
+        This version of Apache Flex was certified for use with AIR 3.9, and should
         be compatible with other versions of AIR newer than 3.1. However it hasn't
         been fully tested on AIR 3.2, 3.3, 3.5, 3.6 or 3.7.
 
@@ -185,8 +185,8 @@ Install Prerequisites
             http://www.adobe.com/support/flashplayer/downloads.html
 
         This version of Apache Flex was certified for use with Adobe Flash Player 11.1,
-        and is compatible with versions 10.2 through 11.9 beta. It has been tested with
-        versions 11.1, 11.7, 11.8 and 11.9 beta on Windows and Mac. It has been compiled
+        and is compatible with versions 10.2 through 11.9. It has been tested with
+        versions 11.1, 11.7, 11.8 and 11.9 on Windows and Mac. It has been compiled
         against other Adobe Flash Player versions but has not been fully tested. It has
         not been fully tested on Linux.
             
@@ -234,7 +234,7 @@ Install Prerequisites
             http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_6.swc
             http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc
             http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc
-            http://labsdownload.adobe.com/pub/labs/flashruntimes/flashplayer/flashplayer11-9_playerglobal.swc
+            http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc
             
         These can be used with Apache Flex but have not been fully tested.
         
@@ -305,7 +305,7 @@ Adobe Flash Player Version Support
 
     The Apache Flex SDK defaults to using the Adobe Flash Player 11.1. The SDK can be
     used with Flash Player versions 10.2, 10.3, 11.0, 11.1, 11.2, 11.3, 11.4, 11.5,
-    11.6, 11.7, 11.8 and 11.9 beta.
+    11.6, 11.7, 11.8 and 11.9.
     
     It is recommended that you update to the latest version of Adobe Flash Player.
     Newer versions of the Adobe Flash player address security vulnerabilities, fix
@@ -347,8 +347,8 @@ Adobe Flash Player Version Support
     http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_6.swc
     http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc
     http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc
-    http://labsdownload.adobe.com/pub/labs/flashruntimes/flashplayer/flashplayer11-9_playerglobal.swc
-    
+    http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc
+     
     Copy the target playerglobal.swc to the directory:
     
         frameworks/libs/player/<version>/playerglobal.swc
@@ -388,7 +388,7 @@ Adobe Flash Player Version Support
                          /playerglobal.swc  
     
     Apache Flex has been tested with Adobe Flash Player 11.1, 11.5, 11.7, 11.8 and
-    11.9 beta on Windows and Mac.
+    11.9 on Windows and Mac.
     
     Apache Flex has not been tested on Linux so some issue may exist in this release.
     
@@ -483,14 +483,14 @@ Using the Binary Distribution
 	This will create an Apache Flex 4.11 SDK that can be used with Flash Builder by
 	copying the required files from the Adobe Flex 4.6 SDK.
 	
-	To create an SDK for other IDE or if you want to use Adobe AIR 3.8 (rather than
+	To create an SDK for other IDE or if you want to use Adobe AIR 3.9 (rather than
 	AIR 3.1 contained in Adobe Flex 4.6) run:
 	
 		/ide/flashbuilder/makeApacheFlexForIDE.sh (on Mac and Linux)
 		/ide/flashbuilder/makeApacheFlexForIDE.bat (on Windows)
 		
 	This will create an Apache Flex 4.11 SDK that can be used by an IDE by downloading
-	Adobe Flex 4.6 SDK and Adobe AIR 3.8.
+	Adobe Flex 4.6 SDK and Adobe AIR 3.9.
     
 Building the Framework in a Binary Distribution
 -----------------------------------------------

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/922b10dd/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 59480cc..05b6ff3 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -31,8 +31,8 @@ Differences from Apache Flex 4.9 include:
 
 AIR and Flash Player support
 ------------------------------
- - Support Flash Player 11.9 beta.
- - Support for AIR 3.9 beta.
+ - Support Flash Player 11.9.
+ - Support for AIR 3.9.
 
 SDK Changes
 -------------

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/922b10dd/ide/addAIRtoSDK.sh
----------------------------------------------------------------------
diff --git a/ide/addAIRtoSDK.sh b/ide/addAIRtoSDK.sh
index 67b9f77..b5174ac 100755
--- a/ide/addAIRtoSDK.sh
+++ b/ide/addAIRtoSDK.sh
@@ -103,11 +103,6 @@ downloadAIR()
         airDownload="http://airdownload.adobe.com/air/lin/download/${version}/AdobeAIRSDK.tbz2"
     fi
     
-    if [[ "${AIR_VERSION}" == "3.9" ]]
-    then
-        airDownload="http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air3-9_sdk_sa_mac.tbz2"
-    fi
-    
 	echo Downloading AIR ${version}
 	curl ${airDownload} > "${airTempDir}/air.tbz2"
 	

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/922b10dd/ide/checkAllPlayerGlobals.sh
----------------------------------------------------------------------
diff --git a/ide/checkAllPlayerGlobals.sh b/ide/checkAllPlayerGlobals.sh
index 67bd613..4dd8ab5 100755
--- a/ide/checkAllPlayerGlobals.sh
+++ b/ide/checkAllPlayerGlobals.sh
@@ -119,5 +119,5 @@ downloadPlayerGlobal 11.5 00384b24157442c59ca5d625ecfd11a2 http://download.macro
 downloadPlayerGlobal 11.6 1b841a0a26ada3e5da26eb70c32ab263 http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_6.swc
 downloadPlayerGlobal 11.7 12656571c57b2ad641838e5695a00e27 http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc
 downloadPlayerGlobal 11.8 35bc69eec5091f70e221b4e63b66b60f http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc
-downloadPlayerGlobal 11.9 51694a3670a14c380b01a73907134ebc http://labsdownload.adobe.com/pub/labs/flashruntimes/flashplayer/flashplayer11-9_playerglobal.swc
+downloadPlayerGlobal 11.9 4cac2727e7b7e741075581f47c35f3af http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/922b10dd/ide/flashbuilder/makeApacheFlexForIDE.sh
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/makeApacheFlexForIDE.sh b/ide/flashbuilder/makeApacheFlexForIDE.sh
index 9c1c277..c3b096f 100755
--- a/ide/flashbuilder/makeApacheFlexForIDE.sh
+++ b/ide/flashbuilder/makeApacheFlexForIDE.sh
@@ -37,8 +37,8 @@
 # Apache Flex binary distribution
 APACHE_FLEX_BIN_DIR="$( cd $( dirname -- "$0" ) > /dev/null ; pwd )"/../..
 
-# Adobe AIR SDK Version 3.8
-ADOBE_AIR_SDK_MAC_URL=http://airdownload.adobe.com/air/mac/download/3.8/AdobeAIRSDK.tbz2
+# Adobe AIR SDK Version 3.9
+ADOBE_AIR_SDK_MAC_URL=http://airdownload.adobe.com/air/mac/download/3.9/AdobeAIRSDK.tbz2
 
 # Adobe Flash Player Version 11.1
 ADOBE_FLASHPLAYER_GLOBALPLAYER_SWC_URL=http://fpdownload.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/922b10dd/jenkins.xml
----------------------------------------------------------------------
diff --git a/jenkins.xml b/jenkins.xml
index 8846e57..a0ec5b1 100644
--- a/jenkins.xml
+++ b/jenkins.xml
@@ -176,7 +176,7 @@
 	
     <target name="playerglobal11.9-download" if="target11.9">
     	<mkdir dir="${basedir}/lib/player/${playerglobal.version}"/>
-        <get src="http://labsdownload.adobe.com/pub/labs/flashruntimes/flashplayer/flashplayer11-9_playerglobal.swc" 
+        <get src="http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc" 
             dest="${basedir}/lib/player/${playerglobal.version}/playerglobal.swc" 
             verbose="false"/>
     </target>


[38/50] git commit: [flex-sdk] [refs/heads/master] - REFIX https://issues.apache.org/jira/browse/FLEX-33818 (Spark Datagrid column resize and sort bug when releasing mouse outside of headers) [Mustella test pass] - gumbo/components/DataGrid/Properties -

Posted by jm...@apache.org.
REFIX https://issues.apache.org/jira/browse/FLEX-33818 (Spark Datagrid column resize and sort bug when releasing mouse outside of headers)
[Mustella test pass]
- gumbo/components/DataGrid/Properties
- gumbo/components/DataGrid/Styles


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/05cc8f3e
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/05cc8f3e
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/05cc8f3e

Branch: refs/heads/master
Commit: 05cc8f3e9a0fe66d356a7474b02f26b063f687b3
Parents: fca2a38
Author: mamsellem <ma...@systar.com>
Authored: Tue Oct 15 00:39:29 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Tue Oct 15 00:39:29 2013 +0200

----------------------------------------------------------------------
 .../projects/spark/src/spark/components/GridColumnHeaderGroup.as | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/05cc8f3e/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as b/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
index 51827f9..bd62162 100644
--- a/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
+++ b/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
@@ -1064,9 +1064,11 @@ public class GridColumnHeaderGroup extends Group implements IDataGridElement
     {
         const eventHeaderCP:CellPosition = new CellPosition();
         const eventHeaderXY:Point = new Point();
-        if (!eventToHeaderLocations(event, eventHeaderCP, eventHeaderXY))
+         // mouse can be released outside of header , so don't check    cf.    https://issues.apache.org/jira/browse/FLEX-33818
+          if (event.type != MouseEvent.MOUSE_UP &&  !eventToHeaderLocations(event, eventHeaderCP, eventHeaderXY))
                 return;
 
+
         const eventSeparatorIndex:int = eventHeaderCP.rowIndex;
         const eventColumnIndex:int = (eventSeparatorIndex == -1) ? eventHeaderCP.columnIndex : -1;
         


[46/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-33779 Label would RTE when truncating when set to multiline and there wasn't enough width

Posted by jm...@apache.org.
FLEX-33779 Label would RTE when truncating when set to multiline and there wasn't enough width


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/e1a65493
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/e1a65493
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/e1a65493

Branch: refs/heads/master
Commit: e1a654937e810c1688ab75eda1e3e6a654808b6e
Parents: debea17
Author: Alex Harui <ah...@apache.org>
Authored: Fri Oct 18 12:40:06 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Oct 18 12:40:06 2013 -0700

----------------------------------------------------------------------
 frameworks/projects/spark/src/spark/components/Label.as | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e1a65493/frameworks/projects/spark/src/spark/components/Label.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/Label.as b/frameworks/projects/spark/src/spark/components/Label.as
index 087d8a9..b8d4ff3 100644
--- a/frameworks/projects/spark/src/spark/components/Label.as
+++ b/frameworks/projects/spark/src/spark/components/Label.as
@@ -1379,6 +1379,11 @@ public class Label extends TextBase
                     if (truncateAtCharPosition == 0)
                         break;
                     
+                    // sometimes the player decides there isn't enough
+                    // room to render anything so bail
+                    if (textLines.length == 0)
+                        break;
+                    
                     // Try again by truncating at the beginning of the 
                     // preceding atom.
                     var oldCharPosition:int = truncateAtCharPosition;


[27/50] git commit: [flex-sdk] [refs/heads/master] - Update for RC1

Posted by jm...@apache.org.
Update for RC1


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/251f26e2
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/251f26e2
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/251f26e2

Branch: refs/heads/master
Commit: 251f26e20d3dd4ef0a35a48aa3058c55b5ed7188
Parents: 71d35a6
Author: Justin Mclean <jm...@apache.org>
Authored: Sat Oct 12 11:07:34 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Sat Oct 12 11:07:34 2013 +1100

----------------------------------------------------------------------
 flex-sdk-description.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/251f26e2/flex-sdk-description.xml
----------------------------------------------------------------------
diff --git a/flex-sdk-description.xml b/flex-sdk-description.xml
index 117d002..deb5bd9 100644
--- a/flex-sdk-description.xml
+++ b/flex-sdk-description.xml
@@ -20,6 +20,6 @@
 <flex-sdk-description>
 <name>Apache Flex 4.11.0 FP11.1 AIR3.8 en_US</name>
 <version>4.11.0</version>
-<build>20131011</build>
+<build>20131012</build>
 </flex-sdk-description>
         
\ No newline at end of file


[48/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-33830 HScrollbar should defer some work to the validation methods otherwise it will get incorrect metrics

Posted by jm...@apache.org.
FLEX-33830 HScrollbar should defer some work to the validation methods otherwise it will get incorrect metrics


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/24c1d8f0
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/24c1d8f0
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/24c1d8f0

Branch: refs/heads/master
Commit: 24c1d8f019974841aaf5558ce423dcdb5752b708
Parents: 3e752d9
Author: Alex Harui <ah...@apache.org>
Authored: Fri Oct 18 12:43:26 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Oct 18 12:43:26 2013 -0700

----------------------------------------------------------------------
 .../spark/src/spark/components/HScrollBar.as    | 22 +++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/24c1d8f0/frameworks/projects/spark/src/spark/components/HScrollBar.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/HScrollBar.as b/frameworks/projects/spark/src/spark/components/HScrollBar.as
index 90d3aa3..ca8d456 100644
--- a/frameworks/projects/spark/src/spark/components/HScrollBar.as
+++ b/frameworks/projects/spark/src/spark/components/HScrollBar.as
@@ -160,6 +160,8 @@ public class HScrollBar extends ScrollBarBase
     //
     //--------------------------------------------------------------------------
     
+    private var maxAndPageSizeInvalid:Boolean = false;
+
     private function updateMaximumAndPageSize():void
     {
         var hsp:Number = viewport.horizontalScrollPosition;
@@ -532,11 +534,29 @@ public class HScrollBar extends ScrollBarBase
         if (allStyles || styleName == "interactionMode")
         {
             if (viewport)
-                updateMaximumAndPageSize();
+            {
+                // Some of the information needed
+                // is calculated in measure() on a child
+                maxAndPageSizeInvalid = true;
+                invalidateSize();
+            }
         }
     }
     
     /**
+     *  @private 
+     */
+    override protected function measure():void
+    {
+        super.measure();
+        if (maxAndPageSizeInvalid)
+        {
+            maxAndPageSizeInvalid = false;
+            updateMaximumAndPageSize();
+        }
+    }
+        
+    /**
      *  @private
      *  Scroll horizontally by event.delta "steps".  This listener is added to the viewport
      *  at a lower priority then the vertical scrollbar mouse wheel listener, so that vertical 


[42/50] git commit: [flex-sdk] [refs/heads/master] - OSMF download failed ('X moved to Y'). Changed download URL to the direct link SourceForge suggested to be used.

Posted by jm...@apache.org.
OSMF download failed ('X moved to Y'). Changed download URL to the direct link SourceForge suggested to be used.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/75bd4e35
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/75bd4e35
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/75bd4e35

Branch: refs/heads/master
Commit: 75bd4e35273d592c88d17dc3a50c24f510aa6c5c
Parents: 90d76c6
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Oct 16 09:13:11 2013 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Oct 16 09:13:11 2013 +0200

----------------------------------------------------------------------
 frameworks/downloads.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/75bd4e35/frameworks/downloads.xml
----------------------------------------------------------------------
diff --git a/frameworks/downloads.xml b/frameworks/downloads.xml
index c652929..e13de4b 100644
--- a/frameworks/downloads.xml
+++ b/frameworks/downloads.xml
@@ -127,7 +127,10 @@
 
     <target name="download-osmf-swc" unless="osmf.swc.exists">
         <mkdir dir="${download.dir}"/>
-        <get src="http://sourceforge.net/projects/osmf.adobe/files/OSMF%202.0%20Release%20%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes%29/OSMF.swc/download" 
+        <!-- get src="http://sourceforge.net/projects/osmf.adobe/files/OSMF%202.0%20Release%20%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes%29/OSMF.swc/download" 
+            dest="${download.dir}/osmf.swc" 
+            verbose="false"/ -->
+        <get src="http://downloads.sourceforge.net/project/osmf.adobe/OSMF%202.0%20Release%20%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes%29/OSMF.swc?r=&amp;ts=1381906346&amp;use_mirror=optimate" 
             dest="${download.dir}/osmf.swc" 
             verbose="false"/>
     </target>


[06/50] git commit: [flex-sdk] [refs/heads/master] - Merge commit '626c45e2b350a63bc8cf83d8a8de9f19635eebaf' into release4.11.0

Posted by jm...@apache.org.
Merge commit '626c45e2b350a63bc8cf83d8a8de9f19635eebaf' into release4.11.0


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/bd49b402
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/bd49b402
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/bd49b402

Branch: refs/heads/master
Commit: bd49b4021298fd5c2e55bcea5ea0255dbfc01604
Parents: c059c67 626c45e
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Oct 11 16:49:46 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Oct 11 16:49:46 2013 +1100

----------------------------------------------------------------------
 .../mobiletheme/src/MobileThemeClasses.as       |  3 +-
 .../src/spark/skins/mobile/CalloutSkin.as       | 38 +++++++++++++------
 .../skins/mobile/supportClasses/CalloutArrow.as | 39 +++++++++++++++-----
 .../swfs/skins/MyCalloutSkin.as                 | 37 ++++++++++---------
 4 files changed, 77 insertions(+), 40 deletions(-)
----------------------------------------------------------------------



[21/50] git commit: [flex-sdk] [refs/heads/master] - Merge commit '5ae5a84778fa1e9a9a61aa218fad6244d1e9cdb1' into release4.11.0

Posted by jm...@apache.org.
Merge commit '5ae5a84778fa1e9a9a61aa218fad6244d1e9cdb1' into release4.11.0


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/cb64e357
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/cb64e357
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/cb64e357

Branch: refs/heads/master
Commit: cb64e3579e3d603ab91aedfc6ceea550b4b09809
Parents: 8b561cb 5ae5a84
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Oct 11 23:28:28 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Oct 11 23:28:28 2013 +1100

----------------------------------------------------------------------
 asdoc/build.xml                                 |   3 +-
 asdoc/test/doc_src/SampleExperimental.as        |  19 ++
 flex-sdk-description.xml                        |   6 +-
 frameworks/projects/experimental/defaults.css   |   9 -
 .../experimental/src/ExperimentalClasses.as     |   1 -
 .../supportClasses/AnimationTarget.as           |  68 ------
 .../supportClasses/CallOutDropDownController.as |  78 ------
 .../src/spark/skins/spark/CallOutSkin.mxml      | 235 -------------------
 .../supportClasses/AnimationTarget.as           |   2 +-
 9 files changed, 24 insertions(+), 397 deletions(-)
----------------------------------------------------------------------



[31/50] git commit: [flex-sdk] [refs/heads/master] - Remove ide from gitignore - these config files need to be tracked!

Posted by jm...@apache.org.
Remove ide from gitignore - these config files need to be tracked!


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/1d5fa798
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/1d5fa798
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/1d5fa798

Branch: refs/heads/master
Commit: 1d5fa798dcd61f7bb38ae68d1188db27c4ab8254
Parents: 1be0f98
Author: Justin Mclean <jm...@apache.org>
Authored: Sun Oct 13 12:05:53 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Sun Oct 13 12:05:53 2013 +1100

----------------------------------------------------------------------
 .gitignore                                   |   1 -
 ide/flashbuilder/config/air-config.xml       | 443 +++++++++++++++++++++
 ide/flashbuilder/config/airmobile-config.xml | 365 ++++++++++++++++++
 ide/flashbuilder/config/flex-config.xml      | 447 ++++++++++++++++++++++
 4 files changed, 1255 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1d5fa798/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 3d4b78a..1de4b3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,7 +31,6 @@ lib/
 libs/
 in/
 swfobject/
-ide/
 flex2/
 thirdparty/
 META-INF/

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1d5fa798/ide/flashbuilder/config/air-config.xml
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/config/air-config.xml b/ide/flashbuilder/config/air-config.xml
new file mode 100644
index 0000000..65d26ef
--- /dev/null
+++ b/ide/flashbuilder/config/air-config.xml
@@ -0,0 +1,443 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+
+
+<flex-config>
+    <!-- Specifies the minimum player version that will run the compiled SWF. -->
+     <target-player>11.9</target-player>
+     
+    <!-- Specifies the version of the compiled SWF -->
+    <swf-version>22</swf-version>
+    
+   <compiler>
+
+      <!-- Turn on generation of accessible SWFs. -->
+      <accessible>true</accessible>
+      
+      <!-- Specifies the locales for internationalization. -->
+      <locale>
+          <locale-element>en_US</locale-element>
+      </locale>
+      
+      <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
+      <!-- not set -->
+      <!--
+      <source-path>
+         <path-element>string</path-element>
+      </source-path>
+      -->
+	  
+	  <!-- Allow the source-path to have path-elements which contain other path-elements -->
+	  <allow-source-path-overlap>false</allow-source-path-overlap>
+      
+      <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
+      <!-- code.                                                                       -->
+      <show-actionscript-warnings>true</show-actionscript-warnings>
+      
+      <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
+      <!-- but true by default for compc. -->
+      <!--
+      <debug>true</debug>
+      -->
+
+      <!-- List of SWC files or directories to compile against but to omit from -->
+      <!-- linking.                                                             -->
+      <external-library-path>
+          <path-element>libs/air/airglobal.swc</path-element>
+      </external-library-path>
+      
+      <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
+      <!-- the compiler during mxml translation and are helpful with understanding and   -->
+      <!-- debugging Flex applications.                                                  -->
+      <keep-generated-actionscript>false</keep-generated-actionscript>
+
+      <!-- not set -->
+      <!--
+      <include-libraries>
+         <library>string</library>
+      </include-libraries>
+      -->
+      
+      <!-- List of SWC files or directories that contain SWC files. -->
+      <library-path>
+         <path-element>libs</path-element>
+         <path-element>libs/mx</path-element>
+         <path-element>libs/air</path-element>
+         <path-element>libs/air</path-element>
+         <path-element>locale/{locale}</path-element>
+      </library-path>
+     
+      <namespaces>
+      <!-- Specify a URI to associate with a manifest of components for use as MXML -->
+      <!-- elements.                                                                -->
+         <namespace>
+            <uri>http://ns.adobe.com/mxml/2009</uri>
+            <manifest>mxml-2009-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>library://ns.adobe.com/flex/spark</uri>
+            <manifest>spark-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>library://ns.adobe.com/flex/mx</uri>
+            <manifest>mx-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>http://www.adobe.com/2006/mxml</uri>
+            <manifest>mxml-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>http://flex.apache.org/ns</uri>
+            <manifest>apache-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>http://flex.apache.org/experimental/ns</uri>
+            <manifest>experimental-manifest.xml</manifest>
+         </namespace>
+      </namespaces>
+      
+      <!-- Enable post-link SWF optimization. -->
+      <optimize>true</optimize>
+
+      <!-- Keep the following AS3 metadata in the bytecodes.                                             -->
+      <!-- Warning: For the data binding feature in the Flex framework to work properly,                 -->
+      <!--          the following metadata must be kept:                                                 -->
+      <!--          1. Bindable                                                                          -->
+      <!--          2. Managed                                                                           -->
+      <!--          3. ChangeEvent                                                                       -->
+      <!--          4. NonCommittingChangeEvent                                                          -->
+      <!--          5. Transient                                                                         -->
+      <!--
+      <keep-as3-metadata>
+          <name>Bindable</name>
+          <name>Managed</name>
+          <name>ChangeEvent</name>
+          <name>NonCommittingChangeEvent</name>
+          <name>Transient</name>
+      </keep-as3-metadata>
+      -->
+
+      <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
+      <!-- will not be able to detect assignments to "foo".                               -->
+      <show-binding-warnings>true</show-binding-warnings>
+      
+      <!-- toggle whether warnings generated from unused type selectors are displayed -->
+      <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
+
+      <!-- Run the AS3 compiler in strict error checking mode. -->
+      <strict>true</strict>
+      
+      <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
+      <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
+      <!-- (-strict is recommended, but not required, for earlier errors) -->
+      <as3>true</as3>
+      
+      <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
+      <!-- properties. In the prototype based object model built-in functions are implemented as dynamic      -->
+      <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for         -->
+      <!-- references to dynamic properties) -->
+      <es>false</es>
+      
+      <!-- List of CSS or SWC files to apply as a theme. -->
+      <!-- not set -->
+      <!--
+      <theme>
+         <filename>string</filename>
+         <filename>string</filename>
+      </theme>
+      -->
+      
+      <!-- Turns on the display of stack traces for uncaught runtime errors. -->
+      <verbose-stacktraces>false</verbose-stacktraces>
+      
+      <!-- Defines the AS3 file encoding. -->
+      <!-- not set -->
+      <!--
+      <actionscript-file-encoding></actionscript-file-encoding>
+      -->
+      
+      <fonts>
+
+          <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
+          <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
+          <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
+          <advanced-anti-aliasing>true</advanced-anti-aliasing>
+        
+          <!-- The number of embedded font faces that are cached. -->
+          <max-cached-fonts>20</max-cached-fonts>
+        
+          <!-- The number of character glyph outlines to cache for each font face. -->
+          <max-glyphs-per-face>1000</max-glyphs-per-face>
+       
+          <!-- Defines ranges that can be used across multiple font-face declarations. -->
+          <!-- See flash-unicode-table.xml for more examples. -->
+          <!-- not set -->
+          <!--
+          <languages>
+              <language-range>
+                  <lang>englishRange</lang>
+                  <range>U+0020-U+007E</range>
+              </language-range>
+          </languages>
+          -->
+       
+          <!-- Compiler font manager classes, in policy resolution order-->
+          <managers>
+              <manager-class>flash.fonts.JREFontManager</manager-class>
+              <manager-class>flash.fonts.AFEFontManager</manager-class>
+              <manager-class>flash.fonts.BatikFontManager</manager-class>
+              <manager-class>flash.fonts.CFFFontManager</manager-class> 
+          </managers>
+
+          <!-- File containing cached system font licensing information produced via 
+               java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
+               Will default to winFonts.ser on Windows XP and
+               macFonts.ser on Mac OS X, so is commented out by default.
+
+          <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
+          -->
+     
+      </fonts> 
+	   
+      <!-- Array.toString() format has changed. -->
+      <warn-array-tostring-changes>false</warn-array-tostring-changes>
+      
+      <!-- Assignment within conditional. -->
+      <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
+      
+      <!-- Possibly invalid Array cast operation. -->
+      <warn-bad-array-cast>true</warn-bad-array-cast>
+      
+      <!-- Non-Boolean value used where a Boolean value was expected. -->
+      <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
+
+      <!-- Invalid Date cast operation. -->
+      <warn-bad-date-cast>true</warn-bad-date-cast>
+      
+      <!-- Unknown method. -->
+      <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
+
+      <!-- Unknown property. -->
+      <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
+
+      <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
+      <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
+
+      <!-- Impossible assignment to null. -->
+      <warn-bad-null-assignment>true</warn-bad-null-assignment>
+
+      <!-- Illogical comparison with null. -->
+      <warn-bad-null-comparison>true</warn-bad-null-comparison>
+
+      <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
+      <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
+
+      <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
+      <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
+
+      <!-- __resolve is no longer supported. -->
+      <warn-changes-in-resolve>false</warn-changes-in-resolve>
+
+      <!-- Class is sealed. It cannot have members added to it dynamically. -->
+      <warn-class-is-sealed>true</warn-class-is-sealed>
+ 
+      <!-- Constant not initialized. -->
+      <warn-const-not-initialized>true</warn-const-not-initialized>
+
+      <!-- Function used in new expression returns a value. Result will be what the -->
+      <!-- function returns, rather than a new instance of that function.           -->
+      <warn-constructor-returns-value>false</warn-constructor-returns-value>
+
+      <!-- EventHandler was not added as a listener. -->
+      <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
+
+      <!-- Unsupported ActionScript 2.0 function. -->
+      <warn-deprecated-function-error>true</warn-deprecated-function-error>
+
+      <!-- Unsupported ActionScript 2.0 property. -->
+      <warn-deprecated-property-error>true</warn-deprecated-property-error>
+
+      <!-- More than one argument by the same name. -->
+      <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
+
+      <!-- Duplicate variable definition -->
+      <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
+
+      <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
+      <warn-for-var-in-changes>false</warn-for-var-in-changes>
+
+      <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
+      <warn-import-hides-class>true</warn-import-hides-class>
+
+      <!-- Use of the instanceof operator. -->
+      <warn-instance-of-changes>true</warn-instance-of-changes>
+
+      <!-- Internal error in compiler. -->
+      <warn-internal-error>true</warn-internal-error>
+
+      <!-- _level is no longer supported. For more information, see the flash.display package. -->
+      <warn-level-not-supported>true</warn-level-not-supported>
+
+      <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
+      <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
+
+      <!-- Negative value will become a large positive value when assigned to a uint data type. -->
+      <warn-negative-uint-literal>true</warn-negative-uint-literal>
+
+      <!-- Missing constructor. -->
+      <warn-no-constructor>false</warn-no-constructor>
+
+      <!-- The super() statement was not called within the constructor. -->
+      <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
+
+      <!-- Missing type declaration. -->
+      <warn-no-type-decl>true</warn-no-type-decl>
+     
+      <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
+      <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space.      -->
+      <warn-number-from-string-changes>false</warn-number-from-string-changes>
+      
+      <!-- Change in scoping for the this keyword. Class methods extracted from an  -->
+      <!-- instance of a class will always resolve this back to that instance. In   -->
+      <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
+      <!-- is invoked from.                                                         -->
+      <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
+      
+      <!-- Inefficient use of += on a TextField.-->
+      <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
+     
+      <!-- Possible missing parentheses. -->
+      <warn-unlikely-function-value>true</warn-unlikely-function-value>
+      
+      <!-- Possible usage of the ActionScript 2.0 XML class. -->
+      <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+   
+   </compiler>
+
+   <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
+                        cross-domain rsl.-->
+   <!-- compute-digest usage:
+   <compute-digest>boolean</compute-digest>
+   -->
+
+   <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
+   <remove-unused-rsls>true</remove-unused-rsls>
+	
+   <!-- A list of runtime shared library URLs to be loaded before applications start. -->
+   <!-- not set -->
+   <!--
+   <runtime-shared-libraries>
+      <url>string</url>
+      <url>string</url>
+   </runtime-shared-libraries>
+   -->
+ 
+	<!-- runtime-shared-library-path: specifies a SWC or directory to link against and an RSL URL to load with optional failover URLs -->  
+      <!-- Framework SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/framework.swc</path-element>
+		<rsl-url>framework_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+	  
+	  <!-- TextLayout SWC -->
+	<!-- 
+	    Even though there is no textLayout rsl leave this in so that in a FlashBuilder
+	    Flex Library project, FlashBuilder will allow "Link Type" to be external.
+    -->
+    <runtime-shared-library-path>
+		<path-element>libs/textLayout.swc</path-element>
+		<rsl-url>textLayout_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+    
+      <!-- Spark SWC-->
+   	<runtime-shared-library-path>
+		<path-element>libs/spark.swc</path-element>
+		<rsl-url>spark_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+	
+      <!-- Sparkskins SWC-->
+   	<runtime-shared-library-path>
+		<path-element>libs/sparkskins.swc</path-element>
+		<rsl-url>sparkskins_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+	 
+	  <!-- RPC SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/rpc.swc</path-element>
+		<rsl-url>rpc_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+    	
+      <!-- Charts SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/charts.swc</path-element>
+		<rsl-url>charts_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+
+      <!-- Spark_dmv SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/spark_dmv.swc</path-element>
+		<rsl-url>spark_dmv_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+
+      <!-- OSMF SWC -->
+	<!-- 
+	    Even though there is no OSMF rsl leave this in so that in a FlashBuilder
+	    Flex Library project, FlashBuilder will allow "Link Type" to be external.
+    -->
+    <runtime-shared-library-path>
+		<path-element>libs/osmf.swc</path-element>
+		<rsl-url>osmf_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+      
+      <!-- MX SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/mx/mx.swc</path-element>
+		<rsl-url>mx_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+   
+      <!-- Advancedgrids SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/advancedgrids.swc</path-element>
+		<rsl-url>advancedgrids_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+	
+    <!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
+	<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
+   
+   <!-- target-player: specifies the version of the player the application is targeting. 
+	               Features requiring a later version will not be compiled into the application. 
+                       The minimum value supported is "9.0.0".-->
+   <!-- target-player usage:
+   <target-player>version</target-player>
+   -->
+
+   <!-- Enables SWFs to access the network. -->
+   <use-network>true</use-network>
+   
+   <!-- Metadata added to SWFs via the SWF Metadata tag. -->
+   <metadata>
+      <title>Apache Flex Application</title>
+      <description>http://flex.apache.org/</description>
+      <publisher>Apache Software Foundation</publisher>
+      <creator>Apache Software Foundation</creator>
+      <language>en_US</language>
+   </metadata>
+
+</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1d5fa798/ide/flashbuilder/config/airmobile-config.xml
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/config/airmobile-config.xml b/ide/flashbuilder/config/airmobile-config.xml
new file mode 100644
index 0000000..cc05231
--- /dev/null
+++ b/ide/flashbuilder/config/airmobile-config.xml
@@ -0,0 +1,365 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+
+
+<flex-config>
+    <!-- Specifies the minimum player version that will run the compiled SWF. -->
+     <target-player>11.9</target-player>
+
+    <!-- Specifies the version of the compiled SWF -->
+    <swf-version>22</swf-version>
+    
+   <compiler>
+
+      <!-- Turn on generation of accessible SWFs. -->
+      <accessible>false</accessible>
+      
+      <!-- Specifies the locales for internationalization. -->
+      <locale>
+          <locale-element>en_US</locale-element>
+      </locale>
+
+      <!-- Specifies that the target runtime is a mobile device. -->
+      <mobile>true</mobile>
+
+      <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
+      <!-- not set -->
+      <!--
+      <source-path>
+         <path-element>string</path-element>
+      </source-path>
+      -->
+	  
+	  <!-- Allow the source-path to have path-elements which contain other path-elements -->
+	  <allow-source-path-overlap>false</allow-source-path-overlap>
+      
+      <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
+      <!-- code.                                                                       -->
+      <show-actionscript-warnings>true</show-actionscript-warnings>
+      
+      <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
+      <!-- but true by default for compc. -->
+      <!--
+      <debug>true</debug>
+      -->
+
+      <!-- List of SWC files or directories to compile against but to omit from -->
+      <!-- linking.                                                             -->
+      <external-library-path>
+         <path-element>libs/air/airglobal.swc</path-element>
+      </external-library-path>
+      
+      <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
+      <!-- the compiler during mxml translation and are helpful with understanding and   -->
+      <!-- debugging Flex applications.                                                  -->
+      <keep-generated-actionscript>false</keep-generated-actionscript>
+
+      <!-- not set -->
+      <!--
+      <include-libraries>
+         <library>string</library>
+      </include-libraries>
+      -->
+      
+      <!-- List of SWC files or directories that contain SWC files. -->
+      <library-path>
+         <path-element>libs</path-element>
+         <path-element>libs/mobile</path-element>
+         <path-element>libs/air/servicemonitor.swc</path-element>
+         <path-element>locale/{locale}</path-element>
+      </library-path>
+     
+      <namespaces>
+      <!-- Specify a URI to associate with a manifest of components for use as MXML -->
+      <!-- elements.                                                                -->
+         <namespace>
+            <uri>http://ns.adobe.com/mxml/2009</uri>
+            <manifest>mxml-2009-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>library://ns.adobe.com/flex/spark</uri>
+            <manifest>spark-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>http://flex.apache.org/ns</uri>
+            <manifest>apache-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>http://flex.apache.org/experimental/ns</uri>
+            <manifest>experimental-mobile-manifest.xml</manifest>
+         </namespace>
+      </namespaces>
+      
+      <!-- Enable post-link SWF optimization. -->
+      <optimize>true</optimize>
+
+      <!-- Keep the following AS3 metadata in the bytecodes.                                             -->
+      <!-- Warning: For the data binding feature in the Flex framework to work properly,                 -->
+      <!--          the following metadata must be kept:                                                 -->
+      <!--          1. Bindable                                                                          -->
+      <!--          2. Managed                                                                           -->
+      <!--          3. ChangeEvent                                                                       -->
+      <!--          4. NonCommittingChangeEvent                                                          -->
+      <!--          5. Transient                                                                         -->
+      <!--
+      <keep-as3-metadata>
+          <name>Bindable</name>
+          <name>Managed</name>
+          <name>ChangeEvent</name>
+          <name>NonCommittingChangeEvent</name>
+          <name>Transient</name>
+      </keep-as3-metadata>
+      -->
+      
+      <!-- Default preloader. -->
+      <preloader>spark.preloaders.SplashScreen</preloader>
+
+      <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
+      <!-- will not be able to detect assignments to "foo".                               -->
+      <show-binding-warnings>true</show-binding-warnings>
+      
+      <!-- toggle whether warnings generated from unused type selectors are displayed -->
+      <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
+
+      <!-- Run the AS3 compiler in strict error checking mode. -->
+      <strict>true</strict>
+      
+      <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
+      <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
+      <!-- (-strict is recommended, but not required, for earlier errors) -->
+      <as3>true</as3>
+      
+      <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
+      <!-- properties. In the prototype based object model built-in functions are implemented as dynamic      -->
+      <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for         -->
+      <!-- references to dynamic properties) -->
+      <es>false</es>
+      
+      <!-- List of CSS or SWC files to apply as a theme. -->
+      <theme>
+         <!-- default theme is mobile -->
+         <filename>themes/Mobile/mobile.swc</filename>
+      </theme>
+      
+      <!-- Turns on the display of stack traces for uncaught runtime errors. -->
+      <verbose-stacktraces>false</verbose-stacktraces>
+      
+      <!-- Defines the AS3 file encoding. -->
+      <!-- not set -->
+      <!--
+      <actionscript-file-encoding></actionscript-file-encoding>
+      -->
+      
+      <fonts>
+
+          <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
+          <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
+          <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
+          <advanced-anti-aliasing>true</advanced-anti-aliasing>
+        
+          <!-- The number of embedded font faces that are cached. -->
+          <max-cached-fonts>20</max-cached-fonts>
+        
+          <!-- The number of character glyph outlines to cache for each font face. -->
+          <max-glyphs-per-face>1000</max-glyphs-per-face>
+       
+          <!-- Defines ranges that can be used across multiple font-face declarations. -->
+          <!-- See flash-unicode-table.xml for more examples. -->
+          <!-- not set -->
+          <!--
+          <languages>
+              <language-range>
+                  <lang>englishRange</lang>
+                  <range>U+0020-U+007E</range>
+              </language-range>
+          </languages>
+          -->
+       
+          <!-- Compiler font manager classes, in policy resolution order-->
+          <managers>
+              <manager-class>flash.fonts.JREFontManager</manager-class>
+              <manager-class>flash.fonts.AFEFontManager</manager-class>
+              <manager-class>flash.fonts.BatikFontManager</manager-class>
+              <manager-class>flash.fonts.CFFFontManager</manager-class> 
+          </managers>
+
+          <!-- File containing cached system font licensing information produced via 
+               java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
+               Will default to winFonts.ser on Windows XP and
+               macFonts.ser on Mac OS X, so is commented out by default.
+
+          <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
+          -->
+     
+      </fonts> 
+	   
+      <!-- Array.toString() format has changed. -->
+      <warn-array-tostring-changes>false</warn-array-tostring-changes>
+      
+      <!-- Assignment within conditional. -->
+      <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
+      
+      <!-- Possibly invalid Array cast operation. -->
+      <warn-bad-array-cast>true</warn-bad-array-cast>
+      
+      <!-- Non-Boolean value used where a Boolean value was expected. -->
+      <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
+
+      <!-- Invalid Date cast operation. -->
+      <warn-bad-date-cast>true</warn-bad-date-cast>
+      
+      <!-- Unknown method. -->
+      <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
+
+      <!-- Unknown property. -->
+      <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
+
+      <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
+      <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
+
+      <!-- Impossible assignment to null. -->
+      <warn-bad-null-assignment>true</warn-bad-null-assignment>
+
+      <!-- Illogical comparison with null. -->
+      <warn-bad-null-comparison>true</warn-bad-null-comparison>
+
+      <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
+      <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
+
+      <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
+      <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
+
+      <!-- __resolve is no longer supported. -->
+      <warn-changes-in-resolve>false</warn-changes-in-resolve>
+
+      <!-- Class is sealed. It cannot have members added to it dynamically. -->
+      <warn-class-is-sealed>true</warn-class-is-sealed>
+ 
+      <!-- Constant not initialized. -->
+      <warn-const-not-initialized>true</warn-const-not-initialized>
+
+      <!-- Function used in new expression returns a value. Result will be what the -->
+      <!-- function returns, rather than a new instance of that function.           -->
+      <warn-constructor-returns-value>false</warn-constructor-returns-value>
+
+      <!-- EventHandler was not added as a listener. -->
+      <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
+
+      <!-- Unsupported ActionScript 2.0 function. -->
+      <warn-deprecated-function-error>true</warn-deprecated-function-error>
+
+      <!-- Unsupported ActionScript 2.0 property. -->
+      <warn-deprecated-property-error>true</warn-deprecated-property-error>
+
+      <!-- More than one argument by the same name. -->
+      <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
+
+      <!-- Duplicate variable definition -->
+      <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
+
+      <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
+      <warn-for-var-in-changes>false</warn-for-var-in-changes>
+
+      <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
+      <warn-import-hides-class>true</warn-import-hides-class>
+
+      <!-- Use of the instanceof operator. -->
+      <warn-instance-of-changes>true</warn-instance-of-changes>
+
+      <!-- Internal error in compiler. -->
+      <warn-internal-error>true</warn-internal-error>
+
+      <!-- _level is no longer supported. For more information, see the flash.display package. -->
+      <warn-level-not-supported>true</warn-level-not-supported>
+
+      <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
+      <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
+
+      <!-- Negative value will become a large positive value when assigned to a uint data type. -->
+      <warn-negative-uint-literal>true</warn-negative-uint-literal>
+
+      <!-- Missing constructor. -->
+      <warn-no-constructor>false</warn-no-constructor>
+
+      <!-- The super() statement was not called within the constructor. -->
+      <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
+
+      <!-- Missing type declaration. -->
+      <warn-no-type-decl>true</warn-no-type-decl>
+     
+      <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
+      <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space.      -->
+      <warn-number-from-string-changes>false</warn-number-from-string-changes>
+      
+      <!-- Change in scoping for the this keyword. Class methods extracted from an  -->
+      <!-- instance of a class will always resolve this back to that instance. In   -->
+      <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
+      <!-- is invoked from.                                                         -->
+      <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
+      
+      <!-- Inefficient use of += on a TextField.-->
+      <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
+     
+      <!-- Possible missing parentheses. -->
+      <warn-unlikely-function-value>true</warn-unlikely-function-value>
+      
+      <!-- Possible usage of the ActionScript 2.0 XML class. -->
+      <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+   
+   </compiler>
+
+   <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
+                        cross-domain rsl.-->
+   <!-- compute-digest usage:
+   <compute-digest>boolean</compute-digest>
+   -->
+
+   <!-- A list of runtime shared library URLs to be loaded before applications start. -->
+   <!-- not set -->
+   <!--
+   <runtime-shared-libraries>
+      <url>string</url>
+      <url>string</url>
+   </runtime-shared-libraries>
+   -->
+	
+	<!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
+	<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
+   
+   <!-- target-player: specifies the version of the player the application is targeting. 
+	               Features requiring a later version will not be compiled into the application. 
+                       The minimum value supported is "9.0.0".-->
+   <!-- target-player usage:
+   <target-player>version</target-player>
+   -->
+
+   <!-- Enables SWFs to access the network. -->
+   <use-network>true</use-network>
+   
+   <!-- Metadata added to SWFs via the SWF Metadata tag. -->
+   <metadata>
+      <title>Apache Flex Application</title>
+      <description>http://flex.apache.org/</description>
+      <publisher>Apache Software Foundation</publisher>
+      <creator>Apache Software Foundation</creator>
+      <language>en_US</language>
+   </metadata>
+
+</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1d5fa798/ide/flashbuilder/config/flex-config.xml
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/config/flex-config.xml b/ide/flashbuilder/config/flex-config.xml
new file mode 100644
index 0000000..5ae763a
--- /dev/null
+++ b/ide/flashbuilder/config/flex-config.xml
@@ -0,0 +1,447 @@
+<?xml version="1.0"?>
+
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+
+
+<flex-config>
+    <!-- Specifies the minimum player version that will run the compiled SWF. -->
+   <target-player>11.1</target-player>
+
+    <!-- Specifies the version of the compiled SWF -->
+   <swf-version>14</swf-version>
+
+   <compiler>
+
+      <!-- Turn on generation of accessible SWFs. -->
+      <accessible>true</accessible>
+
+      <!-- Specifies the locales for internationalization. -->
+      <locale>
+          <locale-element>en_US</locale-element>
+      </locale>
+
+      <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
+      <!-- not set -->
+      <!--
+      <source-path>
+         <path-element>string</path-element>
+      </source-path>
+      -->
+
+     <!-- Allow the source-path to have path-elements which contain other path-elements -->
+     <allow-source-path-overlap>false</allow-source-path-overlap>
+
+      <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
+      <!-- code.                                                                       -->
+      <show-actionscript-warnings>true</show-actionscript-warnings>
+
+      <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
+      <!-- but true by default for compc. -->
+      <!--
+      <debug>true</debug>
+      -->
+
+      <!-- List of SWC files or directories to compile against but to omit from -->
+      <!-- linking.                                                             -->
+      <external-library-path>
+          <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc</path-element>
+      </external-library-path>
+
+      <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
+      <!-- the compiler during mxml translation and are helpful with understanding and   -->
+      <!-- debugging Flex applications.                                                  -->
+      <keep-generated-actionscript>false</keep-generated-actionscript>
+
+      <!-- not set -->
+      <!--
+      <include-libraries>
+         <library>string</library>
+      </include-libraries>
+      -->
+
+      <!-- List of SWC files or directories that contain SWC files. -->
+      <library-path>
+         <path-element>libs</path-element>
+         <path-element>libs/mx</path-element>
+         <path-element>locale/{locale}</path-element>
+         <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
+      </library-path>
+
+      <namespaces>
+      <!-- Specify a URI to associate with a manifest of components for use as MXML -->
+      <!-- elements.                                                                -->
+         <namespace>
+            <uri>http://ns.adobe.com/mxml/2009</uri>
+            <manifest>mxml-2009-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>library://ns.adobe.com/flex/spark</uri>
+            <manifest>spark-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>library://ns.adobe.com/flex/mx</uri>
+            <manifest>mx-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>http://www.adobe.com/2006/mxml</uri>
+            <manifest>mxml-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>http://flex.apache.org/ns</uri>
+            <manifest>apache-manifest.xml</manifest>
+         </namespace>
+         <namespace>
+            <uri>http://flex.apache.org/experimental/ns</uri>
+            <manifest>experimental-manifest.xml</manifest>
+         </namespace>     
+      </namespaces>
+
+      <!-- Enable post-link SWF optimization. -->
+      <optimize>true</optimize>
+
+      <!-- Enable trace statement omission. -->
+      <omit-trace-statements>true</omit-trace-statements>
+
+      <!-- Keep the following AS3 metadata in the bytecodes.                                             -->
+      <!-- Warning: For the data binding feature in the Flex framework to work properly,                 -->
+      <!--          the following metadata must be kept:                                                 -->
+      <!--          1. Bindable                                                                          -->
+      <!--          2. Managed                                                                           -->
+      <!--          3. ChangeEvent                                                                       -->
+      <!--          4. NonCommittingChangeEvent                                                          -->
+      <!--          5. Transient                                                                         -->
+      <!--
+      <keep-as3-metadata>
+          <name>Bindable</name>
+          <name>Managed</name>
+          <name>ChangeEvent</name>
+          <name>NonCommittingChangeEvent</name>
+          <name>Transient</name>
+      </keep-as3-metadata>
+      -->
+
+      <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
+      <!-- will not be able to detect assignments to "foo".                               -->
+      <show-binding-warnings>true</show-binding-warnings>
+
+      <!-- toggle whether warnings generated from unused type selectors are displayed -->
+      <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
+
+      <!-- Run the AS3 compiler in strict error checking mode. -->
+      <strict>true</strict>
+
+      <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
+      <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
+      <!-- (-strict is recommended, but not required, for earlier errors) -->
+      <as3>true</as3>
+
+      <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
+      <!-- properties. In the prototype based object model built-in functions are implemented as dynamic      -->
+      <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for         -->
+      <!-- references to dynamic properties) -->
+      <es>false</es>
+
+      <!-- List of CSS or SWC files to apply as a theme. -->
+      <theme>
+         <!-- The Flex 4 default theme is Spark. -->
+         <filename>themes/Spark/spark.css</filename>
+      </theme>
+
+      <!-- Turns on the display of stack traces for uncaught runtime errors. -->
+      <verbose-stacktraces>false</verbose-stacktraces>
+
+      <!-- Defines the AS3 file encoding. -->
+      <!-- not set -->
+      <!--
+      <actionscript-file-encoding></actionscript-file-encoding>
+      -->
+
+      <fonts>
+
+          <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
+          <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
+          <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
+          <advanced-anti-aliasing>true</advanced-anti-aliasing>
+
+          <!-- The number of embedded font faces that are cached. -->
+          <max-cached-fonts>20</max-cached-fonts>
+
+          <!-- The number of character glyph outlines to cache for each font face. -->
+          <max-glyphs-per-face>1000</max-glyphs-per-face>
+
+          <!-- Defines ranges that can be used across multiple font-face declarations. -->
+          <!-- See flash-unicode-table.xml for more examples. -->
+          <!-- not set -->
+          <!--
+          <languages>
+              <language-range>
+                  <lang>englishRange</lang>
+                  <range>U+0020-007E</range>
+              </language-range>
+          </languages>
+          -->
+
+          <!-- Compiler font manager classes, in policy resolution order -->
+          <!-- NOTE: For Apache Flex -->
+          <!-- AFEFontManager and CFFFontManager both use proprietary technology.  -->
+          <!-- You must install the optional font jars if you wish to use embedded fonts  -->
+          <!-- directly or you can use fontswf to precompile the font as a swf.  -->
+          <managers>
+              <manager-class>flash.fonts.JREFontManager</manager-class>
+              <manager-class>flash.fonts.BatikFontManager</manager-class>
+              <manager-class>flash.fonts.AFEFontManager</manager-class>
+              <manager-class>flash.fonts.CFFFontManager</manager-class>
+          </managers>
+
+          <!-- File containing cached system font licensing information produced via
+               java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
+               Will default to winFonts.ser on Windows XP and
+               macFonts.ser on Mac OS X, so is commented out by default.
+
+          <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
+          -->
+
+      </fonts>
+
+      <!-- Array.toString() format has changed. -->
+      <warn-array-tostring-changes>false</warn-array-tostring-changes>
+
+      <!-- Assignment within conditional. -->
+      <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
+
+      <!-- Possibly invalid Array cast operation. -->
+      <warn-bad-array-cast>true</warn-bad-array-cast>
+
+      <!-- Non-Boolean value used where a Boolean value was expected. -->
+      <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
+
+      <!-- Invalid Date cast operation. -->
+      <warn-bad-date-cast>true</warn-bad-date-cast>
+
+      <!-- Unknown method. -->
+      <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
+
+      <!-- Unknown property. -->
+      <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
+
+      <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
+      <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
+
+      <!-- Impossible assignment to null. -->
+      <warn-bad-null-assignment>true</warn-bad-null-assignment>
+
+      <!-- Illogical comparison with null. -->
+      <warn-bad-null-comparison>true</warn-bad-null-comparison>
+
+      <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
+      <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
+
+      <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
+      <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
+
+      <!-- __resolve is no longer supported. -->
+      <warn-changes-in-resolve>false</warn-changes-in-resolve>
+
+      <!-- Class is sealed. It cannot have members added to it dynamically. -->
+      <warn-class-is-sealed>true</warn-class-is-sealed>
+
+      <!-- Constant not initialized. -->
+      <warn-const-not-initialized>true</warn-const-not-initialized>
+
+      <!-- Function used in new expression returns a value. Result will be what the -->
+      <!-- function returns, rather than a new instance of that function.           -->
+      <warn-constructor-returns-value>false</warn-constructor-returns-value>
+
+      <!-- EventHandler was not added as a listener. -->
+      <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
+
+      <!-- Unsupported ActionScript 2.0 function. -->
+      <warn-deprecated-function-error>true</warn-deprecated-function-error>
+
+      <!-- Unsupported ActionScript 2.0 property. -->
+      <warn-deprecated-property-error>true</warn-deprecated-property-error>
+
+      <!-- More than one argument by the same name. -->
+      <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
+
+      <!-- Duplicate variable definition -->
+      <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
+
+      <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
+      <warn-for-var-in-changes>false</warn-for-var-in-changes>
+
+      <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
+      <warn-import-hides-class>true</warn-import-hides-class>
+
+      <!-- Use of the instanceof operator. -->
+      <warn-instance-of-changes>true</warn-instance-of-changes>
+
+      <!-- Internal error in compiler. -->
+      <warn-internal-error>true</warn-internal-error>
+
+      <!-- _level is no longer supported. For more information, see the flash.display package. -->
+      <warn-level-not-supported>true</warn-level-not-supported>
+
+      <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
+      <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
+
+      <!-- Negative value will become a large positive value when assigned to a uint data type. -->
+      <warn-negative-uint-literal>true</warn-negative-uint-literal>
+
+      <!-- Missing constructor. -->
+      <warn-no-constructor>false</warn-no-constructor>
+
+      <!-- The super() statement was not called within the constructor. -->
+      <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
+
+      <!-- Missing type declaration. -->
+      <warn-no-type-decl>true</warn-no-type-decl>
+
+      <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
+      <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space.      -->
+      <warn-number-from-string-changes>false</warn-number-from-string-changes>
+
+      <!-- Change in scoping for the this keyword. Class methods extracted from an  -->
+      <!-- instance of a class will always resolve this back to that instance. In   -->
+      <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
+      <!-- is invoked from.                                                         -->
+      <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
+
+      <!-- Inefficient use of += on a TextField.-->
+      <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
+
+      <!-- Possible missing parentheses. -->
+      <warn-unlikely-function-value>true</warn-unlikely-function-value>
+
+      <!-- Possible usage of the ActionScript 2.0 XML class. -->
+      <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+
+   </compiler>
+
+   <!-- compute-digest: writes a digest to the catalog.xml of a library. Use this when the library will be used as a
+                        cross-domain rsl.-->
+   <!-- compute-digest usage:
+   <compute-digest>boolean</compute-digest>
+   -->
+
+   <!-- remove-unused-rsls: remove RSLs that are not being used by the application-->
+   <remove-unused-rsls>true</remove-unused-rsls>
+
+   <!-- A list of runtime shared library URLs to be loaded before applications start. -->
+   <!-- not set -->
+   <!--
+   <runtime-shared-libraries>
+      <url>string</url>
+      <url>string</url>
+   </runtime-shared-libraries>
+   -->
+	
+	<!-- runtime-shared-library-path: specifies a SWC or directory to link against and an RSL URL to load with optional failover URLs -->  
+      <!-- Framework SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/framework.swc</path-element>
+		<rsl-url>framework_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+	  
+	  <!-- TextLayout SWC -->
+	<!-- 
+	    Even though there is no textLayout rsl leave this in so that in a FlashBuilder
+	    Flex Library project, FlashBuilder will allow "Link Type" to be external.
+    -->
+    <runtime-shared-library-path>
+		<path-element>libs/textLayout.swc</path-element>
+		<rsl-url>textLayout_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+    
+      <!-- Spark SWC-->
+   	<runtime-shared-library-path>
+		<path-element>libs/spark.swc</path-element>
+		<rsl-url>spark_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+	
+      <!-- Sparkskins SWC-->
+   	<runtime-shared-library-path>
+		<path-element>libs/sparkskins.swc</path-element>
+		<rsl-url>sparkskins_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+	 
+	  <!-- RPC SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/rpc.swc</path-element>
+		<rsl-url>rpc_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+    	
+      <!-- Charts SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/charts.swc</path-element>
+		<rsl-url>charts_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+
+      <!-- Spark_dmv SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/spark_dmv.swc</path-element>
+		<rsl-url>spark_dmv_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+
+      <!-- OSMF SWC -->
+	<!-- 
+	    Even though there is no OSMF rsl leave this in so that in a FlashBuilder
+	    Flex Library project, FlashBuilder will allow "Link Type" to be external.
+    -->
+    <runtime-shared-library-path>
+		<path-element>libs/osmf.swc</path-element>
+		<rsl-url>osmf_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+      
+      <!-- MX SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/mx/mx.swc</path-element>
+		<rsl-url>mx_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+   
+      <!-- Advancedgrids SWC -->
+	<runtime-shared-library-path>
+		<path-element>libs/advancedgrids.swc</path-element>
+		<rsl-url>advancedgrids_4.11.0.0.swf</rsl-url>
+	</runtime-shared-library-path>
+	
+	<!-- static-link-runtime-shared-libraries: statically link the libraries specified by the -runtime-shared-libraries-path option.-->
+	<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
+
+   <!-- target-player: specifies the version of the player the application is targeting.
+                       Features requiring a later version will not be compiled into the application.
+                       The minimum value supported is "9.0.0".-->
+   <!-- target-player usage:
+   <target-player>version</target-player>
+   -->
+
+   <!-- Enables SWFs to access the network. -->
+   <use-network>true</use-network>
+
+   <!-- Metadata added to SWFs via the SWF Metadata tag. -->
+   <metadata>
+      <title>Apache Flex Application</title>
+      <description>http://flex.apache.org/</description>
+      <publisher>Apache Software Foundation</publisher>
+      <creator>Apache Software Foundation</creator>
+      <language>en_US</language>
+   </metadata>
+   
+</flex-config>


[23/50] git commit: [flex-sdk] [refs/heads/master] - update release notes with recent checkins

Posted by jm...@apache.org.
update release notes with recent checkins


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/86d77d2f
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/86d77d2f
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/86d77d2f

Branch: refs/heads/master
Commit: 86d77d2fce152daeca9a27178640f07188b2adfc
Parents: cb64e35
Author: Alex Harui <ah...@apache.org>
Authored: Fri Oct 11 11:39:43 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Oct 11 11:40:21 2013 -0700

----------------------------------------------------------------------
 RELEASE_NOTES | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/86d77d2f/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 59480cc..8e30e1e 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -90,11 +90,13 @@ FLEX-33705  DataGridDragProxy created item renderer without a reference to the c
 FLEX-33702  DataGrid columns unable to specify sorting internal compare functions used.
 FLEX-33698  Shift Return creates new ParagraphElement
 FLEX-33692  Spark button border issue
+FLEX-33690  focus does not move correctly when there are multiple non-modal popup windows
 FLEX-33689  Flex Library project unit tests creates invalid FlexUnitApplication.mxml
 FLEX-33688  RTE in advanced list when setting selection to null and column is sorted
 FLEX-33687  DataGridEditor is not visible in ASDOCS has been excluded
 FLEX-33683  Bad ordering of ListCollectionView addAllAt
 FLEX-33682  Large Advanced Data Grid slow to resize
+FLEX-33678  DataGrid VerticalScrollBar disappears in CallOut or on StateChange in 4.10.0
 FLEX-33667  Compiler with Apache Flex 4.10 occur error : Uncaught exception in compiler.
 FLEX-33666  When scrolling a Spark Datagrid with the mousewheel after starting an itemEditor session, the itemEdito
 FLEX-33665  ItemEditors are placed on the wrong position after scrolling an editable Spark Datagrid
@@ -104,11 +106,13 @@ FLEX-33654  Spark Datagrid - ItemEditor Keyboad Ctrl+V & Ctrl+C dont work
 FLEX-33643  Improve experimental CallOut component frame arrow display
 FLEX-33636  Error when creating new project in FB 4.7 using SDK 4.10.0 (11.8/3.8)
 FLEX-33630  ComboBox RTE when opened and DEL pressed OR when opened, text input and BACKSPACE pressed
+FLEX-33428  mx:Text with htmlText attribute compiled for FTETextField displays no text
 FLEX-33409  TLF crashes when hypens are shown in a multi span textFlow
 FLEX-33159  addSortField method in the AdvancedDataGridEx degenerates the internal state of the Sort object
 FLEX-33158  addSortField method in the AdvancedDataGridEx works inconsistently
 FLEX-33157  Sort class: _fields and fieldList variables can be out of sync
 FLEX-33131  rendererDescriptionMap is private, should be made protected to allow customizing the grid for condition
+FLEX-33052  Runtime error when using a chart in a module in an app that is also using charts
 FLEX-32998  NullPointerException in AdvancedDataGrid.getFieldSortInfo
 FLEX-32848  AdvancedDataGrid doesn't respect style property 'textSelectedColor' for selectionMode='singleCell'
 FLEX-28012  FormItemSkin and StackedFormItemSkib indicatorDisplay's toolTip is not localized


[20/50] git commit: [flex-sdk] [refs/heads/master] - - fixed error in experimental build trying to access AnimationTarget ( internal => public ) - fixed error in asdoc / build accessing ViewMenuLayout ( wrong manifest uri) - removed remainder of obsolete

Posted by jm...@apache.org.
- fixed error in experimental build trying to access AnimationTarget ( internal => public )
- fixed error in asdoc / build accessing ViewMenuLayout ( wrong manifest uri)
- removed remainder of obsolete experimental classes ( CallOutDropDownController and CallOutSkin)


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/5ae5a847
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/5ae5a847
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/5ae5a847

Branch: refs/heads/master
Commit: 5ae5a84778fa1e9a9a61aa218fad6244d1e9cdb1
Parents: dd4de4f
Author: mamsellem <ma...@systar.com>
Authored: Fri Oct 11 12:13:45 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Fri Oct 11 12:13:45 2013 +0200

----------------------------------------------------------------------
 asdoc/build.xml                                 |   3 +-
 flex-sdk-description.xml                        |   6 +-
 frameworks/projects/experimental/defaults.css   |   9 -
 .../experimental/src/ExperimentalClasses.as     |   1 -
 .../supportClasses/AnimationTarget.as           |  68 ------
 .../supportClasses/CallOutDropDownController.as |  78 ------
 .../src/spark/skins/spark/CallOutSkin.mxml      | 235 -------------------
 .../supportClasses/AnimationTarget.as           |   2 +-
 8 files changed, 5 insertions(+), 397 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5ae5a847/asdoc/build.xml
----------------------------------------------------------------------
diff --git a/asdoc/build.xml b/asdoc/build.xml
index ef93d4f..930abca 100644
--- a/asdoc/build.xml
+++ b/asdoc/build.xml
@@ -147,7 +147,6 @@
  			<doc-namespaces uri="http://ns.adobe.com/2009/mx-mxml"/>
  			<doc-namespaces uri="http://www.adobe.com/2006/advancedgridsmxml"/>
  			<doc-namespaces uri="http://www.adobe.com/2006/charts"/>
- 			<doc-namespaces uri="library://ns.adobe.com/flex/spark-mobilecomponents"/>
  			<doc-namespaces uri="library://ns.adobe.com/flex/spark-dmv"/>
             <!--  added for Apache -->
  			<doc-namespaces uri="http://flex.apache.org/ns"/>
@@ -166,7 +165,7 @@
 		    <namespace uri="http://www.adobe.com/2006/mxml" manifest="${flexlib}/mxml-manifest.xml"/>
 		    <namespace uri="library://ns.adobe.com/flex/spark" manifest="${flexlib}/projects/spark/manifest.xml"/>
 		    <namespace uri="library://ns.adobe.com/flex/mx" manifest="${flexlib}/mxml-manifest.xml"/>
-			<namespace uri="library://ns.adobe.com/flex/spark-mobilecomponents" manifest="${flexlib}/projects/mobilecomponents/manifest.xml"/>
+			<namespace uri="library://ns.adobe.com/flex/spark" manifest="${flexlib}/projects/mobilecomponents/manifest.xml"/>
 			<namespace uri="library://ns.adobe.com/flex/spark-dmv" manifest="${flexlib}/projects/spark_dmv/manifest_spark_dmv.xml"/>
 
             <!--  added for Apache -->

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5ae5a847/flex-sdk-description.xml
----------------------------------------------------------------------
diff --git a/flex-sdk-description.xml b/flex-sdk-description.xml
index 217ef12..117d002 100644
--- a/flex-sdk-description.xml
+++ b/flex-sdk-description.xml
@@ -18,8 +18,8 @@
 
 -->
 <flex-sdk-description>
-<name>Apache Flex 4.10.0 FP11.1 AIR3.7 en_US</name>
-<version>4.10.0</version>
-<build>20130801</build>
+<name>Apache Flex 4.11.0 FP11.1 AIR3.8 en_US</name>
+<version>4.11.0</version>
+<build>20131011</build>
 </flex-sdk-description>
         
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5ae5a847/frameworks/projects/experimental/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/defaults.css b/frameworks/projects/experimental/defaults.css
index 9cf29cd..eb5e83b 100644
--- a/frameworks/projects/experimental/defaults.css
+++ b/frameworks/projects/experimental/defaults.css
@@ -39,15 +39,6 @@ BorderDataNavigator
 	skinClass: ClassReference("spark.skins.BorderDataNavigatorSkin");
 }
 
-CallOut
-{
-	skinClass: ClassReference("spark.skins.spark.CallOutSkin");
-}
-
-/*CallOutArrow
-{
-	skinClass: ClassReference("spark.skins.spark.CallOutArrowSkin");
-}*/
 
 ColorPicker 
 {

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5ae5a847/frameworks/projects/experimental/src/ExperimentalClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/ExperimentalClasses.as b/frameworks/projects/experimental/src/ExperimentalClasses.as
index 8a6ea2f..7eeb3ca 100644
--- a/frameworks/projects/experimental/src/ExperimentalClasses.as
+++ b/frameworks/projects/experimental/src/ExperimentalClasses.as
@@ -31,7 +31,6 @@ package
 		import spark.components.itemRenderers.MenuCoreItemRenderer; MenuCoreItemRenderer;
 		import spark.components.itemRenderers.MenuItemRenderer; MenuItemRenderer;
 		import spark.components.listClasses.IListItemRenderer; IListItemRenderer;
-		import spark.components.supportClasses.AnimationTarget; AnimationTarget;
 		import spark.components.supportClasses.IDropDownContainer; IDropDownContainer;
 		import spark.containers.supportClasses.DeferredCreationPolicy; DeferredCreationPolicy;
 		import spark.containers.Accordion; Accordion;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5ae5a847/frameworks/projects/experimental/src/spark/components/supportClasses/AnimationTarget.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/components/supportClasses/AnimationTarget.as b/frameworks/projects/experimental/src/spark/components/supportClasses/AnimationTarget.as
deleted file mode 100644
index 2c09ca9..0000000
--- a/frameworks/projects/experimental/src/spark/components/supportClasses/AnimationTarget.as
+++ /dev/null
@@ -1,68 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package spark.components.supportClasses
-{
-	import spark.effects.animation.Animation;
-	import spark.effects.animation.IAnimationTarget;
-	
-	public class AnimationTarget implements IAnimationTarget
-	{
-		public var updateFunction:Function;
-		public var startFunction:Function;
-		public var stopFunction:Function;
-		public var endFunction:Function;
-		public var repeatFunction:Function;
-		
-		public function AnimationTarget(updateFunction:Function = null)
-		{
-			this.updateFunction = updateFunction;
-		}
-		
-		public function animationStart(animation:Animation):void
-		{
-			if (startFunction != null)
-				startFunction(animation);
-		}
-		
-		public function animationEnd(animation:Animation):void
-		{
-			if (endFunction != null)
-				endFunction(animation);
-		}
-		
-		public function animationStop(animation:Animation):void
-		{
-			if (stopFunction != null)
-				stopFunction(animation);
-		}
-		
-		public function animationRepeat(animation:Animation):void
-		{
-			if (repeatFunction != null)
-				repeatFunction(animation);
-		}
-		
-		public function animationUpdate(animation:Animation):void
-		{
-			if (updateFunction != null)
-				updateFunction(animation);
-		}
-		
-	}
-}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5ae5a847/frameworks/projects/experimental/src/spark/components/supportClasses/CallOutDropDownController.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/components/supportClasses/CallOutDropDownController.as b/frameworks/projects/experimental/src/spark/components/supportClasses/CallOutDropDownController.as
deleted file mode 100644
index bff579b..0000000
--- a/frameworks/projects/experimental/src/spark/components/supportClasses/CallOutDropDownController.as
+++ /dev/null
@@ -1,78 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package spark.components.supportClasses
-{
-	import flash.display.DisplayObject;
-	import flash.events.Event;
-	
-	import mx.collections.ArrayCollection;
-	import mx.core.mx_internal;
-	
-	import spark.components.supportClasses.DropDownController;
-	//import spark.events.DropDownEvent;
-	
-	import spark.components.CallOutButton;
-	
-	use namespace mx_internal;
-	
-	public class CallOutDropDownController extends DropDownController
-	{
-		//private var openDropDowns:ArrayCollection;
-		
-		public function CallOutDropDownController()
-		{
-			super();
-			
-			//openDropDowns = new ArrayCollection();
-			
-			//this.addEventListener(DropDownEvent.OPEN, onOpenDropDown);
-		}
-		
-		override mx_internal function systemManager_mouseDownHandler(event:Event):void
-		{
-			if((openButton as CallOutButton).subCallOut != null)
-			{
-				if( this.hitAreaAdditions)
-				{
-					if(this.hitAreaAdditions.indexOf((openButton as CallOutButton).subCallOut) == -1)
-						this.hitAreaAdditions = Vector.<DisplayObject>( [ (openButton as CallOutButton).subCallOut ] ).concat( this.hitAreaAdditions );
-				}
-				else
-				{
-					this.hitAreaAdditions = Vector.<DisplayObject>( [ (openButton as CallOutButton).subCallOut ] );
-				}
-			}
-			
-			super.mx_internal::systemManager_mouseDownHandler(event);
-		}
-		/*
-		private function onOpenDropDown(event:DropDownEvent):void
-		{
-			var test:String = "neu";
-			
-			openDropDowns.addItem({dropDownController:event.target});
-		}
-		
-		override public function closeDropDown(commit:Boolean):void
-		{
-			var test:String = "neu";
-		}
-		*/
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5ae5a847/frameworks/projects/experimental/src/spark/skins/spark/CallOutSkin.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental/src/spark/skins/spark/CallOutSkin.mxml b/frameworks/projects/experimental/src/spark/skins/spark/CallOutSkin.mxml
deleted file mode 100644
index f992899..0000000
--- a/frameworks/projects/experimental/src/spark/skins/spark/CallOutSkin.mxml
+++ /dev/null
@@ -1,235 +0,0 @@
-<?xml version="1.0"?>
-<!--
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
--->
-<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
-			 xmlns:s="library://ns.adobe.com/flex/spark">
-	
-	<fx:Metadata>
-		[HostComponent("spark.components.CallOut")]
-	</fx:Metadata>
-	
-	<fx:Script>
-		<![CDATA[
-			import mx.core.mx_internal;
-			
-			import spark.components.ArrowDirection;
-			
-			public static const ARROW_SIDE_LENGHT:int = 24;
-			
-			public static const RADIUS:int = 5;
-			
-			public static const CONTENT_GAP:int = 10;
-			
-			private static const BORDER_THICKNESS:int = 2;
-
-			use namespace mx_internal;
-			
-			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
-			{
-				updateArrow(unscaledWidth, unscaledHeight);
-				
-				super.updateDisplayList(unscaledWidth, unscaledHeight);
-			}
-			
-			private function updateArrow(uw:Number, uh:Number):void
-			{
-				var arDi:String = hostComponent.arrowDirection;
-				var aHP:String	= hostComponent.mx_internal::actualHorizontalPosition;
-				var aVP:String	= hostComponent.mx_internal::actualVerticalPosition;
-				
-				if(arDi != ArrowDirection.NONE)
-				{
-					if(arDi == "left")
-					{
-						arrowGraphic.height	= ARROW_SIDE_LENGHT;
-						arrowGraphic.width	= ARROW_SIDE_LENGHT/2;
-
-						arrowPath.data = "M " + ARROW_SIDE_LENGHT/2 + " 0 L " + ARROW_SIDE_LENGHT/2 + " " + ARROW_SIDE_LENGHT + " L 0 " + ARROW_SIDE_LENGHT/2 + " Z";
-						
-						backgroundGroup.left = arrowGraphic.width - BORDER_THICKNESS;
-						backgroundGroup.right = arrowGraphic.width * -1;
-
-                    	contentGroup.left = CONTENT_GAP + arrowGraphic.width - BORDER_THICKNESS;
-						contentGroup.right = CONTENT_GAP - arrowGraphic.width;
-
-                    	coverRect.top = coverRect.bottom = BORDER_THICKNESS + 1;
-                    	coverRect.width = BORDER_THICKNESS;
-                    	coverRect.right = 0;
-						arrowGraphic.left = 0;
-					}
-					else if(arDi == "right")
-					{
-						arrowGraphic.height	= ARROW_SIDE_LENGHT;
-						arrowGraphic.width	= ARROW_SIDE_LENGHT/2;
-						
-						arrowPath.data = "M 0 0 L " + ARROW_SIDE_LENGHT/2 + " " + ARROW_SIDE_LENGHT/2 + " L 0 " + ARROW_SIDE_LENGHT + " Z";
-						
-						backgroundGroup.left = arrowGraphic.width * -1;
-                    	backgroundGroup.right = arrowGraphic.width - BORDER_THICKNESS ;
-
-						contentGroup.left = CONTENT_GAP - arrowGraphic.width;
-                    	contentGroup.right = CONTENT_GAP + arrowGraphic.width- BORDER_THICKNESS ;
-
-                    	coverRect.top = coverRect.bottom = BORDER_THICKNESS + 1;
-                    	coverRect.width = BORDER_THICKNESS;
-                    	coverRect.left = 0;
-
-						arrowGraphic.right = 0;
-					}
-					else if(arDi == "up")
-					{
-						arrowGraphic.height	= ARROW_SIDE_LENGHT/2;
-						arrowGraphic.width = ARROW_SIDE_LENGHT;
-						
-						arrowPath.data = "M 0 " + ARROW_SIDE_LENGHT/2 + " L " + ARROW_SIDE_LENGHT + " " + ARROW_SIDE_LENGHT/2 + " L " + ARROW_SIDE_LENGHT/2 + " 0 Z";
-						
-                    	backgroundGroup.top = arrowGraphic.height - BORDER_THICKNESS;
-						backgroundGroup.bottom	= arrowGraphic.height * -1;
-						
-                    	contentGroup.top = CONTENT_GAP + arrowGraphic.height - BORDER_THICKNESS;
-						contentGroup.bottom	= CONTENT_GAP - arrowGraphic.height;
-
-                    	coverRect.left = coverRect.right = BORDER_THICKNESS + 1;
-                    	coverRect.height = BORDER_THICKNESS;
-                    	coverRect.bottom = 0;
-
-						arrowGraphic.top = 0;
-
-					}
-					else if(arDi == "down")
-					{
-						arrowGraphic.height	= ARROW_SIDE_LENGHT/2;
-						arrowGraphic.width	= ARROW_SIDE_LENGHT;
-						
-						arrowPath.data = "M 0 0 L " + ARROW_SIDE_LENGHT/2 + " " + ARROW_SIDE_LENGHT/2 + " L " + ARROW_SIDE_LENGHT + " 0 Z";
-						
-						backgroundGroup.top	= arrowGraphic.height * -1;
-                    	backgroundGroup.bottom = arrowGraphic.height + BORDER_THICKNESS + 1;
-
-						contentGroup.top = CONTENT_GAP - arrowGraphic.height;
-                    	contentGroup.bottom = CONTENT_GAP + arrowGraphic.height + BORDER_THICKNESS + 1;
-
-                    	coverRect.left = coverRect.right = BORDER_THICKNESS + 1;
-                    	coverRect.height = BORDER_THICKNESS;
-                    	coverRect.top = 0;
-						arrowGraphic.bottom	= 0;
-
-					}
-					
-					if(arDi == "up" || arDi == "down")
-					{
-						if(aHP == "start")
-						{
-							arrowGraphic.left	= RADIUS;
-						}
-						else if(aHP == "middle")
-						{
-							arrowGraphic.horizontalCenter = 0;
-						}
-						else if(aHP == "end")
-						{
-							arrowGraphic.right = RADIUS;
-						}
-					}
-					else if(arDi == "left" || arDi == "right")
-					{
-						if(aVP == "start")
-						{
-							arrowGraphic.top	= RADIUS;
-						}
-						else if(aVP == "middle")
-						{
-							arrowGraphic.verticalCenter = 0;
-						}
-						if(aVP == "end")
-						{
-							arrowGraphic.bottom = RADIUS;
-						}
-					}
-				}
-			}
-			
-		]]>
-	</fx:Script>
-	
-	<s:states>
-		<s:State name="normal"/>
-		<s:State name="disabled"/>
-		<s:State name="closed" stateGroups="closedGroup"/>
-		<s:State name="disabledAndClosed" stateGroups="closedGroup"/>
-	</s:states>
-	
-	<s:transitions>
-		<s:Transition fromState="closed" toState="normal" autoReverse="true">
-			<s:Fade duration="150" target="{chrome}"/>
-		</s:Transition>
-		
-		<s:Transition fromState="disabledAndClosed" toState="disabled" autoReverse="true">
-			<s:Fade duration="150" target="{chrome}"/>
-		</s:Transition>
-		
-		<s:Transition fromState="normal" toState="closed" autoReverse="true">
-			<s:Fade duration="150" target="{chrome}"/>
-		</s:Transition>
-		
-		<s:Transition fromState="disabled" toState="disabledAndClosed" autoReverse="true">
-			<s:Fade duration="150" target="{chrome}"/>
-		</s:Transition>
-	</s:transitions>
-	
-	<s:Group id="chrome" left="0" right="0" top="0" bottom="0" visible.closedGroup="false">
-		<s:Group id="backgroundGroup" left="0" right="0" top="0" bottom="0">
-			
-			<s:Rect left="0" right="0" top="0" bottom="0" radiusX="{RADIUS}" radiusY="{RADIUS}">
-				<s:stroke>
-					<s:SolidColorStroke weight="2" color="0x808080"/>
-					<!--
-					<s:LinearGradientStroke weight="1"/>
-					-->
-				</s:stroke>
-				<s:fill>
-					<s:SolidColor color="0xFFFFFF"/>
-				</s:fill>
-				<s:filters>
-					<s:DropShadowFilter id="shadow" blurX="7" blurY="7" alpha="0.4" distance="5" angle="90" knockout="false"/>
-				</s:filters>
-			</s:Rect>
-		</s:Group>
-		
-		<s:Group id="contentGroup" left="{CONTENT_GAP}" right="{CONTENT_GAP}" top="{CONTENT_GAP}" bottom="{CONTENT_GAP}" minWidth="0" minHeight="0" fontSize="12"/>
-		
-		<s:Graphic id="arrowGraphic" x="0" y="0">
-			<s:Path id="arrowPath" left="0" right="0" top="0" bottom="0">
-                <s:stroke>
-                    <s:SolidColorStroke weight="{BORDER_THICKNESS}" color="0x808080"/>
-                </s:stroke>
-				<s:fill>
-					<s:SolidColor color="0xFFFFFF"/>
-				</s:fill>
-			</s:Path>
-            <s:Rect id="coverRect" >
-                <s:fill>
-                    <s:SolidColor color="0xFFFFFF"/>
-                </s:fill>
-            </s:Rect>
-		</s:Graphic>
-	</s:Group>
-</s:SparkSkin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5ae5a847/frameworks/projects/spark/src/spark/components/supportClasses/AnimationTarget.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/supportClasses/AnimationTarget.as b/frameworks/projects/spark/src/spark/components/supportClasses/AnimationTarget.as
index 8d83328..be90dfc 100644
--- a/frameworks/projects/spark/src/spark/components/supportClasses/AnimationTarget.as
+++ b/frameworks/projects/spark/src/spark/components/supportClasses/AnimationTarget.as
@@ -22,7 +22,7 @@ package spark.components.supportClasses
 import spark.effects.animation.Animation;
 import spark.effects.animation.IAnimationTarget;
 
-internal class AnimationTarget implements IAnimationTarget
+public class AnimationTarget implements IAnimationTarget
 {
     public var updateFunction:Function;
     public var startFunction:Function;


[33/50] git commit: [flex-sdk] [refs/heads/master] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

Posted by jm...@apache.org.
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/0234ed54
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/0234ed54
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/0234ed54

Branch: refs/heads/master
Commit: 0234ed54f9533791508d29b9baa229e24747472a
Parents: 3aef395 1d5fa79
Author: mamsellem <ma...@systar.com>
Authored: Mon Oct 14 00:55:23 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Mon Oct 14 00:55:23 2013 +0200

----------------------------------------------------------------------
 .gitignore                                      |   1 -
 RELEASE_NOTES                                   |   2 +-
 flex-sdk-description.xml                        |   2 +-
 ide/flashbuilder/config/air-config.xml          | 443 ++++++++++++++++++
 ide/flashbuilder/config/airmobile-config.xml    | 365 +++++++++++++++
 ide/flashbuilder/config/flex-config.xml         | 447 +++++++++++++++++++
 ide/flashbuilder/makeApacheFlexForIDE.bat       |   4 +-
 .../Styles/RadioButton_Mirroring_Styles.mxml    |   1 +
 .../RadioButton/swfs/RadioButton_Basic2.mxml    |   2 +-
 9 files changed, 1261 insertions(+), 6 deletions(-)
----------------------------------------------------------------------



[26/50] git commit: [flex-sdk] [refs/heads/master] - Updated with the release of FP 11.9 and AIR 3.9

Posted by jm...@apache.org.
Updated with the release of FP 11.9 and AIR 3.9


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/71d35a69
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/71d35a69
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/71d35a69

Branch: refs/heads/master
Commit: 71d35a69351d7ede7526d02f1c824f01089db19f
Parents: 09c4e92
Author: Justin Mclean <jm...@apache.org>
Authored: Sat Oct 12 08:57:24 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Sat Oct 12 08:57:24 2013 +1100

----------------------------------------------------------------------
 ide/flashbuilder/makeApacheFlexForIDE.bat | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/71d35a69/ide/flashbuilder/makeApacheFlexForIDE.bat
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/makeApacheFlexForIDE.bat b/ide/flashbuilder/makeApacheFlexForIDE.bat
index 3ff9a16..1ccc700 100755
--- a/ide/flashbuilder/makeApacheFlexForIDE.bat
+++ b/ide/flashbuilder/makeApacheFlexForIDE.bat
@@ -42,10 +42,10 @@ REM
 set APACHE_FLEX_BIN_DISTRO_DIR=..\..
 
 REM
-REM     Adobe AIR SDK Version 3.8
+REM     Adobe AIR SDK Version 3.9
 REM
 set ADOBE_AIR_SDK_WIN_FILE=AdobeAIRSDK.zip
-set ADOBE_AIR_SDK_WIN_URL=http://airdownload.adobe.com/air/win/download/3.8/%ADOBE_AIR_SDK_WIN_FILE%
+set ADOBE_AIR_SDK_WIN_URL=http://airdownload.adobe.com/air/win/download/3.9/%ADOBE_AIR_SDK_WIN_FILE%
 
 REM
 REM     Adobe Flash Player Version 11.1


[43/50] git commit: [flex-sdk] [refs/heads/master] - fix usage messages

Posted by jm...@apache.org.
fix usage messages


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/0a418bde
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/0a418bde
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/0a418bde

Branch: refs/heads/master
Commit: 0a418bdeb1574100fca6ef5ef5b088313dcc0bad
Parents: 75bd4e3
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Oct 18 15:45:38 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Oct 18 15:45:38 2013 +1100

----------------------------------------------------------------------
 build/deploy_release_candidate.sh | 2 +-
 build/tag_release_candidate.sh    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0a418bde/build/deploy_release_candidate.sh
----------------------------------------------------------------------
diff --git a/build/deploy_release_candidate.sh b/build/deploy_release_candidate.sh
index 60a7bfb..8dcf01b 100755
--- a/build/deploy_release_candidate.sh
+++ b/build/deploy_release_candidate.sh
@@ -22,7 +22,7 @@
 
 if [ $# -ne 2 ]
 then
-    echo "Usage: deploy_release_branch flex_version ([0-99].[0-99].[0-999]) release_candidate ([0-100])"
+    echo "Usage: deploy_release_candidate flex_version ([0-99].[0-99].[0-999]) release_candidate ([0-100])"
 fi
 
 FLEX_VERSION="$1"

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0a418bde/build/tag_release_candidate.sh
----------------------------------------------------------------------
diff --git a/build/tag_release_candidate.sh b/build/tag_release_candidate.sh
index 345bc68..ba825ac 100755
--- a/build/tag_release_candidate.sh
+++ b/build/tag_release_candidate.sh
@@ -22,7 +22,7 @@
 
 if [ $# -ne 2 ]
 then
-    echo "Usage: deploy_release_branch flex_version ([0-99].[0-99].[0-999]) release_candidate ([0-100])"
+    echo "Usage: tag_release_candidate flex_version ([0-99].[0-99].[0-999]) release_candidate ([0-100])"
 fi
 
 FLEX_VERSION="$1"
@@ -44,4 +44,4 @@ then
 fi
 
 git tag -a apache-flex-sdk-${FLEX_VERSION}RC${RELEASE_CANDIDATE} -m \'"Apache Flex ${FLEX_VERSION} RC${RELEASE_CANDIDATE}"\'
-git push --tags
\ No newline at end of file
+git push --tags


[07/50] git commit: [flex-sdk] [refs/heads/master] - Falcon caught a missing import

Posted by jm...@apache.org.
Falcon caught a missing import


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/00f5c282
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/00f5c282
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/00f5c282

Branch: refs/heads/master
Commit: 00f5c282a213fac67fa95c955d03ea08c094f7fa
Parents: bd49b40
Author: Alex Harui <ah...@apache.org>
Authored: Sun Sep 1 22:20:23 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:18:33 2013 -0700

----------------------------------------------------------------------
 .../tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/00f5c282/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
----------------------------------------------------------------------
diff --git a/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml b/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
index 5247339..b64bf68 100644
--- a/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
+++ b/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
@@ -38,6 +38,7 @@
     <mx:Script>
         <![CDATA[
             import mx.graphics.*;
+			import spark.filters.*;
             import spark.primitives.*;
             import spark.primitives.supportClasses.*;
 


[19/50] git commit: [flex-sdk] [refs/heads/master] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

Posted by jm...@apache.org.
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/dd4de4f4
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/dd4de4f4
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/dd4de4f4

Branch: refs/heads/master
Commit: dd4de4f4c5d62a8482aa09dede645f5459f123d1
Parents: 5515344 67ae8ae
Author: mamsellem <ma...@systar.com>
Authored: Fri Oct 11 09:13:34 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Fri Oct 11 09:13:34 2013 +0200

----------------------------------------------------------------------
 RELEASE_NOTES                                   |   4 +
 asdoc/build.xml                                 |   8 +-
 .../projects/charts/src/mx/charts/AreaChart.as  |  19 +-
 .../charts/src/mx/charts/AxisRenderer.as        |  73 ++++---
 .../projects/charts/src/mx/charts/BarChart.as   |  17 +-
 .../charts/src/mx/charts/BubbleChart.as         |  19 +-
 .../charts/src/mx/charts/CandlestickChart.as    |  63 +++---
 .../charts/src/mx/charts/ColumnChart.as         |  18 +-
 .../projects/charts/src/mx/charts/GridLines.as  |  24 ++-
 .../projects/charts/src/mx/charts/HLOCChart.as  |  70 ++++---
 .../projects/charts/src/mx/charts/LineChart.as  |  60 +++---
 .../projects/charts/src/mx/charts/PieChart.as   |  10 +-
 .../projects/charts/src/mx/charts/PlotChart.as  |  78 +++----
 .../mx/charts/chartClasses/CartesianChart.as    |   7 +-
 .../src/mx/charts/chartClasses/ChartBase.as     |  15 +-
 .../src/mx/charts/chartClasses/PolarChart.as    |  12 +-
 .../charts/src/mx/charts/series/AreaSeries.as   |  24 ++-
 .../charts/src/mx/charts/series/BarSeries.as    |  15 +-
 .../charts/src/mx/charts/series/BubbleSeries.as |  13 +-
 .../src/mx/charts/series/CandlestickSeries.as   |  17 +-
 .../charts/src/mx/charts/series/ColumnSeries.as |  14 +-
 .../charts/src/mx/charts/series/HLOCSeries.as   |  14 +-
 .../charts/src/mx/charts/series/LineSeries.as   |  16 +-
 .../charts/src/mx/charts/series/PieSeries.as    |  16 +-
 .../charts/src/mx/charts/series/PlotSeries.as   |  14 +-
 .../charts/src/mx/charts/styles/HaloDefaults.as |  24 +++
 .../src/ExperimentalMobileClasses.as            |  11 +-
 .../src/mx/collections/SortFieldCompareTypes.as |   7 +-
 .../framework/src/mx/managers/FocusManager.as   |  95 +++++++--
 .../systemClasses/ActiveWindowManager.as        | 205 +++++++++++--------
 .../projects/spark/src/mx/core/FTETextField.as  |  38 +++-
 .../spark/collections/SortFieldCompareTypes.as  |   7 +-
 .../spark/src/spark/components/VScrollBar.as    |  25 ++-
 jenkins.xml                                     |   2 +-
 .../src/java/flash/swf/tools/AbcPrinter.java    | 143 +++++++++++--
 35 files changed, 775 insertions(+), 422 deletions(-)
----------------------------------------------------------------------



[04/50] git commit: [flex-sdk] [refs/heads/master] - Add missing classes to ASDocs

Posted by jm...@apache.org.
Add missing classes to ASDocs


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/a0592ab1
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/a0592ab1
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/a0592ab1

Branch: refs/heads/master
Commit: a0592ab1f9917fb39285600f46c77b5ea18ea092
Parents: 12ff525
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Oct 11 14:18:39 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Oct 11 14:18:39 2013 +1100

----------------------------------------------------------------------
 asdoc/build.xml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a0592ab1/asdoc/build.xml
----------------------------------------------------------------------
diff --git a/asdoc/build.xml b/asdoc/build.xml
index 98460bf..ef93d4f 100644
--- a/asdoc/build.xml
+++ b/asdoc/build.xml
@@ -58,9 +58,9 @@
             <fileset dir="${flexlib}/projects/charts/asdoc/en_US"/>
             <!--  <fileset dir="${flexlib}/projects/core/asdoc/en_US"/>-->
             <!--  <fileset dir="${flexlib}/projects/experimental/asdoc/en_US"/>-->
-             <fileset dir="${flexlib}/projects/experimental_mobile/asdoc/en_US"/>
             <fileset dir="${flexlib}/projects/framework/asdoc/en_US"/>
             <fileset dir="${flexlib}/projects/mobilecomponents/asdoc/en_US"/>
+            <fileset dir="${flexlib}/projects/experimental_mobile/asdoc/en_US"/>
             <!--  <fileset dir="${flexlib}/projects/mx/asdoc/en_US"/>-->
             <fileset dir="${flexlib}/projects/rpc/asdoc/en_US"/>
             <fileset dir="${flexlib}/projects/spark/asdoc/en_US"/>
@@ -103,11 +103,14 @@
 		    <doc-classes class="CoreClasses"/>
 		    <doc-classes class="SparkClasses"/>
 		    <doc-classes class="FrameworkClasses"/>
-			<doc-classes class="MxClasses"/>
+		    <doc-classes class="MxClasses"/>
 		    <doc-classes class="SparkSkinsClasses"/>
 		    <doc-classes class="RPCClasses"/>
 		    <doc-classes class="MobileComponentsClasses"/>		    
+		    <doc-classes class="MobileThemeClasses"/>		    
 		    <doc-classes class="SparkDmvClasses"/>
+		    <doc-classes class="ExperimentalClasses"/>
+		    <doc-classes class="ExperimentalMobileClasses"/>
 	    		    
 			<doc-classes class="flashx.textLayout.CoreClasses"/>
 			<doc-classes class="flashx.textLayout.EditClasses"/>
@@ -127,6 +130,7 @@
 			<compiler.source-path path-element="${flexlib}/projects/advancedgrids/src"/>
 			<compiler.source-path path-element="${flexlib}/projects/charts/src"/>
 			<compiler.source-path path-element="${flexlib}/projects/mobilecomponents/src"/>
+			<compiler.source-path path-element="${flexlib}/projects/mobiletheme/src"/>
 			<compiler.source-path path-element="${flexlib}/projects/spark_dmv/src"/>
             <!--  added for Apache -->
 			<compiler.source-path path-element="${flexlib}/projects/apache/src"/>


[16/50] git commit: [flex-sdk] [refs/heads/master] - Fix FLEX-33428. Proposed fix (adding clearFlag) doesn't actually fix the root problem, it only works because it causes the component to use plain text rendering and the test case has plain text to ren

Posted by jm...@apache.org.
Fix FLEX-33428.  Proposed fix (adding clearFlag) doesn't actually fix the root problem, it only works because it causes the component to use plain text rendering and the test case has plain text to render.  This fix addresses a rather strange behavior in TextContainerManager (TCM).  It assumes that existing TextLines belong to the same textflow.  There is code in TCM's textFlow setter that attempts to remove existing TextLines when the textFlow is changed, but this bug scenario bypasses that and leaves a TextLine created at initialization by the plain text composer when the text hasn't been set yet.  The fix remembers whether plain text or html text composition was last used and if switching, removes existing textfields.  All tests in gumbo/components/FTETextField pass


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/67ae8ae4
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/67ae8ae4
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/67ae8ae4

Branch: refs/heads/master
Commit: 67ae8ae4290c28cd1e96f6acb4194e0e5718f276
Parents: 90aa204
Author: Alex Harui <ah...@apache.org>
Authored: Thu Oct 10 21:38:05 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:18:41 2013 -0700

----------------------------------------------------------------------
 .../projects/spark/src/mx/core/FTETextField.as  | 31 ++++++++++++++++----
 1 file changed, 25 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/67ae8ae4/frameworks/projects/spark/src/mx/core/FTETextField.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/mx/core/FTETextField.as b/frameworks/projects/spark/src/mx/core/FTETextField.as
index 89b0dc0..dcfbaee 100644
--- a/frameworks/projects/spark/src/mx/core/FTETextField.as
+++ b/frameworks/projects/spark/src/mx/core/FTETextField.as
@@ -48,6 +48,11 @@ package mx.core
     import flash.text.engine.TextLineValidity;
     import flash.utils.Dictionary;
     
+    import mx.managers.SystemManager;
+    import mx.managers.SystemManagerGlobals;
+    
+    import spark.utils.TextUtil;
+    
     import flashx.textLayout.compose.ISWFContext;
     import flashx.textLayout.compose.TextLineRecycler;
     import flashx.textLayout.formats.ITextLayoutFormat;
@@ -56,11 +61,6 @@ package mx.core
     import flashx.textLayout.formats.TextDecoration;
     import flashx.textLayout.formats.TextLayoutFormat;
     
-    import mx.managers.SystemManager;
-    import mx.managers.SystemManagerGlobals;
-    
-    import spark.utils.TextUtil;
-    
     use namespace mx_internal;
     
     /**
@@ -386,6 +386,8 @@ package mx.core
         //
         //--------------------------------------------------------------------------
         
+        private var lastComposeWasText:Boolean;
+        
         /**
          *  @private
          *  Apps are likely to create thousands of instances of FTETextField,
@@ -2526,13 +2528,30 @@ package mx.core
                 
                 if (testFlag(FLAG_HTML_TEXT_SET))
                 {
-                   if (!_htmlHelper.hostFormat)
+                    // if switching composers, remove all existing textlines.
+                    // the html composer assumes existing textlines belonged
+                    // to the flow
+                    if (lastComposeWasText)
+                    {
+                        nextLineIndex = 0;
+                        removeExcessTextLines();
+                    }
+                    lastComposeWasText = false;
+
+                    if (!_htmlHelper.hostFormat)
                         createHostFormat();
                     
                     _htmlHelper.composeHTMLText(compositionWidth, compositionHeight);
                 }
                 else
                 {
+                    if (!lastComposeWasText)
+                    {
+                        nextLineIndex = 0;
+                        removeExcessTextLines();
+                    }
+                    
+                    lastComposeWasText = true;
                     if (!elementFormat)
                         createElementFormat();  
                     


[44/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-33829 improve create UID performance and use

Posted by jm...@apache.org.
FLEX-33829 improve create UID performance and use


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/3f93971c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/3f93971c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/3f93971c

Branch: refs/heads/master
Commit: 3f93971c7fdde96dea0aacc3617728534976f13a
Parents: 0a418bd
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Oct 18 15:47:00 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Oct 18 15:47:00 2013 +1100

----------------------------------------------------------------------
 .../org/apache/flex/collections/ArrayList.as    |   4 +-
 .../org/apache/flex/collections/VectorList.as   |   4 +-
 .../framework/src/mx/collections/ArrayList.as   |   4 +-
 .../projects/framework/src/mx/utils/UIDUtil.as  | 108 ++++++++++---------
 4 files changed, 68 insertions(+), 52 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3f93971c/frameworks/projects/apache/src/org/apache/flex/collections/ArrayList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/apache/src/org/apache/flex/collections/ArrayList.as b/frameworks/projects/apache/src/org/apache/flex/collections/ArrayList.as
index 3cce583..93b821a 100644
--- a/frameworks/projects/apache/src/org/apache/flex/collections/ArrayList.as
+++ b/frameworks/projects/apache/src/org/apache/flex/collections/ArrayList.as
@@ -120,7 +120,6 @@ public class ArrayList extends EventDispatcher
         disableEvents();
         this.source = source;
         enableEvents();
-        _uid = UIDUtil.createUID();
     }
     
     //--------------------------------------------------------------------------
@@ -257,6 +256,9 @@ public class ArrayList extends EventDispatcher
      */  
     public function get uid():String
     {
+		if (!_uid) {
+			_uid = UIDUtil.createUID();
+		}
         return _uid;
     }
     

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3f93971c/frameworks/projects/apache/src/org/apache/flex/collections/VectorList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/apache/src/org/apache/flex/collections/VectorList.as b/frameworks/projects/apache/src/org/apache/flex/collections/VectorList.as
index 3d47c8c..5892935 100644
--- a/frameworks/projects/apache/src/org/apache/flex/collections/VectorList.as
+++ b/frameworks/projects/apache/src/org/apache/flex/collections/VectorList.as
@@ -110,7 +110,6 @@ public class VectorList extends EventDispatcher
         disableEvents();
         this.source = source;
         enableEvents();
-        _uid = UIDUtil.createUID();
     }
 
     /**
@@ -214,6 +213,9 @@ public class VectorList extends EventDispatcher
      */  
     public function get uid():String
     {
+		if (!_uid) {
+			_uid = UIDUtil.createUID();
+		}
         return _uid;
     }
     

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3f93971c/frameworks/projects/framework/src/mx/collections/ArrayList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/collections/ArrayList.as b/frameworks/projects/framework/src/mx/collections/ArrayList.as
index b207d42..1afa845 100644
--- a/frameworks/projects/framework/src/mx/collections/ArrayList.as
+++ b/frameworks/projects/framework/src/mx/collections/ArrayList.as
@@ -118,7 +118,6 @@ public class ArrayList extends EventDispatcher
         disableEvents();
         this.source = source;
         enableEvents();
-        _uid = UIDUtil.createUID();
     }
     
     //--------------------------------------------------------------------------
@@ -255,6 +254,9 @@ public class ArrayList extends EventDispatcher
      */  
     public function get uid():String
     {
+		if (!_uid) {
+			_uid = UIDUtil.createUID();
+		}
         return _uid;
     }
     

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3f93971c/frameworks/projects/framework/src/mx/utils/UIDUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/utils/UIDUtil.as b/frameworks/projects/framework/src/mx/utils/UIDUtil.as
index 4993563..20186e0 100644
--- a/frameworks/projects/framework/src/mx/utils/UIDUtil.as
+++ b/frameworks/projects/framework/src/mx/utils/UIDUtil.as
@@ -63,8 +63,18 @@ public class UIDUtil
      *  @private
      *  Char codes for 0123456789ABCDEF
      */
-    private static const ALPHA_CHAR_CODES:Array = [48, 49, 50, 51, 52, 53, 54, 
-        55, 56, 57, 65, 66, 67, 68, 69, 70];
+	private static const ALPHA_CHAR_CODES:Array = [48, 49, 50, 51, 52, 53, 54, 
+		55, 56, 57, 65, 66, 67, 68, 69, 70];
+	
+	private static const HEX_CHARS:String = "0123456789ABCDEF";
+	
+	private static var EMPTYUID:Array = [
+		'0','0','0','0','0','0','0','0',
+		'-','0','0','0','0',
+		'-','0','0','0','0',
+		'-','0','0','0','0',
+		'0','0','0','0','0','0','0','0','0','0','0','0'
+	];
 
     //--------------------------------------------------------------------------
     //
@@ -106,53 +116,53 @@ public class UIDUtil
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public static function createUID():String
-    {
-        var uid:Array = new Array(36);
-        var index:int = 0;
-        
-        var i:int;
-        var j:int;
-        
-        for (i = 0; i < 8; i++)
-        {
-            uid[index++] = ALPHA_CHAR_CODES[Math.floor(Math.random() *  16)];
-        }
-
-        for (i = 0; i < 3; i++)
-        {
-            uid[index++] = 45; // charCode for "-"
-            
-            for (j = 0; j < 4; j++)
-            {
-                uid[index++] = ALPHA_CHAR_CODES[Math.floor(Math.random() *  16)];
-            }
-        }
-        
-        uid[index++] = 45; // charCode for "-"
-
-        var time:Number = new Date().getTime();
-        // Note: time is the number of milliseconds since 1970,
-        // which is currently more than one trillion.
-        // We use the low 8 hex digits of this number in the UID.
-        // Just in case the system clock has been reset to
-        // Jan 1-4, 1970 (in which case this number could have only
-        // 1-7 hex digits), we pad on the left with 7 zeros
-        // before taking the low digits.
-        var timeString:String = ("0000000" + time.toString(16).toUpperCase()).substr(-8);
-        
-        for (i = 0; i < 8; i++)
-        {
-            uid[index++] = timeString.charCodeAt(i);
-        }
-        
-        for (i = 0; i < 4; i++)
-        {
-            uid[index++] = ALPHA_CHAR_CODES[Math.floor(Math.random() *  16)];
-        }
-        
-        return String.fromCharCode.apply(null, uid);
-    }
+	public static function createUID():String
+	{
+		var uid:Array = EMPTYUID;
+		var index:int = 0;
+		
+		var i:int;
+		var j:int;
+		
+		for (i = 0; i < 8; i++)
+		{
+			uid[index++] = HEX_CHARS.charAt(Math.random() * 16);
+		}
+		
+		for (i = 0; i < 3; i++)
+		{
+			index++; // skip "-"
+			
+			for (j = 0; j < 4; j++)
+			{
+				uid[index++] = HEX_CHARS.charAt(Math.random() * 16);
+			}
+		}
+		
+		index++; // skip "-"
+		
+		var time:Number = new Date().getTime();
+		// Note: time is the number of milliseconds since 1970,
+		// which is currently more than one trillion.
+		// We use the low 8 hex digits of this number in the UID.
+		// Just in case the system clock has been reset to
+		// Jan 1-4, 1970 (in which case this number could have only
+		// 1-7 hex digits), we pad on the left with 7 zeros
+		// before taking the low digits.
+		var timeString:String = ("0000000" + time.toString(16).toUpperCase()).substr(-8);
+		
+		for (i = 0; i < 8; i++)
+		{
+			uid[index++] = timeString.charAt(i);
+		}
+		
+		for (i = 0; i < 4; i++)
+		{
+			uid[index++] = HEX_CHARS.charAt(Math.random() * 16);
+		}
+		
+		return uid.join("");
+	}
 
     /**
      * Converts a 128-bit UID encoded as a ByteArray to a String representation.


[15/50] git commit: [flex-sdk] [refs/heads/master] - Fix a bug in SWFDump

Posted by jm...@apache.org.
Fix a bug in SWFDump


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/90aa204d
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/90aa204d
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/90aa204d

Branch: refs/heads/master
Commit: 90aa204da1f5d4f038ebd3e555c5402f48fcaa76
Parents: 23d9fda
Author: Alex Harui <ah...@apache.org>
Authored: Thu Oct 10 21:09:16 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:18:39 2013 -0700

----------------------------------------------------------------------
 modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/90aa204d/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
----------------------------------------------------------------------
diff --git a/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java b/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
index 4fe4198..73c7e3f 100644
--- a/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
+++ b/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
@@ -771,6 +771,8 @@ public class AbcPrinter
         	if (mn.kind != 0x1D)
         		continue;
         	MultiName typeName = mn.typeName;
+        	if (typeName == null) // this came up as null in a working SWF.
+        		continue;
         	if (typeName.kind == 0x1D)
         		out.println(kAbcCorrupt + "typename is also a typename");
         	HashMap<MultiName, String> seenMap = new HashMap<MultiName, String>();


[41/50] git commit: [flex-sdk] [refs/heads/master] - Correcting setButtonEnabled ASDOC comments. Better descriptions, corrected params, etc

Posted by jm...@apache.org.
Correcting setButtonEnabled ASDOC comments.  Better descriptions, corrected params, etc


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/90d76c62
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/90d76c62
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/90d76c62

Branch: refs/heads/master
Commit: 90d76c6232269a712ae8e7d436f79c7df3961324
Parents: ba846c4
Author: Mark Kessler <Ke...@gmail.com>
Authored: Tue Oct 15 20:12:07 2013 -0400
Committer: Mark Kessler <Ke...@gmail.com>
Committed: Tue Oct 15 20:12:07 2013 -0400

----------------------------------------------------------------------
 .../components/supportClasses/ButtonBarBase.as  | 24 ++++++++++++--------
 1 file changed, 15 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/90d76c62/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as b/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as
index ab5a28e..cdd4841 100644
--- a/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as
+++ b/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as
@@ -550,13 +550,16 @@ public class ButtonBarBase extends ListBase
 
 
     /**
-    *  Changes the <code>enabled</code> property of a ButtonBar's Button referencing it by the ButtonBarbutton's <code>label</code>. 
+    *  Allows changing the <code>enabled</code> property of a the child ButtonBarbutton's.
+    *  It identifies the button given its label field (default) or an different optional field name may be passed. 
     *
-    *  <p>The method takes a single ButtonBarButton label, a new <code>enabled</code> property value, and an optional field name to search for.</p>
-    *  <pre>myButtonBar.setButtonEnabled("My Button Label", false)</pre>
+    *  <p>The method takes a single ButtonBarButton label, a new <code>enabled</code> property value, and an optional field name to use as the comparison field.</p>
+    *  <pre>
+    *  myButtonBar.setButtonEnabled("My Button Label", false)</pre>
     *
-    *  @param labelValue Is the ButtonBarButton label
-    *  @param fieldName Field used for comparing the label
+    *  @param labelValue Is the ButtonBarButton label.
+    *  @param enabledValue The buttons new enabled value.
+    *  @param fieldName Field used to compare the label value against.
     *
     *  @langversion 3.0
     *  @playerversion Flash 11.1
@@ -570,13 +573,16 @@ public class ButtonBarBase extends ListBase
 
 
     /**
-    *  Disables several of a ButtonBar's Buttons, referencing them by the ButtonBarbutton's <code>label</code>. 
+    *  Allows changing the <code>enabled</code> property of several child ButtonBarbutton's.
+    *  It identifies the buttons given their label fields (default) or an different optional field name may be passed. 
     *
-    *  <p>The method takes an array of ButtonBarButton labels, a new <code>enabled</code> property value, and an optional field name to search for.</p>
-    *  <pre>myButtonBar.setButtonsEnabled(["My Button Label1", "My Label2"], false)</pre>
+    *  <p>The method takes an array of ButtonBarButton labels, a new <code>enabled</code> property value, and an optional field name to use as the comparison field.</p>
+    *  <pre>
+    *  myButtonBar.setButtonsEnabled(["My Button Label1", "My Label2"], false)</pre>
     *
     *  @param labelValues Is an array of ButtonBarButton labels.
-    *  @param fieldName Field used for comparing the label
+    *  @param enabledValue The buttons new enabled value.
+    *  @param fieldName Field used to compare the label value against.
     *
     *  @langversion 3.0
     *  @playerversion Flash 11.1


[10/50] git commit: [flex-sdk] [refs/heads/master] - Revert "Falcon caught a missing import"

Posted by jm...@apache.org.
Revert "Falcon caught a missing import"

This reverts commit 61d5ee46adc8b2b863c2488ee8276fcfea9a7de6.

Turns out we don't need this change.  Falcon needed a different set of default imports.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/05833f88
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/05833f88
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/05833f88

Branch: refs/heads/master
Commit: 05833f886719639fc43dfab6a365a369f3112c00
Parents: e8a1d84
Author: Alex Harui <ah...@apache.org>
Authored: Tue Sep 3 12:47:06 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:18:36 2013 -0700

----------------------------------------------------------------------
 .../tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml   | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/05833f88/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
----------------------------------------------------------------------
diff --git a/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml b/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
index b64bf68..5247339 100644
--- a/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
+++ b/frameworks/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
@@ -38,7 +38,6 @@
     <mx:Script>
         <![CDATA[
             import mx.graphics.*;
-			import spark.filters.*;
             import spark.primitives.*;
             import spark.primitives.supportClasses.*;
 


[35/50] git commit: [flex-sdk] [refs/heads/master] - Test didn't have embedded fonts

Posted by jm...@apache.org.
Test didn't have embedded fonts


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/d2ccdc14
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/d2ccdc14
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/d2ccdc14

Branch: refs/heads/master
Commit: d2ccdc143a869988afeea1d3b1b443901f65d2b2
Parents: 35706c9
Author: Alex Harui <ah...@apache.org>
Authored: Sun Oct 13 21:07:23 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Oct 13 21:07:23 2013 -0700

----------------------------------------------------------------------
 .../SWFs/AdvancedDataGridMain_FLEX_32848.mxml   |  54 ++++++++++++++++++-
 .../datagrid_textSelectedColor_singleCell.png   | Bin 8961 -> 11609 bytes
 .../datagrid_textSelectedColor_singleRow.png    | Bin 5858 -> 7133 bytes
 3 files changed, 53 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/d2ccdc14/mustella/tests/components/AdvancedDataGrid/SWFs/AdvancedDataGridMain_FLEX_32848.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/SWFs/AdvancedDataGridMain_FLEX_32848.mxml b/mustella/tests/components/AdvancedDataGrid/SWFs/AdvancedDataGridMain_FLEX_32848.mxml
index ad71bc1..082ec37 100644
--- a/mustella/tests/components/AdvancedDataGrid/SWFs/AdvancedDataGridMain_FLEX_32848.mxml
+++ b/mustella/tests/components/AdvancedDataGrid/SWFs/AdvancedDataGridMain_FLEX_32848.mxml
@@ -35,7 +35,59 @@
 		</mx:AdvancedDataGrid>
 	</mx:VBox>
 	
-<fx:Style>
+    <fx:Style>
+        @namespace s "library://ns.adobe.com/flex/spark";
+        @namespace mx "library://ns.adobe.com/flex/mx";
+        
+        @font-face {
+        src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+        fontFamily: EmbeddedVerdana;
+        embedAsCFF: false;
+        }
+        
+        @font-face {
+        src: url("../../../../Assets/Fonts/Lobster_Two/LobsterTwo-Bold.ttf");
+        fontFamily: EmbeddedVerdana;
+        fontWeight: bold;
+        fontStyle: normal;
+        embedAsCFF: false;
+        }
+        
+        @font-face {
+        src: url("../../../../Assets/Fonts/Lobster_Two/LobsterTwo-Italic.ttf");
+        fontFamily: EmbeddedVerdana;
+        fontWeight: normal;
+        fontStyle: italic;
+        embedAsCFF: false;
+        }
+        
+        /* Used by some of the styles tests. */
+        @font-face {
+        src: url("../../../../Assets/Fonts/Cousine/Cousine-Regular.ttf");
+        fontFamily: EmbeddedArial;
+        embedAsCFF: false;
+        }
+        
+        @font-face {
+        src: url("../../../../Assets/Fonts/Cousine/Cousine-Bold.ttf");
+        fontFamily: EmbeddedArial;
+        fontWeight: bold;
+        fontStyle: normal;
+        embedAsCFF: false;
+        }
+        
+        mx|AdvancedDataGrid {
+        /* embed the numeric sort indicator */
+        sortFontFamily: EmbeddedVerdana;
+        }
+        
+        global {
+        fontFamily: EmbeddedVerdana;
+        fontAntiAliasType: normal;
+        }
+    </fx:Style>
+
+    <fx:Style>
 	@namespace mx "library://ns.adobe.com/flex/mx";
 	
 	mx|AdvancedDataGrid {

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/d2ccdc14/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_textSelectedColor_singleCell.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_textSelectedColor_singleCell.png b/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_textSelectedColor_singleCell.png
index 34f1d69..2c6bf6f 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_textSelectedColor_singleCell.png and b/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_textSelectedColor_singleCell.png differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/d2ccdc14/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_textSelectedColor_singleRow.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_textSelectedColor_singleRow.png b/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_textSelectedColor_singleRow.png
index f5c627b..3815c0e 100644
Binary files a/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_textSelectedColor_singleRow.png and b/mustella/tests/components/AdvancedDataGrid/Styles/Baselines/datagrid_textSelectedColor_singleRow.png differ


[37/50] git commit: [flex-sdk] [refs/heads/master] - UNDO FIX https://issues.apache.org/jira/browse/FLEX-33813 (DataGrid goes blank when scrolled and dataProvider is changed ) UNDO Fix https://issues.apache.org/jira/browse/FLEX-33818 (Spark Datagrid colu

Posted by jm...@apache.org.
UNDO FIX https://issues.apache.org/jira/browse/FLEX-33813 (DataGrid goes blank when scrolled and dataProvider is changed )
UNDO Fix https://issues.apache.org/jira/browse/FLEX-33818 (Spark Datagrid column resize and sort bug when releasing mouse outside of headers)


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/fca2a381
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/fca2a381
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/fca2a381

Branch: refs/heads/master
Commit: fca2a38124a2f93bdf8868b008b845553919279c
Parents: e376a1e
Author: mamsellem <ma...@systar.com>
Authored: Mon Oct 14 22:21:17 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Mon Oct 14 22:21:17 2013 +0200

----------------------------------------------------------------------
 .../projects/spark/src/spark/components/Grid.as | 23 +++-----------------
 .../spark/components/GridColumnHeaderGroup.as   |  4 +---
 2 files changed, 4 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/fca2a381/frameworks/projects/spark/src/spark/components/Grid.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/Grid.as b/frameworks/projects/spark/src/spark/components/Grid.as
index 847fa1d..9dcfbd3 100644
--- a/frameworks/projects/spark/src/spark/components/Grid.as
+++ b/frameworks/projects/spark/src/spark/components/Grid.as
@@ -269,9 +269,7 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
      *  rowIndex of the caret after a collection refresh event.
      */    
     private var caretSelectedItem:Object = null;
-    private var updateCaretForDataProviderChanged:Boolean = false;
-    private var updateCaretForDataProviderChangeLastEvent:CollectionEvent;
-    
+
     /**
      *  @private
      *  True while updateDisplayList is running.  Use to disable invalidateSize(),
@@ -4602,13 +4600,8 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
 		
 		if (!variableRowHeight)
 			setFixedRowHeight(gridDimensions.getRowHeight(0));
-        if (updateCaretForDataProviderChanged){
-            updateCaretForDataProviderChanged = false;
-            updateCaretForDataProviderChange(updateCaretForDataProviderChangeLastEvent);
-            updateCaretForDataProviderChangeLastEvent = null;
         }
-	}
-        
+
     //--------------------------------------------------------------------------
     //
     //  Methods
@@ -5626,19 +5619,9 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
         invalidateSize();
         invalidateDisplayList();
         
-        if (caretRowIndex != -1)  {
-            if (event.kind == CollectionEventKind.RESET){
-                // defer for reset events 
-                updateCaretForDataProviderChanged = true;
-                updateCaretForDataProviderChangeLastEvent = event;
-                invalidateDisplayList(); 
-            }
-            else {
+        if (caretRowIndex != -1)
                 updateCaretForDataProviderChange(event);
-            }         
-        }
 
-        
         // Trigger bindings to selectedIndex/selectedCell/selectedItem and the plurals of those.
         if (selectionChanged)
             dispatchFlexEvent(FlexEvent.VALUE_COMMIT);

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/fca2a381/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as b/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
index bd62162..51827f9 100644
--- a/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
+++ b/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
@@ -1064,11 +1064,9 @@ public class GridColumnHeaderGroup extends Group implements IDataGridElement
     {
         const eventHeaderCP:CellPosition = new CellPosition();
         const eventHeaderXY:Point = new Point();
-         // mouse can be released outside of header , so don't check    cf.    https://issues.apache.org/jira/browse/FLEX-33818
-          if (event.type != MouseEvent.MOUSE_UP &&  !eventToHeaderLocations(event, eventHeaderCP, eventHeaderXY))
+        if (!eventToHeaderLocations(event, eventHeaderCP, eventHeaderXY))
                 return;
 
-
         const eventSeparatorIndex:int = eventHeaderCP.rowIndex;
         const eventColumnIndex:int = (eventSeparatorIndex == -1) ? eventHeaderCP.columnIndex : -1;
         


[02/50] git commit: [flex-sdk] [refs/heads/master] - updated release emotes with latest JIRA

Posted by jm...@apache.org.
updated release emotes with latest JIRA


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/53d54717
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/53d54717
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/53d54717

Branch: refs/heads/master
Commit: 53d5471708c2bb1caa17f36d438d79ea45551593
Parents: edb146e
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Oct 11 10:18:08 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Oct 11 10:18:08 2013 +1100

----------------------------------------------------------------------
 RELEASE_NOTES | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/53d54717/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 3fed715..59480cc 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -71,6 +71,7 @@ FLEX-33801  Missing embedded examples in ASDOC on flex.apache.org/asdoc/
 FLEX-33789  Logical error: self-reference in GridHeaderViewLayout
 FLEX-33783  mxmlc -help returns 1
 FLEX-33782  AccordionData labelField and labelFunction properties don't work
+FLEX-33772  Incorrect tab focus behavior (closed loops) when using focus groups (such as RadioButton components)
 FLEX-33771  compatibilityVersionString returns the wrong value
 FLEX-33748  TabBar shouldn't be colorized in TabNavigatorSkin
 FLEX-33741  Propagation of Escape key in mx.controls.DateField should only be stopped if the DropDown is shown


[28/50] git commit: [flex-sdk] [refs/heads/master] - fix test to be more reasonable. It would be rare to see a discontiguous radiobutton group like this.

Posted by jm...@apache.org.
fix test to be more reasonable.  It would be rare to see a discontiguous radiobutton group like this.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/fe2a2ea3
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/fe2a2ea3
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/fe2a2ea3

Branch: refs/heads/master
Commit: fe2a2ea3a1851e537c5d04527a24dcc0ac279f34
Parents: 251f26e
Author: Alex Harui <ah...@apache.org>
Authored: Sat Oct 12 07:36:37 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Oct 12 07:38:50 2013 -0700

----------------------------------------------------------------------
 .../RadioButton/Styles/RadioButton_Mirroring_Styles.mxml           | 1 +
 mustella/tests/components/RadioButton/swfs/RadioButton_Basic2.mxml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/fe2a2ea3/mustella/tests/components/RadioButton/Styles/RadioButton_Mirroring_Styles.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/components/RadioButton/Styles/RadioButton_Mirroring_Styles.mxml b/mustella/tests/components/RadioButton/Styles/RadioButton_Mirroring_Styles.mxml
index 38888f3..06b7437 100644
--- a/mustella/tests/components/RadioButton/Styles/RadioButton_Mirroring_Styles.mxml
+++ b/mustella/tests/components/RadioButton/Styles/RadioButton_Mirroring_Styles.mxml
@@ -64,6 +64,7 @@
 		<TestCase testID="RadioButton_Styles_Mirroring_RTL_focusRing" keywords="[RadioButton, Styles, Mirroring]" description="Test focusRing with layoutDirection rtl with RadioButton">
             <setup>
                 <ResetComponent target="rb" className="mx.controls::RadioButton"  waitEvent="updateComplete" waitTarget="rb"/>
+                <SetProperty target="rb" propertyName="groupName" value="g1"/>                
                 <SetProperty target="rb" propertyName="label" value="Hello World!!!" waitEvent="updateComplete" waitTarget="rb"/>                
             </setup>
             <body>                

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/fe2a2ea3/mustella/tests/components/RadioButton/swfs/RadioButton_Basic2.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/components/RadioButton/swfs/RadioButton_Basic2.mxml b/mustella/tests/components/RadioButton/swfs/RadioButton_Basic2.mxml
index 1b77b69..d0ae4f4 100644
--- a/mustella/tests/components/RadioButton/swfs/RadioButton_Basic2.mxml
+++ b/mustella/tests/components/RadioButton/swfs/RadioButton_Basic2.mxml
@@ -83,7 +83,7 @@
 	<TNComp id="tn"/>
 	<mx:Fade id="myFade" />
 	<mx:RadioButtonGroup id="g1"/>
-	<mx:RadioButton id="rb" effectStart="runStartTests(event)" effectEnd="runEndTests(event)" creationComplete="{ti.text='Creation Complete Event Triggered'}" keyDown="{ti.text='Key Down Event Triggered'}" keyUp="{ti.text='Key Up Event Triggered'}" rollOverEffect="myFade"/>
+	<mx:RadioButton id="rb" groupName="g1" effectStart="runStartTests(event)" effectEnd="runEndTests(event)" creationComplete="{ti.text='Creation Complete Event Triggered'}" keyDown="{ti.text='Key Down Event Triggered'}" keyUp="{ti.text='Key Up Event Triggered'}" rollOverEffect="myFade"/>
 	<mx:TextInput id="ti"/>
 
 		


[18/50] git commit: [flex-sdk] [refs/heads/master] - - asdoc test added missing apache header to SampleExperimental.as test file

Posted by jm...@apache.org.
- asdoc test
added missing apache header to SampleExperimental.as test file


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/55153447
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/55153447
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/55153447

Branch: refs/heads/master
Commit: 55153447d963e34ad28f2478da7700a216897317
Parents: 626c45e
Author: mamsellem <ma...@systar.com>
Authored: Fri Oct 11 09:12:58 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Fri Oct 11 09:12:58 2013 +0200

----------------------------------------------------------------------
 asdoc/test/doc_src/SampleExperimental.as | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/55153447/asdoc/test/doc_src/SampleExperimental.as
----------------------------------------------------------------------
diff --git a/asdoc/test/doc_src/SampleExperimental.as b/asdoc/test/doc_src/SampleExperimental.as
index 6bff593..a04781f 100644
--- a/asdoc/test/doc_src/SampleExperimental.as
+++ b/asdoc/test/doc_src/SampleExperimental.as
@@ -1,3 +1,22 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package
 {
 


[30/50] git commit: [flex-sdk] [refs/heads/master] - Fixe minor issue with version in release notes

Posted by jm...@apache.org.
Fixe minor issue with version in release notes


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/1be0f987
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/1be0f987
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/1be0f987

Branch: refs/heads/master
Commit: 1be0f98791a8afcf1141100196a161c91187dd31
Parents: fe2a2ea
Author: Justin Mclean <jm...@apache.org>
Authored: Sun Oct 13 11:59:00 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Sun Oct 13 11:59:00 2013 +1100

----------------------------------------------------------------------
 RELEASE_NOTES | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1be0f987/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 5e41ca6..291224c 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -27,7 +27,7 @@ Adobe have provided a patch for Flash Builder 4.7 that resolves this issue:
 http://helpx.adobe.com/flash-builder/kb/flex-new-project-issue--.html
 
 
-Differences from Apache Flex 4.9 include:
+Differences from Apache Flex 4.10 include:
 
 AIR and Flash Player support
 ------------------------------


[36/50] git commit: [flex-sdk] [refs/heads/master] - Minor changes to README to reflect need for RSLs before running IDE batch files.

Posted by jm...@apache.org.
Minor changes to README to reflect need for RSLs before running IDE batch files.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/e376a1e5
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/e376a1e5
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/e376a1e5

Branch: refs/heads/master
Commit: e376a1e5d6df529794e11e4105638522778edcb5
Parents: d2ccdc1
Author: Nick Kwiatkowski <qu...@apache.org>
Authored: Mon Oct 14 12:00:51 2013 -0400
Committer: quetwo <ni...@theflexgroup.org>
Committed: Mon Oct 14 12:00:51 2013 -0400

----------------------------------------------------------------------
 README | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e376a1e5/README
----------------------------------------------------------------------
diff --git a/README b/README
index eca4ce0..c704593 100644
--- a/README
+++ b/README
@@ -467,10 +467,16 @@ Using the Binary Distribution
     You must download the third-party dependencies.
 
     When you have all the prerequisites in place and the environment variables set, 
-    (see Install Prerequisites above), use
+    (see Install Prerequisites above -- you cannot use the env.properties file to set
+    the environment variables for these steps.), use
 
         cd <flex.dir>/frameworks
         ant thirdparty-downloads
+
+    Additionally, you will need to build the RSLS for the SDK before you run the batch files.
+
+        cd <flex.dir>
+        ant frameworks-rsls
         
 	To use this SDK in a IDE like Flash Builder 4.6 or 4.7 the SDK needs several other
 	files to be packaged and integrated with the Apache Flex SDK.


[40/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-33823 fixed parsing of month strings in stringToDate

Posted by jm...@apache.org.
FLEX-33823 fixed parsing of month strings in stringToDate


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ba846c44
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ba846c44
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ba846c44

Branch: refs/heads/master
Commit: ba846c4478d78f131387f9cc7561280c40ef963b
Parents: c556895
Author: Justin Mclean <jm...@apache.org>
Authored: Wed Oct 16 09:50:03 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Wed Oct 16 09:50:03 2013 +1100

----------------------------------------------------------------------
 frameworks/projects/mx/src/mx/controls/DateField.as | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ba846c44/frameworks/projects/mx/src/mx/controls/DateField.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mx/src/mx/controls/DateField.as b/frameworks/projects/mx/src/mx/controls/DateField.as
index 6318633..6d45041 100644
--- a/frameworks/projects/mx/src/mx/controls/DateField.as
+++ b/frameworks/projects/mx/src/mx/controls/DateField.as
@@ -475,10 +475,19 @@ public class DateField extends ComboBase
 		if (valueString == null || inputFormat == null)
 			return null;
 		
+		var monthNames:Array = ResourceManager.getInstance()
+			.getStringArray("SharedResources", "monthNames");
+		
+		var noMonths:int = monthNames.length;
+		for (var i:int = 0; i < noMonths; i++) {
+			valueString = valueString.replace(monthNames[i], (i+1).toString());
+			valueString = valueString.replace(monthNames[i].substr(0,3), (i+1).toString());
+		}
+		
 		length = valueString.length;
 		
 		dateParts[part] = "";
-        for (var i:int = 0; i < length; i++)
+        for (i = 0; i < length; i++)
         {
 			dateChar = valueString.charAt(i);
  


[49/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-33829 improve create UID performance and use New algorithm using ByteArray around 4x faster than original.

Posted by jm...@apache.org.
FLEX-33829 improve create UID performance and use
New algorithm using ByteArray around 4x faster than original.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/40d67742
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/40d67742
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/40d67742

Branch: refs/heads/master
Commit: 40d67742ec94bc916096f078a8738b4697c621bb
Parents: 24c1d8f
Author: mamsellem <ma...@systar.com>
Authored: Sun Oct 20 21:39:03 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Sun Oct 20 21:39:03 2013 +0200

----------------------------------------------------------------------
 .../projects/framework/src/mx/utils/UIDUtil.as  | 99 ++++++++------------
 1 file changed, 41 insertions(+), 58 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/40d67742/frameworks/projects/framework/src/mx/utils/UIDUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/utils/UIDUtil.as b/frameworks/projects/framework/src/mx/utils/UIDUtil.as
index 36ad6fb..6ada280 100644
--- a/frameworks/projects/framework/src/mx/utils/UIDUtil.as
+++ b/frameworks/projects/framework/src/mx/utils/UIDUtil.as
@@ -65,16 +65,9 @@ public class UIDUtil
      */
 	private static const ALPHA_CHAR_CODES:Array = [48, 49, 50, 51, 52, 53, 54, 
 		55, 56, 57, 65, 66, 67, 68, 69, 70];
-	
-	private static const HEX_CHARS:String = "0123456789ABCDEF";
-	
-	private static var EMPTYUID:Array = [
-		'0','0','0','0','0','0','0','0',
-		'-','0','0','0','0',
-		'-','0','0','0','0',
-		'-','0','0','0','0',
-		'-','0','0','0','0','0','0','0','0','0','0','0','0'
-	];
+
+    private static const DASH:int = 45;       // dash ascii
+    private static const UIDBuffer:ByteArray = new ByteArray();       // static ByteArray used for UID generation to save memory allocation cost
 
     //--------------------------------------------------------------------------
     //
@@ -117,52 +110,42 @@ public class UIDUtil
      *  @productversion Flex 3
      */
 	public static function createUID():String
-	{
-		var uid:Array = EMPTYUID;
-		var index:int = 0;
-		
-		var i:int;
-		var j:int;
-		
-		for (i = 0; i < 8; i++)
-		{
-			uid[index++] = HEX_CHARS.charAt(Math.random() * 16);
-		}
-		
-		for (i = 0; i < 3; i++)
-		{
-			index++; // skip "-"
-			
-			for (j = 0; j < 4; j++)
-			{
-				uid[index++] = HEX_CHARS.charAt(Math.random() * 16);
-			}
-		}
-		
-		index++; // skip "-"
-		
-		var time:Number = new Date().getTime();
-		// Note: time is the number of milliseconds since 1970,
-		// which is currently more than one trillion.
-		// We use the low 8 hex digits of this number in the UID.
-		// Just in case the system clock has been reset to
-		// Jan 1-4, 1970 (in which case this number could have only
-		// 1-7 hex digits), we pad on the left with 7 zeros
-		// before taking the low digits.
-		var timeString:String = ("0000000" + time.toString(16).toUpperCase()).substr(-8);
-		
-		for (i = 0; i < 8; i++)
-		{
-			uid[index++] = timeString.charAt(i);
-		}
-		
-		for (i = 0; i < 4; i++)
-		{
-			uid[index++] = HEX_CHARS.charAt(Math.random() * 16);
-		}
-		
-		return uid.join("");
-	}
+    {
+        UIDBuffer.position = 0;
+
+        var i:int;
+        var j:int;
+
+        for (i = 0; i < 8; i++)
+        {
+            UIDBuffer.writeByte(ALPHA_CHAR_CODES[int(Math.random() * 16)]);
+        }
+
+        for (i = 0; i < 3; i++)
+        {
+            UIDBuffer.writeByte(DASH);
+            for (j = 0; j < 4; j++)
+            {
+                UIDBuffer.writeByte(ALPHA_CHAR_CODES[int(Math.random() * 16)]);
+            }
+        }
+
+        UIDBuffer.writeByte(DASH);
+
+        var time:uint = new Date().getTime(); // extract last 8 digits
+        var timeString:String = time.toString(16).toUpperCase();
+        // 0xFFFFFFFF milliseconds ~= 3 days, so timeString may have between 1 and 8 digits, hence we need to pad with 0s to 8 digits
+        for (i = 8; i > timeString.length; --i)
+            UIDBuffer.writeByte(48);
+        UIDBuffer.writeUTFBytes(timeString);
+
+        for (i = 0; i < 4; i++)
+        {
+            UIDBuffer.writeByte(ALPHA_CHAR_CODES[int(Math.random() * 16)]);
+        }
+
+        return UIDBuffer.toString();
+    }
 
     /**
      * Converts a 128-bit UID encoded as a ByteArray to a String representation.
@@ -188,7 +171,7 @@ public class UIDUtil
             for (var i:uint = 0; i < 16; i++)
             {
                 if (i == 4 || i == 6 || i == 8 || i == 10)
-                    chars[index++] = 45; // Hyphen char code
+                    chars[index++] = DASH; // Hyphen char code
 
                 var b:int = ba.readByte();
                 chars[index++] = ALPHA_CHAR_CODES[(b & 0xF0) >>> 4];
@@ -227,7 +210,7 @@ public class UIDUtil
                 // Check for correctly placed hyphens
                 if (i == 8 || i == 13 || i == 18 || i == 23)
                 {
-                    if (c != 45)
+                    if (c != DASH)
                     {
                         return false;
                     }


[50/50] git commit: [flex-sdk] [refs/heads/master] - Merged 4.11.0

Posted by jm...@apache.org.
Merged 4.11.0


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/db1aa1e6
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/db1aa1e6
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/db1aa1e6

Branch: refs/heads/master
Commit: db1aa1e6a638b011160514962e61cf4fa92d0a2d
Parents: 504abed 40d6774
Author: Justin Mclean <jm...@apache.org>
Authored: Tue Oct 22 09:32:09 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Tue Oct 22 09:32:09 2013 +1100

----------------------------------------------------------------------
 .gitignore                                      |    1 -
 README                                          |  112 +-
 RELEASE_NOTES                                   |  125 ++
 SVN-TEST.txt                                    |   15 +-
 asdoc/build.xml                                 |   43 +-
 asdoc/templates/ASDoc_terms.xml                 |    9 +
 asdoc/templates/class-files.xslt                |    9 +
 asdoc/templates/class-parts.xslt                |   14 +
 asdoc/templates/images/experimental_small.png   |  Bin 0 -> 1485 bytes
 asdoc/templates/style.css                       |    4 +
 asdoc/test/build_test_experimental.xml          |   60 +
 asdoc/test/doc_src/SampleExperimental.as        |   49 +
 bin/compc                                       |    2 +-
 bin/compc.bat                                   |    2 +-
 bin/mxmlc                                       |    2 +-
 bin/mxmlc.bat                                   |    2 +-
 build.properties                                |    6 +-
 build.xml                                       |   21 +-
 build/check_sigs.sh                             |   77 +
 build/deploy_release_candidate.sh               |   82 +
 build/make_release_branch.sh                    |   49 +
 build/tag_release_candidate.sh                  |   47 +
 flex-sdk-description.xml                        |    6 +-
 frameworks/air-config.xml                       |   18 +-
 frameworks/airmobile-config.xml                 |   18 +-
 frameworks/build.xml                            |   16 +-
 frameworks/downloads.xml                        |   29 +-
 frameworks/experimental-mobile-manifest.xml     |   28 +
 .../src/mx/controls/AdvancedDataGrid.as         |  186 +-
 .../src/mx/controls/AdvancedDataGridBaseEx.as   |   59 +-
 .../src/mx/controls/OLAPDataGrid.as             |    4 +-
 .../AdvancedDataGridBase.as                     |    1 +
 .../AdvancedDataGridColumn.as                   |   37 +
 .../AdvancedDataGridGroupItemRenderer.as        |   19 +-
 .../AdvancedDataGridHeaderRenderer.as           |    2 +-
 .../AdvancedDataGridItemRenderer.as             |   49 +-
 .../AdvancedDataGridSortItemRenderer.as         |    2 +-
 .../mx/controls/listClasses/AdvancedListBase.as |   18 +-
 .../advancedgrids/src/mx/core/Version.as        |    2 +-
 .../src/mx/printing/PrintAdvancedDataGrid.as    |    8 +-
 .../airframework/src/mx/core/Version.as         |    2 +-
 .../projects/airspark/src/spark/core/Version.as |    2 +-
 frameworks/projects/apache/src/core/Version.as  |    2 +-
 .../org/apache/flex/collections/ArrayList.as    |    4 +-
 .../org/apache/flex/collections/VectorList.as   |    4 +-
 .../projects/automation/src/mx/core/Version.as  |    2 +-
 .../automation_agent/src/mx/core/Version.as     |    2 +-
 .../automation_air/src/mx/core/Version.as       |    2 +-
 .../automation_dmv/src/mx/core/Version.as       |    2 +-
 .../src/mx/core/Version.as                      |    2 +-
 .../automation_spark/src/mx/core/Version.as     |    2 +-
 .../automation_spark/src/spark/core/Version.as  |    2 +-
 .../projects/charts/src/mx/charts/AreaChart.as  |   19 +-
 .../charts/src/mx/charts/AxisRenderer.as        |   73 +-
 .../projects/charts/src/mx/charts/BarChart.as   |   17 +-
 .../charts/src/mx/charts/BubbleChart.as         |   19 +-
 .../charts/src/mx/charts/CandlestickChart.as    |   63 +-
 .../charts/src/mx/charts/ColumnChart.as         |   18 +-
 .../projects/charts/src/mx/charts/GridLines.as  |   24 +-
 .../projects/charts/src/mx/charts/HLOCChart.as  |   70 +-
 .../projects/charts/src/mx/charts/LineChart.as  |   60 +-
 .../projects/charts/src/mx/charts/PieChart.as   |   10 +-
 .../projects/charts/src/mx/charts/PlotChart.as  |   78 +-
 .../mx/charts/chartClasses/CartesianChart.as    |    7 +-
 .../src/mx/charts/chartClasses/ChartBase.as     |   15 +-
 .../mx/charts/chartClasses/GraphicsUtilities.as |    2 +-
 .../src/mx/charts/chartClasses/PolarChart.as    |   12 +-
 .../charts/src/mx/charts/series/AreaSeries.as   |   24 +-
 .../charts/src/mx/charts/series/BarSeries.as    |   15 +-
 .../charts/src/mx/charts/series/BubbleSeries.as |   13 +-
 .../src/mx/charts/series/CandlestickSeries.as   |   17 +-
 .../charts/src/mx/charts/series/ColumnSeries.as |   14 +-
 .../charts/src/mx/charts/series/HLOCSeries.as   |   14 +-
 .../charts/src/mx/charts/series/LineSeries.as   |   16 +-
 .../charts/src/mx/charts/series/PieSeries.as    |   16 +-
 .../charts/src/mx/charts/series/PlotSeries.as   |   14 +-
 .../charts/src/mx/charts/styles/HaloDefaults.as |   24 +
 .../projects/charts/src/mx/core/Version.as      |    2 +-
 .../projects/experimental/compile-config.xml    |    1 +
 frameworks/projects/experimental/defaults.css   |    9 -
 frameworks/projects/experimental/manifest.xml   |    4 -
 .../experimental/src/ExperimentalClasses.as     |    6 +-
 .../experimental/src/spark/components/Alert.as  |    3 +
 .../src/spark/components/ArrowDirection.as      |   83 -
 .../src/spark/components/BorderDataNavigator.as |    3 +
 .../src/spark/components/CallOut.as             | 1558 ----------------
 .../src/spark/components/CallOutButton.as       |  359 ----
 .../src/spark/components/CallOutPosition.as     |   93 -
 .../src/spark/components/ColorPicker.as         |    5 +-
 .../src/spark/components/DataAccordion.as       |   15 +-
 .../src/spark/components/DataNavigator.as       |    9 +-
 .../src/spark/components/DataNavigatorGroup.as  |    5 +-
 .../src/spark/components/InlineScroller.as      |    7 +-
 .../experimental/src/spark/components/Menu.as   |    5 +-
 .../src/spark/components/MenuBar.as             |    5 +-
 .../src/spark/components/ProgressBar.as         |    5 +-
 .../itemRenderers/MenuBarItemRenderer.mxml      |   41 +-
 .../itemRenderers/MenuCoreItemRenderer.as       |    2 +
 .../itemRenderers/MenuItemRenderer.mxml         |   41 +-
 .../supportClasses/CallOutDropDownController.as |   78 -
 .../supportClazzes/AnimationTarget.as           |   68 -
 .../src/spark/containers/Accordion.as           |    7 +-
 .../src/spark/containers/DeferredGroup.as       |   13 +-
 .../src/spark/containers/DividedGroup.as        |    5 +-
 .../src/spark/containers/Divider.as             |    6 +-
 .../src/spark/containers/HDividerGroup.as       |    6 +-
 .../src/spark/containers/Navigator.as           |    9 +-
 .../src/spark/containers/NavigatorGroup.as      |    8 +-
 .../src/spark/containers/VDividerGroup.as       |    6 +-
 .../supportClasses/DeferredCreationPolicy.as    |  130 ++
 .../supportClazzes/DeferredCreationPolicy.as    |  128 --
 .../src/spark/events/ColorChangeEvent.as        |    6 +-
 .../experimental/src/spark/events/MenuEvent.as  |    5 +-
 .../src/spark/layouts/AccordionLayout.as        |    7 +-
 .../src/spark/layouts/CarouselLayout.as         |    5 +-
 .../src/spark/layouts/CoverflowLayout.as        |    7 +-
 .../src/spark/layouts/InlineScrollerLayout.as   |    7 +-
 .../src/spark/layouts/RolodexLayout.as          |    5 +-
 .../src/spark/layouts/StackLayout.as            |    7 +-
 .../src/spark/layouts/TimeMachineLayout.as      |    5 +-
 .../AnimationNavigatorLayoutBase.as             |    7 +-
 .../layouts/supportClasses/INavigatorLayout.as  |    5 +-
 .../spark/layouts/supportClasses/LayoutAxis.as  |    6 +-
 .../supportClasses/NavigatorLayoutBase.as       |    8 +-
 .../PerspectiveAnimationNavigatorLayoutBase.as  |    5 +-
 .../PerspectiveNavigatorLayoutBase.as           |    5 +-
 .../spark/managers/INavigatorBrowserManager.as  |    5 +-
 .../spark/managers/NavigatorBrowserManager.as   |    7 +-
 .../managers/NavigatorBrowserManagerImpl.as     |    5 +-
 .../experimental/src/spark/skins/AlertSkin.mxml |   41 +-
 .../src/spark/skins/ColorPickerButtonSkin.mxml  |   41 +-
 .../src/spark/skins/ColorPickerSkin.mxml        |   42 +-
 .../src/spark/skins/MenuBarSkin.mxml            |   41 +-
 .../experimental/src/spark/skins/MenuSkin.mxml  |   41 +-
 .../src/spark/skins/ProgressBarSkin.mxml        |   41 +-
 .../src/spark/skins/TabNavigatorSkin.mxml       |    4 +-
 .../src/spark/skins/spark/CallOutSkin.mxml      |  209 ---
 .../src/spark/supportClasses/INavigator.as      |    7 +-
 .../src/spark/utils/ColorPickerUtil.as          |    6 +-
 .../examples/MobileGrid_ApplicationExample.mxml |   24 +
 .../renderers/MyActionButtonPartRenderer.as     |   77 +
 .../examples/views/MobileGridView.mxml          |  158 ++
 .../examples/views/MobileGridView2.mxml         |  115 ++
 .../assets/images/mobile160/dg_header_asc.png   |  Bin 0 -> 447 bytes
 .../assets/images/mobile160/dg_header_desc.png  |  Bin 0 -> 418 bytes
 .../assets/images/mobile160/dg_header_sep.png   |  Bin 0 -> 201 bytes
 .../images/mobile160/dg_header_shadow.png       |  Bin 0 -> 277 bytes
 .../assets/images/mobile320/dg_header_asc.png   |  Bin 0 -> 527 bytes
 .../assets/images/mobile320/dg_header_desc.png  |  Bin 0 -> 496 bytes
 .../assets/images/mobile320/dg_header_sep.png   |  Bin 0 -> 215 bytes
 .../images/mobile320/dg_header_shadow.png       |  Bin 0 -> 329 bytes
 .../projects/experimental_mobile/build.xml      |  243 +++
 .../experimental_mobile/bundle-config.xml       |   50 +
 .../bundles/da_DK/experimental.properties       |   18 +
 .../bundles/de_CH/experimental.properties       |   18 +
 .../bundles/de_DE/experimental.properties       |   18 +
 .../bundles/el_GR/experimental.properties       |   18 +
 .../bundles/en_AU/experimental.properties       |   18 +
 .../bundles/en_CA/experimental.properties       |   18 +
 .../bundles/en_GB/experimental.properties       |   18 +
 .../bundles/en_US/experimental.properties       |   18 +
 .../bundles/es_ES/experimental.properties       |   18 +
 .../bundles/fi_FI/experimental.properties       |   18 +
 .../bundles/fr_CH/experimental.properties       |   18 +
 .../bundles/fr_FR/experimental.properties       |   18 +
 .../bundles/it_IT/experimental.properties       |   18 +
 .../bundles/ja_JP/experimental.properties       |   18 +
 .../bundles/ko_KR/experimental.properties       |   18 +
 .../bundles/nb_NO/experimental.properties       |   18 +
 .../bundles/nl_NL/experimental.properties       |   18 +
 .../bundles/pt_BR/experimental.properties       |   18 +
 .../bundles/pt_PT/experimental.properties       |   18 +
 .../bundles/ru_RU/experimental.properties       |   18 +
 .../bundles/sv_SE/experimental.properties       |   18 +
 .../bundles/zh_CN/experimental.properties       |   18 +
 .../bundles/zh_TW/experimental.properties       |   18 +
 .../experimental_mobile/compile-config.xml      |   83 +
 .../projects/experimental_mobile/defaults.css   |  138 ++
 .../projects/experimental_mobile/manifest.xml   |   28 +
 .../experimental_mobile/spark-manifest.xml      |   49 +
 .../src/ExperimentalMobileClasses.as            |   34 +
 .../src/spark/components/MobileGrid.as          |  301 ++++
 .../itemRenderers/IMobileGridCellRenderer.as    |   72 +
 .../IMobileGridTextCellRenderer.as              |   52 +
 .../MobileGridBitmapCellRenderer.as             |  153 ++
 .../itemRenderers/MobileGridTextCellRenderer.as |  141 ++
 .../supportClasses/ListMultiPartColumnLayout.as |  191 ++
 .../supportClasses/MobileGridColumn.as          |  353 ++++
 .../supportClasses/MobileGridHeader.as          |  166 ++
 .../supportClasses/MobileGridRowRenderer.as     |  281 +++
 .../src/spark/events/MobileGridHeaderEvent.as   |   60 +
 .../src/spark/layouts/MobileGridLayout.as       |  115 ++
 .../skins/MobileGridHeaderButtonBarSkin.as      |   89 +
 .../spark/skins/MobileGridHeaderButtonSkin.as   |   43 +
 .../skins/MobileGridHeaderFirstButtonSkin.as    |   35 +
 .../src/spark/skins/MobileGridSkin.as           |  177 ++
 .../assets/MobileGridHeaderButton_down.fxg      |   46 +
 .../mobile/assets/MobileGridHeaderButton_up.fxg |   44 +
 .../assets/MobileGridHeaderFirstButton_down.fxg |   34 +
 .../assets/MobileGridHeaderFirstButton_up.fxg   |   32 +
 .../src/spark/utils/MobileGridUtil.as           |   80 +
 .../framework/src/mx/collections/ArrayList.as   |    4 +-
 .../framework/src/mx/collections/ISortField.as  |   30 +
 .../src/mx/collections/ListCollectionView.as    |    5 +-
 .../framework/src/mx/collections/SortField.as   |  117 +-
 .../src/mx/collections/SortFieldCompareTypes.as |  117 ++
 .../framework/src/mx/core/DPIClassification.as  |   22 +-
 .../framework/src/mx/core/FlexVersion.as        |   18 +-
 .../framework/src/mx/core/RuntimeDPIProvider.as |   20 +-
 .../framework/src/mx/core/UIComponent.as        |    7 +-
 .../projects/framework/src/mx/core/Version.as   |    2 +-
 .../framework/src/mx/managers/FocusManager.as   |   95 +-
 .../systemClasses/ActiveWindowManager.as        |  205 ++-
 .../framework/src/mx/utils/DensityUtil.as       |    4 +-
 .../projects/framework/src/mx/utils/UIDUtil.as  |   61 +-
 .../src/mx/validators/DateValidator.as          |   11 +
 .../projects/mobilecomponents/manifest.xml      |    2 -
 .../src/MobileComponentsClasses.as              |    2 +-
 .../src/MobileComponentsClassesAIR2.as          |    1 -
 .../src/spark/components/ArrowDirection.as      |   84 -
 .../src/spark/components/Callout.as             | 1659 -----------------
 .../src/spark/components/Callout.png            |  Bin 410 -> 0 bytes
 .../src/spark/components/CalloutButton.as       |  807 ---------
 .../src/spark/components/CalloutPosition.as     |   96 -
 .../components/ContentBackgroundAppearance.as   |   72 -
 .../src/spark/components/IconItemRenderer.as    |   29 +-
 .../src/spark/components/LabelItemRenderer.as   |   20 +-
 .../spark/components/SpinnerListItemRenderer.as |   20 +-
 .../supportClasses/ViewNavigatorBase.as         |   11 +-
 .../spark/core/ContainerDestructionPolicy.as    |   62 -
 .../spark/preloaders/SplashScreenImageSource.as |    2 +-
 frameworks/projects/mobiletheme/defaults.css    |  199 ++
 .../mobiletheme/src/MobileThemeClasses.as       |    3 +-
 .../src/spark/skins/mobile/ActionBarSkin.as     |   12 +
 .../skins/mobile/BeveledActionButtonSkin.as     |   72 +-
 .../spark/skins/mobile/BeveledBackButtonSkin.as |   72 +-
 .../skins/mobile/ButtonBarFirstButtonSkin.as    |   46 +-
 .../skins/mobile/ButtonBarLastButtonSkin.as     |   46 +-
 .../skins/mobile/ButtonBarMiddleButtonSkin.as   |   42 +-
 .../src/spark/skins/mobile/ButtonSkin.as        |   72 +-
 .../spark/skins/mobile/CalloutActionBarSkin.as  |   20 +-
 .../src/spark/skins/mobile/CalloutSkin.as       |   73 +-
 .../skins/mobile/CalloutViewNavigatorSkin.as    |   30 +-
 .../src/spark/skins/mobile/CheckBoxSkin.as      |   54 +-
 .../src/spark/skins/mobile/HScrollBarSkin.as    |   28 +-
 .../spark/skins/mobile/HScrollBarThumbSkin.as   |    8 +-
 .../src/spark/skins/mobile/HSliderThumbSkin.as  |   73 +-
 .../src/spark/skins/mobile/HSliderTrackSkin.as  |   47 +-
 .../src/spark/skins/mobile/ImageSkin.as         |   22 +-
 .../src/spark/skins/mobile/RadioButtonSkin.as   |   48 +-
 .../skins/mobile/SpinnerListContainerSkin.as    |   51 +-
 .../src/spark/skins/mobile/SpinnerListSkin.as   |    1 +
 .../src/spark/skins/mobile/StageTextAreaSkin.as |   20 +-
 .../TabbedViewNavigatorTabBarFirstTabSkin.as    |    9 +
 .../TabbedViewNavigatorTabBarLastTabSkin.as     |    2 +
 .../skins/mobile/TextAreaHScrollBarSkin.as      |   28 +-
 .../skins/mobile/TextAreaHScrollBarThumbSkin.as |   33 +-
 .../src/spark/skins/mobile/TextAreaSkin.as      |   42 +-
 .../skins/mobile/TextAreaVScrollBarSkin.as      |   28 +-
 .../skins/mobile/TextAreaVScrollBarThumbSkin.as |   34 +-
 .../src/spark/skins/mobile/TextInputSkin.as     |   42 +-
 .../src/spark/skins/mobile/ToggleSwitchSkin.as  |   54 +-
 .../skins/mobile/TransparentActionButtonSkin.as |    9 +
 .../mobile/TransparentNavigationButtonSkin.as   |    9 +
 .../src/spark/skins/mobile/VScrollBarSkin.as    |   28 +-
 .../spark/skins/mobile/VScrollBarThumbSkin.as   |    8 +-
 .../src/spark/skins/mobile/ViewMenuItemSkin.as  |   70 +-
 .../src/spark/skins/mobile/ViewMenuSkin.mxml    |   14 +-
 .../supportClasses/ActionBarButtonSkinBase.as   |   27 +-
 .../skins/mobile/supportClasses/CalloutArrow.as |   80 +-
 .../mobile/supportClasses/HSliderDataTip.as     |   54 +-
 .../skins/mobile/supportClasses/MobileSkin.as   |  756 +-------
 .../mobile/supportClasses/StageTextSkinBase.as  |   44 +-
 .../TabbedViewNavigatorTabBarTabSkinBase.as     |   48 +-
 .../mobile120/assets/ActionBarBackground.fxg    |   87 +
 .../assets/BeveledActionButton_down.fxg         |   61 +
 .../assets/BeveledActionButton_fill.fxg         |   38 +
 .../mobile120/assets/BeveledActionButton_up.fxg |   63 +
 .../mobile120/assets/BeveledBackButton_down.fxg |   62 +
 .../mobile120/assets/BeveledBackButton_fill.fxg |   39 +
 .../mobile120/assets/BeveledBackButton_up.fxg   |   64 +
 .../assets/ButtonBarFirstButton_down.fxg        |   57 +
 .../assets/ButtonBarFirstButton_selected.fxg    |   57 +
 .../assets/ButtonBarFirstButton_up.fxg          |   48 +
 .../assets/ButtonBarLastButton_down.fxg         |   57 +
 .../assets/ButtonBarLastButton_selected.fxg     |   57 +
 .../mobile120/assets/ButtonBarLastButton_up.fxg |   48 +
 .../assets/ButtonBarMiddleButton_down.fxg       |   54 +
 .../assets/ButtonBarMiddleButton_selected.fxg   |   54 +
 .../assets/ButtonBarMiddleButton_up.fxg         |   54 +
 .../skins/mobile120/assets/Button_down.fxg      |   50 +
 .../spark/skins/mobile120/assets/Button_up.fxg  |   29 +
 .../assets/CalloutContentBackground.fxg         |   51 +
 .../skins/mobile120/assets/CheckBox_down.fxg    |   57 +
 .../mobile120/assets/CheckBox_downSymbol.fxg    |   45 +
 .../assets/CheckBox_downSymbolSelected.fxg      |   45 +
 .../skins/mobile120/assets/CheckBox_up.fxg      |   59 +
 .../mobile120/assets/CheckBox_upSymbol.fxg      |   45 +
 .../assets/CheckBox_upSymbolSelected.fxg        |   44 +
 .../mobile120/assets/HSliderThumb_normal.fxg    |   44 +
 .../mobile120/assets/HSliderThumb_pressed.fxg   |   56 +
 .../skins/mobile120/assets/HSliderTrack.fxg     |   53 +
 .../skins/mobile120/assets/ImageInvalid.fxg     |   46 +
 .../skins/mobile120/assets/RadioButton_down.fxg |   54 +
 .../mobile120/assets/RadioButton_downSymbol.fxg |   34 +
 .../assets/RadioButton_downSymbolSelected.fxg   |   34 +
 .../skins/mobile120/assets/RadioButton_up.fxg   |   45 +
 .../mobile120/assets/RadioButton_upSymbol.fxg   |   34 +
 .../assets/RadioButton_upSymbolSelected.fxg     |   34 +
 .../assets/SpinnerListContainerBackground.fxg   |   33 +
 .../SpinnerListContainerSelectionIndicator.fxg  |   67 +
 .../assets/SpinnerListContainerShadow.fxg       |   32 +
 ...edViewNavigatorButtonBarFirstButton_down.fxg |   55 +
 ...ewNavigatorButtonBarFirstButton_selected.fxg |   55 +
 ...bbedViewNavigatorButtonBarFirstButton_up.fxg |   55 +
 ...bedViewNavigatorButtonBarLastButton_down.fxg |   61 +
 ...iewNavigatorButtonBarLastButton_selected.fxg |   61 +
 ...abbedViewNavigatorButtonBarLastButton_up.fxg |   61 +
 .../skins/mobile120/assets/TextInput_border.fxg |   39 +
 .../assets/ToggleSwitch_contentShadow.fxg       |   30 +
 .../assets/TransparentActionButton_down.fxg     |   62 +
 .../assets/TransparentActionButton_up.fxg       |   52 +
 .../assets/TransparentNavigationButton_down.fxg |   62 +
 .../assets/TransparentNavigationButton_up.fxg   |   52 +
 .../mobile120/assets/ViewMenuItem_down.fxg      |   49 +
 .../assets/ViewMenuItem_showsCaret.fxg          |   34 +
 .../skins/mobile120/assets/ViewMenuItem_up.fxg  |   34 +
 .../spark/skins/mobile160/assets/Button_up.fxg  |    3 +-
 .../spark/skins/mobile240/assets/Button_up.fxg  |    3 +-
 .../spark/skins/mobile320/assets/Button_up.fxg  |    3 +-
 .../skins/mobile320/assets/RadioButton_down.fxg |    4 +-
 .../mobile480/assets/ActionBarBackground.fxg    |  158 +-
 .../assets/BeveledActionButton_down.fxg         |   71 +-
 .../assets/BeveledActionButton_fill.fxg         |   30 +-
 .../mobile480/assets/BeveledActionButton_up.fxg |   75 +-
 .../mobile480/assets/BeveledBackButton_down.fxg |   73 +-
 .../mobile480/assets/BeveledBackButton_fill.fxg |   31 +-
 .../mobile480/assets/BeveledBackButton_up.fxg   |   77 +-
 .../assets/ButtonBarFirstButton_down.fxg        |   64 +-
 .../assets/ButtonBarFirstButton_selected.fxg    |   64 +-
 .../assets/ButtonBarFirstButton_up.fxg          |   49 +-
 .../assets/ButtonBarLastButton_down.fxg         |   64 +-
 .../assets/ButtonBarLastButton_selected.fxg     |   64 +-
 .../mobile480/assets/ButtonBarLastButton_up.fxg |   49 +-
 .../assets/ButtonBarMiddleButton_down.fxg       |   61 +-
 .../assets/ButtonBarMiddleButton_selected.fxg   |   61 +-
 .../assets/ButtonBarMiddleButton_up.fxg         |   61 +-
 .../skins/mobile480/assets/Button_down.fxg      |   60 +-
 .../spark/skins/mobile480/assets/Button_up.fxg  |   17 +-
 .../assets/CalloutContentBackground.fxg         |   54 +-
 .../skins/mobile480/assets/CheckBox_down.fxg    |   91 +-
 .../mobile480/assets/CheckBox_downSymbol.fxg    |   39 +-
 .../assets/CheckBox_downSymbolSelected.fxg      |   41 +-
 .../skins/mobile480/assets/CheckBox_up.fxg      |   15 +-
 .../mobile480/assets/CheckBox_upSymbol.fxg      |   39 +-
 .../assets/CheckBox_upSymbolSelected.fxg        |   39 +-
 .../mobile480/assets/HSliderThumb_normal.fxg    |   45 +-
 .../mobile480/assets/HSliderThumb_pressed.fxg   |   71 +-
 .../skins/mobile480/assets/HSliderTrack.fxg     |   48 +-
 .../skins/mobile480/assets/ImageInvalid.fxg     |   46 +-
 .../skins/mobile480/assets/RadioButton_down.fxg |   56 +-
 .../mobile480/assets/RadioButton_downSymbol.fxg |   29 +-
 .../assets/RadioButton_downSymbolSelected.fxg   |   29 +-
 .../skins/mobile480/assets/RadioButton_up.fxg   |   46 +-
 .../mobile480/assets/RadioButton_upSymbol.fxg   |   29 +-
 .../assets/RadioButton_upSymbolSelected.fxg     |   29 +-
 .../assets/SpinnerListContainerBackground.fxg   |   23 +-
 .../SpinnerListContainerSelectionIndicator.fxg  |   98 +-
 .../assets/SpinnerListContainerShadow.fxg       |   24 +-
 ...edViewNavigatorButtonBarFirstButton_down.fxg |   76 +-
 ...ewNavigatorButtonBarFirstButton_selected.fxg |   75 +-
 ...bbedViewNavigatorButtonBarFirstButton_up.fxg |   75 +-
 ...bedViewNavigatorButtonBarLastButton_down.fxg |   87 +-
 ...iewNavigatorButtonBarLastButton_selected.fxg |   87 +-
 ...abbedViewNavigatorButtonBarLastButton_up.fxg |   87 +-
 .../skins/mobile480/assets/TextInput_border.fxg |   33 +-
 .../assets/ToggleSwitch_contentShadow.fxg       |   21 +-
 .../assets/TransparentActionButton_down.fxg     |   89 +-
 .../assets/TransparentActionButton_up.fxg       |   69 +-
 .../assets/TransparentNavigationButton_down.fxg |   89 +-
 .../assets/TransparentNavigationButton_up.fxg   |   69 +-
 .../mobile480/assets/ViewMenuItem_down.fxg      |   61 +-
 .../assets/ViewMenuItem_showsCaret.fxg          |   30 +-
 .../skins/mobile480/assets/ViewMenuItem_up.fxg  |   29 +-
 .../mobile640/assets/ActionBarBackground.fxg    |  102 ++
 .../assets/BeveledActionButton_down.fxg         |   61 +
 .../assets/BeveledActionButton_fill.fxg         |   38 +
 .../mobile640/assets/BeveledActionButton_up.fxg |   63 +
 .../mobile640/assets/BeveledBackButton_down.fxg |   63 +
 .../mobile640/assets/BeveledBackButton_fill.fxg |   39 +
 .../mobile640/assets/BeveledBackButton_up.fxg   |   65 +
 .../assets/ButtonBarFirstButton_down.fxg        |   57 +
 .../assets/ButtonBarFirstButton_selected.fxg    |   57 +
 .../assets/ButtonBarFirstButton_up.fxg          |   48 +
 .../assets/ButtonBarLastButton_down.fxg         |   57 +
 .../assets/ButtonBarLastButton_selected.fxg     |   57 +
 .../mobile640/assets/ButtonBarLastButton_up.fxg |   48 +
 .../assets/ButtonBarMiddleButton_down.fxg       |   54 +
 .../assets/ButtonBarMiddleButton_selected.fxg   |   54 +
 .../assets/ButtonBarMiddleButton_up.fxg         |   54 +
 .../skins/mobile640/assets/Button_down.fxg      |   51 +
 .../spark/skins/mobile640/assets/Button_up.fxg  |   29 +
 .../assets/CalloutContentBackground.fxg         |   51 +
 .../skins/mobile640/assets/CheckBox_down.fxg    |   67 +
 .../mobile640/assets/CheckBox_downSymbol.fxg    |   41 +
 .../assets/CheckBox_downSymbolSelected.fxg      |   41 +
 .../skins/mobile640/assets/CheckBox_up.fxg      |   59 +
 .../mobile640/assets/CheckBox_upSymbol.fxg      |   41 +
 .../assets/CheckBox_upSymbolSelected.fxg        |   41 +
 .../mobile640/assets/HSliderThumb_normal.fxg    |   44 +
 .../mobile640/assets/HSliderThumb_pressed.fxg   |   56 +
 .../skins/mobile640/assets/HSliderTrack.fxg     |   45 +
 .../skins/mobile640/assets/ImageInvalid.fxg     |   46 +
 .../skins/mobile640/assets/RadioButton_down.fxg |   48 +
 .../mobile640/assets/RadioButton_downSymbol.fxg |   34 +
 .../assets/RadioButton_downSymbolSelected.fxg   |   34 +
 .../skins/mobile640/assets/RadioButton_up.fxg   |   43 +
 .../mobile640/assets/RadioButton_upSymbol.fxg   |   34 +
 .../assets/RadioButton_upSymbolSelected.fxg     |   34 +
 .../assets/SpinnerListContainerBackground.fxg   |   33 +
 .../SpinnerListContainerSelectionIndicator.fxg  |   67 +
 .../assets/SpinnerListContainerShadow.fxg       |   32 +
 ...edViewNavigatorButtonBarFirstButton_down.fxg |   63 +
 ...ewNavigatorButtonBarFirstButton_selected.fxg |   62 +
 ...bbedViewNavigatorButtonBarFirstButton_up.fxg |   62 +
 ...bedViewNavigatorButtonBarLastButton_down.fxg |   68 +
 ...iewNavigatorButtonBarLastButton_selected.fxg |   68 +
 ...abbedViewNavigatorButtonBarLastButton_up.fxg |   68 +
 .../skins/mobile640/assets/TextInput_border.fxg |   39 +
 .../assets/ToggleSwitch_contentShadow.fxg       |   30 +
 .../assets/TransparentActionButton_down.fxg     |   69 +
 .../assets/TransparentActionButton_up.fxg       |   59 +
 .../assets/TransparentNavigationButton_down.fxg |   69 +
 .../assets/TransparentNavigationButton_up.fxg   |   59 +
 .../mobile640/assets/ViewMenuItem_down.fxg      |   54 +
 .../assets/ViewMenuItem_showsCaret.fxg          |   36 +
 .../skins/mobile640/assets/ViewMenuItem_up.fxg  |   37 +
 .../projects/mx/src/mx/containers/ViewStack.as  |   15 +-
 .../projects/mx/src/mx/controls/DataGrid.as     |   96 +-
 .../projects/mx/src/mx/controls/DateField.as    |   46 +-
 frameworks/projects/mx/src/mx/controls/List.as  |   19 +-
 frameworks/projects/mx/src/mx/controls/Tree.as  |    4 +-
 .../mx/controls/dataGridClasses/DataGridBase.as |    3 +-
 .../controls/dataGridClasses/DataGridColumn.as  |   51 +-
 .../dataGridClasses/DataGridItemRenderer.as     |    2 +-
 .../mx/src/mx/controls/listClasses/ListBase.as  |   12 +-
 frameworks/projects/mx/src/mx/core/Version.as   |    2 +-
 frameworks/projects/rpc/src/mx/core/Version.as  |    2 +-
 .../spark/bundles/da_DK/components.properties   |    2 +
 .../spark/bundles/de_CH/components.properties   |    2 +
 .../spark/bundles/de_DE/components.properties   |    2 +
 .../spark/bundles/el_GR/components.properties   |    3 +-
 .../spark/bundles/en_AU/components.properties   |    2 +
 .../spark/bundles/en_CA/components.properties   |    2 +
 .../spark/bundles/en_GB/components.properties   |    2 +
 .../spark/bundles/en_US/components.properties   |    2 +
 .../spark/bundles/es_ES/components.properties   |    2 +
 .../spark/bundles/fi_FI/components.properties   |    2 +
 .../spark/bundles/fr_CH/components.properties   |    2 +
 .../spark/bundles/fr_FR/components.properties   |    2 +
 .../spark/bundles/it_IT/components.properties   |    2 +
 .../spark/bundles/ja_JP/components.properties   |    2 +
 .../spark/bundles/ko_KR/components.properties   |    2 +
 .../spark/bundles/nb_NO/components.properties   |    2 +
 .../spark/bundles/nl_NL/components.properties   |    2 +
 .../spark/bundles/pt_BR/components.properties   |    2 +
 .../spark/bundles/pt_PT/components.properties   |    2 +
 .../spark/bundles/ru_RU/components.properties   |    2 +
 .../spark/bundles/sv_SE/components.properties   |    2 +
 .../spark/bundles/zh_CN/components.properties   |    3 +
 .../spark/bundles/zh_TW/components.properties   |    3 +
 frameworks/projects/spark/defaults.css          |   10 +
 frameworks/projects/spark/src/SparkClasses.as   |    4 +
 .../spark/src/mx/controls/MXFTETextInput.as     |    2 +-
 .../projects/spark/src/mx/core/FTETextField.as  |   31 +-
 .../src/spark/accessibility/ComboBoxAccImpl.as  |    2 +-
 .../spark/src/spark/collections/SortField.as    |  119 +-
 .../spark/collections/SortFieldCompareTypes.as  |  118 ++
 .../spark/src/spark/components/Application.as   |   12 +-
 .../src/spark/components/ArrowDirection.as      |   90 +
 .../spark/src/spark/components/BusyIndicator.as |   22 +-
 .../spark/src/spark/components/Callout.as       | 1701 ++++++++++++++++++
 .../spark/src/spark/components/Callout.png      |  Bin 0 -> 410 bytes
 .../spark/src/spark/components/CalloutButton.as |  821 +++++++++
 .../src/spark/components/CalloutPosition.as     |  103 ++
 .../spark/src/spark/components/ComboBox.as      |   22 +
 .../components/ContentBackgroundAppearance.as   |   72 +
 .../spark/src/spark/components/DataGrid.as      |   59 +-
 .../spark/src/spark/components/FormHeading.as   |    2 +
 .../projects/spark/src/spark/components/Grid.as |   38 +-
 .../spark/components/GridColumnHeaderGroup.as   |    6 +-
 .../spark/src/spark/components/HScrollBar.as    |   22 +-
 .../spark/src/spark/components/Label.as         |    5 +
 .../src/spark/components/NumericStepper.as      |    1 +
 .../spark/components/SkinnablePopUpContainer.as |   12 +-
 .../spark/src/spark/components/VScrollBar.as    |   25 +-
 .../spark/src/spark/components/VideoDisplay.as  |    6 +-
 .../components/gridClasses/DataGridDragProxy.as |    5 +-
 .../components/gridClasses/DataGridEditor.as    |   88 +-
 .../spark/components/gridClasses/GridColumn.as  |   43 +-
 .../gridClasses/GridHeaderViewLayout.as         |    6 +-
 .../components/gridClasses/GridSelection.as     |    4 +-
 .../supportClasses/AnimationTarget.as           |    2 +-
 .../components/supportClasses/ButtonBarBase.as  |   24 +-
 .../supportClasses/DropDownListBase.as          |    2 +-
 .../spark/core/ContainerDestructionPolicy.as    |   62 +
 .../projects/spark/src/spark/core/Version.as    |    2 +-
 .../src/spark/events/GridItemEditorEvent.as     |    4 +-
 .../spark/src/spark/primitives/BitmapImage.as   |   82 +-
 .../src/spark/skins/ActionScriptSkinBase.as     |  853 +++++++++
 .../spark/src/spark/skins/SparkButtonSkin.as    |    2 +
 .../spark/src/spark/skins/spark/CalloutSkin.as  |  730 ++++++++
 .../src/spark/skins/spark/FormItemSkin.mxml     |   34 +-
 .../spark/skins/spark/StackedFormItemSkin.mxml  |   35 +-
 .../spark/assets/CalloutContentBackground.fxg   |   51 +
 .../skins/spark/supportClasses/CalloutArrow.as  |  424 +++++
 .../src/spark/utils/MultiDPIBitmapSource.as     |  126 +-
 .../FTEAdvancedDataGridItemRenderer.as          |    2 +-
 .../spark_dmv/src/spark/core/Version.as         |    2 +-
 frameworks/projects/tool/src/mx/core/Version.as |    2 +-
 .../projects/tool_air/src/mx/core/Version.as    |    2 +-
 frameworks/spark-manifest.xml                   |    2 +
 ide/addAIRtoSDK.sh                              |   10 +-
 ide/checkAllPlayerGlobals.sh                    |    3 +-
 ide/flashbuilder/config/air-config.xml          |  443 +++++
 ide/flashbuilder/config/airmobile-config.xml    |  365 ++++
 ide/flashbuilder/config/flex-config.xml         |  447 +++++
 ide/flashbuilder/makeApacheFlexForIDE.bat       |    4 +-
 ide/flashbuilder/makeApacheFlexForIDE.sh        |    4 +-
 ide/setFlashPlayerVersion.sh                    |   23 +-
 jenkins.xml                                     |   12 +-
 .../java/flex2/compiler/asdoc/ClassTable.java   |    3 +-
 .../asdoc/TopLevelClassesGenerator.java         |   81 +-
 .../flex2/compiler/asdoc/TopLevelGenerator.java |    8 +-
 .../compiler/common/MxmlConfiguration.java      |    5 +-
 .../flex2/compiler/mxml/lang/StandardDefs.java  |    2 +-
 .../compiler/src/java/flex2/tools/Mxmlc.java    |    4 +-
 .../src/java/flash/swf/tools/AbcPrinter.java    |  143 +-
 mustella/as3/src/mustella/ConditionalValue.as   |    2 +-
 mustella/jenkins.sh                             |   13 +-
 mustella/patch_testing_loop.sh                  |   35 +
 mustella/run_mustella_on_git_status.sh          |   37 +
 mustella/test_patch.sh                          |   59 +
 mustella/test_patch_by_email.sh                 |   58 +
 .../SWFs/AdvancedDataGridMain_FLEX_32848.mxml   |  130 ++
 .../datagrid_textSelectedColor_singleCell.png   |  Bin 0 -> 11609 bytes
 .../datagrid_textSelectedColor_singleRow.png    |  Bin 0 -> 7133 bytes
 .../advanceddatagrid_styles_FLEX_32848.mxml     |   70 +
 .../DateField/Methods/DateField_Formats.mxml    |    3 +-
 .../Styles/RadioButton_Mirroring_Styles.mxml    |    1 +
 .../RadioButton/swfs/RadioButton_Basic2.mxml    |    2 +-
 .../baselines/calloutbutton_afterAfter.png      |  Bin 38183 -> 38142 bytes
 .../baselines/calloutbutton_afterAuto.png       |  Bin 37281 -> 37292 bytes
 .../baselines/calloutbutton_afterBefore.png     |  Bin 38316 -> 38303 bytes
 .../baselines/calloutbutton_afterEnd.png        |  Bin 37535 -> 37563 bytes
 .../baselines/calloutbutton_afterMiddle.png     |  Bin 37718 -> 37746 bytes
 .../baselines/calloutbutton_afterStart.png      |  Bin 37075 -> 37087 bytes
 .../baselines/calloutbutton_autoAfter.png       |  Bin 37907 -> 37935 bytes
 .../baselines/calloutbutton_autoAuto.png        |  Bin 38777 -> 38849 bytes
 .../baselines/calloutbutton_autoBefore.png      |  Bin 39023 -> 39105 bytes
 .../baselines/calloutbutton_autoEnd.png         |  Bin 37898 -> 38015 bytes
 .../baselines/calloutbutton_autoMiddle.png      |  Bin 38129 -> 38110 bytes
 .../baselines/calloutbutton_autoStart.png       |  Bin 37190 -> 37248 bytes
 .../baselines/calloutbutton_beforeAfter.png     |  Bin 38714 -> 38693 bytes
 .../baselines/calloutbutton_beforeAuto.png      |  Bin 38615 -> 38632 bytes
 .../baselines/calloutbutton_beforeBefore.png    |  Bin 40057 -> 40032 bytes
 .../baselines/calloutbutton_beforeEnd.png       |  Bin 38917 -> 38917 bytes
 .../baselines/calloutbutton_beforeMiddle.png    |  Bin 38824 -> 38850 bytes
 .../baselines/calloutbutton_beforeStart.png     |  Bin 38029 -> 38058 bytes
 .../baselines/calloutbutton_click.png           |  Bin 37180 -> 37275 bytes
 .../baselines/calloutbutton_endAfter.png        |  Bin 38438 -> 38480 bytes
 .../baselines/calloutbutton_endAuto.png         |  Bin 39112 -> 39207 bytes
 .../baselines/calloutbutton_endBefore.png       |  Bin 39516 -> 39563 bytes
 .../baselines/calloutbutton_endEnd.png          |  Bin 38635 -> 38614 bytes
 .../baselines/calloutbutton_endMiddle.png       |  Bin 38287 -> 38325 bytes
 .../baselines/calloutbutton_endStart.png        |  Bin 37973 -> 38037 bytes
 .../baselines/calloutbutton_middleAfter.png     |  Bin 39127 -> 39173 bytes
 .../baselines/calloutbutton_middleAuto.png      |  Bin 39812 -> 39906 bytes
 .../baselines/calloutbutton_middleBefore.png    |  Bin 40387 -> 40471 bytes
 .../baselines/calloutbutton_middleEnd.png       |  Bin 40878 -> 41244 bytes
 .../baselines/calloutbutton_middleMiddle.png    |  Bin 39428 -> 39412 bytes
 .../baselines/calloutbutton_middleStart.png     |  Bin 39245 -> 39408 bytes
 .../Properties/baselines/calloutbutton_over.png |  Bin 36768 -> 36808 bytes
 .../baselines/calloutbutton_startAfter.png      |  Bin 39727 -> 39745 bytes
 .../baselines/calloutbutton_startAuto.png       |  Bin 40486 -> 40580 bytes
 .../baselines/calloutbutton_startBefore.png     |  Bin 40440 -> 40545 bytes
 .../baselines/calloutbutton_startEnd.png        |  Bin 39778 -> 39799 bytes
 .../baselines/calloutbutton_startMiddle.png     |  Bin 39370 -> 39379 bytes
 .../baselines/calloutbutton_startStart.png      |  Bin 38791 -> 38803 bytes
 .../Editable_variableRowHeight_small.png        |  Bin 719 -> 708 bytes
 .../DataGrid_requireSelection_test001.mxml      |    2 +-
 .../List/swfs/comps/ListTileComp.mxml           |    5 +
 .../integration/ImageScaling_tester.mxml        |   46 +-
 ...eScaling_bitmapImage_embedded@240ppi.png.xml |  192 ++
 ...caling_bitmapImage_referenced@240ppi.png.xml |  192 ++
 .../ImageScaling_button_embedded@240ppi.png.xml |  192 ++
 ...mageScaling_button_referenced@240ppi.png.xml |  192 ++
 ...emRenderer_decorator_embedded@240ppi.png.xml |  192 ++
 .../ImageScaling_image_embedded@240ppi.png.xml  |  192 ++
 ...ImageScaling_image_referenced@240ppi.png.xml |  192 ++
 ..._tabbedViewNavigator_embedded@240ppi.png.xml |  192 ++
 ...abbedViewNavigator_referenced@240ppi.png.xml |  192 ++
 .../swfs/ViewNavigatorApplication120dpi.mxml    |   29 +
 .../swfs/ViewNavigatorApplication640dpi.mxml    |   29 +
 .../ViewNavigatorApplication120dpiHomeView.mxml |   27 +
 .../ViewNavigatorApplication640dpiHomeView.mxml |   27 +
 .../tests/applicationDPI_120.mxml               |  123 ++
 .../tests/applicationDPI_160.mxml               |    8 +-
 .../tests/applicationDPI_240.mxml               |    8 +-
 .../tests/applicationDPI_320.mxml               |    8 +-
 .../tests/applicationDPI_480.mxml               |    8 +-
 .../tests/applicationDPI_640.mxml               |  123 ++
 .../tests/applicationDPI_none.mxml              |    4 +
 .../Check_bitmap_120@android_240ppi.png         |  Bin 0 -> 877 bytes
 .../Check_bitmap_120@android_240ppi.png.xml     |   54 +
 .../Check_bitmap_160@android_240ppi.png.xml     |   54 +
 .../Check_bitmap_240@android_240ppi.png.xml     |   54 +
 .../Check_bitmap_320@android_240ppi.png.xml     |   57 +
 .../Check_bitmap_480@android_240ppi.png.xml     |   54 +
 .../Check_bitmap_640@android_240ppi.png         |  Bin 0 -> 209 bytes
 .../Check_bitmap_640@android_240ppi.png.xml     |   54 +
 .../baselines/Callout_skin@android_240ppi.png   |  Bin 7581 -> 7784 bytes
 .../swfs/skins/MyCalloutSkin.as                 |   37 +-
 .../Sort/SWFs/comps/ItemRendRETComp1.mxml       |   10 +-
 .../AnimateColor/SWFs/AnimateColor_main.mxml    |    2 +-
 patch_testing_loop.sh                           |   33 -
 run_mustella_on_git_status.sh                   |   35 -
 test_patch.sh                                   |   57 -
 test_patch_by_email.sh                          |   56 -
 629 files changed, 25122 insertions(+), 9307 deletions(-)
----------------------------------------------------------------------



[29/50] git commit: [flex-sdk] [refs/heads/master] - Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop

Posted by jm...@apache.org.
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-sdk into develop


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/e16d783e
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/e16d783e
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/e16d783e

Branch: refs/heads/master
Commit: e16d783ec618bea94772a7c377a5d3b1930771bd
Parents: fc91d4b 09c4e92
Author: mamsellem <ma...@systar.com>
Authored: Sun Oct 13 00:45:59 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Sun Oct 13 00:45:59 2013 +0200

----------------------------------------------------------------------
 README                                   | 24 ++++++++++++------------
 RELEASE_NOTES                            |  8 ++++++--
 ide/addAIRtoSDK.sh                       |  5 -----
 ide/checkAllPlayerGlobals.sh             |  2 +-
 ide/flashbuilder/makeApacheFlexForIDE.sh |  4 ++--
 jenkins.xml                              |  2 +-
 6 files changed, 22 insertions(+), 23 deletions(-)
----------------------------------------------------------------------



[17/50] git commit: [flex-sdk] [refs/heads/master] - merge fixes from develop to release4.11.0

Posted by jm...@apache.org.
merge fixes from develop to release4.11.0


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/8b561cb1
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/8b561cb1
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/8b561cb1

Branch: refs/heads/master
Commit: 8b561cb1ef7c5fc174628ceb14c44ca44616f1ec
Parents: bd49b40 67ae8ae
Author: Alex Harui <ah...@apache.org>
Authored: Thu Oct 10 23:45:22 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:45:22 2013 -0700

----------------------------------------------------------------------
 .../projects/charts/src/mx/charts/AreaChart.as  |  19 +-
 .../charts/src/mx/charts/AxisRenderer.as        |  73 ++++---
 .../projects/charts/src/mx/charts/BarChart.as   |  17 +-
 .../charts/src/mx/charts/BubbleChart.as         |  19 +-
 .../charts/src/mx/charts/CandlestickChart.as    |  63 +++---
 .../charts/src/mx/charts/ColumnChart.as         |  18 +-
 .../projects/charts/src/mx/charts/GridLines.as  |  24 ++-
 .../projects/charts/src/mx/charts/HLOCChart.as  |  70 ++++---
 .../projects/charts/src/mx/charts/LineChart.as  |  60 +++---
 .../projects/charts/src/mx/charts/PieChart.as   |  10 +-
 .../projects/charts/src/mx/charts/PlotChart.as  |  78 +++----
 .../mx/charts/chartClasses/CartesianChart.as    |   7 +-
 .../src/mx/charts/chartClasses/ChartBase.as     |  15 +-
 .../src/mx/charts/chartClasses/PolarChart.as    |  12 +-
 .../charts/src/mx/charts/series/AreaSeries.as   |  24 ++-
 .../charts/src/mx/charts/series/BarSeries.as    |  15 +-
 .../charts/src/mx/charts/series/BubbleSeries.as |  13 +-
 .../src/mx/charts/series/CandlestickSeries.as   |  17 +-
 .../charts/src/mx/charts/series/ColumnSeries.as |  14 +-
 .../charts/src/mx/charts/series/HLOCSeries.as   |  14 +-
 .../charts/src/mx/charts/series/LineSeries.as   |  16 +-
 .../charts/src/mx/charts/series/PieSeries.as    |  16 +-
 .../charts/src/mx/charts/series/PlotSeries.as   |  14 +-
 .../charts/src/mx/charts/styles/HaloDefaults.as |  24 +++
 .../systemClasses/ActiveWindowManager.as        | 205 +++++++++++--------
 .../projects/spark/src/mx/core/FTETextField.as  |  31 ++-
 .../spark/src/spark/components/VScrollBar.as    |  25 ++-
 .../src/java/flash/swf/tools/AbcPrinter.java    | 143 +++++++++++--
 28 files changed, 673 insertions(+), 383 deletions(-)
----------------------------------------------------------------------



[13/50] git commit: [flex-sdk] [refs/heads/master] - add more details to abc output

Posted by jm...@apache.org.
add more details to abc output


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/23d9fda8
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/23d9fda8
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/23d9fda8

Branch: refs/heads/master
Commit: 23d9fda8b21fef66527c52fd5813de9057f06976
Parents: 1a4df28
Author: Alex Harui <ah...@apache.org>
Authored: Wed Oct 9 20:39:20 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:18:38 2013 -0700

----------------------------------------------------------------------
 .../src/java/flash/swf/tools/AbcPrinter.java    | 141 +++++++++++++++++--
 1 file changed, 129 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/23d9fda8/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
----------------------------------------------------------------------
diff --git a/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java b/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
index 8baafa0..4fe4198 100644
--- a/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
+++ b/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
@@ -29,11 +29,13 @@ import java.util.HashMap;
 public class AbcPrinter 
 {
     private byte[] abc;
+    private int abcEnd;
     private PrintWriter out;
     private boolean showOffset;
     private boolean showByteCode;
     private int indent;
     private int offset = 0;
+    private long numMetadata;
 		
     private int[] intConstants;
     private long[] uintConstants;
@@ -42,14 +44,18 @@ public class AbcPrinter
     private String[] namespaceConstants;
     private String[][] namespaceSetConstants;
     private MultiName[] multiNameConstants;
+    private String kAbcCorrupt = "Verify Error: ABC Corrupt";
+
 		
     private MethodInfo[] methods;
     private String[] instanceNames;
+    private String[] Names;
     private String indentString;
 		
     public AbcPrinter(byte[] abc, PrintWriter out, boolean showOffset, int indent, boolean showByteCode)
     {
         this.abc = abc;
+        this.abcEnd = abc.length;
         this.out = out;
         this.showOffset = showOffset;
         this.showByteCode = showByteCode;
@@ -583,6 +589,8 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " Integer Constant Pool Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);
         intConstants = new int[(n > 0) ? (int)n : 1];
         intConstants[0] = 0;
         for (int i = 1; i < n; i++)
@@ -599,6 +607,8 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " Unsigned Integer Constant Pool Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);
         uintConstants = new long[(n > 0) ? (int)n : 1];
         uintConstants[0] = 0;
         for (int i = 1; i < n; i++)
@@ -615,6 +625,8 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " Floating Point Constant Pool Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);
         if (n > 0)
             offset += (n - 1) * 8;
     }
@@ -624,13 +636,21 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " String Constant Pool Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);
         stringConstants = new String[(n > 0) ? (int)n : 1];
         stringConstants[0] = "";
         for (int i = 1; i < n; i++)
         {
             printOffset();
-            String s = readUTFBytes(readU32());
+            long strlen = readU32();
+            if (((strlen & 0xc0000000) != 0) || abcEnd <= offset + strlen)
+            	out.println(kAbcCorrupt + "strlen");
+            String s = readUTFBytes(strlen);
             stringConstants[i] = s;
+            s = s.replace("\r\n", "\\r\\n");
+            s = s.replace("\n", "\\n");
+            s = s.replace("\r", "\\r");
             out.println(" " + s);
         }
     }
@@ -640,6 +660,8 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " Namespace Constant Pool Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);
         namespaceConstants = new String[(n > 0) ? (int)n : 1];
         namespaceConstants[0] = "public";
         for (int i = 1; i < n; i++)
@@ -666,11 +688,15 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " Namespace Set Constant Pool Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);
         namespaceSetConstants = new String[(n > 0) ? (int)n : 1][];
         namespaceSetConstants[0] = new String[0];
         for (int i = 1; i < n; i++)
         {
             long val = readU32();
+            if (val > abcEnd - offset)
+               	out.println(kAbcCorrupt);
             String[] nsset = new String[(int)val];
             namespaceSetConstants[i] = nsset;
             for (int j = 0; j < val; j++)
@@ -685,6 +711,8 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " MultiName Constant Pool Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);       
         multiNameConstants = new MultiName[(n > 0) ? (int)n : 1];
         multiNameConstants[0] = new MultiName();
         for (int i = 1; i < n; i++)
@@ -723,6 +751,8 @@ public class AbcPrinter
                 int nameIndex = (int)readU32();
                 MultiName mn = multiNameConstants[nameIndex];
                 int count = (int)readU32();
+                if (count != 1)
+                   	out.println(kAbcCorrupt + "more than one typename");
                 MultiName types[] = new MultiName[count];
                 for (int t = 0; t < count; t++)
                 {
@@ -734,6 +764,27 @@ public class AbcPrinter
             }
             out.println(multiNameConstants[i]);
         }
+        // verify vectors (yes, the AVM does this)
+        for (int i = 1; i < n; i++)
+        {
+        	MultiName mn = multiNameConstants[i];
+        	if (mn.kind != 0x1D)
+        		continue;
+        	MultiName typeName = mn.typeName;
+        	if (typeName.kind == 0x1D)
+        		out.println(kAbcCorrupt + "typename is also a typename");
+        	HashMap<MultiName, String> seenMap = new HashMap<MultiName, String>();
+    		MultiName type = mn.types[0];
+        	while (type != null)
+        	{
+        		if (type.kind != 0x1D)
+        			break;
+        		seenMap.put(type, type.toString());
+        		type = type.types[0];
+        		if (seenMap.containsKey(type))
+            		out.println(kAbcCorrupt + "type cycle");        			
+        	}
+        }
     }
 		
     void printMethods()
@@ -741,6 +792,8 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " Method Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);
         methods = new MethodInfo[(int)n];
         for (int i = 0; i < n; i++)
         {
@@ -772,6 +825,8 @@ public class AbcPrinter
                     m.optionIndex[k] = (int)readU32();
                     m.optionKinds[k] = abc[offset++];
                 }
+                if (m.optionCount == 0 || m.optionCount > m.paramCount)
+                	out.println(kAbcCorrupt);
             }
             if ((m.flags & 0x80) == 0x80)
             {
@@ -807,6 +862,9 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " Metadata Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);
+        numMetadata = n;
         for (int i = 0; i < n; i++)
         {
             int start = offset;
@@ -837,6 +895,8 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " Instance Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);
         instanceNames = new String[(int)n];
         for (int i = 0; i < n; i++)
         {
@@ -849,6 +909,8 @@ public class AbcPrinter
             if ((b & 0x8) == 0x8)
                 readU32();	// eat protected namespace
             long val = readU32();
+            if (val >= 0x10000000)
+            	out.println(kAbcCorrupt);
             String s = "";
             for (int j = 0; j < val; j++)
             {
@@ -866,7 +928,7 @@ public class AbcPrinter
                     out.print(hex(abc[(int)x]) + " ");
                 }
             }
-            out.print(name + " ");
+            out.print("Instance Traits for: " + name + " ");
             if (base.length() > 0)
                 out.print("extends " + base + " ");
             if (s.length() > 0)
@@ -876,6 +938,8 @@ public class AbcPrinter
             int numTraits = (int)readU32(); // number of traits
             printOffset();
             out.println(numTraits + " Traits Entries");
+            if (numTraits > abcEnd - offset)
+            	out.println(kAbcCorrupt);
             for (int j = 0; j < numTraits; j++)
             {
                 printOffset();
@@ -897,20 +961,30 @@ public class AbcPrinter
                     readU32();	// id
                     readU32();	// value;
                     break;
-                default:
+                case 0x01:
+                case 0x02:
+                case 0x03:
+                case 0x05:
                     readU32();	// id
                     mi = methods[(int)readU32()];  // method
                     mi.name = s;
                     mi.className = name;
                     mi.kind = kind;
+                    if (mi.sawTraits)
+                    	out.println(kAbcCorrupt + "sawTraits");
+                    mi.sawTraits = true;
                     break;
+                default:
+                	out.println(kAbcCorrupt + "Unknown Trait");
                 }
                 if ((b >> 4 & 0x4) == 0x4)
                 {
                     val = readU32();	// metadata count
                     for (int k = 0; k < val; k++)
                     {
-                        readU32();	// metadata
+                        long index = readU32();	// metadata
+                        if (index >= numMetadata)
+                        	out.println(kAbcCorrupt);
                     }
                 }
                 if (showByteCode)
@@ -942,7 +1016,7 @@ public class AbcPrinter
                     out.print(hex(abc[(int)x]) + " ");
                 }
             }
-            out.print(name + " ");
+            out.print("Class Traits for: " + name + " ");
             if (base.length() > 0)
                 out.print("extends " + base + " ");
             out.println("");
@@ -950,6 +1024,8 @@ public class AbcPrinter
             int numTraits = (int)readU32(); // number of traits
             printOffset();
             out.println(numTraits + " Traits Entries");
+            if (numTraits > abcEnd - offset)
+            	out.println(kAbcCorrupt);
             for (int j = 0; j < numTraits; j++)
             {
                 printOffset();
@@ -971,20 +1047,30 @@ public class AbcPrinter
                     readU32();	// id
                     readU32();	// value;
                     break;
-                default:
+                case 0x01:
+                case 0x02:
+                case 0x03:
+                case 0x05:
                     readU32();	// id
                     mi = methods[(int)readU32()];  // method
                     mi.name = s;
                     mi.className = name;
                     mi.kind = kind;
+                    if (mi.sawTraits)
+                    	out.println(kAbcCorrupt + "sawTraits");
+                    mi.sawTraits = true;
                     break;
+                 default:
+                 	out.println(kAbcCorrupt);
                 }
                 if ((b >> 4 & 0x4) == 0x4)
                 {
                     int val = (int)readU32();	// metadata count
                     for (int k = 0; k < val; k++)
                     {
-                        readU32();	// metadata
+                        long index = readU32();	// metadata
+                        if (index > numMetadata)
+                        	out.println(kAbcCorrupt);
                     }
                 }
                 if (showByteCode)
@@ -1004,6 +1090,8 @@ public class AbcPrinter
         long n = readU32();
         printOffset();
         out.println(n + " Script Entries");
+        if (n > abcEnd - offset)
+        	out.println(kAbcCorrupt);
         for (int i = 0; i < n; i++)
         {
             int start = offset;
@@ -1026,6 +1114,8 @@ public class AbcPrinter
             int numTraits = (int)readU32(); // number of traits
             printOffset();
             out.println(numTraits + " Traits Entries");
+            if (numTraits > abcEnd - offset)
+            	out.println(kAbcCorrupt);
             for (int j = 0; j < numTraits; j++)
             {
                 printOffset();
@@ -1037,6 +1127,10 @@ public class AbcPrinter
                 {
                 case 0x00:	// slot
                 case 0x06:	// const
+                	if (kind == 0x00)
+                		s = "slot trait:  " + s;
+                	else
+                		s = "const trait:  " + s;
                     readU32();	// id
                     readU32();	// type
                     int index = (int)readU32();	// index;
@@ -1044,23 +1138,34 @@ public class AbcPrinter
                         offset++;	// kind
                     break;
                 case 0x04:	// class
+                	s = "class trait:  " + s;
                     readU32();	// id
-                    readU32();	// value;
+                    s += " " + instanceNames[(int)readU32()];	// value;
                     break;
-                default:
+                case 0x01:
+                case 0x02:
+                case 0x03:
+                case 0x05:
                     readU32();	// id
                     mi = methods[(int)readU32()];  // method
                     mi.name = s;
                     mi.className = name;
                     mi.kind = kind;
+                    if (mi.sawTraits)
+                    	out.println(kAbcCorrupt + "sawTraits");
+                    mi.sawTraits = true;
                     break;
+                 default:
+                 	out.println(kAbcCorrupt + "Unknown trait");
                 }
                 if ((b >> 4 & 0x4) == 0x4)
                 {
                     int val = (int)readU32();	// metadata count
                     for (int k = 0; k < val; k++)
                     {
-                        readU32();	// metadata
+                        long index = readU32();	// metadata
+                        if (index > numMetadata)
+                        	out.println(kAbcCorrupt);
                     }
                 }
                 if (showByteCode)
@@ -1103,6 +1208,8 @@ public class AbcPrinter
                     out.print("   ");
                 }
             }
+            if (abcEnd < codeLength + offset)
+            	out.println(kAbcCorrupt);
             MethodInfo mi = methods[methodIndex];
             out.print(traitKinds[mi.kind] + " ");
             out.print(mi.className + "::" + mi.name + "(");
@@ -1308,6 +1415,8 @@ public class AbcPrinter
             int numTraits = (int)readU32(); // number of traits
             printOffset();
             out.println(numTraits + " Traits Entries");
+            if (numTraits > abcEnd - offset)
+            	out.println(kAbcCorrupt);
             for (int j = 0; j < numTraits; j++)
             {
                 printOffset();
@@ -1329,17 +1438,24 @@ public class AbcPrinter
                     readU32();	// id
                     readU32();	// value;
                     break;
-                default:
+                case 0x01:
+                case 0x02:
+                case 0x03:
+                case 0x05:
                     readU32();	// id
                     readU32();  // method
                     break;
+                default:
+                	out.println(kAbcCorrupt);
                 }
                 if ((b >> 4 & 0x4) == 0x4)
                 {
                     int val = (int)readU32();	// metadata count
                     for (int k = 0; k < val; k++)
                     {
-                        readU32();	// metadata
+                        long index = readU32();	// metadata
+                        if (index > numMetadata)
+                        	out.println(kAbcCorrupt);
                     }
                 }
                 if (showByteCode)
@@ -1447,6 +1563,7 @@ public class AbcPrinter
         int[] optionIndex;
         int[] paramNames;
         String className;
+        boolean sawTraits;
     }
 		
     class LabelMgr


[14/50] git commit: [flex-sdk] [refs/heads/master] - Try to support non-modal windows on top of a modal window

Posted by jm...@apache.org.
Try to support non-modal windows on top of a modal window


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/1a4df288
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/1a4df288
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/1a4df288

Branch: refs/heads/master
Commit: 1a4df2886ef669bb8a1a87d38c6502bf5a798933
Parents: 9c5f91e
Author: Alex Harui <ah...@apache.org>
Authored: Thu Sep 5 09:53:08 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 10 23:18:38 2013 -0700

----------------------------------------------------------------------
 .../systemClasses/ActiveWindowManager.as        | 205 +++++++++++--------
 1 file changed, 117 insertions(+), 88 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1a4df288/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as b/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as
index 203f46a..43a083f 100644
--- a/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as
+++ b/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as
@@ -25,16 +25,16 @@ import flash.display.InteractiveObject;
 import flash.display.Sprite;
 import flash.events.Event;
 import flash.events.EventDispatcher;
-import flash.events.IEventDispatcher;
 import flash.events.FocusEvent;
+import flash.events.IEventDispatcher;
 import flash.events.MouseEvent;
 
 import mx.core.IChildList;
 import mx.core.IFlexModuleFactory;
 import mx.core.IRawChildrenContainer;
 import mx.core.IUIComponent;
-import mx.core.mx_internal;
 import mx.core.Singleton;
+import mx.core.mx_internal;
 import mx.events.DynamicEvent;
 import mx.events.Request;
 import mx.managers.IActiveWindowManager;
@@ -428,6 +428,30 @@ public class ActiveWindowManager extends EventDispatcher implements IActiveWindo
 
 	/**
 	 *  @private
+	 */
+	private function findHighestModalForm():int
+	{
+		var n:int = forms.length;
+		var rc:IChildList = systemManager.rawChildren;
+		for (var i:int = n - 1; n >= 0; i--)
+		{
+			var f:Object = forms[i];
+			if (f is DisplayObject)
+			{
+				var index:int = rc.getChildIndex(f as DisplayObject);
+				if (index > 0)
+				{
+					var under:DisplayObject = rc.getChildAt(index - 1);
+					if (under.name == "modalWindow")
+						return i;
+				}
+			}
+		}
+		return 0;
+	}
+	
+	/**
+	 *  @private
 	 *  Track mouse clicks to see if we change top-level forms.
 	 */
 	private function mouseDownHandler(event:MouseEvent):void
@@ -437,106 +461,111 @@ public class ActiveWindowManager extends EventDispatcher implements IActiveWindo
 		    if (!dispatchEvent(new FocusEvent(MouseEvent.MOUSE_DOWN, false, true, InteractiveObject(event.target))))
 			    return;
 
-		if (numModalWindows == 0) // no modal windows are up
+		var startIndex:int = 0;
+		if (numModalWindows > 0)
 		{
-			if (!systemManager.isTopLevelRoot() || forms.length > 1)
+			// if there is a modal window, only non-modal
+			// windows above it are in play
+			startIndex = findHighestModalForm() + 1;
+		}
+		
+		if (!systemManager.isTopLevelRoot() || forms.length > 1)
+		{
+			var n:int = forms.length;
+			var p:DisplayObject = DisplayObject(event.target);
+            var isApplication:Boolean = systemManager.document is IRawChildrenContainer ? 
+                                        IRawChildrenContainer(systemManager.document).rawChildren.contains(p) :
+                                        systemManager.document.contains(p);
+			while (p)
 			{
-				var n:int = forms.length;
-				var p:DisplayObject = DisplayObject(event.target);
-                var isApplication:Boolean = systemManager.document is IRawChildrenContainer ? 
-                                            IRawChildrenContainer(systemManager.document).rawChildren.contains(p) :
-                                            systemManager.document.contains(p);
-				while (p)
+				for (var i:int = startIndex; i < n; i++)
 				{
-					for (var i:int = 0; i < n; i++)
+					var form_i:Object = forms[i];
+                    if (hasEventListener("actualForm"))
+                    {
+					    var request:Request = new Request("actualForm", false, true);
+					    request.value = forms[i];
+                        if (!dispatchEvent(request))
+                            form_i = forms[i].window;
+                    }
+					if (form_i == p)
 					{
-						var form_i:Object = forms[i];
-                        if (hasEventListener("actualForm"))
-                        {
-						    var request:Request = new Request("actualForm", false, true);
-						    request.value = forms[i];
-                            if (!dispatchEvent(request))
-                                form_i = forms[i].window;
-                        }
-						if (form_i == p)
-						{
-							var j:int = 0;
-							var index:int;
-							var newIndex:int;
-							var childList:IChildList;
+						var j:int = 0;
+						var index:int;
+						var newIndex:int;
+						var childList:IChildList;
 
-							if (((p != form) && p is IFocusManagerContainer) ||
-							    (!systemManager.isTopLevelRoot() && p == form))
+						if (((p != form) && p is IFocusManagerContainer) ||
+						    (!systemManager.isTopLevelRoot() && p == form))
+						{
+							if (systemManager.isTopLevelRoot())
+							activate(IFocusManagerContainer(p));
+
+							if (p == systemManager.document)
+                            {
+                                if (hasEventListener("activateApplication"))
+								    dispatchEvent(new Event("activateApplication"));
+                            }
+							else if (p is DisplayObject)
+                            {
+                                if (hasEventListener("activateWindow"))
+									dispatchEvent(new FocusEvent("activateWindow", false, false, InteractiveObject(p)));
+                            }
+						}
+						
+						if (systemManager.popUpChildren.contains(p))
+							childList = systemManager.popUpChildren;
+						else
+							childList = systemManager;
+
+						index = childList.getChildIndex(p); 
+						newIndex = index;
+						
+						//we need to reset n because activating p's 
+						//FocusManager could have caused 
+						//forms.length to have changed. 
+						n = forms.length;
+						for (j = startIndex; j < n; j++)
+						{
+							var f:DisplayObject;
+                            isRemotePopUp = false;
+                            if (hasEventListener("isRemote"))
+                            {
+							    request = new Request("isRemote", false, true);
+							    request.value = forms[j];
+							    var isRemotePopUp:Boolean = false;
+							    if (!dispatchEvent(request))
+									isRemotePopUp = request.value as Boolean;
+                            }
+							if (isRemotePopUp)
 							{
-								if (systemManager.isTopLevelRoot())
-								activate(IFocusManagerContainer(p));
-
-								if (p == systemManager.document)
-                                {
-                                    if (hasEventListener("activateApplication"))
-									    dispatchEvent(new Event("activateApplication"));
-                                }
-								else if (p is DisplayObject)
-                                {
-                                    if (hasEventListener("activateWindow"))
-    									dispatchEvent(new FocusEvent("activateWindow", false, false, InteractiveObject(p)));
-                                }
+								if (forms[j].window is String)
+									continue;
+								f = forms[j].window;
 							}
-							
-							if (systemManager.popUpChildren.contains(p))
-								childList = systemManager.popUpChildren;
-							else
-								childList = systemManager;
-
-							index = childList.getChildIndex(p); 
-							newIndex = index;
-							
-							//we need to reset n because activating p's 
-							//FocusManager could have caused 
-							//forms.length to have changed. 
-							n = forms.length;
-							for (j = 0; j < n; j++)
+							else 
+								f = forms[j];
+							if (isRemotePopUp)
 							{
-								var f:DisplayObject;
-                                isRemotePopUp = false;
-                                if (hasEventListener("isRemote"))
-                                {
-								    request = new Request("isRemote", false, true);
-								    request.value = forms[j];
-								    var isRemotePopUp:Boolean = false;
-								    if (!dispatchEvent(request))
-    									isRemotePopUp = request.value as Boolean;
-                                }
-								if (isRemotePopUp)
-								{
-									if (forms[j].window is String)
-										continue;
-									f = forms[j].window;
-								}
-								else 
-									f = forms[j];
-								if (isRemotePopUp)
-								{
-									var fChildIndex:int = getChildListIndex(childList, f);
-									if (fChildIndex > index)
-										newIndex = Math.max(fChildIndex, newIndex);	
-								}
-								else if (childList.contains(f))
-									if (childList.getChildIndex(f) > index)
-										newIndex = Math.max(childList.getChildIndex(f), newIndex);
+								var fChildIndex:int = getChildListIndex(childList, f);
+								if (fChildIndex > index)
+									newIndex = Math.max(fChildIndex, newIndex);	
 							}
-							if (newIndex > index && !isApplication)
-								childList.setChildIndex(p, newIndex);
-
-							return;
+							else if (childList.contains(f))
+								if (childList.getChildIndex(f) > index)
+									newIndex = Math.max(childList.getChildIndex(f), newIndex);
 						}
+						if (newIndex > index && !isApplication)
+							childList.setChildIndex(p, newIndex);
+
+						return;
 					}
-					p = p.parent;
 				}
+				p = p.parent;
 			}
-			else if (hasEventListener("activateApplication"))
-				dispatchEvent(new Event("activateApplication"));
 		}
+		else if (hasEventListener("activateApplication"))
+			dispatchEvent(new Event("activateApplication"));
 	}
 
 	/**


[39/50] git commit: [flex-sdk] [refs/heads/master] - REFIX FLEX-33813 (DataGrid goes blank when scrolled and dataProvider is changed

Posted by jm...@apache.org.
REFIX FLEX-33813 (DataGrid goes blank when scrolled and dataProvider is changed

[Mustella test pass]
- gumbo/components/DataGrid/Properties
- gumbo/components/DataGrid/Styles


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/c556895e
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/c556895e
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/c556895e

Branch: refs/heads/master
Commit: c556895ee94e39eddc6095c49f47caa4935767c5
Parents: 05cc8f3
Author: mamsellem <ma...@systar.com>
Authored: Tue Oct 15 22:38:31 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Tue Oct 15 22:38:31 2013 +0200

----------------------------------------------------------------------
 .../projects/spark/src/spark/components/Grid.as | 28 +++++++++++++++++---
 .../DataGrid_requireSelection_test001.mxml      |  2 +-
 2 files changed, 25 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/c556895e/frameworks/projects/spark/src/spark/components/Grid.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/Grid.as b/frameworks/projects/spark/src/spark/components/Grid.as
index 9dcfbd3..eed7d09 100644
--- a/frameworks/projects/spark/src/spark/components/Grid.as
+++ b/frameworks/projects/spark/src/spark/components/Grid.as
@@ -269,7 +269,9 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
      *  rowIndex of the caret after a collection refresh event.
      */    
     private var caretSelectedItem:Object = null;
-
+    private var updateCaretForDataProviderChanged:Boolean = false;
+    private var updateCaretForDataProviderChangeLastEvent:CollectionEvent;
+    
     /**
      *  @private
      *  True while updateDisplayList is running.  Use to disable invalidateSize(),
@@ -4584,6 +4586,13 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
             
             caretChanged = false;        
          }
+
+        if (updateCaretForDataProviderChanged)
+        {
+            updateCaretForDataProviderChanged = false;
+            updateCaretForDataProviderChange(updateCaretForDataProviderChangeLastEvent);
+            updateCaretForDataProviderChangeLastEvent = null;
+        }
     }
     
     
@@ -4600,8 +4609,9 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
 		
 		if (!variableRowHeight)
 			setFixedRowHeight(gridDimensions.getRowHeight(0));
-        }
 
+	}
+        
     //--------------------------------------------------------------------------
     //
     //  Methods
@@ -5033,7 +5043,7 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
     
     // default max time between clicks for a double click is 480ms.
     mx_internal var DOUBLE_CLICK_TIME:Number = 480;
-    
+
     /** 
      *  @private
      *  Return the GridView whose bounds contain the MouseEvent, or null.  Note that the 
@@ -5619,9 +5629,19 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
         invalidateSize();
         invalidateDisplayList();
         
-        if (caretRowIndex != -1)
+        if (caretRowIndex != -1)  {
+            if (event.kind == CollectionEventKind.RESET){
+                // defer for reset events 
+                updateCaretForDataProviderChanged = true;
+                updateCaretForDataProviderChangeLastEvent = event;
+                invalidateProperties();
+            }
+            else {
                 updateCaretForDataProviderChange(event);
+            }         
+        }
 
+        
         // Trigger bindings to selectedIndex/selectedCell/selectedItem and the plurals of those.
         if (selectionChanged)
             dispatchFlexEvent(FlexEvent.VALUE_COMMIT);

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/c556895e/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_requireSelection_test001.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_requireSelection_test001.mxml b/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_requireSelection_test001.mxml
index c089237..032e7d5 100644
--- a/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_requireSelection_test001.mxml
+++ b/mustella/tests/gumbo/components/DataGrid/Properties/DataGrid_requireSelection_test001.mxml
@@ -420,7 +420,7 @@
 		<body>		
 		    <RunCode code="FlexGlobals.topLevelApplication.dataGrid.selectionMode=GridSelectionMode.MULTIPLE_CELLS"/>
 		    <AssertMethodValue method="value=FlexGlobals.topLevelApplication.dataGrid.selectionContainsCell(0,0)" value="true"/>
-		    <RunCode code="FlexGlobals.topLevelApplication.dataGrid.resetDP()"  waitEvent="enterFrame" waitTarget="stage"/>
+		    <RunCode code="FlexGlobals.topLevelApplication.dataGrid.resetDP2()" waitEvent="updateComplete" waitTarget="dataGrid.grid"  />
 		    <AssertMethodValue method="value=FlexGlobals.topLevelApplication.dataGrid.selectionContainsCell(0,0)" value="true"/> 
 		    <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
 		    <CompareBitmap   numColorVariances="20" maxColorVariance="20" url="../Properties/Baselines/$testID_cell.png" target="dataGrid"/>


[22/50] git commit: [flex-sdk] [refs/heads/master] - FIX https://issues.apache.org/jira/browse/FLEX-33813 (DataGrid goes blank when scrolled and dataProvider is changed )

Posted by jm...@apache.org.
FIX https://issues.apache.org/jira/browse/FLEX-33813 (DataGrid goes blank when scrolled and dataProvider is changed )


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/fc91d4b9
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/fc91d4b9
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/fc91d4b9

Branch: refs/heads/master
Commit: fc91d4b94f6027a7de781c9b00986f56941b4fce
Parents: 5ae5a84
Author: mamsellem <ma...@systar.com>
Authored: Fri Oct 11 15:54:01 2013 +0200
Committer: mamsellem <ma...@systar.com>
Committed: Fri Oct 11 15:54:01 2013 +0200

----------------------------------------------------------------------
 frameworks/projects/spark/src/spark/components/Grid.as | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/fc91d4b9/frameworks/projects/spark/src/spark/components/Grid.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/Grid.as b/frameworks/projects/spark/src/spark/components/Grid.as
index c31e781..7deb6eb 100644
--- a/frameworks/projects/spark/src/spark/components/Grid.as
+++ b/frameworks/projects/spark/src/spark/components/Grid.as
@@ -5445,8 +5445,9 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
                 // No caret item so reset caret and vsp.
                 else 
                 {
-                    caretRowIndex = _dataProvider.length > 0 ? 0 : -1; 
-                    verticalScrollPosition = 0;
+                    caretRowIndex = _dataProvider.length > 0 ? 0 : -1;
+                   validateNow();
+                   verticalScrollPosition = 0;
                 }
                 
                 break;


[05/50] git commit: [flex-sdk] [refs/heads/master] - fix how extra experimental classes are linked into sec

Posted by jm...@apache.org.
fix how extra experimental classes are linked into sec


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/c059c67a
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/c059c67a
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/c059c67a

Branch: refs/heads/master
Commit: c059c67a49ef667e62680a520c23d5aa24b31ea7
Parents: a0592ab
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Oct 11 16:45:06 2013 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Oct 11 16:45:06 2013 +1100

----------------------------------------------------------------------
 .../experimental_mobile/src/ExperimentalMobileClasses.as | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/c059c67a/frameworks/projects/experimental_mobile/src/ExperimentalMobileClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/experimental_mobile/src/ExperimentalMobileClasses.as b/frameworks/projects/experimental_mobile/src/ExperimentalMobileClasses.as
index 8cb1081..9346a6c 100644
--- a/frameworks/projects/experimental_mobile/src/ExperimentalMobileClasses.as
+++ b/frameworks/projects/experimental_mobile/src/ExperimentalMobileClasses.as
@@ -18,10 +18,6 @@
 ////////////////////////////////////////////////////////////////////////////////
 package
 {
-import spark.components.MobileGrid;
-import spark.components.supportClasses.MobileGridColumn;
-import spark.skins.MobileGridHeaderButtonBarSkin;
-import spark.skins.MobileGridSkin;
 
 /*
  classes that won't be detected through dependencies
@@ -30,8 +26,9 @@ import spark.skins.MobileGridSkin;
 
 internal class ExperimentalMobileClasses
 {
-
-    // mamsellem: for some reason, the import statements alone are not enough to have the classes included
-    private static const classes:Array = [MobileGrid, MobileGridColumn, MobileGridSkin, MobileGridHeaderButtonBarSkin];
+	import spark.components.MobileGrid; MobileGrid;
+	import spark.components.supportClasses.MobileGridColumn; MobileGridColumn;
+	import spark.skins.MobileGridHeaderButtonBarSkin; MobileGridHeaderButtonBarSkin;
+	import spark.skins.MobileGridSkin; MobileGridSkin;
 }
 }