You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/12/16 22:35:47 UTC

[01/50] git commit: [flex-asjs] [refs/heads/master] - Fixed a small, but critical, typo.

Repository: flex-asjs
Updated Branches:
  refs/heads/master 550f1c2b9 -> caa9ed54d


Fixed a small, but critical, typo.


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

Branch: refs/heads/master
Commit: a6eb3868656af69e086ccf147c34414f4375150c
Parents: f760bb4
Author: Peter Ent <pe...@apache.org>
Authored: Mon Sep 21 11:25:22 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Mon Sep 21 11:25:22 2015 -0400

----------------------------------------------------------------------
 .../HTML/as/src/org/apache/flex/html/beads/ContainerView.as        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a6eb3868/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
index f71a4ef..69f0a05 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
@@ -180,7 +180,7 @@ package org.apache.flex.html.beads
 		 */
 		public function get numElements():int
 		{
-			return contentView.numElements();
+			return contentView.numElements;
 		}
 		
 		/**


[37/50] git commit: [flex-asjs] [refs/heads/master] - fix up falcon from binary package

Posted by ah...@apache.org.
fix up falcon from binary package


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

Branch: refs/heads/master
Commit: ad4955f3d890943a366e8f6d726a505a58dfa0ba
Parents: 9f70730
Author: Alex Harui <ah...@apache.org>
Authored: Thu Oct 15 10:04:02 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 15 10:04:02 2015 -0700

----------------------------------------------------------------------
 ApproveFlexJS.xml | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ad4955f3/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index 2e1c29d..e2f7032 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -379,6 +379,7 @@
 
     <target name="build" depends="ask.build,get.dependencies,copy.downloads">
         <ant dir="${basedir}/${package.url.name}" target="main" />
+        <ant dir="${basedir}/${package.url.name}" target="examples" />
     </target>
 
     <target name="copy.downloads" if="${do.copy.downloads}" description="instead of actually downloading all of the dependencies, you can save lots of time by just copying from some other folder in some other SDK.">
@@ -417,14 +418,21 @@
              dest="${basedir}/${binary.jx.kit}.zip" verbose="true" skipexisting="true"/>
         <unzip src="${basedir}/${binary.jx.kit}.zip" dest="${basedir}/falconjx" />
         <ant dir="${basedir}/falconjx/compiler" antfile="downloads.xml" />
+        <ant dir="${basedir}/falconjx/compiler.jx" antfile="downloads.xml" />
         <!-- Copy compiler external dependencies -->
         <copy todir="${basedir}/falconjx/compiler/generated/dist/sdk/lib/external" overwrite="true" includeEmptyDirs="false">
             <fileset dir="${basedir}/falconjx/compiler/lib">
                 <include name="**"/>
             </fileset>
         </copy>
+        <!-- Copy compiler.jx external dependencies -->
+        <copy todir="${basedir}/falconjx/js/lib" overwrite="true" includeEmptyDirs="false">
+            <fileset dir="${basedir}/falconjx/compiler.jx/lib">
+                <include name="**"/>
+            </fileset>
+        </copy>
         <property name="FALCON_HOME" value="${basedir}/falconjx/compiler/generated/dist/sdk" />
-        <property name="FALCONJX_HOME" value="${basedir}/falconjx/compiler.jx" />
+        <property name="FALCONJX_HOME" value="${basedir}/falconjx/js" />
     </target>
     <target name="get.falcon.rc" if="falcon.rc">
         <property name="kit.jx.prefix" value="apache-flex-falconjx-0.5.0"/>
@@ -433,14 +441,21 @@
         dest="${basedir}/${binary.jx.kit}.zip" verbose="true" skipexisting="true"/>
         <unzip src="${basedir}/${binary.jx.kit}.zip" dest="${basedir}/falconjx" />
         <ant dir="${basedir}/falconjx/compiler" antfile="downloads.xml" />
+        <ant dir="${basedir}/falconjx/compiler.jx" antfile="downloads.xml" />
         <!-- Copy compiler external dependencies -->
         <copy todir="${basedir}/falconjx/compiler/generated/dist/sdk/lib/external" overwrite="true" includeEmptyDirs="false">
             <fileset dir="${basedir}/falconjx/compiler/lib">
                 <include name="**"/>
             </fileset>
         </copy>
+        <!-- Copy compiler.jx external dependencies -->
+        <copy todir="${basedir}/falconjx/js/lib" overwrite="true" includeEmptyDirs="false">
+            <fileset dir="${basedir}/falconjx/compiler.jx/lib">
+                <include name="**"/>
+            </fileset>
+        </copy>
         <property name="FALCON_HOME" value="${basedir}/falconjx/compiler/generated/dist/sdk" />
-        <property name="FALCONJX_HOME" value="${basedir}/falconjx/compiler.jx" />
+        <property name="FALCONJX_HOME" value="${basedir}/falconjx/js" />
     </target>
     <target name="get.flexunit.if.needed" unless="FLEXUNIT_HOME" >
         <property name="binary.flexunit.kit" value="apache-flex-flexunit-4.2.0-4.12.0-bin"/>


[29/50] git commit: [flex-asjs] [refs/heads/master] - "beadsAdded" event not being dispatched from JavaScript version of UIBase.

Posted by ah...@apache.org.
"beadsAdded" event not being dispatched from JavaScript version of UIBase.


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

Branch: refs/heads/master
Commit: 1cd233cc444aa3cf09ee6dac4fe4d75d6e2f0fce
Parents: 258e692
Author: Peter Ent <pe...@apache.org>
Authored: Tue Oct 13 13:50:42 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Tue Oct 13 13:50:42 2015 -0400

----------------------------------------------------------------------
 frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1cd233cc/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
index f79061d..a0345a8 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
@@ -332,6 +332,8 @@ org.apache.flex.core.UIBase.prototype.addedToParent = function() {
       }
     }
   }
+
+  this.dispatchEvent(new org.apache.flex.events.Event('beadsAdded'));
 };
 
 


[12/50] git commit: [flex-asjs] [refs/heads/master] - don't need this fix (which didn't factor in padding anyway)

Posted by ah...@apache.org.
don't need this fix (which didn't factor in padding anyway)


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

Branch: refs/heads/master
Commit: b85f244b490a3ef3ba481dfd9c09f636cb62cded
Parents: 72c84c8
Author: Alex Harui <ah...@apache.org>
Authored: Thu Sep 24 16:38:06 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Sep 24 16:38:06 2015 -0700

----------------------------------------------------------------------
 examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b85f244b/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
index 18a2b7a..951b1fa 100755
--- a/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
+++ b/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
@@ -138,7 +138,6 @@ limitations under the License.
 			for (var i:int = startIndex; i < n ; i++)
 			{
 			    var item:ProductListItem = items[i];
-			    item.width = width;
                 var yTo:Number = i * (item.height);
                 //still need to prevent items that are already in motion from getting
                 //jumpy


[25/50] git commit: [flex-asjs] [refs/heads/master] - Updates to DataGrid, incorporating ArrayList as its default type of data provider. Adding DataProviderChangeNotifier to facilitate picking up changes in the data model and reflecting them in the DataG

Posted by ah...@apache.org.
Updates to DataGrid, incorporating ArrayList as its default type of data provider. Adding DataProviderChangeNotifier to facilitate picking up changes in the data model and reflecting them in the DataGrid.


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

Branch: refs/heads/master
Commit: c472807d21102a398ccb7aed12dcd9d9e0287d57
Parents: cc526bd
Author: Peter Ent <pe...@apache.org>
Authored: Wed Oct 7 15:56:58 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Oct 7 15:56:58 2015 -0400

----------------------------------------------------------------------
 frameworks/projects/HTML/as/defaults.css        |  19 +-
 .../projects/HTML/asjs/src/HTMLASJSClasses.as   |   3 +
 .../asjs/src/org/apache/flex/html/DataGrid.as   |  20 ++
 .../org/apache/flex/html/beads/DataGridView.as  |  38 ++-
 .../DataItemRendererFactoryForArrayList.as      | 171 +++++++++++++
 .../html/beads/DataProviderChangeNotifier.as    | 154 ++++++++++++
 .../beads/models/ArrayListSelectionModel.as     | 242 +++++++++++++++++++
 .../flex/html/beads/models/DataGridModel.as     |   7 +-
 frameworks/projects/HTML/basic-manifest.xml     |   1 +
 .../projects/HTML/compile-asjs-config.xml       |   1 +
 frameworks/projects/HTML/compile-config.xml     |   1 +
 .../ListSingleSelectionMouseController.js       |   4 +-
 12 files changed, 631 insertions(+), 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/as/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/defaults.css b/frameworks/projects/HTML/as/defaults.css
index f3c15b9..1a61438 100644
--- a/frameworks/projects/HTML/as/defaults.css
+++ b/frameworks/projects/HTML/as/defaults.css
@@ -113,8 +113,25 @@ DataGrid
 	border-width: 1px;
 }
 
+.DataGridColumn {
+	IBeadModel: ClassReference("org.apache.flex.html.beads.models.DataGridModel");
+	IBeadView:  ClassReference("org.apache.flex.html.beads.ListView");			
+	IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController");
+	IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.VerticalLayout");
+	IContentView: ClassReference("org.apache.flex.html.supportClasses.DataGroup");
+	IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.beads.DataItemRendererFactoryForArrayList");
+	IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
+	IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
+	IViewport: ClassReference("org.apache.flex.html.supportClasses.Viewport");
+	IViewportModel: ClassReference("org.apache.flex.html.beads.models.ViewportModel");
+	border-style: none;
+	background-color: #FFFFFF;
+}
+
 .DataGridListArea {
-	background-color: #999999;
+	background-color: #AAAAAA;
+	border-style: solid;
+	border-color: #333333;
 }
 
 DateChooser {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as b/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
index 73547db..99a837b 100644
--- a/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
+++ b/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
@@ -29,9 +29,12 @@ internal class HTMLASJSClasses
 {
 	import org.apache.flex.html.beads.DataGridColumnView; DataGridColumnView;
 	import org.apache.flex.html.beads.DataGridView; DataGridView;
+	import org.apache.flex.html.beads.DataProviderChangeNotifier; DataProviderChangeNotifier;
+	import org.apache.flex.html.beads.DataItemRendererFactoryForArrayList; DataItemRendererFactoryForArrayList;
 	import org.apache.flex.html.beads.DateChooserView; DateChooserView;
 	import org.apache.flex.html.beads.DateFieldView; DateFieldView;
     import org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout; FlexibleFirstChildHorizontalLayout;
+	import org.apache.flex.html.beads.models.ArrayListSelectionModel; ArrayListSelectionModel;
 	import org.apache.flex.html.beads.models.DataGridModel; DataGridModel;
 	import org.apache.flex.html.beads.models.DateChooserModel; DateChooserModel;
 	import org.apache.flex.html.beads.models.DataGridPresentationModel; DataGridPresentationModel;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/asjs/src/org/apache/flex/html/DataGrid.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/DataGrid.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/DataGrid.as
index 4aa38d2..8cba078 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/DataGrid.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/DataGrid.as
@@ -140,5 +140,25 @@ package org.apache.flex.html
 		{
 			presentationModel.rowHeight = value;
 		}
+		
+		/**
+		 * @private
+		 * The DataGrid needs to know whenever its size is being changed so the columns can be
+		 * be aligned properly, so the noEvent value must always be false.
+		 */
+		override public function setWidth(value:Number, noEvent:Boolean=false):void
+		{
+			super.setWidth(value,false);
+		}
+		
+		/**
+		 * @private
+		 * The DataGrid needs to know whenever its size is being changed so the columns can be
+		 * be aligned properly, so the noEvent value must always be false.
+		 */
+		override public function setHeight(value:Number, noEvent:Boolean=false):void
+		{
+			super.setHeight(value,false);
+		}
 	}
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
index 150294c..43c410f 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
@@ -18,6 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.html.beads
 {	
+	import org.apache.flex.core.IBead;
 	import org.apache.flex.core.IBeadModel;
 	import org.apache.flex.core.IBeadView;
 	import org.apache.flex.core.IDataGridModel;
@@ -25,8 +26,8 @@ package org.apache.flex.html.beads
 	import org.apache.flex.core.ISelectionModel;
 	import org.apache.flex.core.IStrand;
 	import org.apache.flex.core.IUIBase;
-	import org.apache.flex.core.SimpleCSSStyles;
 	import org.apache.flex.core.UIBase;
+	import org.apache.flex.core.ValuesManager;
 	import org.apache.flex.events.Event;
 	import org.apache.flex.events.IEventDispatcher;
 	import org.apache.flex.html.ButtonBar;
@@ -90,6 +91,8 @@ package org.apache.flex.html.beads
 			_strand = value;
 			
 			var host:UIBase = value as UIBase;
+			host.addEventListener("widthChanged", handleSizeChanges);
+			host.addEventListener("heightChanged", handleSizeChanges);
 			
 			_header = new ButtonBar();
 			_header.id = "dataGridHeader";
@@ -102,13 +105,6 @@ package org.apache.flex.html.beads
 			_listArea.className = "DataGridListArea";
 			_listArea.addBead(scrollPort);
 			
-			// place a border around the list area
-			var style:SimpleCSSStyles = new SimpleCSSStyles();
-			style.borderWidth = 1;
-			style.borderColor = 0x333333;
-			style.borderStyle = "solid";
-			_listArea.style = style;
-			
 			finishSetup(null);
 		}
 		
@@ -180,13 +176,21 @@ package org.apache.flex.html.beads
 			_listArea.width = host.width;
 			_listArea.height = host.height - _header.height;
 			
-			if (_lists != null) {
+			var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as IDataGridModel;
+			
+			if (_lists != null && _lists.length > 0) {
 				var xpos:Number = 0;
+				var listWidth:Number = host.width / _lists.length;
 				for (var i:int=0; i < _lists.length; i++) {
 					var list:List = _lists[i] as List;
 					list.x = xpos;
 					list.y = 0;
 					
+					var dataGridColumn:DataGridColumn = sharedModel.columns[i] as DataGridColumn;
+					var colWidth:Number = dataGridColumn.columnWidth;
+					if (!isNaN(colWidth)) list.width = colWidth - 1;
+					else list.width = listWidth - 1;
+					
 					xpos += list.width + 1;
 				}
 			}
@@ -274,19 +278,13 @@ package org.apache.flex.html.beads
 			
 			_lists = new Array();
 			
-			for (var i:int=0; i < sharedModel.columns.length; i++) {
-				
-				var listModel:ISelectionModel = new ArraySelectionModel();
-				listModel.dataProvider = sharedModel.dataProvider;
-				
+			for (var i:int=0; i < sharedModel.columns.length; i++) {				
 				var dataGridColumn:DataGridColumn = sharedModel.columns[i] as DataGridColumn;
 				
 				var list:List = new List();
 				list.id = "dataGridColumn"+String(i);
 				list.className = "DataGridColumn";
-				list.addBead(listModel); 
-				list.addBead(new Viewport()); // do not want lists to scroll independently
-				list.addBead(new VerticalLayout());
+				list.addBead(sharedModel); 
 				list.itemRenderer = dataGridColumn.itemRenderer;
 				list.labelField = dataGridColumn.dataField;
 				list.addEventListener('change',handleColumnListChange);
@@ -294,12 +292,6 @@ package org.apache.flex.html.beads
 				list.addEventListener('rollout',handleColumnListRollOut);
 				list.addBead(presentationModel);
 				
-				// do not want lists to have their own sizes
-				var style:SimpleCSSStyles = new SimpleCSSStyles();
-				style.borderWidth = 0;
-				style.backgroundColor = 0xFFFFFF;
-				list.style = style;
-				
 				var colWidth:Number = dataGridColumn.columnWidth;
 				if (!isNaN(colWidth)) list.width = colWidth - 1;
 				else list.width = listWidth - 1;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
new file mode 100644
index 0000000..f2c4ae7
--- /dev/null
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
@@ -0,0 +1,171 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.html.beads
+{
+	import org.apache.flex.collections.ArrayList;
+	import org.apache.flex.core.IBead;
+	import org.apache.flex.core.IDataProviderItemRendererMapper;
+	import org.apache.flex.core.IItemRendererClassFactory;
+	import org.apache.flex.core.IItemRendererParent;
+	import org.apache.flex.core.IListPresentationModel;
+	import org.apache.flex.core.ISelectableItemRenderer;
+	import org.apache.flex.core.ISelectionModel;
+	import org.apache.flex.core.IStrand;
+	import org.apache.flex.core.IUIBase;
+	import org.apache.flex.core.SimpleCSSStyles;
+	import org.apache.flex.core.UIBase;
+	import org.apache.flex.core.ValuesManager;
+	import org.apache.flex.events.Event;
+	import org.apache.flex.events.IEventDispatcher;
+	import org.apache.flex.html.List;
+	
+    /**
+     *  The DataItemRendererFactoryForArrayList class uses an ArrayList
+	 *  and creates an item renderer for every
+     *  item in the collection.  Other implementations of
+     *  IDataProviderItemRendererMapper map different data 
+     *  structures or manage a virtual set of renderers.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class DataItemRendererFactoryForArrayList implements IBead, IDataProviderItemRendererMapper
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function DataItemRendererFactoryForArrayList()
+		{
+		}
+		
+		private var selectionModel:ISelectionModel;
+		
+		private var labelField:String;
+		
+		private var _strand:IStrand;
+		
+        /**
+         *  @copy org.apache.flex.core.IBead#strand
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function set strand(value:IStrand):void
+		{
+			_strand = value;
+			IEventDispatcher(_strand).addEventListener("beadsAdded", finishSetup);
+			IEventDispatcher(_strand).addEventListener("initComplete", finishSetup);
+		}
+		
+		private function finishSetup(event:Event):void
+		{
+			selectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel;
+			var listView:IListView = _strand.getBeadByType(IListView) as IListView;
+			dataGroup = listView.dataGroup;
+			selectionModel.addEventListener("dataProviderChanged", dataProviderChangeHandler);
+			
+			labelField = (listView.host as List).labelField;
+			
+			if (!itemRendererFactory)
+			{
+				_itemRendererFactory = _strand.getBeadByType(IItemRendererClassFactory) as IItemRendererClassFactory;
+				if (_itemRendererFactory == null) {
+					_itemRendererFactory = new (ValuesManager.valuesImpl.getValue(_strand, "iItemRendererClassFactory")) as IItemRendererClassFactory;
+					_strand.addBead(_itemRendererFactory);
+				}
+			}
+			
+			dataProviderChangeHandler(null);
+		}
+		
+		private var _itemRendererFactory:IItemRendererClassFactory;
+		
+        /**
+         *  The org.apache.flex.core.IItemRendererClassFactory used 
+         *  to generate instances of item renderers.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function get itemRendererFactory():IItemRendererClassFactory
+		{
+			return _itemRendererFactory;
+		}
+		
+        /**
+         *  @private
+         */
+		public function set itemRendererFactory(value:IItemRendererClassFactory):void
+		{
+			_itemRendererFactory = value;
+		}
+		
+        /**
+         *  The org.apache.flex.core.IItemRendererParent that will
+         *  parent the item renderers.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		protected var dataGroup:IItemRendererParent;
+		
+		private function dataProviderChangeHandler(event:Event):void
+		{
+			var dp:ArrayList = selectionModel.dataProvider as ArrayList;
+			if (!dp)
+				return;
+			
+			dataGroup.removeAllElements();
+			
+			var listView:IListView = _strand.getBeadByType(IListView) as IListView;
+			var presentationModel:IListPresentationModel = _strand.getBeadByType(IListPresentationModel) as IListPresentationModel;
+			
+			var n:int = dp.length; 
+			for (var i:int = 0; i < n; i++)
+			{				
+				var ir:ISelectableItemRenderer = itemRendererFactory.createItemRenderer(dataGroup) as ISelectableItemRenderer;
+				ir.index = i;
+				ir.labelField = labelField;
+				if (presentationModel) {
+					var style:SimpleCSSStyles = new SimpleCSSStyles();
+					style.marginBottom = presentationModel.separatorThickness;
+					UIBase(ir).style = style;
+					UIBase(ir).height = presentationModel.rowHeight;
+				}
+				dataGroup.addElement(ir);
+				ir.data = dp.getItemAt(i);
+			}
+			
+			IEventDispatcher(_strand).dispatchEvent(new Event("itemsCreated"));
+		}
+	}
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataProviderChangeNotifier.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataProviderChangeNotifier.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataProviderChangeNotifier.as
new file mode 100644
index 0000000..8905fb9
--- /dev/null
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataProviderChangeNotifier.as
@@ -0,0 +1,154 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.html.beads
+{
+	import org.apache.flex.core.IBead;
+	import org.apache.flex.core.IDocument;
+	import org.apache.flex.core.ISelectionModel;
+	import org.apache.flex.core.IStrand;
+	import org.apache.flex.events.Event;
+	import org.apache.flex.collections.ArrayList;
+	
+	/**
+	 *  The DataProviderChangeNotifier notifies listeners when a selection model's
+	 *  ArrayList dataProvider has changed.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
+	public class DataProviderChangeNotifier implements IBead, IDocument
+	{
+		/**
+		 *  constructor.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function DataProviderChangeNotifier()
+		{
+		}
+		
+		protected var _dataProvider:ArrayList;
+		
+		private var _strand:IStrand;
+		
+		/**
+		 *  @copy org.apache.flex.core.IBead#strand
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function set strand(value:IStrand):void
+		{
+			_strand = value;
+			
+			if (_dataProvider == null) {
+				var object:Object = document[sourceID];
+				_dataProvider = object[propertyName] as ArrayList;
+			}
+			
+			_dataProvider.addEventListener("itemAdded", handleItemAdded);
+			_dataProvider.addEventListener("itemRemoved", handleItemRemoved);
+			_dataProvider.addEventListener("itemUpdated", handleItemUpdated);
+
+		}
+		
+		protected var document:Object;
+		
+		/**
+		 * @private
+		 */
+		public function setDocument(document:Object, id:String = null):void
+		{
+			this.document = document;
+		}
+		
+		private var _sourceID:String;
+		
+		/**
+		 *  The ID of the object holding the ArrayList, usually a model.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function get sourceID():String
+		{
+			return _sourceID;
+		}
+		public function set sourceID(value:String):void
+		{
+			_sourceID = value;
+		}
+		
+		private var _propertyName:String;
+		
+		/**
+		 *  The property in the sourceID that is the ArrayList.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function get propertyName():String
+		{
+			return _propertyName;
+		}
+		
+		public function set propertyName(value:String):void
+		{
+			_propertyName = value;
+		}
+		
+		/**
+		 * @private
+		 */
+		private function handleItemAdded(event:Event):void
+		{
+			var selectionModel:ISelectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel;
+			selectionModel.dispatchEvent(new Event("dataProviderChanged"));
+		}
+		
+		/**
+		 * @private
+		 */
+		private function handleItemRemoved(event:Event):void
+		{
+			var selectionModel:ISelectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel;
+			selectionModel.dispatchEvent(new Event("dataProviderChanged"));
+		}
+		
+		/**
+		 * @private
+		 */
+		private function handleItemUpdated(event:Event):void
+		{
+			var selectionModel:ISelectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel;
+			selectionModel.dispatchEvent(new Event("dataProviderChanged"));
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/ArrayListSelectionModel.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/ArrayListSelectionModel.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/ArrayListSelectionModel.as
new file mode 100644
index 0000000..920e967
--- /dev/null
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/ArrayListSelectionModel.as
@@ -0,0 +1,242 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.html.beads.models
+{
+	import org.apache.flex.collections.ArrayList;
+	import org.apache.flex.core.IRollOverModel;
+	import org.apache.flex.core.ISelectionModel;
+	import org.apache.flex.core.IStrand;
+	import org.apache.flex.events.Event;
+	import org.apache.flex.events.EventDispatcher;
+			
+    /**
+     *  The ArrayListSelectionModel class is a selection model for
+     *  a dataProvider that is an ArrayList. It assumes that items
+     *  can be fetched from the dataProvider using dataProvider.getItemAt(index).
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class ArrayListSelectionModel extends EventDispatcher implements ISelectionModel, IRollOverModel
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function ArrayListSelectionModel()
+		{
+		}
+
+		private var _strand:IStrand;
+		
+        /**
+         *  @copy org.apache.flex.core.IBead#strand
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function set strand(value:IStrand):void
+		{
+			_strand = value;
+		}
+		
+		private var _dataProvider:ArrayList;
+        
+        /**
+         *  @copy org.apache.flex.core.ISelectionModel#dataProvider
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function get dataProvider():Object
+		{
+			return _dataProvider;
+		}
+
+        /**
+         *  @private
+         */
+		public function set dataProvider(value:Object):void
+		{
+            if (value === _dataProvider) return;
+            
+            _dataProvider = value as ArrayList;
+            if (_selectedIndex != -1)
+                _selectedItem = (_dataProvider == null || _selectedIndex >= _dataProvider.length) ? null : 
+                    _dataProvider.getItemAt(_selectedIndex);
+			dispatchEvent(new Event("dataProviderChanged"));
+		}
+
+		private var _selectedIndex:int = -1;
+		private var _rollOverIndex:int = -1;
+		private var _labelField:String = null;
+		
+        /**
+         *  @copy org.apache.flex.core.ISelectionModel#labelField
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function get labelField():String
+		{
+			return _labelField;
+		}
+
+        /**
+         *  @private
+         */
+		public function set labelField(value:String):void
+		{
+			if (value != _labelField) {
+				_labelField = value;
+				dispatchEvent(new Event("labelFieldChanged"));
+			}
+		}
+		
+        /**
+         *  @copy org.apache.flex.core.ISelectionModel#selectedIndex
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function get selectedIndex():int
+		{
+			return _selectedIndex;
+		}
+
+        /**
+         *  @private
+         */
+		public function set selectedIndex(value:int):void
+		{
+            if (value === _selectedIndex) return;
+            
+			_selectedIndex = value;
+			_selectedItem = (value == -1 || _dataProvider == null) ? null : (value < _dataProvider.length) ? _dataProvider.getItemAt(value) : null;
+			dispatchEvent(new Event("selectedIndexChanged"));			
+		}
+		
+        /**
+         *  @copy org.apache.flex.core.IRollOverModel#rollOverIndex
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function get rollOverIndex():int
+		{
+			return _rollOverIndex;
+		}
+
+        /**
+         *  @private
+         */
+		public function set rollOverIndex(value:int):void
+		{
+			_rollOverIndex = value;
+			dispatchEvent(new Event("rollOverIndexChanged"));			
+		}
+		
+		private var _selectedItem:Object;
+		
+        /**
+         *  @copy org.apache.flex.core.ISelectionModel#selectedItem
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function get selectedItem():Object
+		{
+			return _selectedItem;
+		}
+
+        /**
+         *  @private
+         */
+		public function set selectedItem(value:Object):void
+		{
+            if (value === _selectedItem) return;
+            
+			_selectedItem = value;	
+			var n:int = _dataProvider.length;
+			for (var i:int = 0; i < n; i++)
+			{
+				if (_dataProvider.getItemAt(i) == value)
+				{
+					_selectedIndex = i;
+					break;
+				}
+			}
+			dispatchEvent(new Event("selectedItemChanged"));			
+			dispatchEvent(new Event("selectedIndexChanged"));
+		}
+		
+		private var _selectedString:String;
+		
+        /**
+         *  An alternative to selectedItem for strongly typing the
+         *  the selectedItem if the Array is an Array of Strings.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function get selectedString():String
+		{
+			return String(_selectedItem);
+		}
+
+        /**
+         *  @private
+         */
+		public function set selectedString(value:String):void
+		{
+			_selectedString = value;
+			var n:int = _dataProvider.length;
+			for (var i:int = 0; i < n; i++)
+			{
+				if (String(_dataProvider.getItemAt(i)) == value)
+				{
+					_selectedIndex = i;
+					break;
+				}
+			}
+			dispatchEvent(new Event("selectedItemChanged"));			
+			dispatchEvent(new Event("selectedIndexChanged"));			
+		}
+	}
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/DataGridModel.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/DataGridModel.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/DataGridModel.as
index f50b36a..531edac 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/DataGridModel.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/DataGridModel.as
@@ -22,16 +22,15 @@ package org.apache.flex.html.beads.models
 	import org.apache.flex.events.Event;
 	
 	/**
-	 *  The DataGridModel class bead extends org.apache.flex.html.beads.modelsArraySelectionModel 
-	 *  and adds the array of org.apache.flex.html.supportClasses.DataGridColumns used to define 
-	 *  each of the column in the DataGrid.
+	 *  The DataGridModel class bead extends org.apache.flex.html.beads.models.ArrayListSelectionModel 
+	 *  to facilitate using an ArrayList as the dataProvider for the DataGrid.
 	 *  
 	 *  @langversion 3.0
 	 *  @playerversion Flash 10.2
 	 *  @playerversion AIR 2.6
 	 *  @productversion FlexJS 0.0
 	 */
-	public class DataGridModel extends ArraySelectionModel implements IDataGridModel
+	public class DataGridModel extends ArrayListSelectionModel implements IDataGridModel
 	{
 		/**
 		 *  constructor.

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/basic-manifest.xml b/frameworks/projects/HTML/basic-manifest.xml
index 71a4049..921c67b 100644
--- a/frameworks/projects/HTML/basic-manifest.xml
+++ b/frameworks/projects/HTML/basic-manifest.xml
@@ -80,6 +80,7 @@
     <component id="ScrollingViewport" class="org.apache.flex.html.supportClasses.ScrollingViewport" />
 
     <component id="DataGrid" class="org.apache.flex.html.DataGrid"/>
+    <component id="DataProviderChangeNotifier" class="org.apache.flex.html.beads.DataProviderChangeNotifier"/>
     <component id="DataGridColumn" class="org.apache.flex.html.supportClasses.DataGridColumn"/>
 
     <component id="DateChooser" class="org.apache.flex.html.DateChooser"/>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/compile-asjs-config.xml b/frameworks/projects/HTML/compile-asjs-config.xml
index c0379f3..eec0d6d 100644
--- a/frameworks/projects/HTML/compile-asjs-config.xml
+++ b/frameworks/projects/HTML/compile-asjs-config.xml
@@ -49,6 +49,7 @@
             <path-element>../../libs/Binding.swc</path-element>
             <path-element>../../libs/Core.swc</path-element>
             <path-element>../../libs/Graphics.swc</path-element>
+            <path-element>../../libs/Collections.swc</path-element>
             <path-element>../../libs/HTML.swc</path-element>
         </library-path>
         

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/compile-config.xml b/frameworks/projects/HTML/compile-config.xml
index 8d7bfd5..cceec8a 100644
--- a/frameworks/projects/HTML/compile-config.xml
+++ b/frameworks/projects/HTML/compile-config.xml
@@ -26,6 +26,7 @@
             <path-element>../../libs/Binding.swc</path-element>
             <path-element>../../libs/Core.swc</path-element>
             <path-element>../../libs/Graphics.swc</path-element>
+            <path-element>../../libs/Collections.swc</path-element>
         </external-library-path>
         
 		<mxml>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c472807d/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js
index aca36cc..282e8fd 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/controllers/ListSingleSelectionMouseController.js
@@ -16,8 +16,8 @@ goog.provide('org.apache.flex.html.beads.controllers.ListSingleSelectionMouseCon
 
 goog.require('org.apache.flex.core.IBeadController');
 goog.require('org.apache.flex.core.ISelectableItemRenderer');
+goog.require('org.apache.flex.core.ISelectionModel');
 goog.require('org.apache.flex.html.beads.ListView');
-goog.require('org.apache.flex.html.beads.models.ArraySelectionModel');
 goog.require('org.apache.flex.utils.Language');
 
 
@@ -49,7 +49,7 @@ Object.defineProperties(org.apache.flex.html.beads.controllers.ListSingleSelecti
             this.strand_ = value;
 
             this.model = value.getBeadByType(
-                org.apache.flex.html.beads.models.ArraySelectionModel);
+                org.apache.flex.core.ISelectionModel);
             this.listView = value.getBeadByType(
                 org.apache.flex.html.beads.ListView);
 


[47/50] git commit: [flex-asjs] [refs/heads/master] - try turning off lint during approval script

Posted by ah...@apache.org.
try turning off lint during approval script


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

Branch: refs/heads/master
Commit: a8fbda5634f7cc04666c9eb8bdc0a886a0cbbc79
Parents: c4c0315
Author: Alex Harui <ah...@apache.org>
Authored: Mon Nov 2 15:42:24 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Nov 2 15:42:24 2015 -0800

----------------------------------------------------------------------
 ApproveFlexJS.xml    | 1 +
 releasecandidate.xml | 5 +----
 2 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a8fbda56/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index e9044df..842c74e 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -378,6 +378,7 @@
     </target>
 
     <target name="build" depends="ask.build,ask-font,get.dependencies,copy.downloads">
+        <property name="no.lint" value="true" />
         <ant dir="${basedir}/${package.url.name}" target="main" />
         <ant dir="${basedir}/${package.url.name}" target="examples" />
     </target>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a8fbda56/releasecandidate.xml
----------------------------------------------------------------------
diff --git a/releasecandidate.xml b/releasecandidate.xml
index 2099936..6fa4d65 100644
--- a/releasecandidate.xml
+++ b/releasecandidate.xml
@@ -483,7 +483,7 @@ The vote passes if there is:\n\
 - At least 3 +1 votes from the PMC\n\
 - More positive votes than negative votes\n\
 \n\
-Remember that this is an initial 'alpha-quality' release so I expect there\n\
+Remember that this is a 'beta-quality' release so I expect there\n\
 will be many bugs found.  IMO the goal is not to try to find and fix bugs\n\
 in the RC, but to make sure we have the packaging right, and enough\n\
 functionality that folks will have some success trying to use it.\n\
@@ -507,9 +507,6 @@ You are not required to use this script, and more testing of the packages\n\
 and build results are always encouraged.\n\
 \n\
 \n\
-You will have to install Google Closure Linter and JSHint prior to running\n\
-the script.\n\
-\n\
 Please put all discussion about this release in the DISCUSSION thread not\n\
 this VOTE thread.\n\
 \n\


[17/50] git commit: [flex-asjs] [refs/heads/master] - Update width of chart, remove gradient fill for columns

Posted by ah...@apache.org.
Update width of chart, remove gradient fill for columns


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

Branch: refs/heads/master
Commit: ae3e647368716a9d8de9f8f76cb937a1d414f63b
Parents: 3c8b087
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Wed Sep 30 11:53:41 2015 +0200
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Wed Sep 30 11:53:41 2015 +0200

----------------------------------------------------------------------
 .../flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml    | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ae3e6473/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml b/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
index 33842df..3d67cbf 100644
--- a/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
+++ b/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
@@ -55,7 +55,7 @@ limitations under the License.
 	<js:Label text="Number of users on flex.apache.org for last 30 days" x="10" y="10" />
 	<js:TextButton id="refreshButton" text="Refresh" x="300" y="10" click="refreshBtnClick(event)"/> 
 	
-	<js:ColumnChart id="columnChart" x="40" y="40" width="1024" height="768" className="AllCharts">
+	<js:ColumnChart id="columnChart" x="40" y="40" width="2000" height="768" className="AllCharts">
 		<js:beads>
 			<js:SimpleBinding
 				sourceID="applicationModel"
@@ -72,8 +72,16 @@ limitations under the License.
 					<fx:Component>
 						<js:BoxItemRenderer>
 							<js:fill>
-								<js:SolidColor color="#FF964D" alpha="1.0" />
+								<js:SolidColor color="#7CB5EC" alpha="1.0" />
 							</js:fill>
+							<!--<js:fill>
+								<js:LinearGradient rotation="90">
+									<js:entries>
+										<js:GradientEntry color="#7CB5EC" ratio="0" />
+										<js:GradientEntry color="#EFF7FF" ratio="0.5" />
+									</js:entries>
+								</js:LinearGradient>
+							</js:fill>-->
 						</js:BoxItemRenderer>                      
 					</fx:Component>
 				</js:itemRenderer>


[32/50] git commit: [flex-asjs] [refs/heads/master] - download and prep binary kits of Falcon and FlexUnit if no environment variable

Posted by ah...@apache.org.
download and prep binary kits of Falcon and FlexUnit if no environment variable


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

Branch: refs/heads/master
Commit: 8b968ec9709a1a72327fa1d264f8f70dbbb553c3
Parents: 27ef9d1
Author: Alex Harui <ah...@apache.org>
Authored: Tue Oct 13 12:32:01 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Oct 13 12:33:18 2015 -0700

----------------------------------------------------------------------
 ApproveFlexJS.xml | 102 ++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 80 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8b968ec9/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index 6e18199..2e1c29d 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -85,14 +85,7 @@
     <fail message="The ANT_HOME environment variable is not set."
         unless="env.ANT_HOME"/>
 		
-	<available file="${env.FLEX_HOME}" 
-		type="dir" 
-		property="FLEX_SDK_HOME" value="${env.FLEX_HOME}" />
-
-    <fail message="The FLEX_HOME property is not set in environment or command-line."
-        unless="FLEX_SDK_HOME"/>
-				
-	<available file="${env.AIR_HOME}" 
+	<available file="${env.AIR_HOME}"
 		type="dir" 
 		property="AIR_HOME" value="${env.AIR_HOME}" />
 
@@ -121,23 +114,14 @@
         type="dir"
         property="FALCON_HOME" value="${env.FALCON_HOME}" />
     
-    <fail message="The FALCON_HOME property is not set in environment or command-line."
-        unless="FALCON_HOME"/>
-    
     <available file="${env.FALCONJX_HOME}"
         type="dir"
         property="FALCONJX_HOME" value="${env.FALCONJX_HOME}" />
     
-    <fail message="The FALCONJX_HOME property is not set in environment or command-line."
-        unless="FALCONJX_HOME"/>
-    
     <available file="${env.FLEXUNIT_HOME}"
         type="dir"
         property="FLEXUNIT_HOME" value="${env.FLEXUNIT_HOME}" />
     
-    <fail message="The FLEXUNIT_HOME property is not set in environment or command-line."
-        unless="FLEXUNIT_HOME"/>
-    
     <available file="${env.ANT_HOME}/lib/${apache.rat.jar}"
         type="file"
         property="apache.rat.found"/>
@@ -148,6 +132,13 @@
     <fail message="The release version is not set.  Specify -Drelease.version=&lt;release version (e.g. 3.1, 3.2, etc)&gt;"
     unless="release.version"/>
 
+    <condition property="package.url.path"
+        value="http://apacheflexbuild.cloudapp.net:8080/job/flex-asjs/lastSuccessfulBuild/artifact/out">
+        <not>
+            <isset property="rc" />
+        </not>
+    </condition>
+
 	<property name="package.url.path" value="https://dist.apache.org/repos/dist/dev/flex/flexjs/${release.version}/rc${rc}" />
 	<property name="package.url.name" value="apache-flex-flexjs-${release.version}-src" />
 	
@@ -287,6 +278,8 @@
                 <!--          JSHint properties file           -->
                 <exclude name="frameworks/js/jshint.properties"/>
                 <exclude name="frameworks/js/.jshintrc"/>
+                <!--          fragments           -->
+                <exclude name="LICENSE.bin"/>
             </fileset>
         </rat:report>
 		<antcall target="display-text" >
@@ -377,11 +370,14 @@
         addproperty="license.ok"/>
     </target>
 
-    <target name="build" depends="copy.downloads">
-		<input
-			message="The final step is to run the build and any tests the build script runs.  This can take several minutes.  Press y to start the build."
-            validargs="y"
+    <target name="ask.build">
+        <input
+        message="The final step is to run the build and any tests the build script runs.  This can take several minutes.  Press y to start the build."
+        validargs="y"
         defaultvalue="y" />
+    </target>
+
+    <target name="build" depends="ask.build,get.dependencies,copy.downloads">
         <ant dir="${basedir}/${package.url.name}" target="main" />
     </target>
 
@@ -391,7 +387,69 @@
 			<fileset dir="${download.cache.dir}" />
 		</copy>
     </target>
-    	
+    
+    <target name="get.dependencies" depends="set.falcon.flags,get.falcon.if.needed,get.flexunit.if.needed" />
+    <target name="set.falcon.flags" >
+        <condition property="falcon.nightly">
+            <and>
+                <not>
+                    <isset property="FALCON_HOME" />
+                </not>
+                <not>
+                    <isset property="rc" />
+                </not>
+            </and>
+        </condition>
+        <condition property="falcon.rc">
+            <and>
+                <not>
+                    <isset property="FALCON_HOME" />
+                </not>
+                <isset property="rc" />
+            </and>
+        </condition>
+    </target>
+    <target name="get.falcon.if.needed" depends="get.falcon.nightly,get.falcon.rc" unless="FALCON_HOME" />
+    <target name="get.falcon.nightly" if="falcon.nightly">
+        <property name="kit.jx.prefix" value="apache-flex-falconjx-0.5.0"/>
+        <property name="binary.jx.kit" value="${kit.jx.prefix}-bin"/>
+        <get src="http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/lastSuccessfulBuild/artifact/out/${binary.jx.kit}.zip"
+             dest="${basedir}/${binary.jx.kit}.zip" verbose="true" skipexisting="true"/>
+        <unzip src="${basedir}/${binary.jx.kit}.zip" dest="${basedir}/falconjx" />
+        <ant dir="${basedir}/falconjx/compiler" antfile="downloads.xml" />
+        <!-- Copy compiler external dependencies -->
+        <copy todir="${basedir}/falconjx/compiler/generated/dist/sdk/lib/external" overwrite="true" includeEmptyDirs="false">
+            <fileset dir="${basedir}/falconjx/compiler/lib">
+                <include name="**"/>
+            </fileset>
+        </copy>
+        <property name="FALCON_HOME" value="${basedir}/falconjx/compiler/generated/dist/sdk" />
+        <property name="FALCONJX_HOME" value="${basedir}/falconjx/compiler.jx" />
+    </target>
+    <target name="get.falcon.rc" if="falcon.rc">
+        <property name="kit.jx.prefix" value="apache-flex-falconjx-0.5.0"/>
+        <property name="binary.jx.kit" value="${kit.jx.prefix}-bin"/>
+        <get src="https://dist.apache.org/repos/dist/dev/flex/falcon/0.5.0/rc1/binaries/{binary.jx.kit}.zip"
+        dest="${basedir}/${binary.jx.kit}.zip" verbose="true" skipexisting="true"/>
+        <unzip src="${basedir}/${binary.jx.kit}.zip" dest="${basedir}/falconjx" />
+        <ant dir="${basedir}/falconjx/compiler" antfile="downloads.xml" />
+        <!-- Copy compiler external dependencies -->
+        <copy todir="${basedir}/falconjx/compiler/generated/dist/sdk/lib/external" overwrite="true" includeEmptyDirs="false">
+            <fileset dir="${basedir}/falconjx/compiler/lib">
+                <include name="**"/>
+            </fileset>
+        </copy>
+        <property name="FALCON_HOME" value="${basedir}/falconjx/compiler/generated/dist/sdk" />
+        <property name="FALCONJX_HOME" value="${basedir}/falconjx/compiler.jx" />
+    </target>
+    <target name="get.flexunit.if.needed" unless="FLEXUNIT_HOME" >
+        <property name="binary.flexunit.kit" value="apache-flex-flexunit-4.2.0-4.12.0-bin"/>
+        <get src="https://archive.apache.org/dist/flex/flexunit/4.2.0/binaries/${binary.flexunit.kit}.zip"
+        dest="${basedir}/${binary.flexunit.kit}.zip" verbose="true" skipexisting="true"/>
+        <unzip src="${basedir}/${binary.flexunit.kit}.zip" dest="${basedir}/flexunit" />
+        <property name="FLEXUNIT_HOME" value="${basedir}/flexunit" />
+    </target>
+    
 	<target name="approve" >
 		<condition property="vote" value="+1">
 			<and>


[18/50] git commit: [flex-asjs] [refs/heads/master] - Small changes required to get asdoc build to complete without errors. Removed unused class and interface.

Posted by ah...@apache.org.
Small changes required to get asdoc build to complete without errors. Removed unused class and interface.


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

Branch: refs/heads/master
Commit: c4848e67de68d1cf1c53de3733f89cc3c8cc6b7a
Parents: ae3e647
Author: Peter Ent <pe...@apache.org>
Authored: Wed Sep 30 16:13:30 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Sep 30 16:13:30 2015 -0400

----------------------------------------------------------------------
 .../org/apache/flex/charts/beads/ChartView.as   |   1 -
 frameworks/projects/Flat/flat-manifest.xml      |   1 -
 .../apache/flex/core/IScrollingLayoutParent.as  |  71 -----
 .../org/apache/flex/html/beads/ButtonBarView.as |   4 +-
 .../org/apache/flex/html/beads/ContainerView.as |   1 -
 .../src/org/apache/flex/html/beads/ListView.as  |   4 +-
 .../flex/html/beads/ListViewNoSelectionState.as | 270 -------------------
 frameworks/projects/HTML/basic-manifest.xml     |   1 -
 8 files changed, 2 insertions(+), 351 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4848e67/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/ChartView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/ChartView.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/ChartView.as
index 6f5c446..393f3b0 100644
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/ChartView.as
+++ b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/beads/ChartView.as
@@ -46,7 +46,6 @@ package org.apache.flex.charts.beads
 			super();
 		}
 		
-		private var _strand:IStrand;
 		private var _horizontalAxisGroup:IAxisGroup;
 		private var _verticalAxisGroup:IAxisGroup;
 		

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4848e67/frameworks/projects/Flat/flat-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/flat-manifest.xml b/frameworks/projects/Flat/flat-manifest.xml
index b289d9a..355a76a 100644
--- a/frameworks/projects/Flat/flat-manifest.xml
+++ b/frameworks/projects/Flat/flat-manifest.xml
@@ -54,7 +54,6 @@
     <component id="HorizontalLayout" class="org.apache.flex.html.beads.layouts.HorizontalLayout"  lookupOnly="true" />
     <component id="TileLayout" class="org.apache.flex.html.beads.layouts.TileLayout"  lookupOnly="true" />
     <component id="ListView" class="org.apache.flex.html.beads.ListView" lookupOnly="true" />
-    <!--component id="ListViewNoSelectionState" class="org.apache.flex.html.beads.ListViewNoSelectionState" lookupOnly="true" /-->
     <component id="MultilineTextFieldView" class="org.apache.flex.html.beads.MultilineTextFieldView" lookupOnly="true" />
     
     <component id="SimpleAlert" class="org.apache.flex.html.SimpleAlert" lookupOnly="true" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4848e67/frameworks/projects/HTML/as/src/org/apache/flex/core/IScrollingLayoutParent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/core/IScrollingLayoutParent.as b/frameworks/projects/HTML/as/src/org/apache/flex/core/IScrollingLayoutParent.as
deleted file mode 100644
index ed89265..0000000
--- a/frameworks/projects/HTML/as/src/org/apache/flex/core/IScrollingLayoutParent.as
+++ /dev/null
@@ -1,71 +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 org.apache.flex.core
-{
-	import flash.display.DisplayObject;
-	import flash.display.DisplayObjectContainer;
-	
-	import org.apache.flex.html.supportClasses.Border;
-	import org.apache.flex.html.supportClasses.ScrollBar;
-
-    /**
-     *  The IScrollingLayoutParent interface is an ILayoutParent
-     *  that has traditional scrollbars.  The layout implementation
-     *  often needs to know certain things about other objects in
-     *  the component.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public interface IScrollingLayoutParent extends ILayoutParent
-	{
-        /**
-         *  The border.
-         * 
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		function get border():Border;
-		
-        /**
-         *  The vertical ScrollBar.
-         * 
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		function get vScrollBar():ScrollBar;
-        
-        /**
-         *  The horizontal ScrollBar.
-         * 
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		function get hScrollBar():ScrollBar;
-		
-	}
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4848e67/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ButtonBarView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ButtonBarView.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ButtonBarView.as
index 7add594..e51040c 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ButtonBarView.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ButtonBarView.as
@@ -54,9 +54,7 @@ package org.apache.flex.html.beads
 		{
 			super();
 		}
-		
-		private var _strand:IStrand;
-		
+				
 		/**
 		 *  @copy org.apache.flex.core.IBead#strand
 		 *  

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4848e67/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
index 69f0a05..96f182b 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ContainerView.as
@@ -140,7 +140,6 @@ package org.apache.flex.html.beads
 		
 		private var _viewportModel:IViewportModel;
 		private var _viewport:IViewport;
-		private var _strand:IStrand;
 		private var layoutRunning:Boolean;
 		
 		/**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4848e67/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListView.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListView.as
index 9deec3e..a9192f4 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListView.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListView.as
@@ -106,9 +106,7 @@ package org.apache.flex.html.beads
         {
             return _strand as IUIBase;
         }
-        
-		private var _strand:IStrand;
-		
+        		
 		/**
 		 *  @copy org.apache.flex.core.IBead#strand
 		 *  

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4848e67/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListViewNoSelectionState.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListViewNoSelectionState.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListViewNoSelectionState.as
deleted file mode 100644
index 4e93375..0000000
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListViewNoSelectionState.as
+++ /dev/null
@@ -1,270 +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 org.apache.flex.html.beads
-{	
-	import org.apache.flex.core.BeadViewBase;
-	import org.apache.flex.core.IBead;
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.IBeadModel;
-	import org.apache.flex.core.IBeadView;
-	import org.apache.flex.core.ISelectableItemRenderer;
-	import org.apache.flex.core.IItemRendererParent;
-	import org.apache.flex.core.IScrollingLayoutParent;
-	import org.apache.flex.core.IParent;
-    import org.apache.flex.core.IParentIUIBase;
-	import org.apache.flex.core.IRollOverModel;
-	import org.apache.flex.core.ISelectionModel;
-	import org.apache.flex.core.IStrand;
-    import org.apache.flex.core.IUIBase;
-	import org.apache.flex.core.Strand;
-	import org.apache.flex.core.UIBase;
-	import org.apache.flex.core.ValuesManager;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-	import org.apache.flex.html.beads.models.ArraySelectionModel;
-	import org.apache.flex.html.beads.models.ScrollBarModel;
-	import org.apache.flex.html.beads.models.SingleLineBorderModel;
-	import org.apache.flex.html.supportClasses.Border;
-	import org.apache.flex.html.supportClasses.DataGroup;
-	import org.apache.flex.html.supportClasses.ScrollBar;
-
-	/**
-	 *  The ListViewNoSelectionState class is a version of ListView that
-     *  does not set states on the renderers to show selection.  Thus
-     *  the renderers can be simpler and not implemetn ISelectableItemRenderer
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class ListViewNoSelectionState extends Strand implements IBeadView, IStrand, IListView, IScrollingLayoutParent
-	{
-		public function ListViewNoSelectionState()
-		{
-		}
-						
-		private var listModel:ISelectionModel;
-		
-		private var _border:Border;
-		
-		/**
-		 *  The border surrounding the org.apache.flex.html.List.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-        public function get border():Border
-        {
-            return _border;
-        }
-		
-		private var _dataGroup:IItemRendererParent;
-		
-		/**
-		 *  The area holding the itemRenderers.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get dataGroup():IItemRendererParent
-		{
-			return _dataGroup;
-		}
-		public function set dataGroup(value:IItemRendererParent):void
-		{
-			_dataGroup = value;
-		}
-		
-		private var _vScrollBar:ScrollBar;
-		
-		/**
-		 *  The vertical org.apache.flex.html.ScrollBar, if needed.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get vScrollBar():ScrollBar
-		{
-            if (!_vScrollBar)
-                _vScrollBar = createScrollBar();
-			return _vScrollBar;
-		}
-		
-		/**
-		 *  The horizontal org.apache.flex.html.ScrollBar, currently null.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get hScrollBar():ScrollBar
-		{
-			return null;
-		}
-		
-		/**
-		 *  The contentArea includes the dataGroup and scrollBars.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get contentView():IParentIUIBase
-		{
-			return _dataGroup as IParentIUIBase;
-		}
-		
-		/**
-		 * @private
-		 */
-		public function get resizableView():IUIBase
-		{
-			return _strand as IUIBase;
-		}
-		
-        /**
-         * @private
-         */
-        public function get host():IUIBase
-        {
-            return _strand as IUIBase;
-        }
-        
-		private var _strand:IStrand;
-		
-		/**
-		 *  @copy org.apache.flex.core.IBead#strand
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function set strand(value:IStrand):void
-		{
-			_strand = value;
-			
-            for each (var bead:IBead in beads)
-            addBead(bead);
-            
-            dispatchEvent(new org.apache.flex.events.Event("beadsAdded"));
-			IEventDispatcher(_strand).addEventListener("widthChanged", handleSizeChange);
-			IEventDispatcher(_strand).addEventListener("heightChanged",handleSizeChange);
-            
-            listModel = value.getBeadByType(ISelectionModel) as ISelectionModel;
-			listModel.addEventListener("dataProviderChanged", dataProviderChangeHandler);
-
-            _border = new Border();
-            _border.model = new (ValuesManager.valuesImpl.getValue(value, "iBorderModel")) as IBeadModel;
-            _border.addBead(new (ValuesManager.valuesImpl.getValue(value, "iBorderBead")) as IBead);
-            IParent(_strand).addElement(_border);
-            
-			if (_dataGroup == null) {
-				_dataGroup = new (ValuesManager.valuesImpl.getValue(value, "iDataGroup")) as IItemRendererParent;
-			}
-			IParent(_strand).addElement(_dataGroup);
-            
-            if (_strand.getBeadByType(IBeadLayout) == null)
-            {
-                var mapper:IBeadLayout = new (ValuesManager.valuesImpl.getValue(_strand, "iBeadLayout")) as IBeadLayout;
-				_strand.addBead(mapper);
-            }  
-			
-			handleSizeChange(null);
-		}
-		
-		/**
-		 * @private
-		 */
-		protected function dataProviderChangeHandler(event:Event):void
-		{
-			// override if needed
-		}
-		
-			
-		/**
-		 * @private
-		 */
-		private function createScrollBar():ScrollBar
-		{
-			var vsb:ScrollBar;
-			vsb = new ScrollBar();
-			var vsbm:ScrollBarModel = new ScrollBarModel();
-			vsbm.maximum = 100;
-			vsbm.minimum = 0;
-			vsbm.pageSize = 10;
-			vsbm.pageStepSize = 10;
-			vsbm.snapInterval = 1;
-			vsbm.stepSize = 1;
-			vsbm.value = 0;
-			vsb.model = vsbm;
-			vsb.width = 16;
-            IParent(_strand).addElement(vsb);
-			return vsb;
-		}
-		
-		/**
-		 * @private
-		 */
-		private function handleSizeChange(event:Event):void
-		{
-			UIBase(_dataGroup).x = 0;
-			UIBase(_dataGroup).y = 0;
-			UIBase(_dataGroup).width = UIBase(_strand).width;
-			UIBase(_dataGroup).height = UIBase(_strand).height;
-		}
-				
-        /**
-         *  @copy org.apache.flex.core.IBeadView#viewHeight
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get viewHeight():Number
-        {
-            // don't want to put $height in an interface
-            return _strand["$height"];
-        }
-        
-        /**
-         *  @copy org.apache.flex.core.IBeadView#viewWidth
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get viewWidth():Number
-        {
-            // don't want to put $width in an interface
-            return _strand["$width"];
-        }
-	}
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4848e67/frameworks/projects/HTML/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/basic-manifest.xml b/frameworks/projects/HTML/basic-manifest.xml
index b2f6a19..5ddd403 100644
--- a/frameworks/projects/HTML/basic-manifest.xml
+++ b/frameworks/projects/HTML/basic-manifest.xml
@@ -54,7 +54,6 @@
     <component id="HorizontalLayout" class="org.apache.flex.html.beads.layouts.HorizontalLayout"/>
     <component id="TileLayout" class="org.apache.flex.html.beads.layouts.TileLayout"/>
     <component id="ListView" class="org.apache.flex.html.beads.ListView"/>
-    <!-- component id="ListViewNoSelectionState" class="org.apache.flex.html.beads.ListViewNoSelectionState"/ -->
     <component id="MultilineTextFieldView" class="org.apache.flex.html.beads.MultilineTextFieldView"/>
     
     <component id="SimpleAlert" class="org.apache.flex.html.SimpleAlert"/>


[40/50] git commit: [flex-asjs] [refs/heads/master] - Make MobileTrader for flexible for different screen sizes.

Posted by ah...@apache.org.
Make MobileTrader for flexible for different screen sizes.


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

Branch: refs/heads/master
Commit: 820ae80cd4adffb5fe0c1d0bada8ddaed1f7d881
Parents: c152902
Author: Peter Ent <pe...@apache.org>
Authored: Wed Oct 21 15:41:00 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Oct 21 15:41:00 2015 -0400

----------------------------------------------------------------------
 .../flexjs/MobileTrader/src/MobileTrader.mxml   |  2 +-
 .../flexjs/MobileTrader/src/MyInitialView.mxml  | 29 ++++++++++----------
 .../MobileTrader/src/views/AlertsView.mxml      |  4 +--
 3 files changed, 18 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/820ae80c/examples/flexjs/MobileTrader/src/MobileTrader.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/MobileTrader.mxml b/examples/flexjs/MobileTrader/src/MobileTrader.mxml
index 4537ff3..c76531c 100755
--- a/examples/flexjs/MobileTrader/src/MobileTrader.mxml
+++ b/examples/flexjs/MobileTrader/src/MobileTrader.mxml
@@ -34,6 +34,6 @@
 	</js:model>
 	
 	<js:initialView>
-	   <local:MyInitialView width="480" height="640" />
+	   <local:MyInitialView width="100%" height="100%" />
 	</js:initialView>
 </js:Application>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/820ae80c/examples/flexjs/MobileTrader/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/MyInitialView.mxml b/examples/flexjs/MobileTrader/src/MyInitialView.mxml
index 1c6b07d..cc99946 100755
--- a/examples/flexjs/MobileTrader/src/MyInitialView.mxml
+++ b/examples/flexjs/MobileTrader/src/MyInitialView.mxml
@@ -43,10 +43,10 @@ limitations under the License.
 		
 		basic|TabbedViewManager {
 			position : absolute ;
-			height : 640px ;
-			width : 480px ;
-			left : 100px ;
-			top : 20px ;
+			height : 100% ;
+			width : 100% ;
+			left : 0px ;
+			top : 0px ;
 			border: solid 1px #444444;
 			background-color: #FFFFFF;
 		}
@@ -82,25 +82,26 @@ limitations under the License.
 		}
 		
 		views|AssetsView {
-			width: 480px;
-			height: 640px;
+			width: 100%;
+			height: 100%;
 		}
 		
 		views|WatchListView {
-			width: 480px;
-			height: 640px;
+			width: 100%;
+			height: 100%;
 			IBeadController:ClassReference('controller.WatchListController');
 			background-color: #FFFFFF;
 		}
 		
 		.WatchListInner {
 			height: 480px;
-			width:  480px;
+			width:  100%;
+			background-color: #FFFFFF;
 		}
 		
 		.WatchListDataGrid {
 			height: 480px;
-			width:  480px;
+			width:  100%;
 		}
 		
 		.WatchListInputArea {
@@ -112,13 +113,13 @@ limitations under the License.
 		}
 		
 		views|StockView {
-			width: 480px;
-			height: 640px;
+			width: 100%;
+			height: 100%;
 		}
 		
 		views|AlertsView {
-			width: 480px;
-			height: 640px;
+			width: 100%;
+			height: 100%;
 			IBeadController:ClassReference('controller.AlertsViewController');
 		}
 		

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/820ae80c/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/views/AlertsView.mxml b/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
index 3bc76bb..6a393de 100755
--- a/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
+++ b/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
@@ -57,9 +57,9 @@ limitations under the License.
 			<js:HorizontalLayout />
 		</js:beads>
 		<js:Label text="Symbol:" />
-		<js:TextInput id="symbolField" />
+		<js:TextInput id="symbolField" width="50" />
 		<js:Label text="Value:" />
-		<js:TextInput id="valueField" />
+		<js:TextInput id="valueField" width="50" />
 		<js:CheckBox text="Higher?" id="higherCheck" />
 		<js:TextButton text="Set" click="onAlertSet()" />
 	</js:Container>


[09/50] git commit: [flex-asjs] [refs/heads/master] - Added missing statement to UIBase to set the view bead backing var. Moved dispatch children notice in PanelView to proper location.

Posted by ah...@apache.org.
Added missing statement to UIBase to set the view bead backing var. Moved dispatch children notice in PanelView to proper location.


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

Branch: refs/heads/master
Commit: 4dd82dbb0390bb26d399a2dfaaa9322e4b9d910a
Parents: 996daef
Author: Peter Ent <pe...@apache.org>
Authored: Wed Sep 23 14:41:26 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Sep 23 14:41:26 2015 -0400

----------------------------------------------------------------------
 frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js | 1 +
 frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4dd82dbb/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
index f00bb51..f79061d 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
@@ -348,6 +348,7 @@ org.apache.flex.core.UIBase.prototype.addBead = function(bead) {
     this.model_ = bead;
 
   if (org.apache.flex.utils.Language.is(bead, org.apache.flex.core.IBeadView)) {
+    this.view_ = bead;
     this.dispatchEvent(new org.apache.flex.events.Event('viewChanged'));
   }
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4dd82dbb/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js
index 6090a64..e05c0e5 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js
@@ -54,9 +54,9 @@ org.apache.flex.html.Panel.prototype.addElement = function(c) {
   }
   else {
     this.contentArea.appendChild(c.element);
-    this.dispatchEvent('childrenAdded');
   }
   c.addedToParent();
+  this.dispatchEvent('childrenAdded');
 };*/
 
 


[02/50] git commit: [flex-asjs] [refs/heads/master] - Added internal check to see if view has been set before creating a new one. Removed references to "actualParent" which is no longer needed.

Posted by ah...@apache.org.
Added internal check to see if view has been set before creating a new one. Removed references to "actualParent" which is no longer needed.


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

Branch: refs/heads/master
Commit: 84ece7b7faf4cfbd5dd81a8d96e2c1aca23082f8
Parents: a6eb386
Author: Peter Ent <pe...@apache.org>
Authored: Mon Sep 21 15:11:55 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Mon Sep 21 15:11:55 2015 -0400

----------------------------------------------------------------------
 .../Core/as/src/org/apache/flex/core/UIBase.as   |  2 +-
 .../js/src/org/apache/flex/core/ContainerBase.js | 19 -------------------
 .../Core/js/src/org/apache/flex/core/UIBase.js   |  6 ++++--
 .../html/supportClasses/ContainerContentArea.as  |  2 +-
 .../js/src/org/apache/flex/html/Container.js     |  4 ++--
 5 files changed, 8 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84ece7b7/frameworks/projects/Core/as/src/org/apache/flex/core/UIBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/UIBase.as b/frameworks/projects/Core/as/src/org/apache/flex/core/UIBase.as
index 3f00b32..b263664 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/UIBase.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/UIBase.as
@@ -988,7 +988,7 @@ package org.apache.flex.core
                         addBead(model);
                 }
             }
-            if (getBeadByType(IBeadView) == null) 
+            if (_view == null && getBeadByType(IBeadView) == null) 
             {
                 c = ValuesManager.valuesImpl.getValue(this, "iBeadView") as Class;
                 if (c)

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84ece7b7/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
index 593a11c..1441721 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
@@ -63,7 +63,6 @@ org.apache.flex.core.ContainerBase = function() {
   this.strandChildren_ = new org.apache.flex.core.ContainerBaseStrandChildren(this);
 
   this.document = this;
-  this.actualParent_ = this;
 
 };
 goog.inherits(org.apache.flex.core.ContainerBase,
@@ -91,13 +90,6 @@ org.apache.flex.core.ContainerBase.prototype.mxmlsd = null;
 
 
 /**
- * @private
- * @type {Object}
- */
-org.apache.flex.core.ContainerBase.prototype.actualParent_ = null;
-
-
-/**
  * @export
  * @type {boolean}
  */
@@ -377,17 +369,6 @@ Object.defineProperties(org.apache.flex.core.ContainerBase.prototype, {
         }
     },
     /** @export */
-    actualParent: {
-        /** @this {org.apache.flex.core.ContainerBase} */
-        get: function() {
-             return this.actualParent_;
-        },
-        /** @this {org.apache.flex.core.ContainerBase} */
-        set: function(s) {
-             this.actualParent_ = s;
-        }
-    },
-    /** @export */
     strandChildren: {
         /** @this {org.apache.flex.core.ContainerBase} */
         get: function() {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84ece7b7/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
index 5642cd0..f00bb51 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/UIBase.js
@@ -291,7 +291,7 @@ org.apache.flex.core.UIBase.prototype.addedToParent = function() {
       }
     }
   }
-  if (this.getBeadByType(org.apache.flex.core.IBeadView) == null)
+  if (this.view_ == null && this.getBeadByType(org.apache.flex.core.IBeadView) == null)
   {
     if (org.apache.flex.core.ValuesManager.valuesImpl.getValue) {
       c = /** @type {Function} */ (org.apache.flex.core.ValuesManager.valuesImpl.
@@ -299,8 +299,10 @@ org.apache.flex.core.UIBase.prototype.addedToParent = function() {
       if (c)
       {
         var view = new c();
-        if (view)
+        if (view) {
+          this.view_ = view;
           this.addBead(view);
+        }
       }
     }
   }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84ece7b7/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/ContainerContentArea.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/ContainerContentArea.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/ContainerContentArea.as
index 5549f8d..38f40f9 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/ContainerContentArea.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/ContainerContentArea.as
@@ -23,7 +23,7 @@ package org.apache.flex.html.supportClasses
     import org.apache.flex.events.Event;
 	
     /**
-     *  The ContainerContentArea class implements the actualParent for
+     *  The ContainerContentArea class implements the contentView for
      *  a Container.  Container's don't always parent their children directly as
      *  that makes it harder to handle scrolling.
      *  

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84ece7b7/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
index 2434524..c363807 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
@@ -118,7 +118,7 @@ org.apache.flex.html.Container.prototype.runLayoutHandler =
  */
 org.apache.flex.html.Container.prototype.internalChildren =
     function() {
-  return this.actualParent.element.children;
+  return this.element.children;
 };
 
 
@@ -126,7 +126,7 @@ org.apache.flex.html.Container.prototype.internalChildren =
  * @return {Array} All of the children of the container.
  */
 org.apache.flex.html.Container.prototype.getChildren = function() {
-  var arr = this.actualParent.element.children;
+  var arr = this.element.children;
   var comparr = [];
   var n = arr.length;
   for (var i = 0; i < n; i++)


[49/50] git commit: [flex-asjs] [refs/heads/master] - another attempt to fix asdoc

Posted by ah...@apache.org.
another attempt to fix asdoc


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

Branch: refs/heads/master
Commit: f2eedac2abcae0c152519972e18ae058a0a8a42d
Parents: 8a68b95
Author: Alex Harui <ah...@apache.org>
Authored: Mon Nov 2 17:43:21 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Nov 2 17:43:21 2015 -0800

----------------------------------------------------------------------
 asdoc/build.xml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f2eedac2/asdoc/build.xml
----------------------------------------------------------------------
diff --git a/asdoc/build.xml b/asdoc/build.xml
index dd50a0e..8f7ec1b 100644
--- a/asdoc/build.xml
+++ b/asdoc/build.xml
@@ -81,6 +81,7 @@
 			<compiler.source-path path-element="${project_home}/Charts/as/src"/>
 			<compiler.source-path path-element="${project_home}/Charts/asjs/src"/>
 			<compiler.source-path path-element="${project_home}/Collections/as/src"/>
+            <compiler.source-path path-element="${project_home}/Collections/asjs/src"/>
 			<compiler.source-path path-element="${project_home}/Core/as/src"/>
 			<compiler.source-path path-element="${project_home}/Core/asjs/src"/>
 			<compiler.source-path path-element="${project_home}/CreateJS/as/src"/>


[42/50] git commit: [flex-asjs] [refs/heads/master] - Added declaration for the .Application style.

Posted by ah...@apache.org.
Added declaration for the .Application style.


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

Branch: refs/heads/master
Commit: 3030c5ccefb1f5d554ef09d4c51549875560e00c
Parents: 866d5e4
Author: Peter Ent <pe...@apache.org>
Authored: Wed Oct 21 17:27:09 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Oct 21 17:27:09 2015 -0400

----------------------------------------------------------------------
 frameworks/projects/HTML/as/defaults.css | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3030c5cc/frameworks/projects/HTML/as/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/defaults.css b/frameworks/projects/HTML/as/defaults.css
index db0145c..aa25dc5 100644
--- a/frameworks/projects/HTML/as/defaults.css
+++ b/frameworks/projects/HTML/as/defaults.css
@@ -34,6 +34,12 @@
     box-sizing: border-box;
 }
 
+Application
+{
+	padding: 0px;
+	margin: 0px;
+}
+
 Button
 {
   background-color: #f8f8f8;


[46/50] git commit: [flex-asjs] [refs/heads/master] - headers

Posted by ah...@apache.org.
headers


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

Branch: refs/heads/master
Commit: c4c031596ed62f64063a4221e0dbd0b8db6aaf4b
Parents: 4fbf2ee
Author: Alex Harui <ah...@apache.org>
Authored: Sun Nov 1 22:59:49 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Nov 1 22:59:49 2015 -0800

----------------------------------------------------------------------
 frameworks/projects/Binding/.project     | 18 ++++++++++++++++++
 frameworks/projects/Charts/.project      | 18 ++++++++++++++++++
 frameworks/projects/Collections/.project | 18 ++++++++++++++++++
 frameworks/projects/Core/.project        | 18 ++++++++++++++++++
 frameworks/projects/CreateJS/.project    | 18 ++++++++++++++++++
 frameworks/projects/DragDrop/.project    | 18 ++++++++++++++++++
 frameworks/projects/Effects/.project     | 18 ++++++++++++++++++
 frameworks/projects/Formatters/.project  | 18 ++++++++++++++++++
 frameworks/projects/GoogleMaps/.project  | 18 ++++++++++++++++++
 frameworks/projects/Graphics/.project    | 18 ++++++++++++++++++
 frameworks/projects/HTML/.project        | 18 ++++++++++++++++++
 frameworks/projects/JQuery/.project      | 18 ++++++++++++++++++
 frameworks/projects/Mobile/.project      | 18 ++++++++++++++++++
 frameworks/projects/Network/.project     | 18 ++++++++++++++++++
 14 files changed, 252 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/Binding/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/.project b/frameworks/projects/Binding/.project
index 1525bae..27c35bc 100644
--- a/frameworks/projects/Binding/.project
+++ b/frameworks/projects/Binding/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>Binding</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/Charts/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/.project b/frameworks/projects/Charts/.project
index 7166875..6c26e1a 100644
--- a/frameworks/projects/Charts/.project
+++ b/frameworks/projects/Charts/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>Charts</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/Collections/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/.project b/frameworks/projects/Collections/.project
index 3dafe34..eebe7eb 100644
--- a/frameworks/projects/Collections/.project
+++ b/frameworks/projects/Collections/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>Collections</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/Core/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/.project b/frameworks/projects/Core/.project
index dbb3967..086f583 100644
--- a/frameworks/projects/Core/.project
+++ b/frameworks/projects/Core/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>Core</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/CreateJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/.project b/frameworks/projects/CreateJS/.project
index 231f48b..ee9629a 100644
--- a/frameworks/projects/CreateJS/.project
+++ b/frameworks/projects/CreateJS/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>CreateJS</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/DragDrop/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/.project b/frameworks/projects/DragDrop/.project
index d41230b..c4712e0 100644
--- a/frameworks/projects/DragDrop/.project
+++ b/frameworks/projects/DragDrop/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>DragDrop</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/Effects/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/.project b/frameworks/projects/Effects/.project
index 8032c7f..d98e8c9 100644
--- a/frameworks/projects/Effects/.project
+++ b/frameworks/projects/Effects/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>Effects</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/Formatters/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/.project b/frameworks/projects/Formatters/.project
index f4c5d3f..1556774 100644
--- a/frameworks/projects/Formatters/.project
+++ b/frameworks/projects/Formatters/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>Formatters</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/GoogleMaps/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/.project b/frameworks/projects/GoogleMaps/.project
index 74e200c..6ecc2ad 100644
--- a/frameworks/projects/GoogleMaps/.project
+++ b/frameworks/projects/GoogleMaps/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>GoogleMaps</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/Graphics/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/.project b/frameworks/projects/Graphics/.project
index 41824a4..61dd05a 100644
--- a/frameworks/projects/Graphics/.project
+++ b/frameworks/projects/Graphics/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>Graphics</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/HTML/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.project b/frameworks/projects/HTML/.project
index 60b61f8..e36f729 100644
--- a/frameworks/projects/HTML/.project
+++ b/frameworks/projects/HTML/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>HTML</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/JQuery/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/.project b/frameworks/projects/JQuery/.project
index fa926be..d50e0cd 100644
--- a/frameworks/projects/JQuery/.project
+++ b/frameworks/projects/JQuery/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>JQuery</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/Mobile/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/.project b/frameworks/projects/Mobile/.project
index bfc1489..22ec46d 100644
--- a/frameworks/projects/Mobile/.project
+++ b/frameworks/projects/Mobile/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>Mobile</name>
 	<comment></comment>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c4c03159/frameworks/projects/Network/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/.project b/frameworks/projects/Network/.project
index d036685..b9a0ef9 100644
--- a/frameworks/projects/Network/.project
+++ b/frameworks/projects/Network/.project
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
 <projectDescription>
 	<name>Network</name>
 	<comment></comment>


[26/50] git commit: [flex-asjs] [refs/heads/master] - Updated DataGrid and MobileTrader examples to use ArrayList as dataProvider to DataGrid components.

Posted by ah...@apache.org.
Updated DataGrid and MobileTrader examples to use ArrayList as dataProvider to DataGrid components.


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

Branch: refs/heads/master
Commit: 848f245dbb8730170193f2c2f7405cf74738d347
Parents: c472807
Author: Peter Ent <pe...@apache.org>
Authored: Wed Oct 7 15:58:13 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Oct 7 15:58:13 2015 -0400

----------------------------------------------------------------------
 .../DataGridExample/src/models/ProductsModel.as | 10 ++++--
 .../src/controller/AlertsViewController.as      |  5 +--
 .../src/controller/WatchListController.as       |  5 +--
 .../MobileTrader/src/models/AssetsModel.as      | 14 +++++++--
 .../MobileTrader/src/models/ProductsModel.as    | 32 +++++++++++---------
 .../MobileTrader/src/views/AlertsView.mxml      |  3 +-
 .../MobileTrader/src/views/AssetsView.mxml      |  4 +--
 .../MobileTrader/src/views/WatchListView.mxml   |  1 +
 8 files changed, 49 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/848f245d/examples/flexjs/DataGridExample/src/models/ProductsModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataGridExample/src/models/ProductsModel.as b/examples/flexjs/DataGridExample/src/models/ProductsModel.as
index e3a42a9..8eab2fe 100644
--- a/examples/flexjs/DataGridExample/src/models/ProductsModel.as
+++ b/examples/flexjs/DataGridExample/src/models/ProductsModel.as
@@ -19,6 +19,7 @@
 package models
 {
 	import org.apache.flex.events.EventDispatcher;
+	import org.apache.flex.collections.ArrayList;
 	
 	import products.Product;
 	
@@ -26,16 +27,21 @@ package models
 	{
 		public function ProductsModel()
 		{
+			_productList = new ArrayList();
+			_productList.source = source;
 		}
 
-		private var _productList:Array = [
+		private var source:Array = [
 			new Product("ps100","Widgets",44,200,"assets/smallbluerect.jpg"),
 			new Product("tx200","Thingys",5,285,"assets/smallgreenrect.jpg"),
 			new Product("rz300","Sprockets",80,105,"assets/smallyellowrect.jpg"),
 			new Product("dh440","Doohickies",10,340,"assets/smallredrect.jpg"),
 			new Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")
 			];
-		public function get productList():Array
+			
+		private var _productList:ArrayList;
+		
+		public function get productList():ArrayList
 		{
 			return _productList;
 		}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/848f245d/examples/flexjs/MobileTrader/src/controller/AlertsViewController.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/controller/AlertsViewController.as b/examples/flexjs/MobileTrader/src/controller/AlertsViewController.as
index 716264d..254cd18 100644
--- a/examples/flexjs/MobileTrader/src/controller/AlertsViewController.as
+++ b/examples/flexjs/MobileTrader/src/controller/AlertsViewController.as
@@ -28,6 +28,7 @@ package controller
 	import org.apache.flex.events.Event;
 	import org.apache.flex.events.EventDispatcher;
 	import org.apache.flex.utils.Timer;
+	import org.apache.flex.collections.ArrayList;
 	
 	import views.AlertsView;
 	
@@ -111,13 +112,13 @@ package controller
 		 */
 		protected function timerHandler(event:*):void
 		{
-			var alerts:Array = (model as ProductsModel).alerts;
+			var alerts:ArrayList = (model as ProductsModel).alerts;
 			
 			if (alerts.length == 0) return;
 			
 			for (var i:int=0; i < alerts.length; i++)
 			{
-				var alert:Alert = alerts[i] as Alert;
+				var alert:Alert = alerts.getItemAt(i) as Alert;
 				alert.message = "";
 				
 				if (alert.greaterThan) {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/848f245d/examples/flexjs/MobileTrader/src/controller/WatchListController.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/controller/WatchListController.as b/examples/flexjs/MobileTrader/src/controller/WatchListController.as
index 367b24f..5da5b70 100644
--- a/examples/flexjs/MobileTrader/src/controller/WatchListController.as
+++ b/examples/flexjs/MobileTrader/src/controller/WatchListController.as
@@ -27,6 +27,7 @@ package controller
 	import org.apache.flex.events.Event;
 	import org.apache.flex.events.EventDispatcher;
 	import org.apache.flex.utils.Timer;
+	import org.apache.flex.collections.ArrayList;
 	
 	import views.StockView;
 	import views.WatchListView;
@@ -121,13 +122,13 @@ package controller
 		 */
 		protected function timerHandler(event:*):void
 		{
-			var stockList:Array = (model as ProductsModel).watchList;
+			var stockList:ArrayList = (model as ProductsModel).watchList;
 			
 			if (stockList.length == 0) return;
 			
 			if (index >= stockList.length) index = 0;
 			
-			(model as ProductsModel).updateStockData(stockList[index] as Stock);
+			(model as ProductsModel).updateStockData(stockList.getItemAt(index) as Stock);
 			index++;
 			
 			var newEvent:Event = new Event("update");

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/848f245d/examples/flexjs/MobileTrader/src/models/AssetsModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/models/AssetsModel.as b/examples/flexjs/MobileTrader/src/models/AssetsModel.as
index 8824bc5..674adfe 100755
--- a/examples/flexjs/MobileTrader/src/models/AssetsModel.as
+++ b/examples/flexjs/MobileTrader/src/models/AssetsModel.as
@@ -21,24 +21,34 @@ package models
 	import org.apache.flex.core.IBeadModel;
 	import org.apache.flex.core.IStrand;
 	import org.apache.flex.events.EventDispatcher;
+	import org.apache.flex.collections.ArrayList;
 	
 	public class AssetsModel extends EventDispatcher implements IBeadModel
 	{
 		public function AssetsModel()
 		{
 			super();
+			_assetsData = new ArrayList();
+			_assetsData.source = source;
 		}
-		private var _assetsData:Array = [
+		private var source:Array = [
 			{label:"Net Worth:",    value:161984, netChange:-2.37},
 			{label:"Last Month:",   value:165915, netChange:10.98},
 			{label:"6 Months Ago:", value:145962, netChange:16.56},
 			{label:"Last Year:",    value:138972, netChange:8.36}
 		];
-		public function get assetsData():Array
+		private var _assetsData:ArrayList;
+		
+		public function get assetsData():ArrayList
 		{
 			return _assetsData;
 		}
 		
+		public function get assetsDataAsArray():Array
+		{
+		    return source;
+		}
+		
 		public function set strand(value:IStrand):void
 		{
 			// not used

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/848f245d/examples/flexjs/MobileTrader/src/models/ProductsModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/models/ProductsModel.as b/examples/flexjs/MobileTrader/src/models/ProductsModel.as
index 7fb7a22..b6f91ad 100755
--- a/examples/flexjs/MobileTrader/src/models/ProductsModel.as
+++ b/examples/flexjs/MobileTrader/src/models/ProductsModel.as
@@ -25,6 +25,7 @@ package models
 	import org.apache.flex.net.HTTPService;
 	import org.apache.flex.collections.parsers.JSONInputParser;
 	import org.apache.flex.collections.LazyCollection;
+	import org.apache.flex.collections.ArrayList;
 		
 	public class ProductsModel extends EventDispatcher implements IBeadModel
 	{
@@ -36,6 +37,9 @@ package models
 			collection = new LazyCollection;
 			collection.inputParser = new JSONInputParser();
 			collection.itemConverter = new StockDataJSONItemConverter();
+			
+			_watchList = new ArrayList();
+			_alerts = new ArrayList();
 		}
 		
 		private var service:HTTPService;
@@ -64,16 +68,16 @@ package models
 			return _labelFields;
 		}
 		
-		private var _watchList:Array = [];
+		private var _watchList:ArrayList;
 		
-		public function get watchList():Array
+		public function get watchList():ArrayList
 		{
 			return _watchList;
 		}
 		
-		private var _alerts:Array = [];
+		private var _alerts:ArrayList;
 		
-		public function get alerts():Array
+		public function get alerts():ArrayList
 		{
 			return _alerts;
 		}
@@ -82,14 +86,14 @@ package models
 		{
 			for (var i:int =0; i < _alerts.length; i++)
 			{
-				var alert:Alert = _alerts[i] as Alert;
+				var alert:Alert = _alerts.getItemAt(i) as Alert;
 				if (alert.symbol == value.symbol) {
-					_alerts[i] = value;
+				    _alerts.setItemAt(value, i);
 					return;
 				}
 			}
 			
-			_alerts.push(value);
+			_alerts.addItem(value);
 			dispatchEvent(new Event("alertsUpdate"));
 		}
 		
@@ -97,13 +101,13 @@ package models
 		{
 			for (var i:int=0; i < _watchList.length; i++)
 			{
-				var stock:Stock = _watchList[i];
+				var stock:Stock = _watchList.getItemAt(i) as Stock;
 				if (stock.symbol == symbol) return stock;
 			}
 			
 			stock = new Stock(symbol);
 			
-			_watchList.push(stock);
+			_watchList.addItem(stock);
 			dispatchEvent(new Event("update"));
 			
 			updateStockData(stock);
@@ -122,18 +126,18 @@ package models
 		{
 			for (var i:int=0; i < alerts.length; i++)
 			{
-				var alert:Alert = alerts[i] as Alert;
+				var alert:Alert = alerts.getItemAt(i) as Alert;
 				if (stock.symbol == alert.symbol) {
-					alerts.splice(i,1);
+					alerts.removeItemAt(i);
 					break;
 				}
 			}
 			
 			for (i=0; i < _watchList.length; i++)
 			{
-				var s:Stock = _watchList[i] as Stock;
+				var s:Stock = _watchList.getItemAt(i) as Stock;
 				if (stock.symbol == s.symbol) {
-					_watchList.splice(i,1);
+					_watchList.removeItemAt(i);
 					break;
 				}
 			}
@@ -149,7 +153,7 @@ package models
 			var sym:String = responseData["Symbol"];
 			for (var i:int=0; i < _watchList.length; i++)
 			{
-				var stock:Stock = _watchList[i];
+				var stock:Stock = _watchList.getItemAt(i) as Stock;
 				if (stock.symbol == sym) {
 					stock.updateFromData(responseData);
 					break;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/848f245d/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/views/AlertsView.mxml b/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
index 2c112df..96c9b86 100755
--- a/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
+++ b/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
@@ -48,6 +48,7 @@ limitations under the License.
 			private function onAlertSet():void
 			{
 				dispatchEvent(new org.apache.flex.events.Event("alertSet"));
+				dataGrid.model.dispatchEvent(new org.apache.flex.events.Event("dataProviderChanged"));
 			}
 		]]>
 	</fx:Script>
@@ -64,7 +65,7 @@ limitations under the License.
 		<js:TextButton text="Set" click="onAlertSet()" />
 	</js:Container>
 	
-	<js:DataGrid x="0" y="40" width="100%" height="200">
+	<js:DataGrid id="dataGrid" x="0" y="40" width="100%" height="200">
 		<js:beads>
 			<js:SimpleBinding
 				eventName="alertsUpdate"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/848f245d/examples/flexjs/MobileTrader/src/views/AssetsView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/views/AssetsView.mxml b/examples/flexjs/MobileTrader/src/views/AssetsView.mxml
index 98e57e5..c71e257 100755
--- a/examples/flexjs/MobileTrader/src/views/AssetsView.mxml
+++ b/examples/flexjs/MobileTrader/src/views/AssetsView.mxml
@@ -43,7 +43,7 @@ limitations under the License.
 
 	<js:Label text="Summary" height="10%" />
 	
-	<js:DataGrid height="40%" width="100%">
+	<js:DataGrid height="150" width="100%">
 		<js:style>
 			<js:SimpleCSSStyles top="0" left="0" right="0" />
 		</js:style>
@@ -66,7 +66,7 @@ limitations under the License.
 		<js:beads>
 			<js:ConstantBinding
 				sourceID="model"
-				sourcePropertyName="assetsData"
+				sourcePropertyName="assetsDataAsArray"
 				destinationPropertyName="dataProvider" />
 			<js:VerticalCategoryAxisBead categoryField="label" />
 			<js:HorizontalLinearAxisBead valueField="netChange" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/848f245d/examples/flexjs/MobileTrader/src/views/WatchListView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/views/WatchListView.mxml b/examples/flexjs/MobileTrader/src/views/WatchListView.mxml
index 8591aec..ec70e59 100755
--- a/examples/flexjs/MobileTrader/src/views/WatchListView.mxml
+++ b/examples/flexjs/MobileTrader/src/views/WatchListView.mxml
@@ -60,6 +60,7 @@ limitations under the License.
 			private function addSymbol():void
 			{
 				dispatchEvent(new org.apache.flex.events.Event("addSymbol"));
+				dataGrid.model.dispatchEvent(new org.apache.flex.events.Event("dataProviderChanged"));
 			}
 			
 			public var selectedStockIndex:Number;


[34/50] git commit: [flex-asjs] [refs/heads/master] - don't check FLEX_HOME unless doing release packaging

Posted by ah...@apache.org.
don't check FLEX_HOME unless doing release packaging


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

Branch: refs/heads/master
Commit: 7c149ed9e0bd0d590ffcdf558528eccca035803b
Parents: 8b968ec
Author: Alex Harui <ah...@apache.org>
Authored: Tue Oct 13 12:32:24 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Oct 13 12:33:19 2015 -0700

----------------------------------------------------------------------
 build.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7c149ed9/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index c6b6c4a..f5a58b7 100644
--- a/build.xml
+++ b/build.xml
@@ -184,7 +184,7 @@
     <target name="prebuild" depends="check-compile-env,thirdparty-downloads,create-description,create-config"
         description="Stuff that needs to be done before any builds." unless="airsdk.found"/>
 
-    <target name="check-compile-env" depends="check-playerglobal-home,check-air-home,check-flex-home,check-falcon-home,check-falconjx-home" unless="airsdk.found"
+    <target name="check-compile-env" depends="check-playerglobal-home,check-air-home,check-falcon-home,check-falconjx-home" unless="airsdk.found"
         description="Check for the required environment variables for compilation.">
             <echo>OS: ${os.name} / ${os.version} / ${os.arch}</echo>
             <echo>VM: ${java.vm.name} / ${java.vm.version}</echo>
@@ -524,7 +524,7 @@
         <antcall target="stage-scripts"/>
     </target>
         
-    <target name="stage-source-no-scripts" >
+    <target name="stage-source-no-scripts" depends="check-flex-home" >
         <antcall target="clean-temp"/>
         
         <copy todir="${basedir}/temp" includeEmptyDirs="false">
@@ -1268,7 +1268,7 @@
         <taskdef resource="flexTasks.tasks" classpath="${FALCON_HOME}/lib/falcon-flexTasks.jar"/>
     </target>
 
-    <target name="basictests" depends="load-task" description="run basic tests using mustella">
+    <target name="basictests" depends="check-flex-home,load-task" description="run basic tests using mustella">
 
         <property name="FLEX_HOME" value="${basedir}" />
         <mxmlc fork="true" debug="true"


[41/50] git commit: [flex-asjs] [refs/heads/master] - Stop DataGridView from resizing if the size of the strand is 0x0.

Posted by ah...@apache.org.
Stop DataGridView from resizing if the size of the strand is 0x0.


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

Branch: refs/heads/master
Commit: 866d5e44f5d5fa4e125af922dd2edcd5ce25f386
Parents: 820ae80
Author: Peter Ent <pe...@apache.org>
Authored: Wed Oct 21 15:41:36 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Oct 21 15:41:36 2015 -0400

----------------------------------------------------------------------
 .../src/org/apache/flex/html/beads/DataGridView.as | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/866d5e44/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
index 7f220e9..e06f569 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
@@ -166,15 +166,26 @@ package org.apache.flex.html.beads
 		 */
 		private function handleSizeChanges(event:Event):void
 		{
+			var useWidth:Number = _listArea.width;
+			var useHeight:Number = _listArea.height;
+			
+			if (host.width > 0) {
+				useWidth = host.width;
+			}
+			
 			_header.x = 0;
 			_header.y = 0;
-			_header.width = host.width;
+			_header.width = useWidth;
 			_header.height = 25;
 			
+			if (host.height > 0) {
+				useHeight = host.height - _header.height;
+			}
+			
 			_listArea.x = 0;
 			_listArea.y = 26;
-			_listArea.width = host.width;
-			_listArea.height = host.height - _header.height;
+			_listArea.width = useWidth;
+			_listArea.height = useHeight;
 			
 			var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as IDataGridModel;
 			


[15/50] git commit: [flex-asjs] [refs/heads/master] - Change the template to hold the required variables, not those copied from the Flex SDK

Posted by ah...@apache.org.
Change the template to hold the required variables, not those copied from the Flex SDK

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


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

Branch: refs/heads/master
Commit: 28c5972bb5e1f2443f518d20ab8972a3a461d046
Parents: 0bbba3e
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Sun Sep 27 17:28:07 2015 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Sep 27 17:28:07 2015 +0200

----------------------------------------------------------------------
 env-template.properties | 71 +++++++++++++++++++-------------------------
 1 file changed, 31 insertions(+), 40 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/28c5972b/env-template.properties
----------------------------------------------------------------------
diff --git a/env-template.properties b/env-template.properties
index d1465ca..312098e 100644
--- a/env-template.properties
+++ b/env-template.properties
@@ -23,10 +23,13 @@
 # For each of
 #
 #   AIR_HOME
+#   FALCON_HOME
+#   FALCONJX_HOME
 #   FLASHPLAYER_DEBUGGER
+#   FLEX_HOME
+#   FLEXUNIT_HOME
+#   GOOG_HOME
 #   PLAYERGLOBAL_HOME
-#   PIXELBENDER_HOME
-#   ADOBE_EXTENSION_MANAGER
 #
 # you need to set an environment variable with that name or set the property here
 # prefixed with "env.".  If a property is set in this file, and the corresponding 
@@ -51,12 +54,38 @@
 #env.AIR_HOME=
 
 #
+# Set this to the root of its SDK: <repo-path>/compiler/generated/dist/sdk
+#
+#env.FALCON_HOME=
+
+#
+# Set this to the root of its SDK: <repo-path>/compiler.jx
+#
+#env.FALCONJX_HOME=
+
+#
 # Set this to absolute path that contains the Adobe Flash Player content debugger
 # for your platform.  
 #
 #env.FLASHPLAYER_DEBUGGER=
 
 #
+# Set this to absolute path of an SDK or repo.  
+#
+#env.FLEX_HOME=
+
+#
+# Set this to the root of a FlexUnit release or repo
+#
+#env.FLEXUNIT_HOME=
+
+#
+# Set GOOG_HOME to the absolute path of the folder that contains the third_party
+# and closure sub-folders.  
+#
+#env.GOOG_HOME=
+
+#
 # PLAYERGLOBAL_HOME is a directory which contains one or more subdirectories.
 # The name of each subdirectory corresponds to a supported target player version and
 # in each of the subdirectories is the playerglobal.swc that corresponds to that target 
@@ -70,41 +99,3 @@
 #               playerglobal.swc (file)
 #
 #env.PLAYERGLOBAL_HOME=
-
-#
-# Set this to the directory that contains the Adobe Pixel Bender Toolkit
-# for your platform.
-#
-# On Windows (32-bit), if installed to the default location, the setting would be
-#   env.PIXELBENDER_HOME=C:\\Program Files\\Adobe\\Adobe Utilities - CS5\\Pixel Bender Toolkit 2
-#
-# or on a 64-bit version of Windows
-#	env.PIXELBENDER_HOME=C:\\Program Files (x86)\\Adobe\\Adobe Utilities - CS5\\Pixel Bender Toolkit 2
-#
-# Note: the folder "Program Files" (or "Program Files (x86)") might have a different name
-# depending on the language of your Windows installation.
-#
-# On Mac, if installed to the default location, the setting would be
-#   env.PIXELBENDER_HOME=/Applications/Utilities/Adobe Utilities-CS5.localized/Pixel Bender Toolkit 2/
-#
-#env.PIXELBENDER_HOME=
-
-#
-# Set this to the file that contains the Adobe Extension Manager CS5
-# for your platform.  This is optional and is only required for those
-# who need flash integration in order to build the MXP for the flash integration kit.
-#
-# On Windows (32-bit), if installed to the default location, the setting would be
-#   env.ADOBE_EXTENSION_MANAGER=C:\\Program Files\\Adobe\\Adobe Extension Manager CS5\\Adobe Extension Manager CS5.exe
-#
-# or on a 64-bit version of Windows
-#   env.ADOBE_EXTENSION_MANAGER=C:\\Program Files (x86)\\Adobe\\Adobe Extension Manager CS5\\Adobe Extension Manager CS5.exe
-#
-# Note: the folder "Program Files" (or "Program Files (x86)") might have a different name
-# depending on the language of your Windows installation.
-#
-# On Mac, if installed to the default location, the setting would be
-#   env.ADOBE_EXTENSION_MANAGER=/Applications/Adobe Extension Manager CS5/Adobe Extension Manager CS5.app/Contents/MacOS/Adobe Extension Manager CS5
-#
-#env.ADOBE_EXTENSION_MANAGER=
-


[14/50] git commit: [flex-asjs] [refs/heads/master] - rename jsc scripts to asjsc

Posted by ah...@apache.org.
rename jsc scripts to asjsc


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

Branch: refs/heads/master
Commit: 0bbba3e58553b463e35608330ec42501d4157b17
Parents: 33016bb
Author: Alex Harui <ah...@apache.org>
Authored: Sat Sep 26 23:07:26 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Sep 26 23:07:26 2015 -0700

----------------------------------------------------------------------
 .../projects/Binding/compile-asjs-config.xml    |  2 +-
 .../projects/Charts/compile-asjs-config.xml     |  2 +-
 .../Collections/compile-asjs-config.xml         |  2 +-
 .../projects/Core/compile-asjs-config.xml       |  2 +-
 .../projects/DragDrop/compile-asjs-config.xml   |  2 +-
 .../projects/Effects/compile-asjs-config.xml    |  2 +-
 .../projects/Formatters/compile-asjs-config.xml |  2 +-
 .../projects/HTML/compile-asjs-config.xml       |  2 +-
 .../projects/Mobile/compile-asjs-config.xml     |  2 +-
 installer.xml                                   |  4 +-
 js/bin/asjsc                                    | 70 ++++++++++++++++++++
 js/bin/asjsc.bat                                | 29 ++++++++
 js/bin/asjscompc                                | 70 ++++++++++++++++++++
 js/bin/asjscompc.bat                            | 29 ++++++++
 js/bin/compcjsc                                 | 70 --------------------
 js/bin/compcjsc.bat                             | 29 --------
 js/bin/jsc                                      | 70 --------------------
 js/bin/jsc.bat                                  | 29 --------
 18 files changed, 209 insertions(+), 209 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Binding/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/compile-asjs-config.xml b/frameworks/projects/Binding/compile-asjs-config.xml
index c7bd631..8a0395b 100644
--- a/frameworks/projects/Binding/compile-asjs-config.xml
+++ b/frameworks/projects/Binding/compile-asjs-config.xml
@@ -43,7 +43,7 @@
         <locale/>
         
         <library-path>
-            <!-- compjsc won't 'link' these classes in, but will list their requires
+            <!-- asjscompc won't 'link' these classes in, but will list their requires
              if these swcs are on the external-library-path then their requires
              will not be listed -->
             <path-element>../../libs/Core.swc</path-element>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Charts/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/compile-asjs-config.xml b/frameworks/projects/Charts/compile-asjs-config.xml
index b63a50c..19ab3bd 100644
--- a/frameworks/projects/Charts/compile-asjs-config.xml
+++ b/frameworks/projects/Charts/compile-asjs-config.xml
@@ -43,7 +43,7 @@
         <locale/>
         
         <library-path>
-            <!-- compjsc won't 'link' these classes in, but will list their requires
+            <!-- asjscompc won't 'link' these classes in, but will list their requires
              if these swcs are on the external-library-path then their requires
              will not be listed -->
             <path-element>../../libs/Core.swc</path-element>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Collections/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/compile-asjs-config.xml b/frameworks/projects/Collections/compile-asjs-config.xml
index 57fd3af..48d7dc0 100644
--- a/frameworks/projects/Collections/compile-asjs-config.xml
+++ b/frameworks/projects/Collections/compile-asjs-config.xml
@@ -43,7 +43,7 @@
         <locale/>
         
         <library-path>
-            <!-- compjsc won't 'link' these classes in, but will list their requires
+            <!-- asjscompc won't 'link' these classes in, but will list their requires
              if these swcs are on the external-library-path then their requires
              will not be listed -->
             <path-element>../../libs/Core.swc</path-element>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Core/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/compile-asjs-config.xml b/frameworks/projects/Core/compile-asjs-config.xml
index 9b093c0..a37a163 100644
--- a/frameworks/projects/Core/compile-asjs-config.xml
+++ b/frameworks/projects/Core/compile-asjs-config.xml
@@ -43,7 +43,7 @@
         <locale/>
         
         <library-path>
-            <!-- compjsc won't 'link' these classes in, but will list their requires
+            <!-- asjscompc won't 'link' these classes in, but will list their requires
              if these swcs are on the external-library-path then their requires
              will not be listed -->
             <path-element>../../libs/Core.swc</path-element>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/DragDrop/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/compile-asjs-config.xml b/frameworks/projects/DragDrop/compile-asjs-config.xml
index 6b632d4..3fcabd6 100644
--- a/frameworks/projects/DragDrop/compile-asjs-config.xml
+++ b/frameworks/projects/DragDrop/compile-asjs-config.xml
@@ -43,7 +43,7 @@
         <locale/>
         
         <library-path>
-            <!-- compjsc won't 'link' these classes in, but will list their requires
+            <!-- asjscompc won't 'link' these classes in, but will list their requires
              if these swcs are on the external-library-path then their requires
              will not be listed -->
             <path-element>../../libs/Core.swc</path-element>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Effects/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/compile-asjs-config.xml b/frameworks/projects/Effects/compile-asjs-config.xml
index 8fd6a6c..1131fa7 100644
--- a/frameworks/projects/Effects/compile-asjs-config.xml
+++ b/frameworks/projects/Effects/compile-asjs-config.xml
@@ -43,7 +43,7 @@
         <locale/>
         
         <library-path>
-            <!-- compjsc won't 'link' these classes in, but will list their requires
+            <!-- asjscompc won't 'link' these classes in, but will list their requires
              if these swcs are on the external-library-path then their requires
              will not be listed -->
             <path-element>../../libs/Core.swc</path-element>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Formatters/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/compile-asjs-config.xml b/frameworks/projects/Formatters/compile-asjs-config.xml
index 8f8c841..d688c63 100644
--- a/frameworks/projects/Formatters/compile-asjs-config.xml
+++ b/frameworks/projects/Formatters/compile-asjs-config.xml
@@ -43,7 +43,7 @@
         <locale/>
         
         <library-path>
-            <!-- compjsc won't 'link' these classes in, but will list their requires
+            <!-- asjscompc won't 'link' these classes in, but will list their requires
              if these swcs are on the external-library-path then their requires
              will not be listed -->
             <path-element>../../libs/Core.swc</path-element>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/HTML/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/compile-asjs-config.xml b/frameworks/projects/HTML/compile-asjs-config.xml
index 93560c6..c0379f3 100644
--- a/frameworks/projects/HTML/compile-asjs-config.xml
+++ b/frameworks/projects/HTML/compile-asjs-config.xml
@@ -43,7 +43,7 @@
         <locale/>
         
         <library-path>
-            <!-- compjsc won't 'link' these classes in, but will list their requires
+            <!-- asjscompc won't 'link' these classes in, but will list their requires
                  if these swcs are on the external-library-path then their requires
                  will not be listed -->
             <path-element>../../libs/Binding.swc</path-element>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Mobile/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/compile-asjs-config.xml b/frameworks/projects/Mobile/compile-asjs-config.xml
index 9a885c8..043394b 100644
--- a/frameworks/projects/Mobile/compile-asjs-config.xml
+++ b/frameworks/projects/Mobile/compile-asjs-config.xml
@@ -43,7 +43,7 @@
         <locale/>
         
         <library-path>
-            <!-- compjsc won't 'link' these classes in, but will list their requires
+            <!-- asjscompc won't 'link' these classes in, but will list their requires
              if these swcs are on the external-library-path then their requires
              will not be listed -->
             <path-element>../../libs/Core.swc</path-element>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index bd0427c..0906ced 100644
--- a/installer.xml
+++ b/installer.xml
@@ -321,11 +321,11 @@
         </exec>
         <exec executable="chmod" dir="${FLEXJS_HOME}">
             <arg value="+x" />
-            <arg value="${FLEXJS_HOME}/js/bin/jsc"/>
+            <arg value="${FLEXJS_HOME}/js/bin/asjsc"/>
         </exec>
         <exec executable="chmod" dir="${FLEXJS_HOME}">
             <arg value="+x" />
-            <arg value="${FLEXJS_HOME}/js/bin/compcjsc"/>
+            <arg value="${FLEXJS_HOME}/js/bin/asjscompc"/>
         </exec>
         <exec executable="chmod" dir="${FLEXJS_HOME}">
             <arg value="+x" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/asjsc
----------------------------------------------------------------------
diff --git a/js/bin/asjsc b/js/bin/asjsc
new file mode 100755
index 0000000..3270f31
--- /dev/null
+++ b/js/bin/asjsc
@@ -0,0 +1,70 @@
+#!/bin/sh
+
+################################################################################
+##
+##  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.
+##
+################################################################################
+
+
+#
+# mxmlc shell script to launch falcon-mxmlc.jar on OSX, Unix, or Cygwin.
+# In Windows Command Prompt, use mxmlc.bat instead.
+#
+
+SCRIPT_HOME=`dirname $0`
+if [ "x${FALCON_HOME}" = "x" ]
+then
+    FALCON_HOME=${SCRIPT_HOME}/../..
+fi
+
+echo Using Falcon codebase: $FALCON_HOME
+
+if [ "x${FLEX_HOME}" = "x" ]
+then
+    FLEX_HOME=${SCRIPT_HOME}/../..
+fi
+echo Using Flex SDK: $FLEX_HOME
+
+case `uname` in
+		CYGWIN*)
+			OS="Windows"
+		;;
+		*)
+			OS=Unix
+esac
+
+D32=''
+
+if [ $OS = "Windows" ]; then
+
+	FALCON_HOME=`cygpath -m $FALCON_HOME`
+	FLEX_HOME=`cygpath -m $FLEX_HOME`
+
+elif [ $OS = "Unix" ]; then
+
+    check64="`java -version 2>&1 | grep -i 64-Bit`"
+    isOSX="`uname | grep -i Darwin`"
+    javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+    
+    if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+        D32='-d32'
+    fi	
+fi
+
+VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
+
+java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" "$@"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/asjsc.bat
----------------------------------------------------------------------
diff --git a/js/bin/asjsc.bat b/js/bin/asjsc.bat
new file mode 100644
index 0000000..0df6851
--- /dev/null
+++ b/js/bin/asjsc.bat
@@ -0,0 +1,29 @@
+@echo off
+
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+rem
+rem mxmlc.bat script to launch falcon-mxmlc.jar in Windows Command Prompt.
+rem On OSX, Unix, or Cygwin, use the mxmlc shell script instead.
+rem
+
+if "x%FALCON_HOME%"=="x"  (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon codebase: %FALCON_HOME%
+
+if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
+
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" %*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/asjscompc
----------------------------------------------------------------------
diff --git a/js/bin/asjscompc b/js/bin/asjscompc
new file mode 100755
index 0000000..7fd0cb0
--- /dev/null
+++ b/js/bin/asjscompc
@@ -0,0 +1,70 @@
+#!/bin/sh
+
+################################################################################
+##
+##  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.
+##
+################################################################################
+
+
+#
+# mxmlc shell script to launch falcon-mxmlc.jar on OSX, Unix, or Cygwin.
+# In Windows Command Prompt, use mxmlc.bat instead.
+#
+
+if [ "x${FALCON_HOME}" = "x" ]
+then
+    SCRIPT_HOME=`dirname $0`
+    FALCON_HOME=${SCRIPT_HOME}/../..
+fi
+
+echo Using Falcon codebase: $FALCON_HOME
+
+if [ "x${FLEX_HOME}" = "x" ]
+then
+    FLEX_HOME=${SCRIPT_HOME}/../..
+fi
+echo Using Flex SDK: $FLEX_HOME
+
+case `uname` in
+		CYGWIN*)
+			OS="Windows"
+		;;
+		*)
+			OS=Unix
+esac
+
+D32=''
+
+if [ $OS = "Windows" ]; then
+
+	FALCON_HOME=`cygpath -m $FALCON_HOME`
+	FLEX_HOME=`cygpath -m $FLEX_HOME`
+
+elif [ $OS = "Unix" ]; then
+
+    check64="`java -version 2>&1 | grep -i 64-Bit`"
+    isOSX="`uname | grep -i Darwin`"
+    javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
+    
+    if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
+        D32='-d32'
+    fi	
+fi
+
+VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
+
+java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" "$@"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/asjscompc.bat
----------------------------------------------------------------------
diff --git a/js/bin/asjscompc.bat b/js/bin/asjscompc.bat
new file mode 100644
index 0000000..a9ea897
--- /dev/null
+++ b/js/bin/asjscompc.bat
@@ -0,0 +1,29 @@
+@echo off
+
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+rem
+rem compc.bat script to launch falcon-compc.jar in Windows Command Prompt.
+rem On OSX, Unix, or Cygwin, use the compc shell script instead.
+rem
+
+if "x%FALCON_HOME%"=="x"  (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon codebase: %FALCON_HOME%
+
+if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
+
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\compc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" %*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/compcjsc
----------------------------------------------------------------------
diff --git a/js/bin/compcjsc b/js/bin/compcjsc
deleted file mode 100755
index 7fd0cb0..0000000
--- a/js/bin/compcjsc
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-##  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.
-##
-################################################################################
-
-
-#
-# mxmlc shell script to launch falcon-mxmlc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use mxmlc.bat instead.
-#
-
-if [ "x${FALCON_HOME}" = "x" ]
-then
-    SCRIPT_HOME=`dirname $0`
-    FALCON_HOME=${SCRIPT_HOME}/../..
-fi
-
-echo Using Falcon codebase: $FALCON_HOME
-
-if [ "x${FLEX_HOME}" = "x" ]
-then
-    FLEX_HOME=${SCRIPT_HOME}/../..
-fi
-echo Using Flex SDK: $FLEX_HOME
-
-case `uname` in
-		CYGWIN*)
-			OS="Windows"
-		;;
-		*)
-			OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
-	FALCON_HOME=`cygpath -m $FALCON_HOME`
-	FLEX_HOME=`cygpath -m $FLEX_HOME`
-
-elif [ $OS = "Unix" ]; then
-
-    check64="`java -version 2>&1 | grep -i 64-Bit`"
-    isOSX="`uname | grep -i Darwin`"
-    javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-    
-    if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
-        D32='-d32'
-    fi	
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" "$@"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/compcjsc.bat
----------------------------------------------------------------------
diff --git a/js/bin/compcjsc.bat b/js/bin/compcjsc.bat
deleted file mode 100644
index a9ea897..0000000
--- a/js/bin/compcjsc.bat
+++ /dev/null
@@ -1,29 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements.  See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License.  You may obtain a copy of the License at
-rem
-rem     http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem compc.bat script to launch falcon-compc.jar in Windows Command Prompt.
-rem On OSX, Unix, or Cygwin, use the compc shell script instead.
-rem
-
-if "x%FALCON_HOME%"=="x"  (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon codebase: %FALCON_HOME%
-
-if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
-
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\compc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" %*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/jsc
----------------------------------------------------------------------
diff --git a/js/bin/jsc b/js/bin/jsc
deleted file mode 100755
index 3270f31..0000000
--- a/js/bin/jsc
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-##  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.
-##
-################################################################################
-
-
-#
-# mxmlc shell script to launch falcon-mxmlc.jar on OSX, Unix, or Cygwin.
-# In Windows Command Prompt, use mxmlc.bat instead.
-#
-
-SCRIPT_HOME=`dirname $0`
-if [ "x${FALCON_HOME}" = "x" ]
-then
-    FALCON_HOME=${SCRIPT_HOME}/../..
-fi
-
-echo Using Falcon codebase: $FALCON_HOME
-
-if [ "x${FLEX_HOME}" = "x" ]
-then
-    FLEX_HOME=${SCRIPT_HOME}/../..
-fi
-echo Using Flex SDK: $FLEX_HOME
-
-case `uname` in
-		CYGWIN*)
-			OS="Windows"
-		;;
-		*)
-			OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Windows" ]; then
-
-	FALCON_HOME=`cygpath -m $FALCON_HOME`
-	FLEX_HOME=`cygpath -m $FLEX_HOME`
-
-elif [ $OS = "Unix" ]; then
-
-    check64="`java -version 2>&1 | grep -i 64-Bit`"
-    isOSX="`uname | grep -i Darwin`"
-    javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-    
-    if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
-        D32='-d32'
-    fi	
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
-
-java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" "$@"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/jsc.bat
----------------------------------------------------------------------
diff --git a/js/bin/jsc.bat b/js/bin/jsc.bat
deleted file mode 100644
index 0df6851..0000000
--- a/js/bin/jsc.bat
+++ /dev/null
@@ -1,29 +0,0 @@
-@echo off
-
-rem
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements.  See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License.  You may obtain a copy of the License at
-rem
-rem     http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-rem
-
-rem
-rem mxmlc.bat script to launch falcon-mxmlc.jar in Windows Command Prompt.
-rem On OSX, Unix, or Cygwin, use the mxmlc shell script instead.
-rem
-
-if "x%FALCON_HOME%"=="x"  (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon codebase: %FALCON_HOME%
-
-if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
-
-@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" %*
\ No newline at end of file


[08/50] git commit: [flex-asjs] [refs/heads/master] - - Streamlined the maven configuration (Moved the identical configuration parts to the parent pom)

Posted by ah...@apache.org.
- Streamlined the maven configuration (Moved the identical configuration parts to the parent pom)


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

Branch: refs/heads/master
Commit: 996daefe1b89b418d2fd83906e2ddcf3c3b44d37
Parents: 40c4c14
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Tue Sep 22 23:19:08 2015 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Tue Sep 22 23:19:08 2015 +0200

----------------------------------------------------------------------
 examples/flexjs/ChartExample/pom.xml            | 24 ----------
 examples/flexjs/CordovaCameraExample/pom.xml    | 24 ----------
 examples/flexjs/DataBindingExample/pom.xml      | 24 ----------
 examples/flexjs/DataBindingExample_Flat/pom.xml | 24 ----------
 examples/flexjs/DataBindingExample_as/pom.xml   | 24 ----------
 examples/flexjs/DataGridExample/pom.xml         | 24 ----------
 examples/flexjs/DesktopMap/pom.xml              | 24 ----------
 examples/flexjs/FlexJSStore/pom.xml             | 24 ----------
 examples/flexjs/FlexJSStore_jquery/pom.xml      | 24 ----------
 examples/flexjs/FlexWebsiteStatsViewer/pom.xml  | 24 ----------
 examples/flexjs/MapSearch/pom.xml               | 24 ----------
 examples/flexjs/MobileTrader/pom.xml            | 24 ----------
 examples/flexjs/TodoListSampleApp/pom.xml       | 24 ----------
 examples/flexjs/pom.xml                         | 49 ++++++++++++++++++--
 14 files changed, 44 insertions(+), 317 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/ChartExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ChartExample/pom.xml b/examples/flexjs/ChartExample/pom.xml
index 4bdc4c2..7a44be8 100644
--- a/examples/flexjs/ChartExample/pom.xml
+++ b/examples/flexjs/ChartExample/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>ChartExample.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/CordovaCameraExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/pom.xml b/examples/flexjs/CordovaCameraExample/pom.xml
index cd96b8d..8252b32 100644
--- a/examples/flexjs/CordovaCameraExample/pom.xml
+++ b/examples/flexjs/CordovaCameraExample/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>CordovaCameraExample.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/DataBindingExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample/pom.xml b/examples/flexjs/DataBindingExample/pom.xml
index 785043f..286e2ae 100644
--- a/examples/flexjs/DataBindingExample/pom.xml
+++ b/examples/flexjs/DataBindingExample/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>DataBindingExample.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/DataBindingExample_Flat/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_Flat/pom.xml b/examples/flexjs/DataBindingExample_Flat/pom.xml
index 29888a6..4132933 100644
--- a/examples/flexjs/DataBindingExample_Flat/pom.xml
+++ b/examples/flexjs/DataBindingExample_Flat/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>DataBindingExample.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/DataBindingExample_as/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_as/pom.xml b/examples/flexjs/DataBindingExample_as/pom.xml
index 357b169..1b19654 100644
--- a/examples/flexjs/DataBindingExample_as/pom.xml
+++ b/examples/flexjs/DataBindingExample_as/pom.xml
@@ -42,8 +42,6 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>DataBindingExample.as</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                     <defines>
                         <property>
                             <name>CONFIG::as_only</name>
@@ -55,30 +53,8 @@
                         </property>
                     </defines>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/DataGridExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataGridExample/pom.xml b/examples/flexjs/DataGridExample/pom.xml
index d534c23..2c221a3 100644
--- a/examples/flexjs/DataGridExample/pom.xml
+++ b/examples/flexjs/DataGridExample/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>DataGridExample.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/DesktopMap/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DesktopMap/pom.xml b/examples/flexjs/DesktopMap/pom.xml
index cb9cd7c..e43ce23 100644
--- a/examples/flexjs/DesktopMap/pom.xml
+++ b/examples/flexjs/DesktopMap/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>DesktopMap.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/FlexJSStore/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/pom.xml b/examples/flexjs/FlexJSStore/pom.xml
index 1f63742..def30f6 100644
--- a/examples/flexjs/FlexJSStore/pom.xml
+++ b/examples/flexjs/FlexJSStore/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>FlexJSStore.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/FlexJSStore_jquery/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/pom.xml b/examples/flexjs/FlexJSStore_jquery/pom.xml
index f72ddc9..4cbea24 100644
--- a/examples/flexjs/FlexJSStore_jquery/pom.xml
+++ b/examples/flexjs/FlexJSStore_jquery/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>FlexJSStore.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml b/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
index 02414b8..b023de7 100644
--- a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
+++ b/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>FlexWebsiteStatsViewer.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/MapSearch/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MapSearch/pom.xml b/examples/flexjs/MapSearch/pom.xml
index c449848..7624a65 100644
--- a/examples/flexjs/MapSearch/pom.xml
+++ b/examples/flexjs/MapSearch/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>MapSearch.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/MobileTrader/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/pom.xml b/examples/flexjs/MobileTrader/pom.xml
index 26aee5d..9c867a0 100644
--- a/examples/flexjs/MobileTrader/pom.xml
+++ b/examples/flexjs/MobileTrader/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>MobileTrader.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/TodoListSampleApp/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TodoListSampleApp/pom.xml b/examples/flexjs/TodoListSampleApp/pom.xml
index 2aac2a8..473d363 100644
--- a/examples/flexjs/TodoListSampleApp/pom.xml
+++ b/examples/flexjs/TodoListSampleApp/pom.xml
@@ -42,33 +42,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <sourceFile>TodoListSampleApp.mxml</sourceFile>
-                    <compilerName>${flexmojos-compiler-name}</compilerName>
-                    <debug>true</debug>
                 </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.flex.compiler</groupId>
-                        <artifactId>falcon-jx-compiler</artifactId>
-                        <version>0.5.0-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flex.flexjs</groupId>
-            <artifactId>framework</artifactId>
-            <version>0.5.0-SNAPSHOT</version>
-            <type>pom</type>
-        </dependency>
-        <dependency>
-            <groupId>com.adobe.flash.framework</groupId>
-            <artifactId>playerglobal</artifactId>
-            <version>18.0</version>
-            <type>swc</type>
-        </dependency>
-    </dependencies>
-
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/pom.xml b/examples/flexjs/pom.xml
index 8069bbb..77bb498 100644
--- a/examples/flexjs/pom.xml
+++ b/examples/flexjs/pom.xml
@@ -34,16 +34,11 @@
         <!--flexmojos-compiler-name>FlexJS</flexmojos-compiler-name-->
     </properties>
 
-
     <modules>
         <module>ChartExample</module>
         <module>CordovaCameraExample</module>
         <module>DataBindingExample</module>
         <module>DataBindingExample_as</module>
-        <!--
-            This tag could not be resolved to an ActionScript class. It will be ignored.
-            <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
-        -->
         <module>DataBindingExample_Flat</module>
         <module>DataGridExample</module>
         <module>DesktopMap</module>
@@ -65,6 +60,50 @@
         <module>TodoListSampleApp</module>
     </modules>
 
+    <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>net.flexmojos.oss</groupId>
+                    <artifactId>flexmojos-maven-plugin</artifactId>
+                    <version>7.1.0-SNAPSHOT</version>
+                    <extensions>true</extensions>
+                    <configuration>
+                        <compilerName>${flexmojos-compiler-name}</compilerName>
+                        <debug>true</debug>
+                        <defines>
+                            <property>
+                                <name>CONFIG::theme</name>
+                                <value>false</value>
+                            </property>
+                        </defines>
+                    </configuration>
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.flex.compiler</groupId>
+                            <artifactId>falcon-jx-compiler</artifactId>
+                            <version>0.5.0-SNAPSHOT</version>
+                        </dependency>
+                    </dependencies>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.flex.flexjs</groupId>
+            <artifactId>framework</artifactId>
+            <version>0.5.0-SNAPSHOT</version>
+            <type>pom</type>
+        </dependency>
+        <dependency>
+            <groupId>com.adobe.flash.framework</groupId>
+            <artifactId>playerglobal</artifactId>
+            <version>18.0</version>
+            <type>swc</type>
+        </dependency>
+    </dependencies>
 
     <repositories>
         <!--


[30/50] git commit: [flex-asjs] [refs/heads/master] - Added DataGridLinesBead to the DataGrid components.

Posted by ah...@apache.org.
Added DataGridLinesBead to the DataGrid components.


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

Branch: refs/heads/master
Commit: e42934b6d71436cce030ab98d4818bd8028c7101
Parents: 1cd233c
Author: Peter Ent <pe...@apache.org>
Authored: Tue Oct 13 13:51:39 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Tue Oct 13 13:51:39 2015 -0400

----------------------------------------------------------------------
 .../projects/HTML/asjs/src/HTMLASJSClasses.as   |   1 +
 .../apache/flex/html/beads/DataGridLinesBead.as | 199 +++++++++++++++++++
 frameworks/projects/HTML/basic-manifest.xml     |   1 +
 3 files changed, 201 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e42934b6/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as b/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
index 99a837b..8478924 100644
--- a/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
+++ b/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
@@ -28,6 +28,7 @@ package
 internal class HTMLASJSClasses
 {
 	import org.apache.flex.html.beads.DataGridColumnView; DataGridColumnView;
+	import org.apache.flex.html.beads.DataGridLinesBead; DataGridLinesBead;
 	import org.apache.flex.html.beads.DataGridView; DataGridView;
 	import org.apache.flex.html.beads.DataProviderChangeNotifier; DataProviderChangeNotifier;
 	import org.apache.flex.html.beads.DataItemRendererFactoryForArrayList; DataItemRendererFactoryForArrayList;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e42934b6/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridLinesBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridLinesBead.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridLinesBead.as
new file mode 100644
index 0000000..b4e5b1d
--- /dev/null
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridLinesBead.as
@@ -0,0 +1,199 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.html.beads
+{
+	import org.apache.flex.collections.ArrayList;
+	import org.apache.flex.core.IBead;
+	import org.apache.flex.core.IBeadModel;
+	import org.apache.flex.core.IDataGridModel;
+	import org.apache.flex.core.ILayoutHost;
+	import org.apache.flex.core.IParentIUIBase;
+	import org.apache.flex.core.IStrand;
+	import org.apache.flex.core.UIBase;
+	import org.apache.flex.core.graphics.GraphicsContainer;
+	import org.apache.flex.core.graphics.IStroke;
+	import org.apache.flex.core.graphics.SolidColor;
+	import org.apache.flex.core.graphics.SolidColorStroke;
+	import org.apache.flex.events.Event;
+	import org.apache.flex.events.IEventDispatcher;
+	import org.apache.flex.html.beads.models.DataGridPresentationModel;
+	import org.apache.flex.html.supportClasses.DataGridColumn;
+	
+	/**
+	 * The DataGridLinesBead is an add on bead for the DataGrid. This bead
+	 * adds horizontal and vertical grid lines to a DataGrid. The size and
+	 * color of the lines is specified by the stroke property (defaults to
+	 * a thin dark line). 
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
+	public class DataGridLinesBead implements IBead
+	{
+		/**
+		 * Constructor. 
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
+		 */
+		public function DataGridLinesBead()
+		{
+			// Set default separator line stroke.
+			var lineStroke:SolidColorStroke = new SolidColorStroke();
+			lineStroke.color = 0x333333;
+			lineStroke.alpha = 1.0;
+			lineStroke.weight = 1;
+			stroke = lineStroke;
+		}
+		
+		private var _strand:IStrand;
+		
+		/**
+		 * @copy org.apache.flex.core.UIBase#strand
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
+		 */
+		public function set strand(value:IStrand):void
+		{
+			_strand = value;
+			
+			_overlay = new GraphicsContainer();
+			
+			IEventDispatcher(_strand).addEventListener("beadsAdded", handleBeadsAdded);
+		}
+		
+		private var _stroke:IStroke;
+		
+		/**
+		 * Describes the line style used to separate the rows and columns.
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
+		 */
+		public function get stroke():IStroke
+		{
+			return _stroke;
+		}
+		public function set stroke(value:IStroke):void
+		{
+			_stroke = value;
+		}
+		
+		private var _overlay:GraphicsContainer;
+		private var _area:UIBase;
+		
+		/**
+		 * Invoked when all of the beads have been added to the DataGrid. This
+		 * function seeks the Container that parents the lists that are the DataGrid's
+		 * columns. An overlay GraphicContainer is added to this Container so that the
+		 * grid lines will scroll with the rows.
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
+		 */
+		private function handleBeadsAdded(event:Event):void
+		{
+			var host:UIBase = _strand as UIBase;
+			var n:int = host.numElements;
+			for (var i:int=0; i < n; i++) {
+				var child:UIBase = host.getElementAt(i) as UIBase;
+				if (child.id == "dataGridListArea") {
+					_area = child;
+					_area.addElement(_overlay);
+					break;
+				}
+			}
+			
+			// Now set up listeners to handle changes in the size of the DataGrid.
+			IEventDispatcher(_strand).addEventListener("sizeChanged", drawLines);
+			IEventDispatcher(_strand).addEventListener("widthChanged", drawLines);
+			IEventDispatcher(_strand).addEventListener("heightChanged", drawLines);
+			
+			// Also set up a listener on the model to know when the dataProvider has
+			// changed which might affect the number of rows/columns and thus the
+			// grid lines.
+			var model:IBeadModel = _strand.getBeadByType(IBeadModel) as IBeadModel;
+			IEventDispatcher(model).addEventListener("dataProviderChanged", drawLines);
+		}
+		
+		/**
+		 * This event handler is invoked whenever something happens to the DataGrid. This
+		 * function draws the lines either using a default stroke or the one specified by
+		 * the stroke property.
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
+		 */
+		private function drawLines(event:Event):void
+		{
+			var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as IDataGridModel;
+			var presentationModel:DataGridPresentationModel = _strand.getBeadByType(DataGridPresentationModel) as DataGridPresentationModel;
+			var layoutParent:ILayoutHost = _area.getBeadByType(ILayoutHost) as ILayoutHost;
+			var contentView:IParentIUIBase = layoutParent.contentView as IParentIUIBase;
+			
+			var columns:Array = sharedModel.columns;			
+			var arrayList:ArrayList = sharedModel.dataProvider as ArrayList;
+			var rowHeight:Number = presentationModel.rowHeight;
+			
+			var totalHeight:Number = arrayList.length * rowHeight;
+			var columnWidth:Number = _area.width / columns.length;
+			
+			// translate the stroke to a fill since rectangles are used for the grid
+			// lines and not lines.
+			var lineFill:SolidColor = new SolidColor();
+			var weight:Number = 1;
+			lineFill.color = (stroke as SolidColorStroke).color;
+			lineFill.alpha = (stroke as SolidColorStroke).alpha;
+			weight = (stroke as SolidColorStroke).weight;
+			_overlay.fill = lineFill;
+			
+			columnWidth = (columns[0] as DataGridColumn).columnWidth;
+			var xpos:Number = isNaN(columnWidth) ? _area.width / columns.length : columnWidth;
+			
+			_overlay.removeAllElements();
+			
+			// draw the verticals
+			for (var i:int=1; i < columns.length; i++) {
+				_overlay.drawRect(xpos, 0, weight, totalHeight);
+				columnWidth = (columns[i] as DataGridColumn).columnWidth;
+				xpos += isNaN(columnWidth) ? _area.width / columns.length : columnWidth;
+			}
+			
+			var n:int = arrayList.length;
+			
+			// draw the horizontals
+			for (i=1; i < n+1; i++) {
+				_overlay.drawRect(0, i*rowHeight, _area.width, weight);
+			}
+		}
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e42934b6/frameworks/projects/HTML/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/basic-manifest.xml b/frameworks/projects/HTML/basic-manifest.xml
index 921c67b..77ddd5e 100644
--- a/frameworks/projects/HTML/basic-manifest.xml
+++ b/frameworks/projects/HTML/basic-manifest.xml
@@ -82,6 +82,7 @@
     <component id="DataGrid" class="org.apache.flex.html.DataGrid"/>
     <component id="DataProviderChangeNotifier" class="org.apache.flex.html.beads.DataProviderChangeNotifier"/>
     <component id="DataGridColumn" class="org.apache.flex.html.supportClasses.DataGridColumn"/>
+    <component id="DataGridLinesBead" class="org.apache.flex.html.beads.DataGridLinesBead"/>
 
     <component id="DateChooser" class="org.apache.flex.html.DateChooser"/>
     <component id="DateField" class="org.apache.flex.html.DateField"/>


[28/50] git commit: [flex-asjs] [refs/heads/master] - MobileTrader example now fully operational.

Posted by ah...@apache.org.
MobileTrader example now fully operational.


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

Branch: refs/heads/master
Commit: 258e69239b4d4a839c047e05c14903b1e5e80101
Parents: 2997078
Author: Peter Ent <pe...@apache.org>
Authored: Thu Oct 8 15:25:40 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Oct 8 15:25:40 2015 -0400

----------------------------------------------------------------------
 .../flexjs/MobileTrader/src/controller/AlertsViewController.as    | 1 +
 examples/flexjs/MobileTrader/src/models/ProductsModel.as          | 3 ++-
 examples/flexjs/MobileTrader/src/views/AlertsView.mxml            | 2 +-
 examples/flexjs/MobileTrader/src/views/WatchListView.mxml         | 2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/258e6923/examples/flexjs/MobileTrader/src/controller/AlertsViewController.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/controller/AlertsViewController.as b/examples/flexjs/MobileTrader/src/controller/AlertsViewController.as
index 254cd18..f8373ca 100644
--- a/examples/flexjs/MobileTrader/src/controller/AlertsViewController.as
+++ b/examples/flexjs/MobileTrader/src/controller/AlertsViewController.as
@@ -131,6 +131,7 @@ package controller
 						alert.message = "Now @"+alert.stock.last;
 					}
 				}
+				alerts.itemUpdatedAt(i);
 			}
 			
 			var newEvent:Event = new Event("alertsUpdate");

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/258e6923/examples/flexjs/MobileTrader/src/models/ProductsModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/models/ProductsModel.as b/examples/flexjs/MobileTrader/src/models/ProductsModel.as
index b6f91ad..f4b2008 100755
--- a/examples/flexjs/MobileTrader/src/models/ProductsModel.as
+++ b/examples/flexjs/MobileTrader/src/models/ProductsModel.as
@@ -108,7 +108,7 @@ package models
 			stock = new Stock(symbol);
 			
 			_watchList.addItem(stock);
-			dispatchEvent(new Event("update"));
+	//		dispatchEvent(new Event("update"));
 			
 			updateStockData(stock);
 			return stock;
@@ -156,6 +156,7 @@ package models
 				var stock:Stock = _watchList.getItemAt(i) as Stock;
 				if (stock.symbol == sym) {
 					stock.updateFromData(responseData);
+					_watchList.itemUpdatedAt(i);
 					break;
 				}
 			}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/258e6923/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/views/AlertsView.mxml b/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
index 96c9b86..3bc76bb 100755
--- a/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
+++ b/examples/flexjs/MobileTrader/src/views/AlertsView.mxml
@@ -48,7 +48,6 @@ limitations under the License.
 			private function onAlertSet():void
 			{
 				dispatchEvent(new org.apache.flex.events.Event("alertSet"));
-				dataGrid.model.dispatchEvent(new org.apache.flex.events.Event("dataProviderChanged"));
 			}
 		]]>
 	</fx:Script>
@@ -67,6 +66,7 @@ limitations under the License.
 	
 	<js:DataGrid id="dataGrid" x="0" y="40" width="100%" height="200">
 		<js:beads>
+			<js:DataProviderChangeNotifier sourceID="dataModel" propertyName="alerts" />
 			<js:SimpleBinding
 				eventName="alertsUpdate"
 				sourceID="dataModel"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/258e6923/examples/flexjs/MobileTrader/src/views/WatchListView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/src/views/WatchListView.mxml b/examples/flexjs/MobileTrader/src/views/WatchListView.mxml
index ec70e59..46c7434 100755
--- a/examples/flexjs/MobileTrader/src/views/WatchListView.mxml
+++ b/examples/flexjs/MobileTrader/src/views/WatchListView.mxml
@@ -60,7 +60,6 @@ limitations under the License.
 			private function addSymbol():void
 			{
 				dispatchEvent(new org.apache.flex.events.Event("addSymbol"));
-				dataGrid.model.dispatchEvent(new org.apache.flex.events.Event("dataProviderChanged"));
 			}
 			
 			public var selectedStockIndex:Number;
@@ -103,6 +102,7 @@ limitations under the License.
 		
 	<js:DataGrid id="dataGrid" width="100%" height="85%" change="selectRow()" className="WatchListDataGrid">
 		<js:beads>
+			<js:DataProviderChangeNotifier sourceID="dataModel" propertyName="watchList" />
 			<js:SimpleBinding
 				eventName="update"
 				sourceID="dataModel"


[19/50] git commit: [flex-asjs] [refs/heads/master] - FF Windows didn't like hyphenated direct access

Posted by ah...@apache.org.
FF Windows didn't like hyphenated direct access


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

Branch: refs/heads/master
Commit: 5a74b7001875e01aa477108cc6b5efcd6cd5b625
Parents: c4848e6
Author: Alex Harui <ah...@apache.org>
Authored: Thu Oct 1 14:54:26 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 1 14:54:38 2015 -0700

----------------------------------------------------------------------
 .../org/apache/flex/utils/CSSContainerUtils.js  | 34 +++++++++++---------
 .../flex/html/beads/layouts/HorizontalLayout.js |  4 +--
 .../flex/html/beads/layouts/VerticalLayout.js   |  4 +--
 3 files changed, 22 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5a74b700/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js
index 4ee13f8..77eee76 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js
@@ -33,10 +33,11 @@ org.apache.flex.utils.CSSContainerUtils = function() {
  */
 org.apache.flex.utils.CSSContainerUtils.getBorderMetrics = function(object) {
   var style = getComputedStyle(object.element);
-  var borderLeft = org.apache.flex.utils.CSSUtils.toNumber(style['border-left-width'], object.width);
-  var borderRight = org.apache.flex.utils.CSSUtils.toNumber(style['border-right-width'], object.width);
-  var borderTop = org.apache.flex.utils.CSSUtils.toNumber(style['border-top-width'], object.width);
-  var borderBottom = org.apache.flex.utils.CSSUtils.toNumber(style['border-bottom-width'], object.width);
+  var borderLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-left-width'), object.width);
+  var borderRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-right-width'), object.width);
+  var borderTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-top-width'), object.width);
+  var borderBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-bottom-width'),
+      object.width);
   return new org.apache.flex.geom.Rectangle(borderLeft, borderTop, borderRight - borderLeft, borderBottom - borderTop);
 };
 
@@ -48,10 +49,10 @@ org.apache.flex.utils.CSSContainerUtils.getBorderMetrics = function(object) {
  */
 org.apache.flex.utils.CSSContainerUtils.getPaddingMetrics = function(object) {
   var style = getComputedStyle(object.element);
-  var paddingLeft = org.apache.flex.utils.CSSUtils.toNumber(style['padding-left'], object.width);
-  var paddingRight = org.apache.flex.utils.CSSUtils.toNumber(style['padding-right'], object.width);
-  var paddingTop = org.apache.flex.utils.CSSUtils.toNumber(style['padding-top'], object.width);
-  var paddingBottom = org.apache.flex.utils.CSSUtils.toNumber(style['padding-bottom'], object.width);
+  var paddingLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-left'), object.width);
+  var paddingRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-right'), object.width);
+  var paddingTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-top'), object.width);
+  var paddingBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-bottom'), object.width);
   return new org.apache.flex.geom.Rectangle(paddingLeft, paddingTop,
                                             paddingRight - paddingLeft, paddingBottom - paddingTop);
 };
@@ -64,14 +65,15 @@ org.apache.flex.utils.CSSContainerUtils.getPaddingMetrics = function(object) {
  */
 org.apache.flex.utils.CSSContainerUtils.getBorderAndPaddingMetrics = function(object) {
   var style = getComputedStyle(object.element);
-  var borderLeft = org.apache.flex.utils.CSSUtils.toNumber(style['border-left-width'], object.width);
-  var borderRight = org.apache.flex.utils.CSSUtils.toNumber(style['border-right-width'], object.width);
-  var borderTop = org.apache.flex.utils.CSSUtils.toNumber(style['border-top-width'], object.width);
-  var borderBottom = org.apache.flex.utils.CSSUtils.toNumber(style['border-bottom-width'], object.width);
-  var paddingLeft = org.apache.flex.utils.CSSUtils.toNumber(style['padding-left'], object.width);
-  var paddingRight = org.apache.flex.utils.CSSUtils.toNumber(style['padding-right'], object.width);
-  var paddingTop = org.apache.flex.utils.CSSUtils.toNumber(style['padding-top'], object.width);
-  var paddingBottom = org.apache.flex.utils.CSSUtils.toNumber(style['padding-bottom'], object.width);
+  var borderLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-left-width'), object.width);
+  var borderRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-right-width'), object.width);
+  var borderTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-top-width'), object.width);
+  var borderBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-bottom-width'),
+      object.width);
+  var paddingLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-left'), object.width);
+  var paddingRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-right'), object.width);
+  var paddingTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-top'), object.width);
+  var paddingBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-bottom'), object.width);
   paddingLeft += borderLeft;
   paddingRight += borderRight;
   paddingTop += borderTop;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5a74b700/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/HorizontalLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/HorizontalLayout.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/HorizontalLayout.js
index 222b2e7..b5ede3d 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/HorizontalLayout.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/HorizontalLayout.js
@@ -81,9 +81,9 @@ org.apache.flex.html.beads.layouts.HorizontalLayout.
     maxHeight = Math.max(maxHeight, child.offsetHeight);
     if (!hasWidth) {
       var cv = window.getComputedStyle(child);
-      var mls = cv['margin-left'];
+      var mls = cv.getPropertyValue('margin-left');
       var ml = Number(mls.substring(0, mls.length - 2));
-      var mrs = cv['margin-right'];
+      var mrs = cv.getPropertyValue('margin-right');
       var mr = Number(mrs.substring(0, mrs.length - 2));
       computedWidth += ml + child.offsetWidth + mr;
     }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5a74b700/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/VerticalLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/VerticalLayout.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/VerticalLayout.js
index 5627202..b179288 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/VerticalLayout.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/layouts/VerticalLayout.js
@@ -87,8 +87,8 @@ org.apache.flex.html.beads.layouts.VerticalLayout.
     child.flexjs_wrapper.dispatchEvent('sizeChanged');
   }
   if (!hasWidth && n > 0 && !isNaN(maxWidth)) {
-    var pl = scv['padding-left'];
-    var pr = scv['padding-right'];
+    var pl = scv.getPropertyValue('padding-left');
+    var pr = scv.getPropertyValue('padding-right');
     pl = parseInt(pl.substring(0, pl.length - 2), 10);
     pr = parseInt(pr.substring(0, pr.length - 2), 10);
     maxWidth += pl + pr;


[13/50] git commit: [flex-asjs] [refs/heads/master] - header

Posted by ah...@apache.org.
header


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

Branch: refs/heads/master
Commit: 33016bb59bbdcf37e3af2f914e6df306a6fa7b22
Parents: b85f244
Author: Alex Harui <ah...@apache.org>
Authored: Thu Sep 24 22:26:47 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Sep 24 22:26:47 2015 -0700

----------------------------------------------------------------------
 .../src/controllers/GAJSONInputParser.as          | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/33016bb5/examples/flexjs/FlexWebsiteStatsViewer/src/controllers/GAJSONInputParser.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/src/controllers/GAJSONInputParser.as b/examples/flexjs/FlexWebsiteStatsViewer/src/controllers/GAJSONInputParser.as
index 2ff5916..c443de5 100644
--- a/examples/flexjs/FlexWebsiteStatsViewer/src/controllers/GAJSONInputParser.as
+++ b/examples/flexjs/FlexWebsiteStatsViewer/src/controllers/GAJSONInputParser.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 controllers
 {
 	import org.apache.flex.collections.parsers.JSONInputParser;


[21/50] git commit: [flex-asjs] [refs/heads/master] - ASDoc changes.

Posted by ah...@apache.org.
ASDoc changes.


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

Branch: refs/heads/master
Commit: e494d4bda7a6953fc112cfece2edccac5ae075cb
Parents: bf6d772
Author: Peter Ent <pe...@apache.org>
Authored: Mon Oct 5 12:01:05 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Mon Oct 5 12:01:05 2015 -0400

----------------------------------------------------------------------
 .../src/org/apache/flex/binding/ChainBinding.as |  4 +---
 .../flex/binding/ApplicationDataBinding.as      |  6 ++++-
 .../apache/flex/binding/ContainerDataBinding.as |  4 +++-
 .../as/src/org/apache/flex/core/Application.as  |  6 +++--
 .../as/src/org/apache/flex/core/IViewport.as    | 25 ++++++++++++++++++++
 .../as/src/org/apache/flex/html/Container.as    | 16 +++++++++----
 .../HTML/as/src/org/apache/flex/html/Panel.as   |  7 ++++--
 7 files changed, 54 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e494d4bd/frameworks/projects/Binding/as/src/org/apache/flex/binding/ChainBinding.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/as/src/org/apache/flex/binding/ChainBinding.as b/frameworks/projects/Binding/as/src/org/apache/flex/binding/ChainBinding.as
index 207246a..076a231 100644
--- a/frameworks/projects/Binding/as/src/org/apache/flex/binding/ChainBinding.as
+++ b/frameworks/projects/Binding/as/src/org/apache/flex/binding/ChainBinding.as
@@ -27,9 +27,7 @@ package org.apache.flex.binding
 	import org.apache.flex.events.ValueChangeEvent;
 
     /**
-     *  The SimpleBinding class is lightweight data-binding class that
-     *  is optimized for simple assignments of one object's property to
-     *  another object's property.
+     *  The ChainBinding class is used to track changes of nested properties.
      *  
      *  @langversion 3.0
      *  @playerversion Flash 10.2

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e494d4bd/frameworks/projects/Binding/asjs/src/org/apache/flex/binding/ApplicationDataBinding.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/asjs/src/org/apache/flex/binding/ApplicationDataBinding.as b/frameworks/projects/Binding/asjs/src/org/apache/flex/binding/ApplicationDataBinding.as
index 4038645..8d794b9 100644
--- a/frameworks/projects/Binding/asjs/src/org/apache/flex/binding/ApplicationDataBinding.as
+++ b/frameworks/projects/Binding/asjs/src/org/apache/flex/binding/ApplicationDataBinding.as
@@ -31,7 +31,11 @@ package org.apache.flex.binding
     
     /**
      *  The ApplicationDataBinding class implements databinding for
-     *  Application instances.  Different classes can have
+     *  Application instances. When you want to use databinding within
+     *  the MXML file that has Application as its root tag, include
+     *  the ApplicationDataBinding tag as well.
+     *
+     *  Different classes can have
      *  different databinding implementation that optimize for
      *  the different lifecycles.  For example, an item renderer
      *  databinding implementation can wait to execute databindings

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e494d4bd/frameworks/projects/Binding/asjs/src/org/apache/flex/binding/ContainerDataBinding.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/asjs/src/org/apache/flex/binding/ContainerDataBinding.as b/frameworks/projects/Binding/asjs/src/org/apache/flex/binding/ContainerDataBinding.as
index d138d60..42c5178 100644
--- a/frameworks/projects/Binding/asjs/src/org/apache/flex/binding/ContainerDataBinding.as
+++ b/frameworks/projects/Binding/asjs/src/org/apache/flex/binding/ContainerDataBinding.as
@@ -32,7 +32,9 @@ package org.apache.flex.binding
     
     /**
      *  The ContainerDataBinding class implements databinding for
-     *  Container instances.  Different classes can have
+     *  Container instances.  Place a ContainerDataBinding tag into
+     *  the MXML file that has Container as its root tag.
+     *  Different classes can have
      *  different databinding implementation that optimize for
      *  the different lifecycles.  For example, an item renderer
      *  databinding implementation can wait to execute databindings

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e494d4bd/frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/Application.as b/frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
index fbcf83b..f3c6205 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
@@ -66,7 +66,8 @@ package org.apache.flex.core
     
     /**
      *  Dispatched at startup after the initial view has been
-     *  put on the display list.
+     *  put on the display list. This event is sent before
+     *  applicationComplete is dispatched.
      *  
      *  @langversion 3.0
      *  @playerversion Flash 10.2
@@ -90,10 +91,11 @@ package org.apache.flex.core
      *  The Application class is the main class and entry point for a FlexJS
      *  application.  This Application class is different than the
      *  Flex SDK's mx:Application or spark:Application in that it does not contain
-     *  user interface elements.  Those UI elements go in the views.  This
+     *  user interface elements.  Those UI elements go in the views (ViewBase).  This
      *  Application class expects there to be a main model, a controller, and 
      *  an initial view.
      *  
+     *  @see ViewBase
      *  @langversion 3.0
      *  @playerversion Flash 10.2
      *  @playerversion AIR 2.6

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e494d4bd/frameworks/projects/Core/as/src/org/apache/flex/core/IViewport.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/IViewport.as b/frameworks/projects/Core/as/src/org/apache/flex/core/IViewport.as
index b66b74d..d84addc 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/IViewport.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/IViewport.as
@@ -23,11 +23,21 @@ package org.apache.flex.core
     /**
      * A Viewport is the area of a Container set aside for displaying
      * content and any scrolling controls.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
      */
 	public interface IViewport extends IBead
 	{
         /**
          * Get the actual parent of the container's content.
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
          */
         function get contentView():IUIBase;
         
@@ -35,6 +45,11 @@ package org.apache.flex.core
 		 * Sets the upper left position of the viewport
          * @param x The left position.
          * @param y The top position.
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
 		 */
 		function setPosition(x:Number, y:Number):void;
 		
@@ -42,6 +57,11 @@ package org.apache.flex.core
 		 * Size the content area based on any visible scrolling controls and
          * the given width and height.  If width and/or height is NaN
          * then that dimension is being sized to content.
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
 		 */
 		function layoutViewportBeforeContentLayout(width:Number, height:Number):void;
 		
@@ -51,6 +71,11 @@ package org.apache.flex.core
          * content area size appropriately, and display any scrolling controls
          * before returning the resulting size of the viewport (which means the
          * area used up by both content area and scrolling controls).
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
          */
         function layoutViewportAfterContentLayout():Size;
         

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e494d4bd/frameworks/projects/HTML/as/src/org/apache/flex/html/Container.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/Container.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/Container.as
index fb9b867..ce6957c 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/Container.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/Container.as
@@ -30,12 +30,16 @@ package org.apache.flex.html
 	[DefaultProperty("mxmlContent")]
     
     /**
-     *  The Container class implements a basic container of
+     *  The Container class implements a basic container for
      *  other controls and containers.  The position and size
-     *  of the children are determined by a layout or by
-     *  absolute positioning and sizing.  This Container does
-     *  not have a built-in scrollbar or clipping of content
-     *  exceeds its boundaries.
+     *  of the children are determined by a layout while the size of
+     *  a Container can either be determined by its children or by
+     *  specifying an exact size in pixels or as a percentage of the
+     *  parent element.
+     *
+     *  This Container does not have a built-in scroll bar or clipping of
+     *  its content should the content exceed the Container's boundaries. To
+     *  have scroll bars and clipping, add the ScrollingView bead.  
      * 
      *  While the container is relatively lightweight, it should
      *  generally not be used as the base class for other controls,
@@ -53,6 +57,8 @@ package org.apache.flex.html
      *  control and not a Container because the Alert does not
      *  support an arbitrary set of children.
      *  
+     *  @see org.apache.flex.html.beads.layout
+     *  @see org.apache.flex.html.supportClasses.ScrollingViewport
      *  @langversion 3.0
      *  @playerversion Flash 10.2
      *  @playerversion AIR 2.6

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e494d4bd/frameworks/projects/HTML/as/src/org/apache/flex/html/Panel.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/Panel.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/Panel.as
index a1fc87e..6219d9d 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/Panel.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/Panel.as
@@ -25,8 +25,8 @@ package org.apache.flex.html
 	/**
 	 *  The Panel class is a Container component capable of parenting other
 	 *  components. The Panel has a TitleBar.  If you want to a Panel with
-     *  a ControlBar, use org.apache.flex.hmlt.PanelWithControlBar which
-     *  will instantiate, by default, an org.apache.flex.html.ControlBar. 
+     *  a ControlBar, use PanelWithControlBar which
+     *  will instantiate, by default, an ControlBar. 
 	 *  The Panel uses the following bead types:
 	 * 
 	 *  org.apache.flex.core.IBeadModel: the data model for the Panel that includes the title and whether
@@ -35,6 +35,9 @@ package org.apache.flex.html
 	 *  org.apache.flex.core.IBorderBead: if present, draws a border around the Panel.
 	 *  org.apache.flex.core.IBackgroundBead: if present, provides a colored background for the Panel.
 	 *  
+	 *  @see PanelWithControlBar
+	 *  @see ControlBar
+	 *  @see TitleBar
 	 *  @langversion 3.0
 	 *  @playerversion Flash 10.2
 	 *  @playerversion AIR 2.6


[06/50] git commit: [flex-asjs] [refs/heads/master] - - Added FlexWebsiteStatsViewer to the maven build

Posted by ah...@apache.org.
- Added FlexWebsiteStatsViewer to the maven build


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

Branch: refs/heads/master
Commit: 2b3a0c0a0cdba552f5bc0a86c8c02ed88384a19f
Parents: 0a2fbbd
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Tue Sep 22 22:15:08 2015 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Tue Sep 22 22:15:08 2015 +0200

----------------------------------------------------------------------
 examples/flexjs/pom.xml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b3a0c0a/examples/flexjs/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/pom.xml b/examples/flexjs/pom.xml
index a185d81..8069bbb 100644
--- a/examples/flexjs/pom.xml
+++ b/examples/flexjs/pom.xml
@@ -29,9 +29,9 @@
 
     <properties>
         <!-- Comment this in to build Flash output -->
-        <!--flexmojos-compiler-name>Falcon</flexmojos-compiler-name-->
+        <flexmojos-compiler-name>Falcon</flexmojos-compiler-name>
         <!-- Comment this in to build HTML+JavaScript output -->
-        <flexmojos-compiler-name>FlexJS</flexmojos-compiler-name>
+        <!--flexmojos-compiler-name>FlexJS</flexmojos-compiler-name-->
     </properties>
 
 
@@ -44,7 +44,7 @@
             This tag could not be resolved to an ActionScript class. It will be ignored.
             <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
         -->
-        <!--module>DataBindingExample_Flat</module-->
+        <module>DataBindingExample_Flat</module>
         <module>DataGridExample</module>
         <module>DesktopMap</module>
         <!--
@@ -55,6 +55,7 @@
             "Ambiguous reference to MouseEvent" problem
         -->
         <!--module>FlexJSStore</module-->
+        <module>FlexWebsiteStatsViewer</module>
         <module>MapSearch</module>
         <!--
             Implicit coercion of a value with static type Event to a possibly unrelated type Event.


[36/50] git commit: [flex-asjs] [refs/heads/master] - handle location of js.swc when running approval script

Posted by ah...@apache.org.
handle location of js.swc when running approval script


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

Branch: refs/heads/master
Commit: 9f707309d428a2796d6925240e263fc88f64aca9
Parents: 029eece
Author: Alex Harui <ah...@apache.org>
Authored: Thu Oct 15 10:03:38 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 15 10:03:38 2015 -0700

----------------------------------------------------------------------
 examples/native/ButtonExample/build.xml | 5 +++++
 examples/native/USStatesMap/build.xml   | 5 +++++
 2 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9f707309/examples/native/ButtonExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/native/ButtonExample/build.xml b/examples/native/ButtonExample/build.xml
index 7c4b49d..2d99e0f 100644
--- a/examples/native/ButtonExample/build.xml
+++ b/examples/native/ButtonExample/build.xml
@@ -67,6 +67,11 @@
         property="JS.SWC"
         value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
         
+    <available file="${FALCONJX_HOME}/libs/js.swc"
+        type="file"
+        property="JS.SWC"
+        value="${FALCONJX_HOME}/libs/js.swc" />
+        
     <path id="lib.path">
         <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
     </path>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9f707309/examples/native/USStatesMap/build.xml
----------------------------------------------------------------------
diff --git a/examples/native/USStatesMap/build.xml b/examples/native/USStatesMap/build.xml
index 000251e..e2724f5 100644
--- a/examples/native/USStatesMap/build.xml
+++ b/examples/native/USStatesMap/build.xml
@@ -67,6 +67,11 @@
         property="JS.SWC"
         value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
         
+    <available file="${FALCONJX_HOME}/libs/js.swc"
+        type="file"
+        property="JS.SWC"
+        value="${FALCONJX_HOME}/libs/js.swc" />
+        
     <path id="lib.path">
         <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
     </path>


[45/50] git commit: [flex-asjs] [refs/heads/master] - add sdk so font swf gets built

Posted by ah...@apache.org.
add sdk so font swf gets built


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

Branch: refs/heads/master
Commit: 4fbf2ee452b4ce1cc4851fba140d370117b6ba2f
Parents: 8dc9a6a
Author: Alex Harui <ah...@apache.org>
Authored: Sun Nov 1 22:59:26 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Nov 1 22:59:26 2015 -0800

----------------------------------------------------------------------
 ApproveFlexJS.xml | 52 +++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 49 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4fbf2ee4/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index 255bc34..e9044df 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -118,6 +118,10 @@
         type="dir"
         property="FLEXUNIT_HOME" value="${env.FLEXUNIT_HOME}" />
     
+    <available file="${env.FLEX_HOME}"
+        type="dir"
+        property="FLEX_SDK_HOME" value="${env.FLEX_HOME}" />
+    
     <available file="${env.ANT_HOME}/lib/${apache.rat.jar}"
         type="file"
         property="apache.rat.found"/>
@@ -368,12 +372,12 @@
 
     <target name="ask.build">
         <input
-        message="The final step is to run the build and any tests the build script runs.  This can take several minutes.  Press y to start the build."
+        message="The final step is to run the build and any tests the build script runs.  This can take several minutes.  You will be asked to accept the Adobe license for the font jars.  Press y to start the build."
         validargs="y"
         defaultvalue="y" />
     </target>
 
-    <target name="build" depends="ask.build,get.dependencies,copy.downloads">
+    <target name="build" depends="ask.build,ask-font,get.dependencies,copy.downloads">
         <ant dir="${basedir}/${package.url.name}" target="main" />
         <ant dir="${basedir}/${package.url.name}" target="examples" />
     </target>
@@ -385,7 +389,30 @@
 		</copy>
     </target>
     
-    <target name="get.dependencies" depends="set.falcon.flags,get.falcon.if.needed,get.flexunit.if.needed" />
+    <!-- Prompt before downloading.  -->
+    <target name="ask-font" unless="font.donot.ask"
+        description="Prompt the user before downloading BlaseDS">
+        
+        <property name="font.prompt.text"
+        value="Apache Flex can optionally integrate with Adobe's embedded font support.
+        ${line.separator}This feature requires a few font jars from the Adobe Flex SDK.
+        ${line.separator}The Adobe SDK license agreement for Adobe Flex 4.6 applies to these jars.
+        ${line.separator}This license is not compatible with the Apache v2 license.
+        ${adobe.flex.license}
+        ${line.separator}Do you want to install these jars from the Adobe Flex SDK?"/>
+        <input
+        message="${font.prompt.text}"
+        validargs="y,n"
+        defaultvalue="n"
+        addproperty="input.font.download"/>
+        <condition property="do.font.install">
+            <equals arg1="y" arg2="${input.font.download}"/>
+        </condition>
+        <!-- Only ask once per ant run.  -->
+        <property name="font.donot.ask" value="set"/>
+    </target>
+    
+    <target name="get.dependencies" depends="set.falcon.flags,get.falcon.if.needed,get.sdk.if.needed,get.flexunit.if.needed" />
     <target name="set.falcon.flags" >
         <condition property="falcon.nightly">
             <and>
@@ -487,6 +514,25 @@
         <unzip src="${basedir}/${binary.flexunit.kit}.zip" dest="${basedir}/flexunit" />
         <property name="FLEXUNIT_HOME" value="${basedir}/flexunit" />
     </target>
+    <target name="get.sdk.if.needed" depends="get.sdk" unless="FLEX_SDK_HOME" />
+    <target name="get.sdk">
+        <property name="kit.sdk.prefix" value="apache-flex-sdk-4.14.1"/>
+        <property name="binary.sdk.kit" value="${kit.sdk.prefix}-bin"/>
+        <get src="https://archive.apache.org/dist/flex/4.14.1/binaries/${binary.sdk.kit}.zip"
+        dest="${basedir}/${binary.sdk.kit}.zip" verbose="true" skipexisting="true"/>
+        <get src="https://archive.apache.org/dist/flex/4.14.1/binaries/${binary.sdk.kit}.zip.md5"
+        dest="${basedir}/${binary.sdk.kit}.zip.md5" verbose="true" skipexisting="true"/>
+        <checksum file="${basedir}/${binary.sdk.kit}.zip" algorithm="md5" verifyproperty="sdk.md5.ok" />
+        <condition property="SDKMD5Invalid">
+            <not>
+                <equals arg1="${sdk.md5.ok}" arg2="true" />
+            </not>
+        </condition>
+        <fail message="MD5 checksum did not match" if="SDKMD5Invalid" />
+        <unzip src="${basedir}/${binary.sdk.kit}.zip" dest="${basedir}/sdk" />
+        <ant dir="${basedir}/sdk/frameworks" antfile="downloads.xml" />
+        <property name="FLEX_SDK_HOME" value="${basedir}/sdk" />
+    </target>
     
 	<target name="approve" >
 		<condition property="vote" value="+1">


[16/50] git commit: [flex-asjs] [refs/heads/master] - Handle case where fill could be a LinearGradient or a SolidColor

Posted by ah...@apache.org.
Handle case where fill could be a LinearGradient or a SolidColor


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

Branch: refs/heads/master
Commit: 3c8b087281c79af445de51ec3e8c3dfac660ac19
Parents: 28c5972
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Wed Sep 30 10:48:21 2015 +0200
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Wed Sep 30 10:48:47 2015 +0200

----------------------------------------------------------------------
 .../charts/supportClasses/BoxItemRenderer.as    | 22 ++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3c8b0872/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
index 1bec3b1..f94bf84 100644
--- a/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
+++ b/frameworks/projects/Charts/asjs/src/org/apache/flex/charts/supportClasses/BoxItemRenderer.as
@@ -25,6 +25,7 @@ package org.apache.flex.charts.supportClasses
 	import org.apache.flex.core.graphics.IStroke;
 	import org.apache.flex.core.graphics.Rect;
 	import org.apache.flex.core.graphics.SolidColor;
+	import org.apache.flex.core.graphics.LinearGradient;
 	import org.apache.flex.html.supportClasses.DataItemRenderer;
 	
 	/**
@@ -230,7 +231,7 @@ package org.apache.flex.charts.supportClasses
 			}
 		}
 		
-		private var hoverFill:SolidColor;
+		private var hoverFill:IFill;
 		
 		override public function updateRenderer():void
 		{
@@ -238,9 +239,22 @@ package org.apache.flex.charts.supportClasses
 			
 			if (down||selected||hovered) {
 				if (hoverFill == null) {
-					hoverFill = new SolidColor();
-					hoverFill.color = (fill as SolidColor).color;
-					hoverFill.alpha = 0.5;
+					if(fill is SolidColor)
+					{
+						hoverFill = new SolidColor();
+						(hoverFill as SolidColor).color = (fill as SolidColor).color;
+						(hoverFill as SolidColor).alpha = 0.5;
+					}
+					else if(fill is LinearGradient)
+					{
+						hoverFill = new LinearGradient();
+						(hoverFill as LinearGradient).entries = (fill as LinearGradient).entries;
+						for (var i:int=0; i<(hoverFill as LinearGradient).entries; i++)
+						{
+							(hoverFill as LinearGradient).entries[i].alpha = 0.5;
+						}
+					}
+					
 				}
 				filledRect.fill = hoverFill;
 			}


[22/50] git commit: [flex-asjs] [refs/heads/master] - Changed DataGrid so that all of the columns (lists) scroll together. Fixed roll out bug in DataGrid.

Posted by ah...@apache.org.
Changed DataGrid so that all of the columns (lists) scroll together. Fixed roll out bug in DataGrid.


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

Branch: refs/heads/master
Commit: 657ce8bddff41e840eed3dd556d8db11cf8b52d8
Parents: e494d4b
Author: Peter Ent <pe...@apache.org>
Authored: Mon Oct 5 12:03:42 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Mon Oct 5 12:03:42 2015 -0400

----------------------------------------------------------------------
 .../apache/flex/core/IListPresentationModel.as  |  11 +
 frameworks/projects/Core/asjs/defaults.css      |   1 -
 .../projects/Core/asjs/src/CoreASJSClasses.as   |   1 -
 .../src/org/apache/flex/core/IDataGridLayout.as |  55 ----
 .../apache/flex/core/IListPresentationModel.js  |   5 +
 frameworks/projects/Flat/as/defaults.css        |   1 -
 frameworks/projects/Flat/flat-manifest.xml      |   1 -
 frameworks/projects/HTML/as/defaults.css        |   5 +-
 .../DataItemRendererFactoryForArrayData.as      |  11 +-
 .../controllers/ItemRendererMouseController.as  |   1 +
 .../html/beads/models/ListPresentationModel.as  |  21 ++
 .../html/supportClasses/DataItemRenderer.as     |   2 +-
 .../html/supportClasses/ScrollingViewport.as    | 122 +++++++-
 .../html/supportClasses/UIItemRendererBase.as   |   9 +-
 .../apache/flex/html/supportClasses/Viewport.as |  54 +++-
 .../projects/HTML/asjs/src/HTMLASJSClasses.as   |   1 -
 .../org/apache/flex/html/beads/DataGridView.as  | 302 +++++++++++--------
 .../org/apache/flex/html/beads/IDataGridView.as |  36 ---
 .../flex/html/beads/layouts/DataGridLayout.as   | 157 ----------
 .../beads/models/DataGridPresentationModel.as   |   2 +
 frameworks/projects/HTML/basic-manifest.xml     |   1 -
 .../DataItemRendererFactoryForArrayData.js      |   5 +-
 .../html/beads/models/ListPresentationModel.js  |  19 ++
 23 files changed, 435 insertions(+), 388 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/Core/as/src/org/apache/flex/core/IListPresentationModel.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/IListPresentationModel.as b/frameworks/projects/Core/as/src/org/apache/flex/core/IListPresentationModel.as
index 0e523aa..8166c59 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/IListPresentationModel.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/IListPresentationModel.as
@@ -39,5 +39,16 @@ package org.apache.flex.core
 		 */
 		function get rowHeight():Number;
 		function set rowHeight(value:Number):void;
+		
+		/**
+		 * The distance each row should be separated from the row above.
+		 * 
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		function get separatorThickness():Number;
+		function set separatorThickness(value:Number):void;
 	}
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/Core/asjs/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/asjs/defaults.css b/frameworks/projects/Core/asjs/defaults.css
index 1cbc544..cb9a50f 100644
--- a/frameworks/projects/Core/asjs/defaults.css
+++ b/frameworks/projects/Core/asjs/defaults.css
@@ -65,7 +65,6 @@ DataGrid
     IDataGridPresentationModel: ClassReference("org.apache.flex.html.beads.models.DataGridPresentationModel");
     IBeadView: ClassReference("org.apache.flex.html.beads.DataGridView");
     IBeadModel: ClassReference("org.apache.flex.html.beads.models.DataGridModel");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.DataGridLayout");
     IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
     IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/Core/asjs/src/CoreASJSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/asjs/src/CoreASJSClasses.as b/frameworks/projects/Core/asjs/src/CoreASJSClasses.as
index ef6790d..e385ade 100644
--- a/frameworks/projects/Core/asjs/src/CoreASJSClasses.as
+++ b/frameworks/projects/Core/asjs/src/CoreASJSClasses.as
@@ -27,7 +27,6 @@ package
  */
 internal class CoreASJSClasses
 {
-    import org.apache.flex.core.IDataGridLayout; IDataGridLayout;
     import org.apache.flex.core.IDataGridModel; IDataGridModel;
     import org.apache.flex.core.IDataGridPresentationModel; IDataGridPresentationModel;
     import org.apache.flex.core.IDateChooserModel; IDateChooserModel;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/Core/asjs/src/org/apache/flex/core/IDataGridLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/asjs/src/org/apache/flex/core/IDataGridLayout.as b/frameworks/projects/Core/asjs/src/org/apache/flex/core/IDataGridLayout.as
deleted file mode 100644
index d50bc27..0000000
--- a/frameworks/projects/Core/asjs/src/org/apache/flex/core/IDataGridLayout.as
+++ /dev/null
@@ -1,55 +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 org.apache.flex.core
-{
-	/**
-	 *  The IDataGridLayout interface provides the features necessary to lay
-	 *  out the components of a DataGrid: the size and position of its column
-	 *  headers and the size and position of each column.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public interface IDataGridLayout extends IBeadLayout
-	{
-		/**
-		 *  The component used as the column header.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		function get header():IUIBase;
-		function set header(value:IUIBase):void;
-		
-		/**
-		 *  The set of components used for the columns of the DataGrid.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		function get columns():Array;
-		function set columns(value:Array):void;
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/Core/js/src/org/apache/flex/core/IListPresentationModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IListPresentationModel.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IListPresentationModel.js
index 5b8be2e..4c78c74 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IListPresentationModel.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/IListPresentationModel.js
@@ -41,6 +41,11 @@ Object.defineProperties(org.apache.flex.core.IListPresentationModel.prototype, {
     rowHeight: {
         set: function(value) {},
         get: function() {}
+    },
+    /** @export */
+    separatorThickness: {
+        set: function(value) {},
+        get: function() {}
     }
 });
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/Flat/as/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/as/defaults.css b/frameworks/projects/Flat/as/defaults.css
index 32ca37d..53a91f1 100644
--- a/frameworks/projects/Flat/as/defaults.css
+++ b/frameworks/projects/Flat/as/defaults.css
@@ -193,7 +193,6 @@ DataGrid
     IDataGridPresentationModel: ClassReference("org.apache.flex.html.beads.models.DataGridPresentationModel");
     IBeadView: ClassReference("org.apache.flex.html.beads.DataGridView");
     IBeadModel: ClassReference("org.apache.flex.html.beads.models.DataGridModel");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.DataGridLayout");
     IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
     IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/Flat/flat-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/flat-manifest.xml b/frameworks/projects/Flat/flat-manifest.xml
index 355a76a..ac05bf7 100644
--- a/frameworks/projects/Flat/flat-manifest.xml
+++ b/frameworks/projects/Flat/flat-manifest.xml
@@ -82,7 +82,6 @@
 
     <component id="DataGrid" class="org.apache.flex.html.DataGrid" lookupOnly="true" />
     <component id="DataGridColumn" class="org.apache.flex.html.supportClasses.DataGridColumn" lookupOnly="true" />
-    <component id="DataGridLayout" class="org.apache.flex.html.beads.layouts.DataGridLayout"  lookupOnly="true" />
 
     <component id="DateChooser" class="org.apache.flex.html.DateChooser" lookupOnly="true" />
     <component id="DateField" class="org.apache.flex.html.DateField" lookupOnly="true" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/as/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/defaults.css b/frameworks/projects/HTML/as/defaults.css
index da3cb48..f3c15b9 100644
--- a/frameworks/projects/HTML/as/defaults.css
+++ b/frameworks/projects/HTML/as/defaults.css
@@ -104,7 +104,6 @@ DataGrid
     IDataGridPresentationModel: ClassReference("org.apache.flex.html.beads.models.DataGridPresentationModel");
     IBeadView: ClassReference("org.apache.flex.html.beads.DataGridView");
     IBeadModel: ClassReference("org.apache.flex.html.beads.models.DataGridModel");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.DataGridLayout");
     IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
     IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
 
@@ -114,6 +113,10 @@ DataGrid
 	border-width: 1px;
 }
 
+.DataGridListArea {
+	background-color: #999999;
+}
+
 DateChooser {
     IBeadView:   ClassReference("org.apache.flex.html.beads.DateChooserView");
     IBeadModel:  ClassReference("org.apache.flex.html.beads.models.DateChooserModel");

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.as
index 0889efa..609bfbc 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.as
@@ -27,6 +27,8 @@ package org.apache.flex.html.beads
 	import org.apache.flex.core.ISelectionModel;
 	import org.apache.flex.core.IStrand;
 	import org.apache.flex.core.IUIBase;
+	import org.apache.flex.core.SimpleCSSStyles;
+	import org.apache.flex.core.UIBase;
 	import org.apache.flex.core.ValuesManager;
 	import org.apache.flex.events.Event;
 	import org.apache.flex.events.IEventDispatcher;
@@ -139,11 +141,16 @@ package org.apache.flex.html.beads
 			
 			var n:int = dp.length; 
 			for (var i:int = 0; i < n; i++)
-			{
+			{				
 				var ir:ISelectableItemRenderer = itemRendererFactory.createItemRenderer(dataGroup) as ISelectableItemRenderer;
 				ir.index = i;
 				ir.labelField = labelField;
-				if (presentationModel) IUIBase(ir).height = presentationModel.rowHeight;
+				if (presentationModel) {
+					var style:SimpleCSSStyles = new SimpleCSSStyles();
+					style.marginBottom = presentationModel.separatorThickness;
+					UIBase(ir).style = style;
+					UIBase(ir).height = presentationModel.rowHeight;
+				}
 				dataGroup.addElement(ir);
 				ir.data = dp[i];
 			}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.as
index 517cc5a..0b67de8 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/controllers/ItemRendererMouseController.as
@@ -91,6 +91,7 @@ package org.apache.flex.html.beads.controllers
 			{
                 target.hovered = false;
                 target.down = false;
+				target.dispatchEvent(new Event("rollout",true));
 			}
 		}
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/models/ListPresentationModel.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/models/ListPresentationModel.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/models/ListPresentationModel.as
index a97819f..897d8d6 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/models/ListPresentationModel.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/models/ListPresentationModel.as
@@ -68,6 +68,27 @@ package org.apache.flex.html.beads.models
 			dispatchEvent(new Event("rowHeightChanged"));
 		}
 		
+		private var _separatorThickness:Number = 0;
+		
+		/**
+		 *  The distance between rows.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function get separatorThickness():Number
+		{
+			return _separatorThickness;
+		}
+		
+		public function set separatorThickness(value:Number):void
+		{
+			_separatorThickness = value;
+			dispatchEvent(new Event("separatorThicknessChanged"));
+		}
+		
 		private var _strand:IStrand;
 		
 		/**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/DataItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/DataItemRenderer.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/DataItemRenderer.as
index bf3f284..f14c736 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/DataItemRenderer.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/DataItemRenderer.as
@@ -123,7 +123,7 @@ package org.apache.flex.html.supportClasses
 			super.updateRenderer();
 			
 			background.graphics.clear();
-			background.graphics.beginFill(backgroundColor, (down||selected||hovered)?1:0);
+			background.graphics.beginFill(useColor, 1);
 			background.graphics.drawRect(0, 0, this.width, this.height);
 			background.graphics.endFill();
 		}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/ScrollingViewport.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/ScrollingViewport.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/ScrollingViewport.as
index 2de82b1..96318c7 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/ScrollingViewport.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/ScrollingViewport.as
@@ -35,25 +35,113 @@ package org.apache.flex.html.supportClasses
 	import org.apache.flex.html.beads.ScrollBarView;
 	import org.apache.flex.html.beads.models.ScrollBarModel;
 	
+	/**
+	 * The ScrollingViewport extends the Viewport class by adding horizontal and 
+	 * vertical scroll bars, if needed, to the content area of a Container. In
+	 * addition, the content of the Container is clipped so that items extending
+	 * outside the Container are hidden and reachable only by scrolling.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
 	public class ScrollingViewport extends Viewport implements IBead, IViewport
 	{		
+		/**
+		 * Constructor
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
+		 */
 		public function ScrollingViewport()
 		{
 		}
+		
+		private var _showsVerticalScrollBar:Boolean = true;
+		
+		/**
+		 * Determines whether or not the vertical scroll bar will show if needed.
+		 * The default is true, it will show when needed.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function get showsVerticalScrollBar():Boolean
+		{
+			return _showsVerticalScrollBar;
+		}
+		public function set showsVerticalScrollBar(value:Boolean):void
+		{
+			_showsVerticalScrollBar = value;
+		}
+		
+		private var _showsHorizontalScrollBar:Boolean = true;
+		
+		/**
+		 * Determines whether or not the horizontal scroll bar will show if needed.
+		 * The default is true, it will show when needed.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function get showsHorizontalScrollBar():Boolean
+		{
+			return _showsHorizontalScrollBar;
+		}
+		public function set showsHorizontalScrollBar(value:Boolean):void
+		{
+			_showsHorizontalScrollBar = value;
+		}
 				
 		private var _verticalScroller:ScrollBar;
+		
+		/**
+		 * The vertical scrolling component element.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
 		public function get verticalScroller():IViewportScroller
 		{
 			return _verticalScroller;
 		}
 		
 		private var _horizontalScroller:ScrollBar
+		
+		/**
+		 * The horizontal scrolling component element.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
 		public function get horizontalScroller():IViewportScroller
 		{
 			return _horizontalScroller;
 		}
         
         private var _verticalScrollPosition:Number = 0;
+		
+		
+		/**
+		 * The position of top of the content, measured in pixels, represented by
+		 * the vertical scroller. 
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
         public function get verticalScrollPosition():Number
         {
             return _verticalScrollPosition;
@@ -65,6 +153,16 @@ package org.apache.flex.html.supportClasses
         }
         
         private var _horizontalScrollPosition:Number = 0;
+		
+		/**
+		 * The position of the left edge of the content, measured in pixels, 
+		 * represented by the horizontal scroller.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
         public function get horizontalScrollPosition():Number
         {
             return _horizontalScrollPosition;
@@ -77,6 +175,7 @@ package org.apache.flex.html.supportClasses
 		
         private var viewportWidth:Number;
         private var viewportHeight:Number;
+		
         /**
          * @copy org.apache.flex.core.IViewport 
          */
@@ -106,8 +205,8 @@ package org.apache.flex.html.supportClasses
     			var host:UIBase = UIBase(_strand);
     			var visibleWidth:Number;
                 var visibleHeight:Number;
-                var needV:Boolean = contentSize.height > viewportHeight;
-                var needH:Boolean = contentSize.width > viewportWidth;
+                var needV:Boolean = (contentSize.height > viewportHeight) && showsVerticalScrollBar;
+                var needH:Boolean = (contentSize.width > viewportWidth) && showsHorizontalScrollBar;
                 
                 if (needV)
                 {
@@ -193,7 +292,9 @@ package org.apache.flex.html.supportClasses
             return contentSize;
 		}
 		
-		
+		/**
+		 * @private
+		 */
 		private function createVerticalScrollBar():ScrollBar
 		{
 			var vsbm:ScrollBarModel = new ScrollBarModel();
@@ -211,6 +312,9 @@ package org.apache.flex.html.supportClasses
 			return vsb;
 		}
 		
+		/**
+		 * @private
+		 */
 		private function createHorizontalScrollBar():ScrollBar
 		{
 			var hsbm:ScrollBarModel = new ScrollBarModel();
@@ -228,6 +332,9 @@ package org.apache.flex.html.supportClasses
 			return hsb;
 		}
 		
+		/**
+		 * @private
+		 */
 		private function handleVerticalScroll(event:Event):void
 		{
 			var host:UIBase = UIBase(_strand);
@@ -239,6 +346,9 @@ package org.apache.flex.html.supportClasses
 			_verticalScrollPosition = vpos;
 		}
 		
+		/**
+		 * @private
+		 */
 		private function handleHorizontalScroll(event:Event):void
 		{
 			var host:UIBase = UIBase(_strand);
@@ -250,6 +360,9 @@ package org.apache.flex.html.supportClasses
 			_horizontalScrollPosition = hpos;
 		}
 		
+		/**
+		 * @private
+		 */
 		private function handleVerticalScrollChange():void
 		{
 			if (_verticalScroller) {
@@ -257,6 +370,9 @@ package org.apache.flex.html.supportClasses
 			}
 		}
 		
+		/**
+		 * @private
+		 */
 		private function handleHorizontalScrollChange():void
 		{
 			if (_horizontalScroller) {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/UIItemRendererBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/UIItemRendererBase.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/UIItemRendererBase.as
index d33a3aa..90c66fa 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/UIItemRendererBase.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/UIItemRendererBase.as
@@ -124,6 +124,7 @@ package org.apache.flex.html.supportClasses
 		public var highlightColor:uint = 0xCEDBEF;
 		public var selectedColor:uint = 0xA8C6EE;
 		public var downColor:uint = 0x808080;
+		protected var useColor:uint = backgroundColor;
 		
 		private var _data:Object;
 		
@@ -247,11 +248,13 @@ package org.apache.flex.html.supportClasses
 		public function updateRenderer():void
 		{
 			if (down)
-				backgroundColor = downColor;
+				useColor = downColor;
 			else if (hovered)
-				backgroundColor = highlightColor;
+				useColor = highlightColor;
 			else if (selected)
-				backgroundColor = selectedColor;
+				useColor = selectedColor;
+			else
+				useColor = backgroundColor;
 		}
 		
 		/**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/Viewport.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/Viewport.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/Viewport.as
index d731fa6..dc228f7 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/Viewport.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/supportClasses/Viewport.as
@@ -35,15 +35,38 @@ package org.apache.flex.html.supportClasses
     import org.apache.flex.utils.CSSContainerUtils;
 	
     /**
-     * @copy org.apache.flex.core.IViewport
+     * A Viewport is the area of a Container set aside for displaying
+     * content and any scrolling controls.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
      */
 	public class Viewport implements IBead, IViewport
 	{	
+		/**
+		 * Constructor
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
+		 */
 		public function Viewport()
 		{
 		}
 		
 		protected var contentArea:UIBase;
+		
+		/**
+		 * Get the actual parent of the container's content.
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
+		 */
         public function get contentView():IUIBase
         {
             return contentArea;
@@ -51,6 +74,14 @@ package org.apache.flex.html.supportClasses
         
 		protected var _strand:IStrand;
 		
+		/**
+		 * @copy org.apache.flex.core.IStrand
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
+		 */
 		public function set strand(value:IStrand):void
 		{
 			_strand = value;
@@ -63,7 +94,12 @@ package org.apache.flex.html.supportClasses
 		}
 		
         /**
-         * @copy org.apache.flex.core.IViewport 
+         * @copy org.apache.flex.core.IViewport#setPosition()
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
          */
         public function setPosition(x:Number, y:Number):void
         {
@@ -72,7 +108,12 @@ package org.apache.flex.html.supportClasses
         }
         
         /**
-         * @copy org.apache.flex.core.IViewport 
+         * @copy org.apache.flex.core.IViewport#layoutViewportBeforeContentLayout()
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
          */
 		public function layoutViewportBeforeContentLayout(width:Number, height:Number):void
 		{
@@ -83,7 +124,12 @@ package org.apache.flex.html.supportClasses
 		}
 		
         /**
-         * @copy org.apache.flex.core.IViewport 
+         * @copy org.apache.flex.core.IViewport#layoutViewportAfterContentLayout()
+	     *  
+	     *  @langversion 3.0
+	     *  @playerversion Flash 10.2
+	     *  @playerversion AIR 2.6
+	     *  @productversion FlexJS 0.0
          */
 		public function layoutViewportAfterContentLayout():Size
 		{

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as b/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
index 4e7b67f..73547db 100644
--- a/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
+++ b/frameworks/projects/HTML/asjs/src/HTMLASJSClasses.as
@@ -31,7 +31,6 @@ internal class HTMLASJSClasses
 	import org.apache.flex.html.beads.DataGridView; DataGridView;
 	import org.apache.flex.html.beads.DateChooserView; DateChooserView;
 	import org.apache.flex.html.beads.DateFieldView; DateFieldView;
-	import org.apache.flex.html.beads.layouts.DataGridLayout; DataGridLayout;
     import org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout; FlexibleFirstChildHorizontalLayout;
 	import org.apache.flex.html.beads.models.DataGridModel; DataGridModel;
 	import org.apache.flex.html.beads.models.DateChooserModel; DateChooserModel;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
index d578a6e..150294c 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
@@ -18,24 +18,26 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.html.beads
 {	
-    import org.apache.flex.core.BeadViewBase;
-    import org.apache.flex.core.IBead;
-    import org.apache.flex.core.IBeadModel;
-    import org.apache.flex.core.IDataGridLayout;
-    import org.apache.flex.core.IDataGridModel;
-    import org.apache.flex.core.ISelectionModel;
-    import org.apache.flex.core.IStrand;
-    import org.apache.flex.core.UIBase;
-    import org.apache.flex.events.Event;
-    import org.apache.flex.events.IEventDispatcher;
-    import org.apache.flex.html.ButtonBar;
-    import org.apache.flex.html.Container;
-    import org.apache.flex.html.List;
-    import org.apache.flex.html.beads.layouts.ButtonBarLayout;
-    import org.apache.flex.html.beads.layouts.DataGridLayout;
-    import org.apache.flex.html.beads.models.ArraySelectionModel;
-    import org.apache.flex.html.beads.models.DataGridPresentationModel;
-    import org.apache.flex.html.supportClasses.DataGridColumn;
+	import org.apache.flex.core.IBeadModel;
+	import org.apache.flex.core.IBeadView;
+	import org.apache.flex.core.IDataGridModel;
+	import org.apache.flex.core.ISelectableItemRenderer;
+	import org.apache.flex.core.ISelectionModel;
+	import org.apache.flex.core.IStrand;
+	import org.apache.flex.core.IUIBase;
+	import org.apache.flex.core.SimpleCSSStyles;
+	import org.apache.flex.core.UIBase;
+	import org.apache.flex.events.Event;
+	import org.apache.flex.events.IEventDispatcher;
+	import org.apache.flex.html.ButtonBar;
+	import org.apache.flex.html.Container;
+	import org.apache.flex.html.List;
+	import org.apache.flex.html.beads.layouts.ButtonBarLayout;
+	import org.apache.flex.html.beads.layouts.VerticalLayout;
+	import org.apache.flex.html.beads.models.ArraySelectionModel;
+	import org.apache.flex.html.beads.models.DataGridPresentationModel;
+	import org.apache.flex.html.supportClasses.DataGridColumn;
+	import org.apache.flex.html.supportClasses.ScrollingViewport;
 	import org.apache.flex.html.supportClasses.Viewport;
 	
 	/**
@@ -48,7 +50,7 @@ package org.apache.flex.html.beads
 	 *  @playerversion AIR 2.6
 	 *  @productversion FlexJS 0.0
 	 */
-	public class DataGridView extends BeadViewBase implements IDataGridView
+	public class DataGridView implements IBeadView
 	{
 		/**
 		 *  constructor.
@@ -62,27 +64,19 @@ package org.apache.flex.html.beads
 		{
 		}
 		
-		//private var background:Shape;
-		private var buttonBar:ButtonBar;
-		private var buttonBarModel:ArraySelectionModel;
-		private var columnContainer:Container;
-		private var columns:Array;
+		private var _strand:IStrand;
+		private var _header:ButtonBar;
+		private var _listArea:Container;
+		private var _lists:Array;
 		
 		/**
-		 *  The array of org.apache.flex.html.supportClasses.DataGridColumn instances.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
+		 * @private
 		 */
-		public function getColumnLists():Array
+		public function get host():IUIBase
 		{
-			return columns;
+			return _strand as IUIBase;
 		}
 		
-		private var _strand:IStrand;
-		
 		/**
 		 *  @copy org.apache.flex.core.IBead#strand
 		 *  
@@ -91,130 +85,146 @@ package org.apache.flex.html.beads
 		 *  @playerversion AIR 2.6
 		 *  @productversion FlexJS 0.0
 		 */
-		override public function set strand(value:IStrand):void
+		public function set strand(value:IStrand):void
 		{
 			_strand = value;
-			super.strand = value;
 			
-			IEventDispatcher(_strand).addEventListener("sizeChanged", onSizeChanged);
-			IEventDispatcher(_strand).addEventListener("widthChanged", onSizeChanged);
-			IEventDispatcher(_strand).addEventListener("heightChanged", onSizeChanged);
+			var host:UIBase = value as UIBase;
+			
+			_header = new ButtonBar();
+			_header.id = "dataGridHeader";
+			
+			var scrollPort:ScrollingViewport = new ScrollingViewport();
+			scrollPort.showsHorizontalScrollBar = false;
+			
+			_listArea = new Container();
+			_listArea.id = "dataGridListArea";
+			_listArea.className = "DataGridListArea";
+			_listArea.addBead(scrollPort);
+			
+			// place a border around the list area
+			var style:SimpleCSSStyles = new SimpleCSSStyles();
+			style.borderWidth = 1;
+			style.borderColor = 0x333333;
+			style.borderStyle = "solid";
+			_listArea.style = style;
+			
+			finishSetup(null);
+		}
+		
+		/**
+		 * @private
+		 */
+		private function finishSetup(event:Event):void
+		{
+			var host:UIBase = _strand as UIBase;
 			
 			// see if there is a presentation model already in place. if not, add one.
-			var modBead:IBead = _strand.getBeadByType(DataGridPresentationModel);
-			var presentationModel:DataGridPresentationModel;
-			if (modBead == null) {
+			var presentationModel:DataGridPresentationModel = _strand.getBeadByType(DataGridPresentationModel) as DataGridPresentationModel;
+			if (presentationModel == null) {
 				presentationModel = new DataGridPresentationModel();
 				_strand.addBead(presentationModel);
 			}
-			else {
-				presentationModel = modBead as DataGridPresentationModel;
-			}
 			
 			var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as IDataGridModel;
-			IEventDispatcher(sharedModel).addEventListener("dataProviderChanged",onDataProviderChanged);
+			IEventDispatcher(sharedModel).addEventListener("dataProviderChanged",handleDataProviderChanged);
 			
-			// create an array of columnLabels for use by the ButtonBar/DataGrid header.
 			var columnLabels:Array = new Array();
+			var buttonWidths:Array = new Array();
+			
 			for(var i:int=0; i < sharedModel.columns.length; i++) {
 				var dgc:DataGridColumn = sharedModel.columns[i] as DataGridColumn;
 				columnLabels.push(dgc.label);
+				if (!isNaN(dgc.columnWidth)) buttonWidths.push(dgc.columnWidth);
 			}
+			
 			var bblayout:ButtonBarLayout = new ButtonBarLayout();
+			if (buttonWidths.length == sharedModel.columns.length) {
+				bblayout.buttonWidths = buttonWidths;
+			}
 			
-			buttonBarModel = new ArraySelectionModel();
+			var buttonBarModel:ArraySelectionModel = new ArraySelectionModel();
 			buttonBarModel.dataProvider = columnLabels;
 			
-			buttonBar = new ButtonBar();
-			buttonBar.addBead(buttonBarModel);
-			buttonBar.addBead(bblayout);
-			buttonBar.addBead(new Viewport());
-			buttonBar.height = 25;
-			buttonBar.width = UIBase(_strand).width;
-			UIBase(_strand).addElement(buttonBar);
-			
-			// Create a List for each column, storing a reference to each List in
-			// the columns property.
-			columns = new Array();
-			for(i=0; i < sharedModel.columns.length; i++) 
-			{
-				// Each list shares the same dataProvider but needs its own model to
-				// keep track of its own data.
-				var listModel:ISelectionModel = new ArraySelectionModel();
-				listModel.dataProvider = sharedModel.dataProvider;
-				
-				var dataGridColumn:DataGridColumn = sharedModel.columns[i] as DataGridColumn;
-				
-				var list:List = new List();
-				list.addBead(listModel); 
-				list.itemRenderer = dataGridColumn.itemRenderer;
-				list.labelField = dataGridColumn.dataField;
-				list.addBead(presentationModel);
-				
-				var colWidth:Number = dataGridColumn.columnWidth;
-				if (!isNaN(colWidth)) list.width = colWidth;
-
-				UIBase(_strand).addElement(list);
-				columns.push(list);
-				list.addEventListener('change',columnListChangeHandler);
-				list.addEventListener('rollover',columnListRollOverHandler);
-				list.addEventListener('layoutComplete',forwardEvent);
-			}
+			_header.addBead(buttonBarModel);
+			_header.addBead(bblayout);
+			_header.addBead(new Viewport());
+			host.addElement(_header);
+			
+			host.addElement(_listArea);
 			
-			// TODO: allow a developer to specify their own DataGridLayout
-			// possibly by seeing if a bead already exists
+			// do we know what the size is? If not, wait to be sized
 			
-			onSizeChanged(null);
-			IEventDispatcher(_strand).dispatchEvent(new Event("itemsCreated"));
+			if (host.isHeightSizedToContent() || host.isWidthSizedToContent()) {
+				host.addEventListener("sizeChanged", handleSizeChanges);
+			}
+				
+				// else size now
+			else {
+				handleDataProviderChanged(event);
+			}
 		}
 		
-		private function onSizeChanged(event:Event):void
+		/**
+		 * @private
+		 */
+		private function handleSizeChanges(event:Event):void
 		{
-			var bead:IBead = _strand.getBeadByType(IDataGridLayout);
-			var layout:IDataGridLayout;
-			if (bead == null) {
-				// NOTE: the following line will not cross-compile correctly into JavaScript
-				// so it has been commented and the class hard-coded.
-				//layout = new ValuesManager.valuesImpl.getValue(_strand, "iBeadLayout")) as IDataGridLayout;
-				layout = new DataGridLayout();
-				_strand.addBead(layout);
-			} else {
-				layout = bead as IDataGridLayout;
+			_header.x = 0;
+			_header.y = 0;
+			_header.width = host.width;
+			_header.height = 25;
+			
+			_listArea.x = 0;
+			_listArea.y = 26;
+			_listArea.width = host.width;
+			_listArea.height = host.height - _header.height;
+			
+			if (_lists != null) {
+				var xpos:Number = 0;
+				for (var i:int=0; i < _lists.length; i++) {
+					var list:List = _lists[i] as List;
+					list.x = xpos;
+					list.y = 0;
+					
+					xpos += list.width + 1;
+				}
 			}
-			layout.header = buttonBar;
-			layout.columns = columns;
-			layout.layout();
 		}
 		
 		/**
 		 * @private
-		 * When the dataProvider is changed for the DataGrid, this updates each List (column)
-		 * with the new (or changed) dataProvider.
 		 */
-		private function onDataProviderChanged(event:Event):void
+		private function handleDataProviderChanged(event:Event):void
 		{
 			var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as IDataGridModel;
 			
-			for (var i:int=0; i < columns.length; i++)
+			if (_lists == null || _lists.length == 0) {
+				createLists();
+			}
+			
+			for (var i:int=0; i < _lists.length; i++)
 			{
-				var list:List = columns[i] as List;
+				var list:List = _lists[i] as List;
 				var listModel:ISelectionModel = list.getBeadByType(IBeadModel) as ISelectionModel;
 				listModel.dataProvider = sharedModel.dataProvider;
 			}
+			
+			handleSizeChanges(event);
 		}
 		
 		/**
 		 * @private
 		 */
-		private function columnListChangeHandler(event:Event):void
+		private function handleColumnListChange(event:Event):void
 		{
 			var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as IDataGridModel;
 			var list:List = event.target as List;
 			sharedModel.selectedIndex = list.selectedIndex;
 			
-			for(var i:int=0; i < columns.length; i++) {
-				if (list != columns[i]) {
-					var otherList:List = columns[i] as List;
+			for(var i:int=0; i < _lists.length; i++) {
+				if (list != _lists[i]) {
+					var otherList:List = _lists[i] as List;
 					otherList.selectedIndex = list.selectedIndex;
 				}
 			}
@@ -225,14 +235,15 @@ package org.apache.flex.html.beads
 		/**
 		 * @private
 		 */
-		private function columnListRollOverHandler(event:Event):void
+		private function handleColumnListRollOver(event:Event):void
 		{
-			var list:List = event.target as List;
+			var itemRenderer:ISelectableItemRenderer = event.target as ISelectableItemRenderer;
+			var list:List = event.currentTarget as List;
 			if (list == null) return;
-			for(var i:int=0; i < columns.length; i++) {
-				if (list != columns[i]) {
-					var otherList:List = columns[i] as List;
-					otherList.rollOverIndex = list.rollOverIndex;
+			for(var i:int=0; i < _lists.length; i++) {
+				if (list != _lists[i]) {
+					var otherList:List = _lists[i] as List;
+					otherList.rollOverIndex = itemRenderer.index;
 				}
 			}
 			
@@ -242,10 +253,63 @@ package org.apache.flex.html.beads
 		/**
 		 * @private
 		 */
-		private function forwardEvent(event:Event):void
+		private function handleColumnListRollOut(event:Event):void
+		{
+			for(var i:int=0; i < _lists.length; i++) {
+				var otherList:List = _lists[i] as List;
+				otherList.rollOverIndex = -1;
+			}
+			
+			IEventDispatcher(_strand).dispatchEvent(new Event('rollOver'));
+		}
+		
+		/**
+		 * @private
+		 */
+		private function createLists():void
 		{
-			IEventDispatcher(_strand).dispatchEvent(event);
+			var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as IDataGridModel;
+			var presentationModel:DataGridPresentationModel = _strand.getBeadByType(DataGridPresentationModel) as DataGridPresentationModel;
+			var listWidth:Number = host.width / sharedModel.columns.length;
+			
+			_lists = new Array();
+			
+			for (var i:int=0; i < sharedModel.columns.length; i++) {
+				
+				var listModel:ISelectionModel = new ArraySelectionModel();
+				listModel.dataProvider = sharedModel.dataProvider;
+				
+				var dataGridColumn:DataGridColumn = sharedModel.columns[i] as DataGridColumn;
+				
+				var list:List = new List();
+				list.id = "dataGridColumn"+String(i);
+				list.className = "DataGridColumn";
+				list.addBead(listModel); 
+				list.addBead(new Viewport()); // do not want lists to scroll independently
+				list.addBead(new VerticalLayout());
+				list.itemRenderer = dataGridColumn.itemRenderer;
+				list.labelField = dataGridColumn.dataField;
+				list.addEventListener('change',handleColumnListChange);
+				list.addEventListener('rollover',handleColumnListRollOver);
+				list.addEventListener('rollout',handleColumnListRollOut);
+				list.addBead(presentationModel);
+				
+				// do not want lists to have their own sizes
+				var style:SimpleCSSStyles = new SimpleCSSStyles();
+				style.borderWidth = 0;
+				style.backgroundColor = 0xFFFFFF;
+				list.style = style;
+				
+				var colWidth:Number = dataGridColumn.columnWidth;
+				if (!isNaN(colWidth)) list.width = colWidth - 1;
+				else list.width = listWidth - 1;
+				
+				_listArea.addElement(list);	
+				_lists.push(list);
+			}
+			
+			_listArea.dispatchEvent(new Event("layoutNeeded"));
 		}
-		 
 	}
 }
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/IDataGridView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/IDataGridView.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/IDataGridView.as
deleted file mode 100644
index 8f04d11..0000000
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/IDataGridView.as
+++ /dev/null
@@ -1,36 +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 org.apache.flex.html.beads
-{
-	import org.apache.flex.core.IBeadView;
-	
-	/**
-	 *  The IDataGridView interface marks as a component as being the bead that
-	 *  can create the visual pieces for a org.apache.flex.html.DataGrid. 
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public interface IDataGridView extends IBeadView
-	{
-		
-	}
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/DataGridLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/DataGridLayout.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/DataGridLayout.as
deleted file mode 100644
index f6849ce..0000000
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/DataGridLayout.as
+++ /dev/null
@@ -1,157 +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 org.apache.flex.html.beads.layouts
-{	
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.IDataGridLayout;
-	import org.apache.flex.core.IDataGridModel;
-	import org.apache.flex.core.IStrand;
-	import org.apache.flex.core.IUIBase;
-	import org.apache.flex.core.UIBase;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.IEventDispatcher;
-	import org.apache.flex.html.ButtonBar;
-	import org.apache.flex.html.supportClasses.DataGridColumn;
-	
-	/**
-	 * DataGridLayout is a class that handles the size and positioning of the
-	 * elements of a DataGrid. This includes the ButtonBar used for the column
-	 * headers and the Lists that are the columns.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10.2
-	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
-	 */
-	public class DataGridLayout implements IBeadLayout, IDataGridLayout
-	{
-		/**
-		 *  constructor
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function DataGridLayout()
-		{
-		}
-		
-		private var _strand:IStrand;
-		
-		/**
-		 *  @copy org.apache.flex.core.IBead#strand
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function set strand(value:IStrand):void
-		{
-			_strand = value;
-		}
-		
-		private var _header:UIBase;
-		
-		/**
-		 * The element that is the header for the DataGrid
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get header():IUIBase
-		{
-			return _header;
-		}
-		public function set header(value:IUIBase):void
-		{
-			_header = UIBase(value);
-		}
-		
-		private var _columns:Array;
-		
-		/**
-		 * The array of column elements.
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		public function get columns():Array
-		{
-			return _columns;
-		}
-		public function set columns(value:Array):void
-		{
-			_columns = value;
-		}
-		
-        /**
-         * @copy org.apache.flex.core.IBeadLayout#layout
-         */
-		public function layout():Boolean
-		{						
-			var sw:Number = UIBase(_strand).width;
-			var sh:Number = UIBase(_strand).height;
-			
-			var columnHeight:Number = Math.floor(sh - header.height);
-			var columnWidth:Number  = Math.floor(sw / columns.length);
-			
-			var xpos:Number = 0;
-			var ypos:Number = Math.floor(header.height);
-			
-			// TODO: change the layout so that the model's DataGridColumn.columnWidth
-			// isn't used blindly, but is considered in the overall width. In other words,
-			// right now the width could exceed the strand's width.
-			var model:IDataGridModel = _strand.getBeadByType(IDataGridModel) as IDataGridModel;
-			
-			var buttonWidths:Array = new Array();
-			
-			for(var i:int=0; i < columns.length; i++) {
-				var column:UIBase = columns[i] as UIBase;
-				column.x = xpos;
-				column.y = ypos;
-				column.height = columnHeight;
-				
-				var dgc:DataGridColumn = model.columns[i];
-				if (!isNaN(dgc.columnWidth)) column.width = dgc.columnWidth;
-				else column.width  = columnWidth;
-				
-				xpos += column.width;
-				
-				buttonWidths.push(column.width);
-			}
-			
-			var bar:ButtonBar = header as ButtonBar;
-			var barLayout:ButtonBarLayout = bar.getBeadByType(ButtonBarLayout) as ButtonBarLayout;
-			barLayout.buttonWidths = buttonWidths;
-			
-			header.x = 0;
-			header.y = 0;
-			header.width = sw;
-			header.dispatchEvent(new Event("layoutNeeded"));
-			
-			return true;
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/DataGridPresentationModel.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/DataGridPresentationModel.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/DataGridPresentationModel.as
index 2959aad..0a00edb 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/DataGridPresentationModel.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/models/DataGridPresentationModel.as
@@ -44,6 +44,8 @@ package org.apache.flex.html.beads.models
 		public function DataGridPresentationModel()
 		{
 			super();
+			
+			separatorThickness = 1;
 		}
 		
 		private var _columnLabels:Array;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/basic-manifest.xml b/frameworks/projects/HTML/basic-manifest.xml
index 5ddd403..71a4049 100644
--- a/frameworks/projects/HTML/basic-manifest.xml
+++ b/frameworks/projects/HTML/basic-manifest.xml
@@ -81,7 +81,6 @@
 
     <component id="DataGrid" class="org.apache.flex.html.DataGrid"/>
     <component id="DataGridColumn" class="org.apache.flex.html.supportClasses.DataGridColumn"/>
-    <component id="DataGridLayout" class="org.apache.flex.html.beads.layouts.DataGridLayout" />
 
     <component id="DateChooser" class="org.apache.flex.html.DateChooser"/>
     <component id="DateField" class="org.apache.flex.html.DateField"/>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js
index 73fe84e..4971449 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayData.js
@@ -129,7 +129,10 @@ org.apache.flex.html.beads.DataItemRendererFactoryForArrayData.
     ir.index = i;
     ir.labelField = this.model.labelField;
     ir.data = dp[i];
-    if (presModel) ir.height = presModel.rowHeight;
+    if (presModel) {
+      ir.element.style['margin-bottom'] = presModel.separatorThickness;
+      ir.height = presModel.rowHeight;
+    }
   }
 
   var newEvent = new org.apache.flex.events.Event('itemsCreated');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/657ce8bd/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ListPresentationModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ListPresentationModel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ListPresentationModel.js
index 9b9bfeb..91d4371 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ListPresentationModel.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/models/ListPresentationModel.js
@@ -42,6 +42,13 @@ org.apache.flex.html.beads.models.ListPresentationModel.prototype.rowHeight_ = 3
 
 
 /**
+ * @private
+ * @type {number}
+ */
+org.apache.flex.html.beads.models.ListPresentationModel.prototype.separatorThickness_ = 0;
+
+
+/**
  * Metadata
  *
  * @type {Object.<string, Array.<Object>>}
@@ -71,5 +78,17 @@ Object.defineProperties(org.apache.flex.html.beads.models.ListPresentationModel.
             this.rowHeight_ = value;
             this.dispatchEvent('rowHeightChanged');
         }
+    },
+    /** @export */
+    separatorThickness: {
+        /** @this {org.apache.flex.html.beads.models.ListPresentationModel} */
+        get: function() {
+            return this.separatorThickness_;
+        },
+        /** @this {org.apache.flex.html.beads.models.ListPresentationModel} */
+        set: function(value) {
+            this.separatorThickness_ = value;
+            this.dispatchEvent('separatorThicknessChanged');
+        }
     }
 });


[35/50] git commit: [flex-asjs] [refs/heads/master] - some Ant versions don't auto create folders

Posted by ah...@apache.org.
some Ant versions don't auto create folders


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

Branch: refs/heads/master
Commit: 0da5b9aeb3b558b94b0423cae4101e6ae03ee625
Parents: 7c149ed
Author: Alex Harui <ah...@apache.org>
Authored: Tue Oct 13 12:32:52 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Oct 13 12:33:19 2015 -0700

----------------------------------------------------------------------
 frameworks/projects/Collections/build.xml | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0da5b9ae/frameworks/projects/Collections/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/build.xml b/frameworks/projects/Collections/build.xml
index d6c1e77..84f94da 100644
--- a/frameworks/projects/Collections/build.xml
+++ b/frameworks/projects/Collections/build.xml
@@ -73,6 +73,9 @@
         <echo message="Compiling libs/Collections.swc"/>
         <echo message="FLEX_HOME: ${FLEX_HOME}"/>
         <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+        
+        <!-- make JS output folder now so include-file doesn't error -->
+        <mkdir dir="${basedir}/js/out" />
 
         <!-- Load the <compc> task. We can't do this at the <project> level -->
         <!-- because targets that run before flexTasks.jar gets built would fail. -->


[39/50] git commit: [flex-asjs] [refs/heads/master] - add md5 checks to dependency downloads

Posted by ah...@apache.org.
add md5 checks to dependency downloads


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

Branch: refs/heads/master
Commit: c15290227c9802889657c3313eef69b2e9b71646
Parents: 8dcd7ca
Author: Alex Harui <ah...@apache.org>
Authored: Tue Oct 20 09:36:04 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Oct 20 09:36:13 2015 -0700

----------------------------------------------------------------------
 ApproveFlexJS.xml | 31 +++++++++++++++++++++++++++----
 1 file changed, 27 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1529022/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index e2f7032..255bc34 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -100,10 +100,6 @@
         unless="PLAYERGLOBAL_HOME"/>
     
     <available file="${env.FLASHPLAYER_DEBUGGER}"
-        type="dir"
-        property="FLASHPLAYER_DEBUGGER" value="${env.FLASHPLAYER_DEBUGGER}" />
-    
-    <available file="${env.FLASHPLAYER_DEBUGGER}"
         type="file"
         property="FLASHPLAYER_DEBUGGER" value="${env.FLASHPLAYER_DEBUGGER}" />
     
@@ -416,6 +412,15 @@
         <property name="binary.jx.kit" value="${kit.jx.prefix}-bin"/>
         <get src="http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/lastSuccessfulBuild/artifact/out/${binary.jx.kit}.zip"
              dest="${basedir}/${binary.jx.kit}.zip" verbose="true" skipexisting="true"/>
+        <get src="http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/lastSuccessfulBuild/artifact/out/${binary.jx.kit}.zip.md5"
+             dest="${basedir}/${binary.jx.kit}.zip.md5" verbose="true" skipexisting="true"/>
+        <checksum file="${basedir}/${binary.jx.kit}.zip" algorithm="md5" verifyproperty="falcon.md5.ok" />
+        <condition property="FalconMD5Invalid">
+            <not>
+                <equals arg1="${falcon.md5.ok}" arg2="true" />
+            </not>
+        </condition>
+        <fail message="MD5 checksum did not match" if="FalconMD5Invalid" />
         <unzip src="${basedir}/${binary.jx.kit}.zip" dest="${basedir}/falconjx" />
         <ant dir="${basedir}/falconjx/compiler" antfile="downloads.xml" />
         <ant dir="${basedir}/falconjx/compiler.jx" antfile="downloads.xml" />
@@ -439,6 +444,15 @@
         <property name="binary.jx.kit" value="${kit.jx.prefix}-bin"/>
         <get src="https://dist.apache.org/repos/dist/dev/flex/falcon/0.5.0/rc1/binaries/{binary.jx.kit}.zip"
         dest="${basedir}/${binary.jx.kit}.zip" verbose="true" skipexisting="true"/>
+        <get src="https://dist.apache.org/repos/dist/dev/flex/falcon/0.5.0/rc1/binaries/{binary.jx.kit}.zip.md5"
+        dest="${basedir}/${binary.jx.kit}.zip.md5" verbose="true" skipexisting="true"/>
+        <checksum file="${basedir}/${binary.jx.kit}.zip" algorithm="md5" verifyproperty="falcon.md5.ok" />
+        <condition property="FalconMD5Invalid">
+            <not>
+                <equals arg1="${falcon.md5.ok}" arg2="true" />
+            </not>
+        </condition>
+        <fail message="MD5 checksum did not match" if="FalconMD5Invalid" />
         <unzip src="${basedir}/${binary.jx.kit}.zip" dest="${basedir}/falconjx" />
         <ant dir="${basedir}/falconjx/compiler" antfile="downloads.xml" />
         <ant dir="${basedir}/falconjx/compiler.jx" antfile="downloads.xml" />
@@ -461,6 +475,15 @@
         <property name="binary.flexunit.kit" value="apache-flex-flexunit-4.2.0-4.12.0-bin"/>
         <get src="https://archive.apache.org/dist/flex/flexunit/4.2.0/binaries/${binary.flexunit.kit}.zip"
         dest="${basedir}/${binary.flexunit.kit}.zip" verbose="true" skipexisting="true"/>
+        <get src="https://archive.apache.org/dist/flex/flexunit/4.2.0/binaries/${binary.flexunit.kit}.zip.md5"
+        dest="${basedir}/${binary.flexunit.kit}.zip.md5" verbose="true" skipexisting="true"/>
+        <checksum file="${basedir}/${binary.flexunit.kit}.zip" algorithm="md5" verifyproperty="flexunit.md5.ok" />
+        <condition property="FlexUnitMD5Invalid">
+            <not>
+                <equals arg1="${flexunit.md5.ok}" arg2="true" />
+            </not>
+        </condition>
+        <fail message="MD5 checksum did not match" if="FlexUnitMD5Invalid" />
         <unzip src="${basedir}/${binary.flexunit.kit}.zip" dest="${basedir}/flexunit" />
         <property name="FLEXUNIT_HOME" value="${basedir}/flexunit" />
     </target>


[07/50] git commit: [flex-asjs] [refs/heads/master] - - Fixed a bug in the deploy part of the asjs maven sctipts

Posted by ah...@apache.org.
- Fixed a bug in the deploy part of the asjs maven sctipts


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

Branch: refs/heads/master
Commit: 40c4c14fe0e6115d75546194369f53f64bef2384
Parents: 2b3a0c0
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Tue Sep 22 23:14:54 2015 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Tue Sep 22 23:14:54 2015 +0200

----------------------------------------------------------------------
 maven.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/40c4c14f/maven.xml
----------------------------------------------------------------------
diff --git a/maven.xml b/maven.xml
index c9818b5..2be15e9 100644
--- a/maven.xml
+++ b/maven.xml
@@ -441,11 +441,11 @@
     <target name="-deploy-maven-framework-config-artifact" depends="-setup-aether-antlib"
             xmlns:artifact="antlib:org.eclipse.aether.ant">
         <echo message="Deploying Framework config"/>
-        <artifact:install>
+        <artifact:deploy>
             <artifact:remoterepo id="${maven.repositoryId}" url="${maven.repositoryUrl}"/>
             <artifact:pom file="generated/maven/flexjs-framework-framework.pom"/>
             <artifact:artifact file="generated/maven/flexjs-framework-framework-configs.zip" classifier="configs"/>
-        </artifact:install>
+        </artifact:deploy>
     </target>
 
     <target name="-deploy-maven-artifact-file" depends="-setup-aether-antlib"


[20/50] git commit: [flex-asjs] [refs/heads/master] - try switching back to apacheflexbuilds

Posted by ah...@apache.org.
try switching back to apacheflexbuilds


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

Branch: refs/heads/master
Commit: bf6d772a94f72af3a004acfc45bbb957a4c6260d
Parents: 5a74b70
Author: Alex Harui <ah...@apache.org>
Authored: Fri Oct 2 12:54:19 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Oct 2 12:54:19 2015 -0700

----------------------------------------------------------------------
 nightly.properties | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf6d772a/nightly.properties
----------------------------------------------------------------------
diff --git a/nightly.properties b/nightly.properties
index 35459f8..39f79ed 100644
--- a/nightly.properties
+++ b/nightly.properties
@@ -20,14 +20,14 @@
 # flags
 nightly = true
 # path to falconjx nightly
-falcon.server.url = http://people.apache.org
-falcon.md5.server.url = http://people.apache.org
-falcon.folder = ~aharui/nightly/falcon
-falcon.version = 0.5.0
-#falcon.server.url = http://apacheflexbuild.cloudapp.net:8080
-#falcon.md5.server.url = http://apacheflexbuild.cloudapp.net:8080
-#falcon.folder = job/flex-falcon/lastSuccessfulBuild/artifact/out
+#falcon.server.url = http://people.apache.org
+#falcon.md5.server.url = http://people.apache.org
+#falcon.folder = ~aharui/nightly/falcon
 #falcon.version = 0.5.0
+falcon.server.url = http://apacheflexbuild.cloudapp.net:8080
+falcon.md5.server.url = http://apacheflexbuild.cloudapp.net:8080
+falcon.folder = job/flex-falcon/lastSuccessfulBuild/artifact/out
+falcon.version = 0.5.0
 #need this until Installer 3.2 comes out
 jburg.server=http://downloads.sourceforge.net
 jburg.folder=project/jburg


[11/50] git commit: [flex-asjs] [refs/heads/master] - fix up containers after last refactor

Posted by ah...@apache.org.
fix up containers after last refactor


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

Branch: refs/heads/master
Commit: 72c84c8d32ebf3f82223911584da4ab3856f55c4
Parents: d07030f
Author: Alex Harui <ah...@apache.org>
Authored: Thu Sep 24 16:37:25 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Sep 24 16:37:25 2015 -0700

----------------------------------------------------------------------
 .../src/org/apache/flex/core/ContainerBase.as   | 38 ++++----------------
 .../as/src/org/apache/flex/core/IContainer.as   | 11 ------
 .../src/org/apache/flex/core/ContainerBase.js   | 12 +++----
 .../js/src/org/apache/flex/core/IContainer.js   |  6 ----
 .../html/beads/ControlBarMeasurementBead.as     |  6 ++--
 .../html/beads/layouts/VerticalColumnLayout.as  |  7 ++--
 .../js/src/org/apache/flex/html/Container.js    | 15 --------
 7 files changed, 18 insertions(+), 77 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72c84c8d/frameworks/projects/Core/as/src/org/apache/flex/core/ContainerBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/ContainerBase.as b/frameworks/projects/Core/as/src/org/apache/flex/core/ContainerBase.as
index 050f018..a847b01 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/ContainerBase.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/ContainerBase.as
@@ -122,11 +122,11 @@ package org.apache.flex.core
 			var contentView:IParent = view as IParent;
 			if (contentView != null) {
 				contentView.addElement(c, dispatchEvent);
+                if (dispatchEvent)
+                    this.dispatchEvent(new Event("childrenAdded"));
 			}
 			else {
 				addChild(c as DisplayObject);
-				if (dispatchEvent)
-					this.dispatchEvent(new Event("childrenAdded"));
 			}
         }
         
@@ -138,11 +138,11 @@ package org.apache.flex.core
 			var contentView:IParent = view as IParent;
 			if (contentView != null) {
 				contentView.addElementAt(c, index, dispatchEvent);
+                if (dispatchEvent)
+                    this.dispatchEvent(new Event("childrenAdded"));
 			}
 			else {
 				addChildAt(c as DisplayObject, index);
-				if (dispatchEvent)
-					this.dispatchEvent(new Event("childrenAdded"));
 			}
         }
         
@@ -154,41 +154,15 @@ package org.apache.flex.core
 			var contentView:IParent = view as IParent;
 			if (contentView != null) {
 				contentView.removeElement(c, dispatchEvent);
+                if (dispatchEvent)
+                    this.dispatchEvent(new Event("childrenRemoved"));
 			}
 			else {
 				removeChild(c as DisplayObject);
-				if (dispatchEvent)
-					this.dispatchEvent(new Event("childrenRemoved"));
 			}
         }
         
         /**
-         *  Get the array of children.  To change the children use
-         *  addElement, removeElement.
-         */
-        public function getChildren():Array
-        {
-			var contentView:IParent = view as IParent;
-			var children:Array = [];
-			var n:int = 0;
-			var i:int = 0;
-			
-			if (contentView != null) {
-				n = contentView.numElements;
-				for (i=0; i < n; i++) {
-					children.push(contentView.getElementAt(i));
-				}
-			}
-			else {
-	            for (i = 0; i < n; i++) {
-	                children.push(getChildAt(i));
-				}
-			}
-			
-			return children;
-        }
-        
-        /**
          *  @private
          */
         public function childrenAdded():void

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72c84c8d/frameworks/projects/Core/as/src/org/apache/flex/core/IContainer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/IContainer.as b/frameworks/projects/Core/as/src/org/apache/flex/core/IContainer.as
index 1091bad..889a888 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/IContainer.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/IContainer.as
@@ -32,17 +32,6 @@ package org.apache.flex.core
      */
     public interface IContainer extends IParent
 	{
-		/**
-		 *  This method returns an array of the content children
-		 *  of the container.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
-		 */
-		function getChildren():Array;
-		
         /**
          *  This method is called after children have been
          *  added to the container so the container doesn't

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72c84c8d/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
index 1441721..4d409e4 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/ContainerBase.js
@@ -159,6 +159,8 @@ org.apache.flex.core.ContainerBase.prototype.addElement = function(c, opt_dispat
   var contentView = this.view;
   if (contentView != null) {
     contentView.addElement(c, opt_dispatchEvent);
+    if (opt_dispatchEvent)
+      this.dispatchEvent('childrenAdded');
   }
   else {
     this.$addElement(c, opt_dispatchEvent);
@@ -179,6 +181,8 @@ org.apache.flex.core.ContainerBase.prototype.addElementAt = function(c, index, o
   var contentView = this.view;
   if (contentView != null) {
     contentView.addElementAt(c, index, opt_dispatchEvent);
+    if (opt_dispatchEvent)
+      this.dispatchEvent('childrenAdded');
   }
   else {
     this.$addElementAt(c, index, opt_dispatchEvent);
@@ -208,6 +212,8 @@ org.apache.flex.core.ContainerBase.prototype.removeElement = function(c, opt_dis
   var contentView = this.view;
   if (contentView != null) {
     contentView.removeElement(c, opt_dispatchEvent);
+    if (opt_dispatchEvent)
+      this.dispatchEvent('childrenRemoved');
   } else {
     this.$removeElement(c, opt_dispatchEvent);
   }
@@ -246,8 +252,6 @@ org.apache.flex.core.ContainerBase.prototype.$addElement = function(c, opt_dispa
     opt_dispatchEvent = true;
   this.element.appendChild(c.positioner);
   c.addedToParent();
-  if (opt_dispatchEvent)
-     this.dispatchEvent('childrenAdded');
 };
 
 
@@ -268,8 +272,6 @@ org.apache.flex.core.ContainerBase.prototype.$addElementAt = function(c, index,
         children1[index]);
     c.addedToParent();
   }
-  if (opt_dispatchEvent)
-     this.dispatchEvent('childrenAdded');
 };
 
 
@@ -280,8 +282,6 @@ org.apache.flex.core.ContainerBase.prototype.$addElementAt = function(c, index,
  */
 org.apache.flex.core.ContainerBase.prototype.$removeElement = function(c, opt_dispatchEvent) {
   this.element.removeChild(c.element);
-  if (opt_dispatchEvent)
-     this.dispatchEvent('childrenRemoved');
 };
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72c84c8d/frameworks/projects/Core/js/src/org/apache/flex/core/IContainer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IContainer.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IContainer.js
index 50cfcc7..6df12dc 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/IContainer.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/IContainer.js
@@ -35,12 +35,6 @@ org.apache.flex.core.IContainer = function() {
 
 
 /**
- * @return {Array} All of the children of the container.
- */
-org.apache.flex.core.IContainer.prototype.getChildren = function() {};
-
-
-/**
  * Called after all of the children have been added to the container.
  * @return {void}
  */

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72c84c8d/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ControlBarMeasurementBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ControlBarMeasurementBead.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ControlBarMeasurementBead.as
index 97b24b5..18d19dd 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ControlBarMeasurementBead.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ControlBarMeasurementBead.as
@@ -62,10 +62,10 @@ package org.apache.flex.html.beads
 			// since it would know the arrangement of the items and how far apart they are and if
 			// there are margins and paddings and gaps involved.
 			var mwidth:Number = 0;
-			var children:Array = Container(_strand).getChildren();
-			var n:int = children.length;
+            var container:Container = Container(_strand);
+			var n:int = container.numElements;
 			for(var i:int=0; i < n; i++) {
-				var child:IUIBase = children[i] as IUIBase;
+				var child:IUIBase = container.getElementAt(i) as IUIBase;
 				if( child == null ) continue;
 				var childMeasure:IMeasurementBead = child.getBeadByType(IMeasurementBead) as IMeasurementBead;
                 if (childMeasure)

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72c84c8d/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/VerticalColumnLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/VerticalColumnLayout.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/VerticalColumnLayout.as
index 885eb80..d32777d 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/VerticalColumnLayout.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/VerticalColumnLayout.as
@@ -124,13 +124,12 @@ package org.apache.flex.html.beads.layouts
             var mr:Number;
             var mt:Number;
             var mb:Number;
-			var children:Array = IContainer(_strand).getChildren();
-			var n:int = children.length;
+			var n:int = contentView.numElements;
             var rowData:Object = { rowHeight: 0 };
 			
 			// determine max widths of columns
 			for (i = 0; i < n; i++) {
-				e = children[i];
+				e = contentView.getElementAt(i) as IUIBase;
                 margin = ValuesManager.valuesImpl.getValue(e, "margin");
                 marginLeft = ValuesManager.valuesImpl.getValue(e, "margin-left");
                 marginTop = ValuesManager.valuesImpl.getValue(e, "margin-top");
@@ -172,7 +171,7 @@ package org.apache.flex.html.beads.layouts
 			col = 0;
 			for (i = 0; i < n; i++) 
             {
-				e = children[i];
+				e = contentView.getElementAt(i) as IUIBase;
 				e.x = curx + ml;
 				e.y = cury + data[i].mt;
 				curx += columns[col++];

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/72c84c8d/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
index c363807..b7d628a 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
@@ -121,18 +121,3 @@ org.apache.flex.html.Container.prototype.internalChildren =
   return this.element.children;
 };
 
-
-/**
- * @return {Array} All of the children of the container.
- */
-org.apache.flex.html.Container.prototype.getChildren = function() {
-  var arr = this.element.children;
-  var comparr = [];
-  var n = arr.length;
-  for (var i = 0; i < n; i++)
-  {
-    comparr.push(arr[i].flexjs_wrapper);
-  }
-  return comparr;
-};
-


[38/50] git commit: [flex-asjs] [refs/heads/master] - Minor changes to get CordovaCameraExample to work for android again.

Posted by ah...@apache.org.
Minor changes to get CordovaCameraExample to work for android again.


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

Branch: refs/heads/master
Commit: 8dcd7ca9427a3f9996a3cde23d16c4b6da8a3f04
Parents: ad4955f
Author: Peter Ent <pe...@apache.org>
Authored: Fri Oct 16 14:17:29 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Fri Oct 16 14:17:29 2015 -0400

----------------------------------------------------------------------
 cordova-build.xml                                   |  1 +
 examples/flexjs/CordovaCameraExample/src/README.txt | 11 +++++++----
 2 files changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8dcd7ca9/cordova-build.xml
----------------------------------------------------------------------
diff --git a/cordova-build.xml b/cordova-build.xml
index 4d3b400..1e209b8 100644
--- a/cordova-build.xml
+++ b/cordova-build.xml
@@ -79,6 +79,7 @@
 		<!-- build the app -->
 		<exec executable="cordova" dir="${app.dir}">
 			<arg value="build" />
+			<arg value="android" />
 		</exec>
     </target>
     

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8dcd7ca9/examples/flexjs/CordovaCameraExample/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/src/README.txt b/examples/flexjs/CordovaCameraExample/src/README.txt
index 52d21ff..a3ebcaf 100644
--- a/examples/flexjs/CordovaCameraExample/src/README.txt
+++ b/examples/flexjs/CordovaCameraExample/src/README.txt
@@ -8,17 +8,20 @@ Go to your mobile development directory:
 %cd ~/mobile
 
 Copy into this directory, the cordova-build.xml ANT script:
-% cp ~/dev/flex-asjs/cordova-build.xml
+% cp ~/dev/flex-asjs/cordova-build.xml .
 
 Create the Cordova project for your FlexJS application:
-% ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample -DTARGET_DIR=. -DPROJECT_DIR=/Users/home/dev/flex-asjs/examples/CordovaCameraExample/
+% ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample -DTARGET_DIR=. -DPROJECT_DIR=/Users/home/dev/flex-asjs/examples/flexjs/CordovaCameraExample
 
 Load the Cordova camera plugin:
 cd CordovaCameraExample
-% cordova plugin add org.apache.cordova.camera
+% cordova plugin add cordova-plugin-camera
 
 Modify the www/index.html file to include the cordova.js source (place this line with the other <script> elements):
 <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
 
 Run your app on your connected device:
-% cordova run
\ No newline at end of file
+% cordova run
+
+Or run on the simulator
+% cordova emulate android
\ No newline at end of file


[10/50] git commit: [flex-asjs] [refs/heads/master] - FlexJSStore demo needs list item to have its width set to trigger its internal layout.

Posted by ah...@apache.org.
FlexJSStore demo needs list item to have its width set to trigger its internal layout.


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

Branch: refs/heads/master
Commit: d07030ff635d74339d28301e14e7917de50d56be
Parents: 4dd82db
Author: Peter Ent <pe...@apache.org>
Authored: Wed Sep 23 16:49:21 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Sep 23 16:49:21 2015 -0400

----------------------------------------------------------------------
 examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d07030ff/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
index 951b1fa..18a2b7a 100755
--- a/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
+++ b/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
@@ -138,6 +138,7 @@ limitations under the License.
 			for (var i:int = startIndex; i < n ; i++)
 			{
 			    var item:ProductListItem = items[i];
+			    item.width = width;
                 var yTo:Number = i * (item.height);
                 //still need to prevent items that are already in motion from getting
                 //jumpy


[05/50] git commit: [flex-asjs] [refs/heads/master] - - Fixed an invalid dependency of refrences to ILayoutParent which was renamed to ILayoutHost

Posted by ah...@apache.org.
- Fixed an invalid dependency of refrences to ILayoutParent which was renamed to ILayoutHost


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

Branch: refs/heads/master
Commit: 0a2fbbd513b2f7b37a617cd6e2640565c7df07f1
Parents: 58c24a2
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Tue Sep 22 19:46:53 2015 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Tue Sep 22 19:46:53 2015 +0200

----------------------------------------------------------------------
 .../HTML/js/src/org/apache/flex/html/beads/ListView.js         | 6 +++---
 .../src/org/apache/flex/html/beads/ScrollingContainerView.js   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0a2fbbd5/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ListView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ListView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ListView.js
index 8f3ab66..89401f2 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ListView.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ListView.js
@@ -17,7 +17,7 @@ goog.provide('org.apache.flex.html.beads.ListView');
 goog.require('org.apache.flex.core.IBeadLayout');
 goog.require('org.apache.flex.core.IBeadView');
 goog.require('org.apache.flex.core.IItemRendererParent');
-goog.require('org.apache.flex.core.ILayoutParent');
+goog.require('org.apache.flex.core.ILayoutHost');
 goog.require('org.apache.flex.core.ValuesManager');
 goog.require('org.apache.flex.html.beads.ContainerView');
 goog.require('org.apache.flex.html.beads.IListView');
@@ -30,7 +30,7 @@ goog.require('org.apache.flex.html.supportClasses.DataGroup');
 /**
  * @constructor
  * @extends {org.apache.flex.html.beads.ContainerView}
- * @implements {org.apache.flex.core.ILayoutParent}
+ * @implements {org.apache.flex.core.ILayoutHost}
  * @implements {org.apache.flex.html.beads.IListView}
  */
 org.apache.flex.html.beads.ListView = function() {
@@ -53,7 +53,7 @@ org.apache.flex.html.beads.ListView.prototype.
     FLEXJS_CLASS_INFO =
     { names: [{ name: 'ListView',
                 qName: 'org.apache.flex.html.beads.ListView' }],
-      interfaces: [org.apache.flex.html.beads.IListView, org.apache.flex.core.ILayoutParent] };
+      interfaces: [org.apache.flex.html.beads.IListView, org.apache.flex.core.ILayoutHost] };
 
 
 /**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0a2fbbd5/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ScrollingContainerView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ScrollingContainerView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ScrollingContainerView.js
index 64ddfac..c4a7eac 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ScrollingContainerView.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ScrollingContainerView.js
@@ -41,7 +41,7 @@ goog.inherits(
 org.apache.flex.html.beads.ScrollingContainerView.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'ScrollingContainerView',
                 qName: 'org.apache.flex.html.beads.ScrollingContainerView' }],
-    interfaces: [org.apache.flex.core.ILayoutParent]
+    interfaces: [org.apache.flex.core.ILayoutHost]
     };
 
 


[33/50] git commit: [flex-asjs] [refs/heads/master] - handle binary FlexUnit packaging

Posted by ah...@apache.org.
handle binary FlexUnit packaging


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

Branch: refs/heads/master
Commit: 029eececa0863c56b33d9b90eee3d214b0732ba6
Parents: 0da5b9a
Author: Alex Harui <ah...@apache.org>
Authored: Tue Oct 13 12:33:12 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Oct 13 12:33:19 2015 -0700

----------------------------------------------------------------------
 frameworks/projects/Core/as/tests/build.xml   | 26 ++++++++++++++++++----
 frameworks/projects/HTML/asjs/tests/build.xml | 24 +++++++++++++++++---
 2 files changed, 43 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/029eecec/frameworks/projects/Core/as/tests/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/tests/build.xml b/frameworks/projects/Core/as/tests/build.xml
index 34c6700..85e142e 100644
--- a/frameworks/projects/Core/as/tests/build.xml
+++ b/frameworks/projects/Core/as/tests/build.xml
@@ -52,9 +52,27 @@
         property="FLEXUNIT_HOME"
         value="${env.FLEXUNIT_HOME}"/>
     
+    <available file="${FLEXUNIT_HOME}/FlexUnit4/target"
+        type="dir"
+        property="FLEXUNIT_LIBPATH1"
+        value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4/target" />
+    <property name="FLEXUNIT_LIBPATH1" value="-library-path+=${FLEXUNIT_HOME}/flexunit" />
+        
+    <available file="${FLEXUNIT_HOME}/FlexUnit4CIListener/target"
+        type="dir"
+        property="FLEXUNIT_LIBPATH2"
+        value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4CIListener/target" />
+    <property name="FLEXUNIT_LIBPATH2" value="-define=CONFIG::dummy,false" />
+        
+    <available file="${FLEXUNIT_HOME}/FlexUnit4AntTasks/target"
+        type="dir"
+        property="FLEXUNIT_CLASSPATH"
+        value="${FLEXUNIT_HOME}/FlexUnit4AntTasks/target" />
+    <property name="FLEXUNIT_CLASSPATH" value="${FLEXUNIT_HOME}/flexunit" />
+        
     <target name="main" depends="clean,compile,test" description="Clean test of FlexJSUI.swc">
     </target>
-    
+
     <target name="clean">
         <delete failonerror="false">
             <fileset dir="${basedir}">
@@ -107,15 +125,15 @@
             <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
             <arg value="-source-path+=${FLEXJS_HOME}/frameworks/projects/Core/as/src" />
             <arg value="-library-path+=${FLEXJS_HOME}/frameworks/libs" />
-            <arg value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4/target" />
-            <arg value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4CIListener/target" />
+            <arg value="${FLEXUNIT_LIBPATH1}" />
+            <arg value="${FLEXUNIT_LIBPATH2}" />
         </mxmlc>
     </target>
 
     <target name="test">
         <taskdef resource="flexUnitTasks.tasks">
             <classpath>
-                <fileset dir="${FLEXUNIT_HOME}/FlexUnit4AntTasks/target">
+                <fileset dir="${FLEXUNIT_CLASSPATH}">
                     <include name="flexUnitTasks*.jar" />
                 </fileset>
             </classpath>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/029eecec/frameworks/projects/HTML/asjs/tests/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/tests/build.xml b/frameworks/projects/HTML/asjs/tests/build.xml
index e89d550..4a12b75 100644
--- a/frameworks/projects/HTML/asjs/tests/build.xml
+++ b/frameworks/projects/HTML/asjs/tests/build.xml
@@ -52,6 +52,24 @@
         property="FLEXUNIT_HOME"
         value="${env.FLEXUNIT_HOME}"/>
 
+    <available file="${FLEXUNIT_HOME}/FlexUnit4/target"
+        type="dir"
+        property="FLEXUNIT_LIBPATH1"
+        value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4/target" />
+        <property name="FLEXUNIT_LIBPATH1" value="-library-path+=${FLEXUNIT_HOME}/flexunit" />
+
+    <available file="${FLEXUNIT_HOME}/FlexUnit4CIListener/target"
+        type="dir"
+        property="FLEXUNIT_LIBPATH2"
+        value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4CIListener/target" />
+        <property name="FLEXUNIT_LIBPATH2" value="-define=CONFIG::dummy,false" />
+
+    <available file="${FLEXUNIT_HOME}/FlexUnit4AntTasks/target"
+        type="dir"
+        property="FLEXUNIT_CLASSPATH"
+        value="${FLEXUNIT_HOME}/FlexUnit4AntTasks/target" />
+        <property name="FLEXUNIT_CLASSPATH" value="${FLEXUNIT_HOME}/flexunit" />
+
     <target name="main" depends="clean,compile,test" description="Clean test of FlexJSUI.swc">
     </target>
     
@@ -103,15 +121,15 @@
             <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
             <arg value="-source-path+=${FLEXJS_HOME}/frameworks/projects/HTML/asjs/src" />
             <arg value="-library-path+=${FLEXJS_HOME}/frameworks/libs" />
-            <arg value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4/target" />
-            <arg value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4CIListener/target" />
+            <arg value="${FLEXUNIT_LIBPATH1}" />
+            <arg value="${FLEXUNIT_LIBPATH2}" />
         </mxmlc>
     </target>
 
     <target name="test">
         <taskdef resource="flexUnitTasks.tasks">
             <classpath>
-                <fileset dir="${FLEXUNIT_HOME}/FlexUnit4AntTasks/target">
+                <fileset dir="${FLEXUNIT_CLASSPATH}">
                     <include name="flexUnitTasks*.jar" />
                 </fileset>
             </classpath>


[23/50] git commit: [flex-asjs] [refs/heads/master] - Adding ArrayList to Collections framework.

Posted by ah...@apache.org.
Adding ArrayList to Collections framework.


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

Branch: refs/heads/master
Commit: e2eac34d27c83e2d33920ae61479682202af84e3
Parents: 657ce8b
Author: Peter Ent <pe...@apache.org>
Authored: Wed Oct 7 15:46:20 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Oct 7 15:46:20 2015 -0400

----------------------------------------------------------------------
 frameworks/build.xml                            |   4 +-
 .../Collections/as/src/CollectionsClasses.as    |   1 +
 .../asjs/src/CollectionsASJSClasses.as          |  33 ++
 .../org/apache/flex/collections/ArrayList.as    | 396 +++++++++++++++++++
 .../projects/Collections/basic-manifest.xml     |   1 +
 frameworks/projects/Collections/build.xml       |  20 +-
 .../projects/Collections/compile-config.xml     |   2 +
 .../org/apache/flex/collections/ICollection.js  |  50 +++
 8 files changed, 504 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e2eac34d/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index e66b008..ab9196d 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -79,10 +79,10 @@
         <antcall target="Core"/>
         <antcall target="Graphics"/>
         <antcall target="Binding"/>
+        <antcall target="Collections"/>
         <antcall target="HTML"/>
         <antcall target="Flat"/>
         <antcall target="Charts"/>
-        <antcall target="Collections"/>
         <antcall target="CreateJS"/>
         <antcall target="DragDrop"/>
         <antcall target="Effects"/>
@@ -136,10 +136,10 @@
         <ant dir="${basedir}/projects/Core" target="compile"/>
         <ant dir="${basedir}/projects/Graphics" target="compile"/>
         <ant dir="${basedir}/projects/Binding" target="compile"/>
+        <ant dir="${basedir}/projects/Collections" target="compile"/>
         <ant dir="${basedir}/projects/HTML" target="compile"/>
         <ant dir="${basedir}/projects/Flat" target="compile"/>
         <ant dir="${basedir}/projects/Charts" target="compile"/>
-        <ant dir="${basedir}/projects/Collections" target="compile"/>
         <ant dir="${basedir}/projects/CreateJS" target="compile"/>
         <ant dir="${basedir}/projects/DragDrop" target="compile"/>
         <ant dir="${basedir}/projects/Effects" target="compile"/>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e2eac34d/frameworks/projects/Collections/as/src/CollectionsClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/as/src/CollectionsClasses.as b/frameworks/projects/Collections/as/src/CollectionsClasses.as
index dcbf02c..f2b02c3 100644
--- a/frameworks/projects/Collections/as/src/CollectionsClasses.as
+++ b/frameworks/projects/Collections/as/src/CollectionsClasses.as
@@ -27,6 +27,7 @@ package
  */
 internal class CollectionsClasses
 {	
+	import org.apache.flex.collections.LazyCollection; LazyCollection;
 }
 
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e2eac34d/frameworks/projects/Collections/asjs/src/CollectionsASJSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/asjs/src/CollectionsASJSClasses.as b/frameworks/projects/Collections/asjs/src/CollectionsASJSClasses.as
new file mode 100644
index 0000000..e631e8a
--- /dev/null
+++ b/frameworks/projects/Collections/asjs/src/CollectionsASJSClasses.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+/**
+ *  @private
+ *  This class is used to link additional classes into rpc.swc
+ *  beyond those that are found by dependecy analysis starting
+ *  from the classes specified in manifest.xml.
+ */
+internal class CollectionsASJSClasses
+{
+    import org.apache.flex.collections.ArrayList; ArrayList;
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e2eac34d/frameworks/projects/Collections/asjs/src/org/apache/flex/collections/ArrayList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/asjs/src/org/apache/flex/collections/ArrayList.as b/frameworks/projects/Collections/asjs/src/org/apache/flex/collections/ArrayList.as
new file mode 100644
index 0000000..58d44e8
--- /dev/null
+++ b/frameworks/projects/Collections/asjs/src/org/apache/flex/collections/ArrayList.as
@@ -0,0 +1,396 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.collections
+{	
+	import org.apache.flex.core.IBead;
+	import org.apache.flex.core.IStrand;
+	import org.apache.flex.events.Event;
+	import org.apache.flex.events.EventDispatcher;
+	import org.apache.flex.events.IEventDispatcher;
+    import org.apache.flex.collections.parsers.IInputParser;
+    import org.apache.flex.collections.converters.IItemConverter;
+    
+    //--------------------------------------
+    //  Events
+    //--------------------------------------
+	
+	/**
+	 *  Dispatched when the collection's underlying source array
+	 *  is changed.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
+	[Event(name="collectionChanged", type="org.apache.flex.events.Event")]
+	
+	/**
+	 *  Dispatched when the collection has added an item.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
+	[Event(name="itemAdded", type="org.apache.flex.events.Event")]
+	
+	/**
+	 *  Dispatched when the collection has removed an item.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
+	[Event(name="itemRemoved", type="org.apache.flex.events.Event")]
+	
+	/**
+	 *  Dispatched when the collection has updated an item.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
+	[Event(name="itemUpdated", type="org.apache.flex.events.Event")]
+    
+    /**
+     *  The ArrayList class provides an event-driven wrapper for the
+	 *  standard Array. Events are dispatched when items are added, removed,
+	 *  or changed.
+     * 
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class ArrayList extends EventDispatcher implements IBead, ICollection
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function ArrayList(initialSource:Array=null)
+		{
+			super();
+			if (initialSource) _source = initialSource;
+			else _source = [];
+		}
+
+        private var _id:String;
+        
+        /**
+         *  @copy org.apache.flex.core.UIBase#id
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function get id():String
+		{
+			return _id;
+		}
+
+        /**
+         *  @private
+         */
+		public function set id(value:String):void
+		{
+			if (_id != value)
+			{
+				_id = value;
+				dispatchEvent(new Event("idChanged"));
+			}
+		}
+		
+        private var _strand:IStrand;
+        
+        /**
+         *  @copy org.apache.flex.core.UIBase#strand
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public function set strand(value:IStrand):void
+        {
+            _strand = value;
+			_source = new Array();
+        }
+		
+		private var _source:Array;
+        
+        /**
+         *  The array of raw data needing conversion.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function get source():Array
+		{
+			return _source;
+		}
+		
+		public function set source(value:Array):void
+		{
+			if (_source != value) {
+				if (value == null) _source = [];
+				else _source = value;
+				dispatchEvent(new Event("collectionChanged"));
+			}
+		}
+		
+		/**
+		 * Returns a copy of the source array.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+		 */
+		public function toArray():Array
+		{
+			return _source.concat();
+		}
+        
+        /**
+         *  Fetches an item from the collection
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public function getItemAt(index:int):Object
+        {
+            return _source[index];
+        } 
+		
+		/**
+		 *  Fetches an item from the collection given an index.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function getItemIndex(item:Object):int
+		{
+			for (var index:int=0; index < _source.length; index++) {
+				if (item == _source[index]) {
+					return index;
+				}
+			}
+			return -1;
+		}
+		
+		/**
+		 *  Adds an item to the end of the array.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function addItem(item:Object):void
+		{
+			addItemAt(item, length);
+		}
+		
+		/**
+		 *  Inserts an item to a specific location within the array.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function addItemAt(item:Object, index:int):void
+		{
+			const spliceUpperBound:int = length;
+			
+			if (index < spliceUpperBound && index > 0)
+			{
+				source.splice(index, 0, item);
+			}
+			else if (index == spliceUpperBound)
+			{
+				source.push(item);
+			}
+			else if (index == 0)
+			{
+				source.unshift(item);
+			}
+			else 
+			{
+				// error
+				return;
+			}
+			
+			dispatchEvent(new Event("itemAdded"));
+		}
+		
+		/**
+		 *  Replaces the item at the given index with a new item and
+		 *  returns the old item.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function setItemAt(item:Object, index:int):Object
+		{
+			const spliceUpperBound:int = length;
+			var oldItem:Object;
+			
+			if (index >= 0 && index < spliceUpperBound) {
+				oldItem = source[index];
+				source[index] = item;
+				dispatchEvent(new Event("itemUpdated"));
+			}
+			else {
+				// error
+			}
+			
+			return oldItem;
+		}
+		
+		/**
+		 *  Removed an item from the array and returns it.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function removeItem(item:Object):Boolean
+		{
+			var index:int = getItemIndex(item);
+			var result:Boolean = index >= 0;
+			if (result) {
+				removeItemAt(index);
+			}
+			return result;
+		}
+		
+		/**
+		 *  Removes an item from a specific location within the array and
+		 *  returns it.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function removeItemAt(index:int):Object
+		{
+			const spliceUpperBound:int = length - 1;
+			var removed:Object;
+			
+			if (index > 0 && index < spliceUpperBound)
+			{
+				removed = source.splice(index, 1)[0];
+			}
+			else if (index == spliceUpperBound)
+			{
+				removed = source.pop();
+			}
+			else if (index == 0)
+			{
+				removed = source.shift();
+			}
+			else {
+				// error
+				return null;
+			}
+			
+			dispatchEvent(new Event("itemRemoved"));
+			return removed;
+		}
+		
+		/**
+		 *  Removes all of the items from the array.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function removeAll():void
+		{
+			if (length > 0) {
+				source.splice(0, length);
+				dispatchEvent(new Event("itemRemoved"));
+			}
+		}
+		
+		/**
+		 *  Signals that an item in the array has been updated.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function itemUpdated(item:Object):void
+		{
+			var index:int = getItemIndex(item);
+			if (index >= 0) {
+				dispatchEvent(new Event("itemUpdated"));
+			}
+		}
+		
+		/**
+		 *  Signals that an item in the array has been updated.
+		 *  
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10.2
+		 *  @playerversion AIR 2.6
+		 *  @productversion FlexJS 0.0
+		 */
+		public function itemUpdatedAt(index:int):void
+		{
+			dispatchEvent(new Event("itemUpdated"));
+		}
+        
+        /**
+         *  The number of items.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public function get length():int
+        {
+            return _source ? _source.length : 0;   
+        }
+
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e2eac34d/frameworks/projects/Collections/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/basic-manifest.xml b/frameworks/projects/Collections/basic-manifest.xml
index 2b2f0e5..5ea77b7 100644
--- a/frameworks/projects/Collections/basic-manifest.xml
+++ b/frameworks/projects/Collections/basic-manifest.xml
@@ -21,6 +21,7 @@
 
 <componentPackage>
 
+    <component id="ArrayList" class="org.apache.flex.collections.ArrayList"/>
     <component id="LazyCollection" class="org.apache.flex.collections.LazyCollection"/>
     <component id="JSONInputParser" class="org.apache.flex.collections.parsers.JSONInputParser"/>
     <component id="JSONItemConverter" class="org.apache.flex.collections.converters.JSONItemConverter"/>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e2eac34d/frameworks/projects/Collections/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/build.xml b/frameworks/projects/Collections/build.xml
index a2f2db7..d6c1e77 100644
--- a/frameworks/projects/Collections/build.xml
+++ b/frameworks/projects/Collections/build.xml
@@ -99,7 +99,22 @@
     </target>
 
     <target name="compile-asjs" >
-        <!-- nothing to cross-compile yet -->
+    	<echo message="Cross-compiling Collections/asjs"/>
+    	        <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+    	        <java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
+    	            <jvmarg value="-Xmx384m" />
+    	            <jvmarg value="-Dsun.io.useCanonCaches=false" />
+    	            <jvmarg value="-Dflexcompiler=${FALCONJX_HOME}/../compiler" />
+    	            <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" />
+    	            <arg value="+flexlib=${FLEX_HOME}/frameworks" />
+    	            <arg value="-js-output-type=FLEXJS" />
+    	            <arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
+    	            <arg value="-output=${basedir}/js/out" />
+    	            <arg value="-load-config=${basedir}/compile-asjs-config.xml" />
+    	            <arg value="+playerglobal.version=${playerglobal.version}" />
+    	            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+    	            <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
+    	        </java>
     </target>
 
     <target name="lint-js" depends="gjslint, jshint, copy-js" />
@@ -108,6 +123,9 @@
             <fileset dir="${basedir}/js/src">
                 <include name="**/**" />
             </fileset>
+            <fileset dir="${basedir}/js/out">
+                <include name="**/**" />
+            </fileset>
         </copy>
     </target>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e2eac34d/frameworks/projects/Collections/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/compile-config.xml b/frameworks/projects/Collections/compile-config.xml
index fdb1921..a34040a 100644
--- a/frameworks/projects/Collections/compile-config.xml
+++ b/frameworks/projects/Collections/compile-config.xml
@@ -54,6 +54,7 @@
         
         <source-path>
             <path-element>as/src</path-element>
+            <path-element>asjs/src</path-element>
         </source-path>
         
         <warn-no-constructor>false</warn-no-constructor>
@@ -66,6 +67,7 @@
 
     <include-classes>
         <class>CollectionsClasses</class>
+        <class>CollectionsASJSClasses</class>
     </include-classes>
     
     <include-namespaces>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e2eac34d/frameworks/projects/Collections/js/src/org/apache/flex/collections/ICollection.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/js/src/org/apache/flex/collections/ICollection.js b/frameworks/projects/Collections/js/src/org/apache/flex/collections/ICollection.js
new file mode 100644
index 0000000..749c80b
--- /dev/null
+++ b/frameworks/projects/Collections/js/src/org/apache/flex/collections/ICollection.js
@@ -0,0 +1,50 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * org.apache.flex.collections.ICollection
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('org.apache.flex.collections.ICollection');
+
+
+
+/**
+ * @interface
+ */
+org.apache.flex.collections.ICollection =
+function() {
+};
+
+
+/**
+ * @export
+ * @param {number} index The item to fetch.
+ * @return {Object} The object at the index.
+ */
+org.apache.flex.collections.ICollection.prototype.getItemAt = function(index) {};
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+org.apache.flex.collections.ICollection.prototype.FLEXJS_CLASS_INFO = {
+  names: [{ name: 'ICollection',
+             qName: 'org.apache.flex.collections.ICollection'}]};


[27/50] git commit: [flex-asjs] [refs/heads/master] - Set itemRenderers to full width of the "column" and leave height alone; grid lines will have to be achieved through other means, such as beads.

Posted by ah...@apache.org.
Set itemRenderers to full width of the "column" and leave height alone; grid lines will have to be achieved through other means, such as beads.


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

Branch: refs/heads/master
Commit: 29970783852014e5a17f1f609c008009108bede5
Parents: 848f245
Author: Peter Ent <pe...@apache.org>
Authored: Thu Oct 8 15:25:12 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Oct 8 15:25:12 2015 -0400

----------------------------------------------------------------------
 .../src/org/apache/flex/core/ItemRendererClassFactory.as  |  1 -
 .../src/org/apache/flex/core/ItemRendererClassFactory.js  |  1 -
 frameworks/projects/HTML/as/defaults.css                  |  4 +---
 .../HTML/as/src/org/apache/flex/html/beads/ListView.as    |  1 -
 .../asjs/src/org/apache/flex/html/beads/DataGridView.as   | 10 +++++-----
 .../html/beads/DataItemRendererFactoryForArrayList.as     |  7 +++++--
 6 files changed, 11 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/29970783/frameworks/projects/Core/as/src/org/apache/flex/core/ItemRendererClassFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/ItemRendererClassFactory.as b/frameworks/projects/Core/as/src/org/apache/flex/core/ItemRendererClassFactory.as
index b2a7ef3..b3875e7 100644
--- a/frameworks/projects/Core/as/src/org/apache/flex/core/ItemRendererClassFactory.as
+++ b/frameworks/projects/Core/as/src/org/apache/flex/core/ItemRendererClassFactory.as
@@ -175,7 +175,6 @@ package org.apache.flex.core
         {
             var renderer:IItemRenderer = itemRendererFactory.newInstance();
 			renderer.itemRendererParent = parent;
-            parent.addElement(renderer);
             return renderer;
         }
         

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/29970783/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js b/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
index a5f8c5f..9d3ca0d 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/ItemRendererClassFactory.js
@@ -92,6 +92,5 @@ org.apache.flex.core.ItemRendererClassFactory.
 org.apache.flex.core.ItemRendererClassFactory.
     prototype.createFromClass = function(parent) {
   var renderer = this.itemRendererClassFactory.newInstance();
-  parent.addElement(renderer);
   return renderer;
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/29970783/frameworks/projects/HTML/as/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/defaults.css b/frameworks/projects/HTML/as/defaults.css
index 1a61438..db0145c 100644
--- a/frameworks/projects/HTML/as/defaults.css
+++ b/frameworks/projects/HTML/as/defaults.css
@@ -104,8 +104,6 @@ DataGrid
     IDataGridPresentationModel: ClassReference("org.apache.flex.html.beads.models.DataGridPresentationModel");
     IBeadView: ClassReference("org.apache.flex.html.beads.DataGridView");
     IBeadModel: ClassReference("org.apache.flex.html.beads.models.DataGridModel");
-    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
-    IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
 
     background-color: #FFFFFF;
 	border-style: solid;
@@ -129,7 +127,7 @@ DataGrid
 }
 
 .DataGridListArea {
-	background-color: #AAAAAA;
+	background-color: #FFFFFF;
 	border-style: solid;
 	border-color: #333333;
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/29970783/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListView.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListView.as
index a9192f4..a38afec 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListView.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/ListView.as
@@ -205,7 +205,6 @@ package org.apache.flex.html.beads
 		override protected function resizeHandler(event:Event):void
 		{
 			super.resizeHandler(event);
-			dataGroup.updateAllItemRenderers();
 		}
 	}
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/29970783/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
index 43c410f..7f220e9 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataGridView.as
@@ -188,10 +188,10 @@ package org.apache.flex.html.beads
 					
 					var dataGridColumn:DataGridColumn = sharedModel.columns[i] as DataGridColumn;
 					var colWidth:Number = dataGridColumn.columnWidth;
-					if (!isNaN(colWidth)) list.width = colWidth - 1;
-					else list.width = listWidth - 1;
+					if (!isNaN(colWidth)) list.width = colWidth;
+					else list.width = listWidth;
 					
-					xpos += list.width + 1;
+					xpos += list.width;
 				}
 			}
 		}
@@ -293,8 +293,8 @@ package org.apache.flex.html.beads
 				list.addBead(presentationModel);
 				
 				var colWidth:Number = dataGridColumn.columnWidth;
-				if (!isNaN(colWidth)) list.width = colWidth - 1;
-				else list.width = listWidth - 1;
+				if (!isNaN(colWidth)) list.width = colWidth;
+				else list.width = listWidth;
 				
 				_listArea.addElement(list);	
 				_lists.push(list);

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/29970783/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
index f2c4ae7..9895394 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/DataItemRendererFactoryForArrayList.as
@@ -156,10 +156,13 @@ package org.apache.flex.html.beads
 				ir.index = i;
 				ir.labelField = labelField;
 				if (presentationModel) {
+					UIBase(ir).height = presentationModel.rowHeight;
+					
+					// ensure that the IR spans the width of its column
 					var style:SimpleCSSStyles = new SimpleCSSStyles();
-					style.marginBottom = presentationModel.separatorThickness;
+					style.right = 0;
+					style.left = 0;
 					UIBase(ir).style = style;
-					UIBase(ir).height = presentationModel.rowHeight;
 				}
 				dataGroup.addElement(ir);
 				ir.data = dp.getItemAt(i);


[43/50] git commit: [flex-asjs] [refs/heads/master] - Check in missing .project files

Posted by ah...@apache.org.
Check in missing .project files


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

Branch: refs/heads/master
Commit: d46845bec99f2cdf5b01d9d5f3f80ae515cac69e
Parents: 3030c5c
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Mon Oct 26 11:43:07 2015 -0700
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Mon Oct 26 11:43:07 2015 -0700

----------------------------------------------------------------------
 frameworks/projects/Binding/.project     | 18 ++++++++++++++++++
 frameworks/projects/Charts/.project      | 18 ++++++++++++++++++
 frameworks/projects/Collections/.project | 18 ++++++++++++++++++
 frameworks/projects/Core/.project        | 18 ++++++++++++++++++
 frameworks/projects/CreateJS/.project    | 18 ++++++++++++++++++
 frameworks/projects/DragDrop/.project    | 18 ++++++++++++++++++
 frameworks/projects/Effects/.project     | 18 ++++++++++++++++++
 frameworks/projects/Formatters/.project  | 18 ++++++++++++++++++
 frameworks/projects/GoogleMaps/.project  | 18 ++++++++++++++++++
 frameworks/projects/Graphics/.project    | 18 ++++++++++++++++++
 frameworks/projects/HTML/.project        | 18 ++++++++++++++++++
 frameworks/projects/JQuery/.project      | 18 ++++++++++++++++++
 frameworks/projects/Mobile/.project      | 18 ++++++++++++++++++
 frameworks/projects/Network/.project     | 18 ++++++++++++++++++
 14 files changed, 252 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/Binding/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/.project b/frameworks/projects/Binding/.project
new file mode 100644
index 0000000..1525bae
--- /dev/null
+++ b/frameworks/projects/Binding/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Binding</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/Charts/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/.project b/frameworks/projects/Charts/.project
new file mode 100644
index 0000000..7166875
--- /dev/null
+++ b/frameworks/projects/Charts/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Charts</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/Collections/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/.project b/frameworks/projects/Collections/.project
new file mode 100644
index 0000000..3dafe34
--- /dev/null
+++ b/frameworks/projects/Collections/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Collections</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/Core/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/.project b/frameworks/projects/Core/.project
new file mode 100644
index 0000000..dbb3967
--- /dev/null
+++ b/frameworks/projects/Core/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Core</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/CreateJS/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/.project b/frameworks/projects/CreateJS/.project
new file mode 100644
index 0000000..231f48b
--- /dev/null
+++ b/frameworks/projects/CreateJS/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>CreateJS</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/DragDrop/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/.project b/frameworks/projects/DragDrop/.project
new file mode 100644
index 0000000..d41230b
--- /dev/null
+++ b/frameworks/projects/DragDrop/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>DragDrop</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/Effects/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/.project b/frameworks/projects/Effects/.project
new file mode 100644
index 0000000..8032c7f
--- /dev/null
+++ b/frameworks/projects/Effects/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Effects</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/Formatters/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/.project b/frameworks/projects/Formatters/.project
new file mode 100644
index 0000000..f4c5d3f
--- /dev/null
+++ b/frameworks/projects/Formatters/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Formatters</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/GoogleMaps/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/.project b/frameworks/projects/GoogleMaps/.project
new file mode 100644
index 0000000..74e200c
--- /dev/null
+++ b/frameworks/projects/GoogleMaps/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>GoogleMaps</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/Graphics/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/.project b/frameworks/projects/Graphics/.project
new file mode 100644
index 0000000..41824a4
--- /dev/null
+++ b/frameworks/projects/Graphics/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Graphics</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/HTML/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.project b/frameworks/projects/HTML/.project
new file mode 100644
index 0000000..60b61f8
--- /dev/null
+++ b/frameworks/projects/HTML/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>HTML</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/JQuery/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/.project b/frameworks/projects/JQuery/.project
new file mode 100644
index 0000000..fa926be
--- /dev/null
+++ b/frameworks/projects/JQuery/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>JQuery</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/Mobile/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/.project b/frameworks/projects/Mobile/.project
new file mode 100644
index 0000000..bfc1489
--- /dev/null
+++ b/frameworks/projects/Mobile/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Mobile</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d46845be/frameworks/projects/Network/.project
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/.project b/frameworks/projects/Network/.project
new file mode 100644
index 0000000..d036685
--- /dev/null
+++ b/frameworks/projects/Network/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Network</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.adobe.flexbuilder.project.flexbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+		<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+	</natures>
+</projectDescription>


[31/50] git commit: [flex-asjs] [refs/heads/master] - Added demonstration of DataGridLinesBead to DataGridExample.

Posted by ah...@apache.org.
Added demonstration of DataGridLinesBead to DataGridExample.


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

Branch: refs/heads/master
Commit: 27ef9d1c4838283a8a0b31290c80cf4bb5703d75
Parents: e42934b
Author: Peter Ent <pe...@apache.org>
Authored: Tue Oct 13 13:52:21 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Tue Oct 13 13:52:21 2015 -0400

----------------------------------------------------------------------
 .../DataGridExample/src/MyInitialView.mxml       | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/27ef9d1c/examples/flexjs/DataGridExample/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataGridExample/src/MyInitialView.mxml b/examples/flexjs/DataGridExample/src/MyInitialView.mxml
index dd51c7c..d6173a1 100644
--- a/examples/flexjs/DataGridExample/src/MyInitialView.mxml
+++ b/examples/flexjs/DataGridExample/src/MyInitialView.mxml
@@ -44,5 +44,24 @@ limitations under the License.
 			<js:DataGridColumn label="Sales" dataField="sales" columnWidth="100" />
 		</js:columns>
 	</js:DataGrid>
+		
+	<js:DataGrid id="dataGrid2" x="20" y="400" width="400" height="300" change="dataGridChange()" rowHeight="40">
+		<js:beads>
+		    <js:DataGridLinesBead>
+		       <js:stroke>
+		           <js:SolidColorStroke color="#FF8800" weight="2" />
+		       </js:stroke>
+		    </js:DataGridLinesBead>
+			<js:ConstantBinding
+				sourceID="applicationModel"
+				sourcePropertyName="productList"
+				destinationPropertyName="dataProvider" />
+		</js:beads>
+		<js:columns>
+			<js:DataGridColumn label="Image" dataField="image" columnWidth="100" itemRenderer="products.ProductItemRenderer" />
+			<js:DataGridColumn label="Title" dataField="title" columnWidth="200" />
+			<js:DataGridColumn label="Sales" dataField="sales" columnWidth="100" />
+		</js:columns>
+	</js:DataGrid>
 
 </js:ViewBase>


[50/50] git commit: [flex-asjs] [refs/heads/master] - merge flexjs 0.5.0 from develop to master

Posted by ah...@apache.org.
merge flexjs 0.5.0 from develop to master


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

Branch: refs/heads/master
Commit: caa9ed54dd9d6cc851af8647b7af8dca36ff0d1b
Parents: 550f1c2 f2eedac
Author: Alex Harui <ah...@apache.org>
Authored: Tue Nov 24 16:15:23 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Nov 24 16:15:23 2015 -0800

----------------------------------------------------------------------
 .gitignore                                      |  126 ++
 ApproveFlexJS.xml                               |  570 ++++++
 LICENSE                                         |  224 +++
 LICENSE.bin                                     |   20 +
 NOTICE                                          |    5 +
 READme                                          |  270 +++
 RELEASE_NOTES                                   |   83 +
 apache-flex-flexjs-installer-config.xml         |  236 +++
 asdoc/build.xml                                 |  166 ++
 build.properties                                |   95 +
 build.xml                                       | 1721 ++++++++++++++++++
 cordova-build.xml                               |   97 +
 env-template.properties                         |  101 +
 example/FlexJSTest/FlexJSTest.as                |   21 -
 example/FlexJSTest/FlexJSTest.js                |   97 -
 example/FlexJSTest/MyController.js              |  116 --
 example/FlexJSTest/MyInitialView.as             |   51 -
 example/FlexJSTest/MyInitialView.js             |  116 --
 example/FlexJSTest/MyModel.js                   |  117 --
 example/FlexJSTest/MySimpleValuesImpl.as        |   24 -
 example/FlexJSTest/MySimpleValuesImpl.js        |   78 -
 example/FlexJSTest/controllers/MyController.as  |   25 -
 example/FlexJSTest/index.html                   |   20 -
 example/FlexJSTest/js/adobe.js                  |  103 --
 example/FlexJSTest/js/framework.js              | 1030 -----------
 example/FlexJSTest/models/MyModel.as            |   28 -
 examples/.gitignore                             |    1 +
 examples/build.xml                              |  120 ++
 examples/build_example.xml                      |  356 ++++
 examples/flexjs/ChartExample/build.xml          |   74 +
 examples/flexjs/ChartExample/pom.xml            |   50 +
 .../flexjs/ChartExample/src/ChartExample.mxml   |   39 +
 .../flexjs/ChartExample/src/MyInitialView.mxml  |  312 ++++
 examples/flexjs/ChartExample/src/README.txt     |   31 +
 .../flexjs/ChartExample/src/SpeedTestView.mxml  |  187 ++
 .../ChartExample/src/models/ProductsModel.as    |   79 +
 .../flexjs/ChartExample/src/products/Product.as |   45 +
 .../CordovaCameraExample-app.xml                |  252 +++
 examples/flexjs/CordovaCameraExample/build.xml  |  110 ++
 examples/flexjs/CordovaCameraExample/pom.xml    |   50 +
 .../src/CordovaCameraExample.mxml               |   39 +
 .../CordovaCameraExample/src/MyInitialView.mxml |   75 +
 .../flexjs/CordovaCameraExample/src/README.txt  |   27 +
 examples/flexjs/DataBindingExample/build.xml    |   73 +
 examples/flexjs/DataBindingExample/pom.xml      |   50 +
 .../src/DataBindingExample.mxml                 |   53 +
 .../DataBindingExample/src/MyInitialView.mxml   |  144 ++
 .../flexjs/DataBindingExample/src/README.txt    |   53 +
 .../src/StockDataJSONItemConverter.as           |   40 +
 .../src/controllers/MyController.as             |   81 +
 .../DataBindingExample/src/models/MyModel.as    |  125 ++
 .../flexjs/DataBindingExample_Flat/build.xml    |   74 +
 examples/flexjs/DataBindingExample_Flat/pom.xml |   50 +
 .../src/DataBindingExample.mxml                 |   53 +
 .../src/MyInitialView.mxml                      |  144 ++
 .../DataBindingExample_Flat/src/README.txt      |   52 +
 .../src/StockDataJSONItemConverter.as           |   40 +
 .../src/controllers/MyController.as             |   81 +
 .../src/models/MyModel.as                       |  125 ++
 examples/flexjs/DataBindingExample_as/build.xml |   73 +
 examples/flexjs/DataBindingExample_as/pom.xml   |   60 +
 .../src/DataBindingExample.as                   |  270 +++
 .../DataBindingExample_as/src/MyInitialView.as  |  282 +++
 .../src/StockDataJSONItemConverter.as           |   40 +
 .../src/controllers/MyController.as             |   81 +
 .../DataBindingExample_as/src/models/MyModel.as |  127 ++
 examples/flexjs/DataGridExample/build.xml       |   71 +
 examples/flexjs/DataGridExample/pom.xml         |   50 +
 .../DataGridExample/src/DataGridExample.mxml    |   36 +
 .../DataGridExample/src/MyInitialView.mxml      |   67 +
 examples/flexjs/DataGridExample/src/README.txt  |   46 +
 .../src/assets/smallbluerect.jpg                |  Bin 0 -> 13500 bytes
 .../src/assets/smallgreenrect.jpg               |  Bin 0 -> 13542 bytes
 .../src/assets/smallorangerect.gif              |  Bin 0 -> 821 bytes
 .../src/assets/smallorangerect.jpg              |  Bin 0 -> 13571 bytes
 .../src/assets/smallpurplerect.jpg              |  Bin 0 -> 13517 bytes
 .../DataGridExample/src/assets/smallredrect.jpg |  Bin 0 -> 13477 bytes
 .../src/assets/smallyellowrect.jpg              |  Bin 0 -> 13598 bytes
 .../DataGridExample/src/models/ProductsModel.as |   55 +
 .../DataGridExample/src/products/Product.as     |   43 +
 .../src/products/ProductItemRenderer.as         |   66 +
 examples/flexjs/DesktopMap/DesktopMap-app.xml   |  252 +++
 examples/flexjs/DesktopMap/README.txt           |   41 +
 examples/flexjs/DesktopMap/build.xml            |  104 ++
 examples/flexjs/DesktopMap/pom.xml              |   50 +
 examples/flexjs/DesktopMap/src/DesktopMap.mxml  |   46 +
 .../flexjs/DesktopMap/src/MyInitialView.mxml    |  147 ++
 .../flexjs/DesktopMap/src/models/MyModel.as     |   58 +
 examples/flexjs/FlexJSStore/build.xml           |   91 +
 examples/flexjs/FlexJSStore/pom.xml             |   50 +
 .../flexjs/FlexJSStore/src/FlexJSStore.mxml     |  268 +++
 examples/flexjs/FlexJSStore/src/HomeView.mxml   |  194 ++
 .../FlexJSStore/src/ProductJSONItemConverter.as |   41 +
 .../flexjs/FlexJSStore/src/ProductsView.mxml    |  121 ++
 .../flexjs/FlexJSStore/src/SupportView.mxml     |  149 ++
 .../src/assets/427px-Bayarea_map.png            |  Bin 0 -> 122661 bytes
 .../flexjs/FlexJSStore/src/assets/akotter.jpg   |  Bin 0 -> 19395 bytes
 .../flexjs/FlexJSStore/src/assets/bcrater.jpg   |  Bin 0 -> 22670 bytes
 .../FlexJSStore/src/assets/beige_background.jpg |  Bin 0 -> 12533 bytes
 .../FlexJSStore/src/assets/beige_dotted_map.png |  Bin 0 -> 216598 bytes
 .../FlexJSStore/src/assets/blue_background.jpg  |  Bin 0 -> 12868 bytes
 .../FlexJSStore/src/assets/blue_dotted_map.png  |  Bin 0 -> 217088 bytes
 .../src/assets/button_cart_empty.png            |  Bin 0 -> 289 bytes
 .../FlexJSStore/src/assets/button_cart_full.png |  Bin 0 -> 308 bytes
 .../FlexJSStore/src/assets/button_compare.png   |  Bin 0 -> 304 bytes
 .../FlexJSStore/src/assets/button_details.png   |  Bin 0 -> 284 bytes
 .../FlexJSStore/src/assets/button_tiles.png     |  Bin 0 -> 218 bytes
 examples/flexjs/FlexJSStore/src/assets/grip.png |  Bin 0 -> 19836 bytes
 .../FlexJSStore/src/assets/icon_cart_empty.png  |  Bin 0 -> 29594 bytes
 .../FlexJSStore/src/assets/icon_compare.png     |  Bin 0 -> 30218 bytes
 .../FlexJSStore/src/assets/icon_magnifier.png   |  Bin 0 -> 30454 bytes
 .../FlexJSStore/src/assets/icon_tiles.png       |  Bin 0 -> 27988 bytes
 .../flexjs/FlexJSStore/src/assets/jproctor.jpg  |  Bin 0 -> 21684 bytes
 .../flexjs/FlexJSStore/src/assets/logo_blue.png |  Bin 0 -> 33677 bytes
 .../FlexJSStore/src/assets/logo_orange.png      |  Bin 0 -> 34166 bytes
 .../FlexJSStore/src/assets/pic/abrilliam.jpg    |  Bin 0 -> 18903 bytes
 .../FlexJSStore/src/assets/pic/akotter.jpg      |  Bin 0 -> 19395 bytes
 .../FlexJSStore/src/assets/pic/bcrater.jpg      |  Bin 0 -> 22670 bytes
 .../FlexJSStore/src/assets/pic/bleporte.jpg     |  Bin 0 -> 23363 bytes
 .../FlexJSStore/src/assets/pic/bvanbrocklin.jpg |  Bin 0 -> 18066 bytes
 .../FlexJSStore/src/assets/pic/ccarpenter.jpg   |  Bin 0 -> 19219 bytes
 .../FlexJSStore/src/assets/pic/clampberto.jpg   |  Bin 0 -> 18611 bytes
 .../FlexJSStore/src/assets/pic/davenon.jpg      |  Bin 0 -> 20028 bytes
 .../FlexJSStore/src/assets/pic/dmcgoyal.jpg     |  Bin 0 -> 19395 bytes
 .../FlexJSStore/src/assets/pic/dwillhelm.jpg    |  Bin 0 -> 22670 bytes
 .../FlexJSStore/src/assets/pic/esunderland.jpg  |  Bin 0 -> 23363 bytes
 .../FlexJSStore/src/assets/pic/jproctor.jpg     |  Bin 0 -> 21684 bytes
 .../FlexJSStore/src/assets/pic/mfields.jpg      |  Bin 0 -> 18066 bytes
 .../FlexJSStore/src/assets/pic/pdempsey.jpg     |  Bin 0 -> 18611 bytes
 .../FlexJSStore/src/assets/pic/ptranep.jpg      |  Bin 0 -> 19627 bytes
 .../FlexJSStore/src/assets/pic/rcrawley.jpg     |  Bin 0 -> 23692 bytes
 .../FlexJSStore/src/assets/pic/rdreifus.jpg     |  Bin 0 -> 20028 bytes
 .../flexjs/FlexJSStore/src/assets/pic/twong.jpg |  Bin 0 -> 19395 bytes
 .../src/assets/support_mapmarker_a.png          |  Bin 0 -> 834 bytes
 .../src/assets/support_mapmarker_b.png          |  Bin 0 -> 822 bytes
 .../src/assets/support_mapmarker_c.png          |  Bin 0 -> 817 bytes
 .../src/assets/support_mapmarker_plus.png       |  Bin 0 -> 827 bytes
 .../flexjs/FlexJSStore/src/assets/trashcan.png  |  Bin 0 -> 182 bytes
 examples/flexjs/FlexJSStore/src/beige.css       |  171 ++
 examples/flexjs/FlexJSStore/src/blue.css        |  165 ++
 .../flexjs/FlexJSStore/src/data/catalog.json    |  236 +++
 .../flexjs/FlexJSStore/src/data/catalog.xml     |  256 +++
 examples/flexjs/FlexJSStore/src/main.css        |  100 +
 .../src/productsView/CatalogTitleButtons.mxml   |   70 +
 .../FlexJSStore/src/productsView/Grip.mxml      |   48 +
 .../src/productsView/ProductCart.mxml           |  117 ++
 .../src/productsView/ProductCatalogPanel.mxml   |  546 ++++++
 .../ProductCatalogPanelTitleBarView.mxml        |   49 +
 .../productsView/ProductCatalogThumbnail.mxml   |  220 +++
 .../src/productsView/ProductDetails.mxml        |  145 ++
 .../src/productsView/ProductFilterPanel.mxml    |  215 +++
 .../src/productsView/ProductList.mxml           |  219 +++
 .../src/productsView/ProductListItem.mxml       |  130 ++
 .../src/productsView/ProductSupport.mxml        |   90 +
 .../samples/flexstore/ButtonBarButtonSkin.as    |  298 +++
 .../src/samples/flexstore/Product.as            |   78 +
 .../src/samples/flexstore/ProductFilter.as      |   56 +
 .../src/samples/flexstore/ProductFilterEvent.as |   39 +
 .../src/samples/flexstore/ProductListEvent.as   |   42 +
 .../src/samples/flexstore/ProductThumbEvent.as  |   45 +
 examples/flexjs/FlexJSStore_jquery/build.xml    |   91 +
 examples/flexjs/FlexJSStore_jquery/pom.xml      |   50 +
 .../FlexJSStore_jquery/src/FlexJSStore.mxml     |  268 +++
 .../flexjs/FlexJSStore_jquery/src/HomeView.mxml |  195 ++
 .../src/ProductJSONItemConverter.as             |   41 +
 .../FlexJSStore_jquery/src/ProductsView.mxml    |  121 ++
 .../FlexJSStore_jquery/src/SupportView.mxml     |  149 ++
 .../src/assets/427px-Bayarea_map.png            |  Bin 0 -> 122661 bytes
 .../FlexJSStore_jquery/src/assets/akotter.jpg   |  Bin 0 -> 19395 bytes
 .../FlexJSStore_jquery/src/assets/bcrater.jpg   |  Bin 0 -> 22670 bytes
 .../src/assets/beige_background.jpg             |  Bin 0 -> 12533 bytes
 .../src/assets/beige_dotted_map.png             |  Bin 0 -> 216598 bytes
 .../src/assets/blue_background.jpg              |  Bin 0 -> 12868 bytes
 .../src/assets/blue_dotted_map.png              |  Bin 0 -> 217088 bytes
 .../src/assets/button_cart_empty.png            |  Bin 0 -> 289 bytes
 .../src/assets/button_cart_full.png             |  Bin 0 -> 308 bytes
 .../src/assets/button_compare.png               |  Bin 0 -> 304 bytes
 .../src/assets/button_details.png               |  Bin 0 -> 284 bytes
 .../src/assets/button_tiles.png                 |  Bin 0 -> 218 bytes
 .../FlexJSStore_jquery/src/assets/grip.png      |  Bin 0 -> 19836 bytes
 .../src/assets/icon_cart_empty.png              |  Bin 0 -> 29594 bytes
 .../src/assets/icon_compare.png                 |  Bin 0 -> 30218 bytes
 .../src/assets/icon_magnifier.png               |  Bin 0 -> 30454 bytes
 .../src/assets/icon_tiles.png                   |  Bin 0 -> 27988 bytes
 .../FlexJSStore_jquery/src/assets/jproctor.jpg  |  Bin 0 -> 21684 bytes
 .../FlexJSStore_jquery/src/assets/logo_blue.png |  Bin 0 -> 33677 bytes
 .../src/assets/logo_orange.png                  |  Bin 0 -> 34199 bytes
 .../src/assets/pic/abrilliam.jpg                |  Bin 0 -> 18903 bytes
 .../src/assets/pic/akotter.jpg                  |  Bin 0 -> 19395 bytes
 .../src/assets/pic/bcrater.jpg                  |  Bin 0 -> 22670 bytes
 .../src/assets/pic/bleporte.jpg                 |  Bin 0 -> 23363 bytes
 .../src/assets/pic/bvanbrocklin.jpg             |  Bin 0 -> 18066 bytes
 .../src/assets/pic/ccarpenter.jpg               |  Bin 0 -> 19219 bytes
 .../src/assets/pic/clampberto.jpg               |  Bin 0 -> 18611 bytes
 .../src/assets/pic/davenon.jpg                  |  Bin 0 -> 20028 bytes
 .../src/assets/pic/dmcgoyal.jpg                 |  Bin 0 -> 19395 bytes
 .../src/assets/pic/dwillhelm.jpg                |  Bin 0 -> 22670 bytes
 .../src/assets/pic/esunderland.jpg              |  Bin 0 -> 23363 bytes
 .../src/assets/pic/jproctor.jpg                 |  Bin 0 -> 21684 bytes
 .../src/assets/pic/mfields.jpg                  |  Bin 0 -> 18066 bytes
 .../src/assets/pic/pdempsey.jpg                 |  Bin 0 -> 18611 bytes
 .../src/assets/pic/ptranep.jpg                  |  Bin 0 -> 19627 bytes
 .../src/assets/pic/rcrawley.jpg                 |  Bin 0 -> 23692 bytes
 .../src/assets/pic/rdreifus.jpg                 |  Bin 0 -> 20028 bytes
 .../FlexJSStore_jquery/src/assets/pic/twong.jpg |  Bin 0 -> 19395 bytes
 .../src/assets/support_mapmarker_a.png          |  Bin 0 -> 834 bytes
 .../src/assets/support_mapmarker_b.png          |  Bin 0 -> 822 bytes
 .../src/assets/support_mapmarker_c.png          |  Bin 0 -> 817 bytes
 .../src/assets/support_mapmarker_plus.png       |  Bin 0 -> 827 bytes
 .../FlexJSStore_jquery/src/assets/trashcan.png  |  Bin 0 -> 182 bytes
 .../flexjs/FlexJSStore_jquery/src/beige.css     |  171 ++
 examples/flexjs/FlexJSStore_jquery/src/blue.css |  165 ++
 .../FlexJSStore_jquery/src/data/catalog.json    |  236 +++
 .../FlexJSStore_jquery/src/data/catalog.xml     |  256 +++
 examples/flexjs/FlexJSStore_jquery/src/main.css |  100 +
 .../src/productsView/CatalogTitleButtons.mxml   |   70 +
 .../src/productsView/Grip.mxml                  |   48 +
 .../src/productsView/ProductCart.mxml           |  117 ++
 .../src/productsView/ProductCatalogPanel.mxml   |  546 ++++++
 .../ProductCatalogPanelTitleBarView.mxml        |   49 +
 .../productsView/ProductCatalogThumbnail.mxml   |  220 +++
 .../src/productsView/ProductDetails.mxml        |  145 ++
 .../src/productsView/ProductFilterPanel.mxml    |  215 +++
 .../src/productsView/ProductList.mxml           |  219 +++
 .../src/productsView/ProductListItem.mxml       |  130 ++
 .../src/productsView/ProductSupport.mxml        |   90 +
 .../samples/flexstore/ButtonBarButtonSkin.as    |  298 +++
 .../src/samples/flexstore/Product.as            |   78 +
 .../src/samples/flexstore/ProductFilter.as      |   56 +
 .../src/samples/flexstore/ProductFilterEvent.as |   39 +
 .../src/samples/flexstore/ProductListEvent.as   |   42 +
 .../src/samples/flexstore/ProductThumbEvent.as  |   45 +
 .../flexjs/FlexWebsiteStatsViewer/build.xml     |   74 +
 examples/flexjs/FlexWebsiteStatsViewer/pom.xml  |   50 +
 .../src/FlexWebsiteStatsViewer.mxml             |   55 +
 .../FlexWebsiteStatsViewer/src/README.txt       |   23 +
 .../FlexWebsiteStatsViewer/src/StatsView.mxml   |   91 +
 .../src/controllers/GAJSONInputParser.as        |   38 +
 .../controllers/GAStatsDataJSONItemConverter.as |   41 +
 .../src/controllers/StatsController.as          |   77 +
 .../src/models/StatsModel.as                    |   55 +
 examples/flexjs/MapSearch/MapSearch-app.xml     |  252 +++
 examples/flexjs/MapSearch/build.xml             |  103 ++
 examples/flexjs/MapSearch/pom.xml               |   50 +
 examples/flexjs/MapSearch/src/MapSearch.mxml    |   46 +
 .../flexjs/MapSearch/src/MyInitialView.mxml     |  212 +++
 examples/flexjs/MapSearch/src/models/MyModel.as |   71 +
 examples/flexjs/MobileTrader/build.xml          |   70 +
 examples/flexjs/MobileTrader/pom.xml            |   50 +
 .../flexjs/MobileTrader/src/MobileTrader.mxml   |   39 +
 .../flexjs/MobileTrader/src/MyInitialView.mxml  |  256 +++
 .../src/StockDataJSONItemConverter.as           |   40 +
 .../MobileTrader/src/assets/arrow_left_24.png   |  Bin 0 -> 47785 bytes
 .../MobileTrader/src/assets/background.png      |  Bin 0 -> 49376 bytes
 .../flexjs/MobileTrader/src/assets/logo.png     |  Bin 0 -> 55223 bytes
 .../src/controller/AlertsViewController.as      |  141 ++
 .../src/controller/WatchListController.as       |  138 ++
 .../flexjs/MobileTrader/src/models/Alert.as     |   94 +
 .../MobileTrader/src/models/AssetsModel.as      |   57 +
 .../MobileTrader/src/models/ProductsModel.as    |  165 ++
 .../flexjs/MobileTrader/src/models/Stock.as     |  148 ++
 .../MobileTrader/src/renderers/AlertRenderer.as |   44 +
 .../MobileTrader/src/renderers/StockRenderer.as |   47 +
 .../MobileTrader/src/views/AlertsView.mxml      |  101 +
 .../MobileTrader/src/views/AssetsView.mxml      |   89 +
 .../MobileTrader/src/views/SearchView.mxml      |   37 +
 .../MobileTrader/src/views/StockView.mxml       |   98 +
 .../MobileTrader/src/views/WatchListView.mxml   |  151 ++
 examples/flexjs/TodoListSampleApp/build.xml     |   73 +
 examples/flexjs/TodoListSampleApp/pom.xml       |   50 +
 .../flexjs/TodoListSampleApp/src/README.txt     |   22 +
 .../src/TodoListSampleApp.mxml                  |   43 +
 .../todo/controllers/TodoListController.as      |   62 +
 .../src/sample/todo/events/TodoListEvent.as     |   35 +
 .../src/sample/todo/models/TodoListModel.as     |   42 +
 .../sample/todo/renderers/TodoItemRenderer.as   |   69 +
 .../src/sample/todo/views/TodoListView.mxml     |  109 ++
 examples/flexjs/pom.xml                         |  218 +++
 examples/native/ButtonExample/build.xml         |  123 ++
 .../native/ButtonExample/src/ButtonExample.as   |   34 +
 examples/native/USStatesMap/build.xml           |  123 ++
 examples/native/USStatesMap/src/MapCoords.as    |   75 +
 examples/native/USStatesMap/src/USStatesMap.as  |  140 ++
 frameworks/air-config-template.xml              |  372 ++++
 frameworks/air-config.xml                       |  372 ++++
 frameworks/asdoc-config.xml                     |  353 ++++
 frameworks/build.xml                            |  351 ++++
 frameworks/downloads.xml                        |  148 ++
 frameworks/flex-config-template.xml             |  385 ++++
 frameworks/flex-config.xml                      |  385 ++++
 frameworks/fontsrc/FlatUIIcons.as               |   47 +
 frameworks/fontsrc/build.xml                    |   91 +
 frameworks/js/.jshintrc                         |   14 +
 .../js/VanillaSDK/flash/events/MouseEvent.js    |   14 +
 frameworks/js/VanillaSDK/mx/core/UIComponent.js |   50 +
 frameworks/js/VanillaSDK/other/ViewElement.js   |   61 +
 .../js/VanillaSDK/spark/components/Button.js    |   49 +
 .../js/VanillaSDK/spark/components/Group.js     |   20 +
 .../js/VanillaSDK/spark/components/Image.js     |   11 +
 .../js/VanillaSDK/spark/components/Label.js     |   34 +
 frameworks/js/build.xml                         |  153 ++
 frameworks/js/jshint.properties                 |   14 +
 frameworks/mxml-2009-manifest.xml               |   45 +
 .../projects/Binding/.actionScriptProperties    |   24 +
 frameworks/projects/Binding/.flexLibProperties  |    6 +
 frameworks/projects/Binding/.project            |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 .../projects/Binding/as/src/BindingClasses.as   |   34 +
 .../src/org/apache/flex/binding/ChainBinding.as |  218 +++
 .../org/apache/flex/binding/ConstantBinding.as  |  168 ++
 .../org/apache/flex/binding/GenericBinding.as   |  234 +++
 .../org/apache/flex/binding/PropertyWatcher.as  |  229 +++
 .../org/apache/flex/binding/SimpleBinding.as    |  207 +++
 .../apache/flex/binding/ViewBaseDataBinding.as  |  329 ++++
 .../src/org/apache/flex/binding/WatcherBase.as  |  315 ++++
 .../flex/binding/ApplicationDataBinding.as      |  338 ++++
 .../apache/flex/binding/ContainerDataBinding.as |  384 ++++
 .../flex/binding/MXMLBeadViewBaseDataBinding.as |  333 ++++
 frameworks/projects/Binding/basic-manifest.xml  |   31 +
 frameworks/projects/Binding/build.xml           |  159 ++
 .../projects/Binding/compile-asjs-config.xml    |   74 +
 frameworks/projects/Binding/compile-config.xml  |   83 +
 .../src/org/apache/flex/binding/BindingBase.js  |  117 ++
 .../src/org/apache/flex/binding/ChainBinding.js |  207 +++
 .../org/apache/flex/binding/ConstantBinding.js  |   72 +
 .../org/apache/flex/binding/GenericBinding.js   |  172 ++
 .../org/apache/flex/binding/PropertyWatcher.js  |  195 ++
 .../org/apache/flex/binding/SimpleBinding.js    |   94 +
 .../apache/flex/binding/ViewBaseDataBinding.js  |  349 ++++
 .../src/org/apache/flex/binding/WatcherBase.js  |  246 +++
 .../projects/Charts/.actionScriptProperties     |   26 +
 frameworks/projects/Charts/.flexLibProperties   |    6 +
 frameworks/projects/Charts/.project             |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 .../projects/Charts/as/src/ChartsClasses.as     |   48 +
 .../apache/flex/charts/core/CartesianChart.as   |   85 +
 .../org/apache/flex/charts/core/ChartBase.as    |   77 +
 .../org/apache/flex/charts/core/IAxisBead.as    |   58 +
 .../org/apache/flex/charts/core/IAxisGroup.as   |   42 +
 .../flex/charts/core/ICartesianChartLayout.as   |   34 +
 .../src/org/apache/flex/charts/core/IChart.as   |   48 +
 .../apache/flex/charts/core/IChartDataGroup.as  |   55 +
 .../flex/charts/core/IChartItemRenderer.as      |  116 ++
 .../org/apache/flex/charts/core/IChartSeries.as |   69 +
 .../flex/charts/core/IConnectedItemRenderer.as  |   55 +
 .../flex/charts/core/IHorizontalAxisBead.as     |   65 +
 .../flex/charts/core/IVerticalAxisBead.as       |   65 +
 .../org/apache/flex/charts/core/PolarChart.as   |   66 +
 .../charts/supportClasses/ChartAxisGroup.as     |  173 ++
 .../charts/supportClasses/ChartDataGroup.as     |  100 +
 frameworks/projects/Charts/asjs/defaults.css    |  108 ++
 .../Charts/asjs/src/ChartASJSClasses.as         |   61 +
 .../asjs/src/org/apache/flex/charts/BarChart.as |   49 +
 .../src/org/apache/flex/charts/ColumnChart.as   |   48 +
 .../src/org/apache/flex/charts/LineChart.as     |   48 +
 .../asjs/src/org/apache/flex/charts/PieChart.as |   47 +
 .../org/apache/flex/charts/StackedBarChart.as   |   48 +
 .../apache/flex/charts/StackedColumnChart.as    |   48 +
 .../apache/flex/charts/beads/AxisBaseBead.as    |  246 +++
 .../charts/beads/ChartItemRendererFactory.as    |  155 ++
 .../org/apache/flex/charts/beads/ChartView.as   |  174 ++
 .../DataItemRendererFactoryForSeriesData.as     |  131 ++
 .../org/apache/flex/charts/beads/DataTipBead.as |  162 ++
 .../charts/beads/HorizontalCategoryAxisBead.as  |  191 ++
 .../charts/beads/HorizontalLinearAxisBead.as    |  246 +++
 .../charts/beads/VerticalCategoryAxisBead.as    |  198 ++
 .../flex/charts/beads/VerticalLinearAxisBead.as |  236 +++
 .../flex/charts/beads/layouts/BarChartLayout.as |  149 ++
 .../charts/beads/layouts/ChartBaseLayout.as     |  147 ++
 .../charts/beads/layouts/ColumnChartLayout.as   |  140 ++
 .../layouts/LineChartCategoryVsLinearLayout.as  |  152 ++
 .../layouts/LineChartLinearVsLinearLayout.as    |  166 ++
 .../flex/charts/beads/layouts/PieChartLayout.as |  140 ++
 .../beads/layouts/StackedBarChartLayout.as      |  164 ++
 .../beads/layouts/StackedColumnChartLayout.as   |  161 ++
 .../flex/charts/optimized/SVGBoxItemRenderer.as |  166 ++
 .../flex/charts/optimized/SVGChartAxisGroup.as  |  142 ++
 .../flex/charts/optimized/SVGChartDataGroup.as  |  192 ++
 .../optimized/SVGLineSegmentItemRenderer.as     |  205 +++
 .../charts/optimized/SVGWedgeItemRenderer.as    |  281 +++
 .../flex/charts/supportClasses/BarSeries.as     |  103 ++
 .../charts/supportClasses/BoxItemRenderer.as    |  268 +++
 .../flex/charts/supportClasses/ColumnSeries.as  |   93 +
 .../supportClasses/ILineSegmentItemRenderer.as  |   57 +
 .../charts/supportClasses/IWedgeItemRenderer.as |  113 ++
 .../supportClasses/LineSegmentItemRenderer.as   |  198 ++
 .../flex/charts/supportClasses/LineSeries.as    |  114 ++
 .../flex/charts/supportClasses/PieSeries.as     |   85 +
 .../charts/supportClasses/WedgeItemRenderer.as  |  272 +++
 frameworks/projects/Charts/basic-manifest.xml   |   50 +
 frameworks/projects/Charts/build.xml            |  160 ++
 .../projects/Charts/compile-asjs-config.xml     |   73 +
 frameworks/projects/Charts/compile-config.xml   |   90 +
 .../org/apache/flex/charts/core/ChartBase.js    |   87 +
 .../org/apache/flex/charts/core/IAxisBead.js    |   61 +
 .../org/apache/flex/charts/core/IAxisGroup.js   |   45 +
 .../flex/charts/core/ICartesianChartLayout.js   |   39 +
 .../src/org/apache/flex/charts/core/IChart.js   |   48 +
 .../org/apache/flex/charts/core/IChartAxis.js   |   39 +
 .../apache/flex/charts/core/IChartDataGroup.js  |   53 +
 .../flex/charts/core/IChartItemRenderer.js      |   78 +
 .../org/apache/flex/charts/core/IChartSeries.js |   65 +
 .../flex/charts/core/IHorizontalAxisBead.js     |   60 +
 .../flex/charts/core/IVerticalAxisBead.js       |   59 +
 .../charts/supportClasses/ChartAxisGroup.js     |  162 ++
 .../charts/supportClasses/ChartDataGroup.js     |   83 +
 .../Collections/.actionScriptProperties         |   24 +
 .../projects/Collections/.flexLibProperties     |    6 +
 frameworks/projects/Collections/.project        |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 .../Collections/as/src/CollectionsClasses.as    |   34 +
 .../org/apache/flex/collections/ICollection.as  |   43 +
 .../flex/collections/IStringCollection.as       |   43 +
 .../apache/flex/collections/LazyCollection.as   |  248 +++
 .../collections/converters/IItemConverter.as    |   49 +
 .../collections/converters/JSONItemConverter.as |   74 +
 .../flex/collections/parsers/IInputParser.as    |   50 +
 .../flex/collections/parsers/JSONInputParser.as |   54 +
 .../asjs/src/CollectionsASJSClasses.as          |   33 +
 .../org/apache/flex/collections/ArrayList.as    |  396 ++++
 .../projects/Collections/basic-manifest.xml     |   29 +
 frameworks/projects/Collections/build.xml       |  161 ++
 .../Collections/compile-asjs-config.xml         |   74 +
 .../projects/Collections/compile-config.xml     |   84 +
 .../org/apache/flex/collections/ICollection.js  |   50 +
 .../apache/flex/collections/LazyCollection.js   |  163 ++
 .../collections/converters/JSONItemConverter.js |   48 +
 .../flex/collections/parsers/JSONInputParser.js |   48 +
 .../projects/Core/.actionScriptProperties       |   23 +
 frameworks/projects/Core/.flexLibProperties     |    6 +
 frameworks/projects/Core/.project               |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 frameworks/projects/Core/as/src/CoreClasses.as  |  112 ++
 .../as/src/org/apache/flex/core/Application.as  |  502 +++++
 .../as/src/org/apache/flex/core/BeadViewBase.as |   97 +
 .../apache/flex/core/BrowserResizeListener.as   |  110 ++
 .../src/org/apache/flex/core/BrowserScroller.as |   80 +
 .../src/org/apache/flex/core/BrowserWindow.as   |   51 +
 .../src/org/apache/flex/core/CSSFontFaceBead.as |  146 ++
 .../as/src/org/apache/flex/core/CSSShape.as     |  162 ++
 .../as/src/org/apache/flex/core/CSSSprite.as    |  162 ++
 .../as/src/org/apache/flex/core/CSSTextField.as |  155 ++
 .../src/org/apache/flex/core/CallLaterBead.as   |  112 ++
 .../as/src/org/apache/flex/core/ClassFactory.as |   90 +
 .../src/org/apache/flex/core/ContainerBase.as   |  413 +++++
 .../flex/core/ContainerBaseStrandChildren.as    |   98 +
 .../src/org/apache/flex/core/DataBindingBase.as |   45 +
 .../src/org/apache/flex/core/FilledRectangle.as |  106 ++
 .../as/src/org/apache/flex/core/IAlertModel.as  |  135 ++
 .../Core/as/src/org/apache/flex/core/IBead.as   |   47 +
 .../src/org/apache/flex/core/IBeadController.as |   37 +
 .../as/src/org/apache/flex/core/IBeadLayout.as  |   40 +
 .../as/src/org/apache/flex/core/IBeadModel.as   |   39 +
 .../as/src/org/apache/flex/core/IBeadView.as    |   46 +
 .../as/src/org/apache/flex/core/IBorderModel.as |   45 +
 .../Core/as/src/org/apache/flex/core/IChild.as  |   44 +
 .../Core/as/src/org/apache/flex/core/IChrome.as |   37 +
 .../src/org/apache/flex/core/IComboBoxModel.as  |  108 ++
 .../as/src/org/apache/flex/core/IContainer.as   |   47 +
 .../src/org/apache/flex/core/IContainerView.as  |   33 +
 .../as/src/org/apache/flex/core/IContentView.as |   38 +
 .../org/apache/flex/core/IContentViewHost.as    |   35 +
 .../core/IDataProviderItemRendererMapper.as     |   52 +
 .../as/src/org/apache/flex/core/IDocument.as    |   48 +
 .../src/org/apache/flex/core/IDragInitiator.as  |   67 +
 .../as/src/org/apache/flex/core/IEffectTimer.as |   68 +
 .../as/src/org/apache/flex/core/IFactory.as     |   46 +
 .../as/src/org/apache/flex/core/IFlexInfo.as    |   43 +
 .../as/src/org/apache/flex/core/IFormatBead.as  |   69 +
 .../as/src/org/apache/flex/core/IImageModel.as  |   48 +
 .../src/org/apache/flex/core/IItemRenderer.as   |   57 +
 .../flex/core/IItemRendererClassFactory.as      |   60 +
 .../org/apache/flex/core/IItemRendererParent.as |   52 +
 .../as/src/org/apache/flex/core/ILayoutChild.as |  172 ++
 .../as/src/org/apache/flex/core/ILayoutHost.as  |   44 +
 .../apache/flex/core/IListPresentationModel.as  |   54 +
 .../src/org/apache/flex/core/IMXMLDocument.as   |   66 +
 .../org/apache/flex/core/IMeasurementBead.as    |   53 +
 .../as/src/org/apache/flex/core/IPanelModel.as  |   45 +
 .../Core/as/src/org/apache/flex/core/IParent.as |  109 ++
 .../src/org/apache/flex/core/IParentIUIBase.as  |   33 +
 .../Core/as/src/org/apache/flex/core/IPopUp.as  |   33 +
 .../as/src/org/apache/flex/core/IPopUpHost.as   |   33 +
 .../as/src/org/apache/flex/core/IRangeModel.as  |   95 +
 .../src/org/apache/flex/core/IRollOverModel.as  |   46 +
 .../src/org/apache/flex/core/IScrollBarModel.as |   57 +
 .../apache/flex/core/ISelectableItemRenderer.as |   95 +
 .../src/org/apache/flex/core/ISelectionModel.as |  100 +
 .../as/src/org/apache/flex/core/IStatesImpl.as  |   37 +
 .../src/org/apache/flex/core/IStatesObject.as   |   69 +
 .../Core/as/src/org/apache/flex/core/IStrand.as |   77 +
 .../org/apache/flex/core/IStrandWithModel.as    |   50 +
 .../as/src/org/apache/flex/core/IStyleObject.as |   45 +
 .../org/apache/flex/core/IStyleableObject.as    |   71 +
 .../as/src/org/apache/flex/core/ITextModel.as   |   56 +
 .../src/org/apache/flex/core/ITitleBarModel.as  |   73 +
 .../org/apache/flex/core/IToggleButtonModel.as  |   67 +
 .../Core/as/src/org/apache/flex/core/IUIBase.as |  133 ++
 .../apache/flex/core/IValueToggleButtonModel.as |   69 +
 .../as/src/org/apache/flex/core/IValuesImpl.as  |  137 ++
 .../as/src/org/apache/flex/core/IViewport.as    |   83 +
 .../src/org/apache/flex/core/IViewportModel.as  |   50 +
 .../org/apache/flex/core/IViewportScroller.as   |   35 +
 .../flex/core/ItemRendererClassFactory.as       |  196 ++
 .../as/src/org/apache/flex/core/ListBase.as     |  123 ++
 .../apache/flex/core/ListBaseStrandChildren.as  |   99 +
 .../org/apache/flex/core/MXMLDragInitiator.as   |  131 ++
 .../org/apache/flex/core/SimpleApplication.as   |   89 +
 .../org/apache/flex/core/SimpleCSSValuesImpl.as |  614 +++++++
 .../org/apache/flex/core/SimpleStatesImpl.as    |  223 +++
 .../org/apache/flex/core/SimpleValuesImpl.as    |  182 ++
 .../as/src/org/apache/flex/core/StageProxy.as   |  126 ++
 .../Core/as/src/org/apache/flex/core/Strand.as  |  182 ++
 .../apache/flex/core/StyleableCSSTextField.as   |  200 ++
 .../Core/as/src/org/apache/flex/core/UIBase.as  | 1063 +++++++++++
 .../as/src/org/apache/flex/core/UIButtonBase.as |  859 +++++++++
 .../src/org/apache/flex/core/ValuesManager.as   |   72 +
 .../as/src/org/apache/flex/core/ViewBase.as     |   98 +
 .../src/org/apache/flex/events/CustomEvent.as   |   50 +
 .../Core/as/src/org/apache/flex/events/Event.as |   78 +
 .../org/apache/flex/events/EventDispatcher.as   |   47 +
 .../org/apache/flex/events/IEventDispatcher.as  |   36 +
 .../as/src/org/apache/flex/events/MouseEvent.as |  154 ++
 .../org/apache/flex/events/ValueChangeEvent.as  |  122 ++
 .../as/src/org/apache/flex/events/ValueEvent.as |   59 +
 .../flex/events/utils/MouseEventConverter.as    |  165 ++
 .../org/apache/flex/events/utils/MouseUtils.as  |  103 ++
 .../Core/as/src/org/apache/flex/geom/Point.as   |   42 +
 .../as/src/org/apache/flex/geom/Rectangle.as    |   42 +
 .../Core/as/src/org/apache/flex/geom/Size.as    |   41 +
 .../as/src/org/apache/flex/states/AddItems.as   |  101 +
 .../org/apache/flex/states/ItemAndDescriptor.as |   70 +
 .../org/apache/flex/states/SetEventHandler.as   |   79 +
 .../src/org/apache/flex/states/SetProperty.as   |   81 +
 .../Core/as/src/org/apache/flex/states/State.as |   83 +
 .../as/src/org/apache/flex/utils/BinaryData.as  |  236 +++
 .../src/org/apache/flex/utils/CSSBorderUtils.as |  218 +++
 .../org/apache/flex/utils/CSSContainerUtils.as  |  194 ++
 .../as/src/org/apache/flex/utils/EffectTimer.as |   95 +
 .../apache/flex/utils/MXMLDataInterpreter.as    |  417 +++++
 .../src/org/apache/flex/utils/MixinManager.as   |   81 +
 .../as/src/org/apache/flex/utils/PNGEncoder.as  |  304 ++++
 .../as/src/org/apache/flex/utils/PointUtils.as  |   80 +
 .../org/apache/flex/utils/SolidBorderUtil.as    |  190 ++
 .../src/org/apache/flex/utils/StringTrimmer.as  |  175 ++
 .../Core/as/src/org/apache/flex/utils/Timer.as  |   80 +
 .../as/src/org/apache/flex/utils/UIUtils.as     |  107 ++
 .../flex/utils/ViewSourceContextMenuOption.as   |   90 +
 .../org/apache/flex/utils/dbg/DOMPathUtil.as    |   94 +
 .../as/tests/FlexUnitFlexJSApplication.mxml     |   46 +
 frameworks/projects/Core/as/tests/build.xml     |  164 ++
 .../Core/as/tests/flexUnitTests/StrandTester.as |   27 +
 .../as/tests/flexUnitTests/StrandTesterTest.as  |   55 +
 .../projects/Core/asjs/basic-manifest.xml       |   28 +
 frameworks/projects/Core/asjs/build.xml         |   79 +
 .../projects/Core/asjs/compile-config.xml       |   76 +
 frameworks/projects/Core/asjs/defaults.css      |  138 ++
 .../projects/Core/asjs/src/CoreASJSClasses.as   |   38 +
 .../org/apache/flex/core/BindableCSSStyles.as   |  134 ++
 .../src/org/apache/flex/core/IDataGridModel.as  |   44 +
 .../flex/core/IDataGridPresentationModel.as     |   45 +
 .../org/apache/flex/core/IDateChooserModel.as   |  101 +
 .../org/apache/flex/core/ParentDocumentBead.as  |  127 ++
 .../src/org/apache/flex/core/SimpleCSSStyles.as |  106 ++
 .../asjs/src/org/apache/flex/utils/CSSUtils.as  |  323 ++++
 frameworks/projects/Core/basic-manifest.xml     |   42 +
 frameworks/projects/Core/build.xml              |  161 ++
 .../projects/Core/compile-asjs-config.xml       |   76 +
 frameworks/projects/Core/compile-config.xml     |   84 +
 .../js/src/org/apache/flex/core/Application.js  |  176 ++
 .../js/src/org/apache/flex/core/BeadViewBase.js |   71 +
 .../apache/flex/core/BrowserResizeListener.js   |   78 +
 .../src/org/apache/flex/core/BrowserScroller.js |   55 +
 .../src/org/apache/flex/core/BrowserWindow.js   |   45 +
 .../src/org/apache/flex/core/CSSFontFaceBead.js |   54 +
 .../src/org/apache/flex/core/CallLaterBead.js   |   93 +
 .../js/src/org/apache/flex/core/ClassFactory.js |   64 +
 .../src/org/apache/flex/core/ContainerBase.js   |  378 ++++
 .../flex/core/ContainerBaseStrandChildren.js    |  112 ++
 .../src/org/apache/flex/core/DataBindingBase.js |   34 +
 .../src/org/apache/flex/core/FilledRectangle.js |   86 +
 .../org/apache/flex/core/HTMLElementWrapper.js  |  177 ++
 .../Core/js/src/org/apache/flex/core/IBead.js   |   49 +
 .../src/org/apache/flex/core/IBeadController.js |   42 +
 .../js/src/org/apache/flex/core/IBeadLayout.js  |   42 +
 .../js/src/org/apache/flex/core/IBeadModel.js   |   45 +
 .../js/src/org/apache/flex/core/IBeadView.js    |   38 +
 .../Core/js/src/org/apache/flex/core/IChild.js  |   49 +
 .../Core/js/src/org/apache/flex/core/IChrome.js |   31 +
 .../js/src/org/apache/flex/core/IContainer.js   |   52 +
 .../src/org/apache/flex/core/IContainerView.js  |   44 +
 .../js/src/org/apache/flex/core/IContentView.js |   79 +
 .../org/apache/flex/core/IContentViewHost.js    |   52 +
 .../core/IDataProviderItemRendererMapper.js     |   53 +
 .../js/src/org/apache/flex/core/IDocument.js    |   51 +
 .../js/src/org/apache/flex/core/IEffectTimer.js |   45 +
 .../js/src/org/apache/flex/core/IFactory.js     |   45 +
 .../js/src/org/apache/flex/core/IFormatBead.js  |   62 +
 .../src/org/apache/flex/core/IItemRenderer.js   |   38 +
 .../flex/core/IItemRendererClassFactory.js      |   38 +
 .../apache/flex/core/IItemRendererFactory.js    |   45 +
 .../org/apache/flex/core/IItemRendererParent.js |   48 +
 .../js/src/org/apache/flex/core/ILayoutChild.js |   42 +
 .../js/src/org/apache/flex/core/ILayoutHost.js  |   46 +
 .../apache/flex/core/IListPresentationModel.js  |   60 +
 .../src/org/apache/flex/core/IMXMLDocument.js   |   41 +
 .../org/apache/flex/core/IMeasurementBead.js    |   38 +
 .../Core/js/src/org/apache/flex/core/IParent.js |   70 +
 .../src/org/apache/flex/core/IParentIUIBase.js  |   46 +
 .../js/src/org/apache/flex/core/IPopUpHost.js   |   45 +
 .../src/org/apache/flex/core/IRollOverModel.js  |   58 +
 .../apache/flex/core/ISelectableItemRenderer.js |   75 +
 .../src/org/apache/flex/core/ISelectionModel.js |   65 +
 .../js/src/org/apache/flex/core/IStatesImpl.js  |   47 +
 .../Core/js/src/org/apache/flex/core/IStrand.js |   70 +
 .../org/apache/flex/core/IStyleableObject.js    |   46 +
 .../js/src/org/apache/flex/core/ITextModel.js   |   54 +
 .../Core/js/src/org/apache/flex/core/IUIBase.js |   40 +
 .../js/src/org/apache/flex/core/IValuesImpl.js  |   73 +
 .../js/src/org/apache/flex/core/IViewport.js    |   44 +
 .../src/org/apache/flex/core/IViewportModel.js  |   44 +
 .../flex/core/ItemRendererClassFactory.js       |   96 +
 .../js/src/org/apache/flex/core/ListBase.js     |  179 ++
 .../apache/flex/core/ListBaseStrandChildren.js  |  112 ++
 .../org/apache/flex/core/SimpleApplication.js   |   49 +
 .../org/apache/flex/core/SimpleCSSValuesImpl.js |  361 ++++
 .../org/apache/flex/core/SimpleStatesImpl.js    |  221 +++
 .../org/apache/flex/core/SimpleValuesImpl.js    |   33 +
 .../Core/js/src/org/apache/flex/core/UIBase.js  |  872 +++++++++
 .../src/org/apache/flex/core/ValuesManager.js   |   57 +
 .../js/src/org/apache/flex/core/ViewBase.js     |  143 ++
 .../src/org/apache/flex/events/BrowserEvent.js  |  162 ++
 .../src/org/apache/flex/events/CustomEvent.js   |   58 +
 .../src/org/apache/flex/events/ElementEvents.js |   52 +
 .../Core/js/src/org/apache/flex/events/Event.js |   71 +
 .../org/apache/flex/events/EventDispatcher.js   |  138 ++
 .../org/apache/flex/events/IEventDispatcher.js  |   40 +
 .../js/src/org/apache/flex/events/MouseEvent.js |  186 ++
 .../org/apache/flex/events/ValueChangeEvent.js  |  119 ++
 .../js/src/org/apache/flex/events/ValueEvent.js |   69 +
 .../org/apache/flex/events/utils/MouseUtils.js  |   62 +
 .../Core/js/src/org/apache/flex/geom/Point.js   |   56 +
 .../js/src/org/apache/flex/geom/Rectangle.js    |  104 ++
 .../Core/js/src/org/apache/flex/geom/Size.js    |   56 +
 .../js/src/org/apache/flex/states/AddItems.js   |  249 +++
 .../org/apache/flex/states/SetEventHandler.js   |  152 ++
 .../src/org/apache/flex/states/SetProperty.js   |  173 ++
 .../Core/js/src/org/apache/flex/states/State.js |   82 +
 .../js/src/org/apache/flex/svg/TextButton.js    |   90 +
 .../apache/flex/svg/assets/TextButton_Skin.svg  |  279 +++
 .../js/src/org/apache/flex/utils/BinaryData.js  |  223 +++
 .../org/apache/flex/utils/CSSContainerUtils.js  |   83 +
 .../js/src/org/apache/flex/utils/EffectTimer.js |   94 +
 .../js/src/org/apache/flex/utils/Language.js    |  316 ++++
 .../apache/flex/utils/MXMLDataInterpreter.js    |  412 +++++
 .../src/org/apache/flex/utils/MixinManager.js   |   62 +
 .../js/src/org/apache/flex/utils/PointUtils.js  |   82 +
 .../Core/js/src/org/apache/flex/utils/Timer.js  |  148 ++
 .../js/src/org/apache/flex/utils/UIUtils.js     |   84 +
 .../flex/utils/ViewSourceContextMenuOption.js   |   47 +
 .../projects/CreateJS/.actionScriptProperties   |   25 +
 frameworks/projects/CreateJS/.flexLibProperties |    6 +
 frameworks/projects/CreateJS/.project           |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 frameworks/projects/CreateJS/as/defaults.css    |   36 +
 .../projects/CreateJS/as/src/CreateJSClasses.as |   33 +
 .../src/org/apache/flex/createjs/Application.as |  140 ++
 .../as/src/org/apache/flex/createjs/CheckBox.as |   26 +
 .../as/src/org/apache/flex/createjs/Label.as    |   27 +
 .../src/org/apache/flex/createjs/TextButton.as  |   50 +
 .../src/org/apache/flex/createjs/core/UIBase.as |  141 ++
 .../org/apache/flex/createjs/core/ViewBase.as   |   95 +
 frameworks/projects/CreateJS/build.xml          |  140 ++
 frameworks/projects/CreateJS/compile-config.xml |   83 +
 .../projects/CreateJS/createjs-manifest.xml     |   31 +
 .../CreateJS/js/src/createjs_externals.js       |   20 +
 .../src/org/apache/flex/createjs/Application.js |  121 ++
 .../js/src/org/apache/flex/createjs/CheckBox.js |  131 ++
 .../js/src/org/apache/flex/createjs/Label.js    |   64 +
 .../src/org/apache/flex/createjs/TextButton.js  |   91 +
 .../src/org/apache/flex/createjs/core/UIBase.js |  136 ++
 .../org/apache/flex/createjs/core/ViewBase.js   |   76 +
 .../projects/DragDrop/.actionScriptProperties   |   24 +
 frameworks/projects/DragDrop/.flexLibProperties |    6 +
 frameworks/projects/DragDrop/.project           |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 .../projects/DragDrop/as/src/DragDropClasses.as |   34 +
 .../as/src/org/apache/flex/events/DragEvent.as  |  317 ++++
 .../DragDrop/asjs/src/DragDropASJSClasses.as    |   34 +
 .../asjs/src/org/apache/flex/core/DropType.as   |   64 +
 .../beads/controllers/DragMouseController.as    |  261 +++
 .../beads/controllers/DropMouseController.as    |  181 ++
 frameworks/projects/DragDrop/basic-manifest.xml |   27 +
 frameworks/projects/DragDrop/build.xml          |  161 ++
 .../projects/DragDrop/compile-asjs-config.xml   |   74 +
 frameworks/projects/DragDrop/compile-config.xml |   84 +
 .../js/src/org/apache/flex/events/DragEvent.js  |  146 ++
 .../projects/Effects/.actionScriptProperties    |   24 +
 frameworks/projects/Effects/.flexLibProperties  |    6 +
 frameworks/projects/Effects/.project            |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 .../projects/Effects/as/src/EffectsClasses.as   |   34 +
 .../org/apache/flex/effects/PlatformWiper.as    |  100 +
 .../Effects/asjs/src/EffectsASJSClasses.as      |   38 +
 .../flex/core/StatesWithTransitionsImpl.as      |  346 ++++
 .../asjs/src/org/apache/flex/effects/Effect.as  |  263 +++
 .../asjs/src/org/apache/flex/effects/Fade.as    |  165 ++
 .../asjs/src/org/apache/flex/effects/IEffect.as |  136 ++
 .../asjs/src/org/apache/flex/effects/Move.as    |  240 +++
 .../src/org/apache/flex/effects/Parallel.as     |  152 ++
 .../asjs/src/org/apache/flex/effects/Resize.as  |  197 ++
 .../src/org/apache/flex/effects/Sequence.as     |  152 ++
 .../asjs/src/org/apache/flex/effects/Tween.as   |  665 +++++++
 .../asjs/src/org/apache/flex/effects/Wipe.as    |  156 ++
 .../src/org/apache/flex/states/Transition.as    |   80 +
 frameworks/projects/Effects/basic-manifest.xml  |   32 +
 frameworks/projects/Effects/build.xml           |  162 ++
 .../projects/Effects/compile-asjs-config.xml    |   74 +
 frameworks/projects/Effects/compile-config.xml  |   84 +
 .../org/apache/flex/effects/PlatformWiper.js    |   85 +
 frameworks/projects/Flat/as/defaults.css        |  842 +++++++++
 frameworks/projects/Flat/as/src/FlatClasses.as  |   37 +
 .../as/src/org/apache/flex/flat/CheckBox.as     |   47 +
 .../as/src/org/apache/flex/flat/DropDownList.as |   46 +
 .../as/src/org/apache/flex/flat/RadioButton.as  |   47 +
 .../beads/CSSContentAndTextToggleButtonView.as  |  304 ++++
 .../flex/flat/beads/CSSScrollBarButtonView.as   |  178 ++
 .../apache/flex/flat/beads/CSSScrollBarView.as  |  241 +++
 ...CheckboxCSSContentAndTextToggleButtonView.as |   48 +
 .../apache/flex/flat/beads/DropDownListView.as  |  309 ++++
 .../RadioCSSContentAndTextToggleButtonView.as   |   47 +
 .../flat/supportClasses/DropDownListList.as     |   64 +
 .../DropDownListStringItemRenderer.as           |   70 +
 frameworks/projects/Flat/build.xml              |  161 ++
 frameworks/projects/Flat/compile-config.xml     |   91 +
 frameworks/projects/Flat/flat-manifest.xml      |  105 ++
 .../js/src/org/apache/flex/flat/CheckBox.js     |  138 ++
 .../js/src/org/apache/flex/flat/DropDownList.js |  296 +++
 .../js/src/org/apache/flex/flat/RadioButton.js  |  228 +++
 .../projects/Formatters/.actionScriptProperties |   25 +
 .../projects/Formatters/.flexLibProperties      |    6 +
 frameworks/projects/Formatters/.project         |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 .../Formatters/as/src/FormattersClasses.as      |   34 +
 .../as/src/org/apache/flex/core/FormatBase.as   |  115 ++
 .../asjs/src/FormattersASJSClasses.as           |   36 +
 .../flex/html/accessories/CurrencyFormatter.as  |  215 +++
 .../html/accessories/DateFormatMMDDYYYYBead.as  |  158 ++
 .../flex/html/accessories/NumberFormatter.as    |  210 +++
 .../flex/html/beads/FormatableLabelView.as      |   90 +
 .../flex/html/beads/FormatableTextInputView.as  |   91 +
 .../projects/Formatters/basic-manifest.xml      |   25 +
 frameworks/projects/Formatters/build.xml        |  162 ++
 .../projects/Formatters/compile-asjs-config.xml |   75 +
 .../projects/Formatters/compile-config.xml      |   85 +
 .../js/src/org/apache/flex/core/FormatBase.js   |  126 ++
 .../projects/GoogleMaps/.actionScriptProperties |   24 +
 .../projects/GoogleMaps/.flexLibProperties      |    6 +
 frameworks/projects/GoogleMaps/.project         |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 frameworks/projects/GoogleMaps/as/defaults.css  |   28 +
 .../GoogleMaps/as/src/GoogleMapsClasses.as      |   33 +
 .../src/org/apache/flex/maps/google/Geometry.as |   30 +
 .../src/org/apache/flex/maps/google/LatLng.as   |   30 +
 .../as/src/org/apache/flex/maps/google/Map.as   |  233 +++
 .../src/org/apache/flex/maps/google/Marker.as   |   32 +
 .../as/src/org/apache/flex/maps/google/Place.as |   43 +
 .../apache/flex/maps/google/beads/MapView.as    |  473 +++++
 .../apache/flex/maps/google/models/MapModel.as  |  150 ++
 frameworks/projects/GoogleMaps/build.xml        |  141 ++
 .../projects/GoogleMaps/compile-config.xml      |   82 +
 .../projects/GoogleMaps/google-manifest.xml     |   24 +
 .../src/org/apache/flex/maps/google/Geometry.js |   50 +
 .../src/org/apache/flex/maps/google/LatLng.js   |   53 +
 .../js/src/org/apache/flex/maps/google/Map.js   |  360 ++++
 .../src/org/apache/flex/maps/google/Marker.js   |   63 +
 .../js/src/org/apache/flex/maps/google/Place.js |   93 +
 .../apache/flex/maps/google/beads/MapView.js    |   67 +
 .../apache/flex/maps/google/models/MapModel.js  |  108 ++
 .../projects/Graphics/.actionScriptProperties   |   23 +
 frameworks/projects/Graphics/.flexLibProperties |    6 +
 frameworks/projects/Graphics/.project           |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 .../projects/Graphics/as/src/GraphicsClasses.as |   45 +
 .../src/org/apache/flex/core/graphics/Circle.as |   60 +
 .../org/apache/flex/core/graphics/Ellipse.as    |   54 +
 .../apache/flex/core/graphics/GradientBase.as   |  216 +++
 .../apache/flex/core/graphics/GradientEntry.as  |  127 ++
 .../apache/flex/core/graphics/GraphicShape.as   |  102 ++
 .../flex/core/graphics/GraphicsContainer.as     |  192 ++
 .../src/org/apache/flex/core/graphics/IFill.as  |   25 +
 .../org/apache/flex/core/graphics/IStroke.as    |   21 +
 .../apache/flex/core/graphics/LinearGradient.as |   58 +
 .../src/org/apache/flex/core/graphics/Path.as   |   72 +
 .../src/org/apache/flex/core/graphics/Rect.as   |   52 +
 .../org/apache/flex/core/graphics/SolidColor.as |   91 +
 .../flex/core/graphics/SolidColorStroke.as      |  109 ++
 .../src/org/apache/flex/core/graphics/Text.as   |   97 +
 .../graphics/utils/AdvancedLayoutFeatures.as    | 1140 ++++++++++++
 .../core/graphics/utils/CompoundTransform.as    |  777 ++++++++
 .../core/graphics/utils/IAssetLayoutFeatures.as |  371 ++++
 .../flex/core/graphics/utils/MatrixUtil.as      | 1605 ++++++++++++++++
 .../flex/core/graphics/utils/PathHelper.as      | 1712 +++++++++++++++++
 .../core/graphics/utils/TransformOffsets.as     |  367 ++++
 frameworks/projects/Graphics/basic-manifest.xml |   34 +
 frameworks/projects/Graphics/build.xml          |  142 ++
 frameworks/projects/Graphics/compile-config.xml |   78 +
 .../src/org/apache/flex/core/graphics/Circle.js |  101 +
 .../org/apache/flex/core/graphics/Ellipse.js    |   80 +
 .../apache/flex/core/graphics/GradientBase.js   |  141 ++
 .../apache/flex/core/graphics/GradientEntry.js  |  126 ++
 .../apache/flex/core/graphics/GraphicShape.js   |  205 +++
 .../flex/core/graphics/GraphicsContainer.js     |  250 +++
 .../src/org/apache/flex/core/graphics/IFill.js  |   52 +
 .../org/apache/flex/core/graphics/IStroke.js    |   52 +
 .../src/org/apache/flex/core/graphics/Line.js   |   79 +
 .../apache/flex/core/graphics/LinearGradient.js |  125 ++
 .../src/org/apache/flex/core/graphics/Path.js   |  101 +
 .../src/org/apache/flex/core/graphics/Rect.js   |   80 +
 .../org/apache/flex/core/graphics/SolidColor.js |   92 +
 .../flex/core/graphics/SolidColorStroke.js      |  109 ++
 .../src/org/apache/flex/core/graphics/Text.js   |   70 +
 .../projects/HTML/.actionScriptProperties       |   25 +
 frameworks/projects/HTML/.flexLibProperties     |    6 +
 frameworks/projects/HTML/.project               |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 frameworks/projects/HTML/as/defaults.css        |  606 ++++++
 frameworks/projects/HTML/as/src/HTMLClasses.as  |  118 ++
 .../HTML/as/src/org/apache/flex/html/Alert.as   |  195 ++
 .../HTML/as/src/org/apache/flex/html/Button.as  |   75 +
 .../as/src/org/apache/flex/html/ButtonBar.as    |   53 +
 .../as/src/org/apache/flex/html/CheckBox.as     |  117 ++
 .../as/src/org/apache/flex/html/CloseButton.as  |   45 +
 .../as/src/org/apache/flex/html/ComboBox.as     |  114 ++
 .../as/src/org/apache/flex/html/Container.as    |   83 +
 .../as/src/org/apache/flex/html/ControlBar.as   |   76 +
 .../as/src/org/apache/flex/html/DropDownList.as |  157 ++
 .../as/src/org/apache/flex/html/HContainer.as   |   64 +
 .../HTML/as/src/org/apache/flex/html/HRule.as   |   49 +
 .../HTML/as/src/org/apache/flex/html/Image.as   |   68 +
 .../org/apache/flex/html/ImageAndTextButton.as  |   70 +
 .../HTML/as/src/org/apache/flex/html/Label.as   |  115 ++
 .../HTML/as/src/org/apache/flex/html/List.as    |  254 +++
 .../src/org/apache/flex/html/MultilineLabel.as  |   60 +
 .../src/org/apache/flex/html/NumericStepper.as  |  145 ++
 .../HTML/as/src/org/apache/flex/html/Panel.as   |  108 ++
 .../org/apache/flex/html/PanelWithControlBar.as |  121 ++
 .../as/src/org/apache/flex/html/RadioButton.as  |  208 +++
 .../as/src/org/apache/flex/html/SimpleAlert.as  |  132 ++
 .../as/src/org/apache/flex/html/SimpleList.as   |   46 +
 .../HTML/as/src/org/apache/flex/html/Slider.as  |  152 ++
 .../HTML/as/src/org/apache/flex/html/Spacer.as  |   49 +
 .../HTML/as/src/org/apache/flex/html/Spinner.as |  146 ++
 .../as/src/org/apache/flex/html/TextArea.as     |   91 +
 .../as/src/org/apache/flex/html/TextButton.as   |   90 +
 .../as/src/org/apache/flex/html/TextInput.as    |  120 ++
 .../as/src/org/apache/flex/html/TitleBar.as     |  127 ++
 .../org/apache/flex/html/ToggleTextButton.as    |  106 ++
 .../HTML/as/src/org/apache/flex/html/ToolTip.as |   60 +
 .../as/src/org/apache/flex/html/VContainer.as   |   65 +
 .../HTML/as/src/org/apache/flex/html/VRule.as   |   49 +
 .../accessories/NumericOnlyTextInputBead.as     |  146 ++
 .../flex/html/accessories/PasswordInputBead.as  |   85 +
 .../flex/html/accessories/TextPromptBead.as     |  131 ++
 .../flex/html/beads/AlertMeasurementBead.as     |   88 +
 .../src/org/apache/flex/html/beads/AlertView.as |  226 +++
 .../flex/html/beads/BackgroundImageBead.as      |  112 ++
 .../org/apache/flex/html/beads/ButtonBarView.as |   72 +
 .../org/apache/flex/html/beads/CSSButtonView.as |  167 ++
 .../html/beads/CSSImageAndTextButtonView.as     |  367 ++++
 .../apache/flex/html/beads/CSSTextButtonView.as |  347 ++++
 .../flex/html/beads/CSSTextToggleButtonView.as  |  105 ++
 .../org/apache/flex/html/beads/CheckBoxView.as  |  296 +++
 .../apache/flex/html/beads/CloseButtonView.as   |  101 +
 .../org/apache/flex/html/beads/ComboBoxView.as  |  247 +++
 .../org/apache/flex/html/beads/ContainerView.as |  555 ++++++
 .../html/beads/ControlBarMeasurementBead.as     |  116 ++
 .../DataItemRendererFactoryForArrayData.as      |  161 ++
 .../flex/html/beads/DownArrowButtonView.as      |  111 ++
 .../apache/flex/html/beads/DropDownListView.as  |  300 +++
 .../src/org/apache/flex/html/beads/HRuleView.as |   87 +
 .../flex/html/beads/HScrollBarThumbView.as      |  120 ++
 .../flex/html/beads/HScrollBarTrackView.as      |  118 ++
 .../apache/flex/html/beads/HScrollBarView.as    |   99 +
 .../apache/flex/html/beads/IBackgroundBead.as   |   35 +
 .../org/apache/flex/html/beads/IBorderBead.as   |   35 +
 .../org/apache/flex/html/beads/IComboBoxView.as |   78 +
 .../apache/flex/html/beads/IDropDownListView.as |   57 +
 .../apache/flex/html/beads/IGraphicsDrawing.as  |   36 +
 .../src/org/apache/flex/html/beads/IListView.as |   48 +
 .../apache/flex/html/beads/IScrollBarView.as    |   80 +
 .../org/apache/flex/html/beads/ISliderView.as   |   56 +
 .../org/apache/flex/html/beads/ISpinnerView.as  |   56 +
 .../apache/flex/html/beads/ITextFieldView.as    |   44 +
 .../apache/flex/html/beads/ITextItemRenderer.as |   45 +
 .../flex/html/beads/ImageAndTextButtonView.as   |  276 +++
 .../apache/flex/html/beads/ImageButtonView.as   |  147 ++
 .../src/org/apache/flex/html/beads/ImageView.as |  147 ++
 .../flex/html/beads/LeftArrowButtonView.as      |  112 ++
 .../src/org/apache/flex/html/beads/ListView.as  |  210 +++
 .../flex/html/beads/MultilineTextFieldView.as   |   56 +
 .../flex/html/beads/NumericStepperView.as       |  185 ++
 .../src/org/apache/flex/html/beads/PanelView.as |  170 ++
 .../flex/html/beads/PanelWithControlBarView.as  |  207 +++
 .../apache/flex/html/beads/RadioButtonView.as   |  281 +++
 .../flex/html/beads/RightArrowButtonView.as     |  112 ++
 .../org/apache/flex/html/beads/ScrollBarView.as |  216 +++
 .../apache/flex/html/beads/SimpleAlertView.as   |  149 ++
 .../flex/html/beads/SingleLineBorderBead.as     |   91 +
 .../apache/flex/html/beads/SliderThumbView.as   |  113 ++
 .../apache/flex/html/beads/SliderTrackView.as   |  113 ++
 .../org/apache/flex/html/beads/SliderView.as    |  179 ++
 .../flex/html/beads/SolidBackgroundBead.as      |  191 ++
 .../org/apache/flex/html/beads/SpinnerView.as   |  135 ++
 .../org/apache/flex/html/beads/TextAreaView.as  |  263 +++
 .../html/beads/TextButtonMeasurementBead.as     |   86 +
 .../apache/flex/html/beads/TextButtonView.as    |  217 +++
 .../html/beads/TextFieldLabelMeasurementBead.as |   92 +
 .../org/apache/flex/html/beads/TextFieldView.as |   54 +
 .../apache/flex/html/beads/TextFieldViewBase.as |  404 ++++
 .../org/apache/flex/html/beads/TextInputView.as |  135 ++
 .../flex/html/beads/TextInputWithBorderView.as  |  100 +
 .../TextItemRendererFactoryForArrayData.as      |  144 ++
 ...extItemRendererFactoryForStringVectorData.as |  128 ++
 .../apache/flex/html/beads/UpArrowButtonView.as |  112 ++
 .../src/org/apache/flex/html/beads/VRuleView.as |   87 +
 .../flex/html/beads/VScrollBarThumbView.as      |  119 ++
 .../flex/html/beads/VScrollBarTrackView.as      |  118 ++
 .../apache/flex/html/beads/VScrollBarView.as    |   99 +
 .../html/beads/controllers/AlertController.as   |   88 +
 .../controllers/ButtonAutoRepeatController.as   |  147 ++
 .../beads/controllers/ComboBoxController.as     |  104 ++
 .../beads/controllers/DropDownListController.as |  116 ++
 .../EditableTextKeyboardController.as           |   86 +
 .../controllers/HScrollBarMouseController.as    |  101 +
 .../controllers/ItemRendererMouseController.as  |  126 ++
 .../ListSingleSelectionMouseController.as       |  129 ++
 .../controllers/ScrollBarMouseControllerBase.as |  184 ++
 .../beads/controllers/SliderMouseController.as  |  148 ++
 .../beads/controllers/SpinnerMouseController.as |   97 +
 .../controllers/VScrollBarMouseController.as    |  101 +
 .../flex/html/beads/layouts/BasicLayout.as      |  370 ++++
 .../flex/html/beads/layouts/ButtonBarLayout.as  |  143 ++
 .../flex/html/beads/layouts/HScrollBarLayout.as |  121 ++
 .../flex/html/beads/layouts/HorizontalLayout.as |  268 +++
 .../flex/html/beads/layouts/TileLayout.as       |  195 ++
 .../flex/html/beads/layouts/VScrollBarLayout.as |  122 ++
 .../flex/html/beads/layouts/VerticalLayout.as   |  305 ++++
 .../apache/flex/html/beads/models/AlertModel.as |  288 +++
 .../html/beads/models/ArraySelectionModel.as    |  243 +++
 .../flex/html/beads/models/ComboBoxModel.as     |  100 +
 .../flex/html/beads/models/ImageAndTextModel.as |   77 +
 .../apache/flex/html/beads/models/ImageModel.as |   89 +
 .../html/beads/models/ListPresentationModel.as  |  107 ++
 .../apache/flex/html/beads/models/PanelModel.as |  158 ++
 .../apache/flex/html/beads/models/RangeModel.as |  222 +++
 .../flex/html/beads/models/ScrollBarModel.as    |   98 +
 .../html/beads/models/SingleLineBorderModel.as  |   85 +
 .../html/beads/models/StringSelectionModel.as   |  221 +++
 .../apache/flex/html/beads/models/TextModel.as  |  125 ++
 .../flex/html/beads/models/TitleBarModel.as     |  136 ++
 .../flex/html/beads/models/ToggleButtonModel.as |  145 ++
 .../html/beads/models/ValueToggleButtonModel.as |  123 ++
 .../flex/html/beads/models/ViewportModel.as     |   72 +
 .../apache/flex/html/supportClasses/Border.as   |   49 +
 .../ButtonBarButtonItemRenderer.as              |  135 ++
 .../html/supportClasses/ContainerContentArea.as |   70 +
 .../flex/html/supportClasses/DataGroup.as       |   85 +
 .../html/supportClasses/DataItemRenderer.as     |  131 ++
 .../html/supportClasses/DropDownListList.as     |   63 +
 .../flex/html/supportClasses/HScrollBar.as      |   49 +
 .../flex/html/supportClasses/ScrollBar.as       |   50 +
 .../html/supportClasses/ScrollingViewport.as    |  383 ++++
 .../html/supportClasses/StringItemRenderer.as   |  123 ++
 .../supportClasses/TextFieldItemRenderer.as     |  540 ++++++
 .../html/supportClasses/UIItemRendererBase.as   |  282 +++
 .../flex/html/supportClasses/VScrollBar.as      |   49 +
 .../apache/flex/html/supportClasses/Viewport.as |  157 ++
 .../as/src/org/apache/flex/svg/TextButton.as    |   30 +
 .../projects/HTML/asjs/src/HTMLASJSClasses.as   |   55 +
 .../asjs/src/org/apache/flex/html/DataGrid.as   |  164 ++
 .../src/org/apache/flex/html/DateChooser.as     |   74 +
 .../asjs/src/org/apache/flex/html/DateField.as  |   95 +
 .../src/org/apache/flex/html/ImageButton.as     |   60 +
 .../org/apache/flex/html/MXMLBeadViewBase.as    |  314 ++++
 .../apache/flex/html/accessories/ToolTipBead.as |  141 ++
 .../flex/html/beads/DataGridColumnView.as       |  104 ++
 .../apache/flex/html/beads/DataGridLinesBead.as |  199 ++
 .../org/apache/flex/html/beads/DataGridView.as  |  318 ++++
 .../DataItemRendererFactoryForArrayList.as      |  174 ++
 .../DataItemRendererFactoryForColumnData.as     |  142 ++
 .../html/beads/DataProviderChangeNotifier.as    |  154 ++
 .../apache/flex/html/beads/DateChooserView.as   |  256 +++
 .../org/apache/flex/html/beads/DateFieldView.as |  192 ++
 .../flex/html/beads/TitleBarMeasurementBead.as  |  108 ++
 .../apache/flex/html/beads/TitleBarView.mxml    |   58 +
 .../controllers/DateChooserMouseController.as   |  126 ++
 .../controllers/DateFieldMouseController.as     |   95 +
 .../FlexibleFirstChildHorizontalLayout.as       |  244 +++
 .../html/beads/layouts/LayoutChangeNotifier.as  |  103 ++
 .../layouts/OneFlexibleChildHorizontalLayout.as |  332 ++++
 .../layouts/OneFlexibleChildVerticalLayout.as   |  459 +++++
 .../html/beads/layouts/VerticalColumnLayout.as  |  199 ++
 .../beads/models/ArrayListSelectionModel.as     |  242 +++
 .../flex/html/beads/models/DataGridModel.as     |   71 +
 .../beads/models/DataGridPresentationModel.as   |   88 +
 .../flex/html/beads/models/DateChooserModel.as  |  189 ++
 .../flex/html/supportClasses/DataGridColumn.as  |  127 ++
 .../html/supportClasses/DateChooserButton.as    |   67 +
 .../html/supportClasses/GraphicsItemRenderer.as |  295 +++
 .../asjs/tests/FlexUnitFlexJSApplication.mxml   |   46 +
 frameworks/projects/HTML/asjs/tests/build.xml   |  160 ++
 .../tests/flexUnitTests/DataGridColumnTester.as |   27 +
 .../flexUnitTests/DataGridColumnTesterTest.as   |   55 +
 frameworks/projects/HTML/basic-manifest.xml     |  102 ++
 frameworks/projects/HTML/build.xml              |  161 ++
 .../projects/HTML/compile-asjs-config.xml       |   77 +
 frameworks/projects/HTML/compile-config.xml     |   96 +
 .../HTML/js/src/org/apache/flex/html/Alert.js   |  193 ++
 .../HTML/js/src/org/apache/flex/html/Button.js  |   61 +
 .../js/src/org/apache/flex/html/ButtonBar.js    |   85 +
 .../js/src/org/apache/flex/html/CheckBox.js     |   91 +
 .../js/src/org/apache/flex/html/CloseButton.js  |   55 +
 .../js/src/org/apache/flex/html/ComboBox.js     |  194 ++
 .../js/src/org/apache/flex/html/Container.js    |  123 ++
 .../js/src/org/apache/flex/html/ControlBar.js   |   59 +
 .../js/src/org/apache/flex/html/DropDownList.js |  143 ++
 .../js/src/org/apache/flex/html/HContainer.js   |   42 +
 .../HTML/js/src/org/apache/flex/html/HRule.js   |   45 +
 .../HTML/js/src/org/apache/flex/html/Image.js   |   82 +
 .../org/apache/flex/html/ImageAndTextButton.js  |  103 ++
 .../HTML/js/src/org/apache/flex/html/Label.js   |   71 +
 .../HTML/js/src/org/apache/flex/html/List.js    |  196 ++
 .../src/org/apache/flex/html/MultilineLabel.js  |   69 +
 .../src/org/apache/flex/html/NumericStepper.js  |  163 ++
 .../HTML/js/src/org/apache/flex/html/Panel.js   |  163 ++
 .../js/src/org/apache/flex/html/RadioButton.js  |  180 ++
 .../js/src/org/apache/flex/html/SimpleAlert.js  |   51 +
 .../js/src/org/apache/flex/html/SimpleList.js   |  111 ++
 .../HTML/js/src/org/apache/flex/html/Slider.js  |  173 ++
 .../HTML/js/src/org/apache/flex/html/Spacer.js  |   44 +
 .../HTML/js/src/org/apache/flex/html/Spinner.js |  171 ++
 .../js/src/org/apache/flex/html/TextArea.js     |   71 +
 .../js/src/org/apache/flex/html/TextButton.js   |   54 +
 .../js/src/org/apache/flex/html/TextInput.js    |   98 +
 .../js/src/org/apache/flex/html/TitleBar.js     |   87 +
 .../org/apache/flex/html/ToggleTextButton.js    |  122 ++
 .../HTML/js/src/org/apache/flex/html/ToolTip.js |   40 +
 .../js/src/org/apache/flex/html/VContainer.js   |   42 +
 .../HTML/js/src/org/apache/flex/html/VRule.js   |   50 +
 .../accessories/NumericOnlyTextInputBead.js     |   92 +
 .../flex/html/accessories/PasswordInputBead.js  |   54 +
 .../flex/html/accessories/TextPromptBead.js     |   64 +
 .../org/apache/flex/html/beads/ButtonBarView.js |   70 +
 .../org/apache/flex/html/beads/ContainerView.js |  433 +++++
 .../DataItemRendererFactoryForArrayData.js      |  140 ++
 .../src/org/apache/flex/html/beads/IListView.js |   43 +
 .../apache/flex/html/beads/ImageButtonView.js   |   45 +
 .../src/org/apache/flex/html/beads/ImageView.js |  117 ++
 .../src/org/apache/flex/html/beads/ListView.js  |  169 ++
 .../src/org/apache/flex/html/beads/PanelView.js |  204 +++
 .../flex/html/beads/ScrollingContainerView.js   |   81 +
 .../apache/flex/html/beads/SliderThumbView.js   |   62 +
 .../apache/flex/html/beads/SliderTrackView.js   |   62 +
 .../flex/html/beads/TextInputWithBorderView.js  |   45 +
 .../TextItemRendererFactoryForArrayData.js      |  117 ++
 .../controllers/ItemRendererMouseController.js  |  127 ++
 .../ListSingleSelectionMouseController.js       |   77 +
 .../beads/controllers/SliderMouseController.js  |  172 ++
 .../beads/controllers/SpinnerMouseController.js |   85 +
 .../flex/html/beads/layouts/BasicLayout.js      |  125 ++
 .../flex/html/beads/layouts/ButtonBarLayout.js  |  110 ++
 .../flex/html/beads/layouts/HorizontalLayout.js |  100 +
 .../flex/html/beads/layouts/TileLayout.js       |  168 ++
 .../flex/html/beads/layouts/VerticalLayout.js   |   97 +
 .../html/beads/models/ArraySelectionModel.js    |  127 ++
 .../apache/flex/html/beads/models/ImageModel.js |   66 +
 .../html/beads/models/ListPresentationModel.js  |   94 +
 .../apache/flex/html/beads/models/PanelModel.js |  110 ++
 .../apache/flex/html/beads/models/RangeModel.js |  158 ++
 .../apache/flex/html/beads/models/TextModel.js  |   68 +
 .../flex/html/beads/models/TitleBarModel.js     |  112 ++
 .../flex/html/beads/models/ViewportModel.js     |   93 +
 .../ButtonBarButtonItemRenderer.js              |  105 ++
 .../html/supportClasses/ContainerContentArea.js |   80 +
 .../flex/html/supportClasses/DataGridColumn.js  |   75 +
 .../flex/html/supportClasses/DataGroup.js       |  138 ++
 .../html/supportClasses/DataItemRenderer.js     |  134 ++
 .../html/supportClasses/ScrollingViewport.js    |  130 ++
 .../html/supportClasses/StringItemRenderer.js   |  144 ++
 .../html/supportClasses/UIItemRendererBase.js   |  181 ++
 .../apache/flex/html/supportClasses/Viewport.js |  112 ++
 frameworks/projects/HTML/svg-manifest.xml       |   24 +
 frameworks/projects/HTML5/as/defaults.css       |   68 +
 .../projects/HTML5/as/src/HTML5Classes.as       |   33 +
 .../as/src/org/apache/flex/html5/Button.as      |   26 +
 .../as/src/org/apache/flex/html5/CheckBox.as    |   26 +
 .../as/src/org/apache/flex/html5/ComboBox.as    |   26 +
 .../src/org/apache/flex/html5/DropDownList.as   |   26 +
 .../HTML5/as/src/org/apache/flex/html5/Label.as |   33 +
 .../HTML5/as/src/org/apache/flex/html5/List.as  |   33 +
 .../as/src/org/apache/flex/html5/RadioButton.as |   26 +
 .../as/src/org/apache/flex/html5/TextArea.as    |   26 +
 .../as/src/org/apache/flex/html5/TextButton.as  |   30 +
 .../as/src/org/apache/flex/html5/TextInput.as   |   25 +
 frameworks/projects/HTML5/build.xml             |  142 ++
 frameworks/projects/HTML5/compile-config.xml    |   83 +
 frameworks/projects/HTML5/html5-manifest.xml    |   35 +
 .../js/src/org/apache/flex/html5/CheckBox.js    |   76 +
 .../js/src/org/apache/flex/html5/ComboBox.js    |  187 ++
 .../src/org/apache/flex/html5/DropDownList.js   |   29 +
 .../HTML5/js/src/org/apache/flex/html5/Label.js |   57 +
 .../HTML5/js/src/org/apache/flex/html5/List.js  |   42 +
 .../js/src/org/apache/flex/html5/RadioButton.js |   87 +
 .../js/src/org/apache/flex/html5/TextArea.js    |   58 +
 .../js/src/org/apache/flex/html5/TextButton.js  |   59 +
 .../js/src/org/apache/flex/html5/TextInput.js   |   59 +
 .../projects/JQuery/.actionScriptProperties     |   25 +
 frameworks/projects/JQuery/.flexLibProperties   |    6 +
 frameworks/projects/JQuery/.project             |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 frameworks/projects/JQuery/as/defaults.css      |   51 +
 .../projects/JQuery/as/src/JQueryClasses.as     |   33 +
 .../src/org/apache/flex/jquery/Application.as   |   31 +
 .../as/src/org/apache/flex/jquery/CheckBox.as   |   26 +
 .../src/org/apache/flex/jquery/RadioButton.as   |   26 +
 .../as/src/org/apache/flex/jquery/TextButton.as |   30 +
 .../org/apache/flex/jquery/ToggleTextButton.as  |   89 +
 frameworks/projects/JQuery/build.xml            |  141 ++
 frameworks/projects/JQuery/compile-config.xml   |   83 +
 frameworks/projects/JQuery/jquery-manifest.xml  |   30 +
 .../projects/JQuery/js/src/jquery_externals.js  |   21 +
 .../src/org/apache/flex/jquery/Application.js   |   42 +
 .../js/src/org/apache/flex/jquery/CheckBox.js   |   88 +
 .../src/org/apache/flex/jquery/RadioButton.js   |  191 ++
 .../js/src/org/apache/flex/jquery/TextButton.js |   69 +
 .../org/apache/flex/jquery/ToggleTextButton.js  |  149 ++
 .../projects/JQuery/js/tests/FlexJSTest.js      |   59 +
 .../projects/JQuery/js/tests/MyController.js    |   56 +
 .../projects/JQuery/js/tests/MyInitialView.js   |   67 +
 frameworks/projects/JQuery/js/tests/MyModel.js  |   60 +
 .../JQuery/js/tests/MySimpleValuesImpl.js       |   41 +
 frameworks/projects/JQuery/js/tests/test.html   |   62 +
 .../projects/Mobile/.actionScriptProperties     |   25 +
 frameworks/projects/Mobile/.flexLibProperties   |    6 +
 frameworks/projects/Mobile/.project             |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 .../projects/Mobile/as/src/MobileClasses.as     |   38 +
 .../as/src/org/apache/cordova/Application.as    |   56 +
 .../Mobile/as/src/org/apache/cordova/Weinre.as  |   70 +
 .../as/src/org/apache/cordova/camera/Camera.as  |  157 ++
 .../src/org/apache/flex/mobile/ManagerBase.as   |  159 ++
 frameworks/projects/Mobile/asjs/defaults.css    |   33 +
 .../Mobile/asjs/src/MobileASJSClasses.as        |   41 +
 .../asjs/src/org/apache/flex/mobile/IView.as    |   43 +
 .../src/org/apache/flex/mobile/IViewManager.as  |   42 +
 .../apache/flex/mobile/StackedViewManager.as    |  161 ++
 .../org/apache/flex/mobile/TabbedViewManager.as |   85 +
 .../asjs/src/org/apache/flex/mobile/View.as     |   96 +
 .../org/apache/flex/mobile/ViewManagerBase.as   |  229 +++
 .../flex/mobile/beads/StackedViewManagerView.as |  127 ++
 .../flex/mobile/beads/TabbedViewManagerView.as  |  139 ++
 .../apache/flex/mobile/beads/ViewManagerView.as |  165 ++
 .../apache/flex/mobile/chrome/NavigationBar.as  |  103 ++
 .../src/org/apache/flex/mobile/chrome/TabBar.as |   50 +
 .../org/apache/flex/mobile/chrome/ToolBar.as    |   81 +
 .../flex/mobile/models/ViewManagerModel.as      |  263 +++
 frameworks/projects/Mobile/basic-manifest.xml   |   29 +
 frameworks/projects/Mobile/build.xml            |  161 ++
 .../projects/Mobile/compile-asjs-config.xml     |   75 +
 frameworks/projects/Mobile/compile-config.xml   |   94 +
 frameworks/projects/Mobile/cordova-manifest.xml |   28 +
 .../js/src/org/apache/cordova/Application.js    |   61 +
 .../Mobile/js/src/org/apache/cordova/Weinre.js  |   67 +
 .../js/src/org/apache/cordova/camera/Camera.js  |  136 ++
 .../src/org/apache/flex/mobile/ManagerBase.js   |  136 ++
 .../projects/Network/.actionScriptProperties    |   24 +
 frameworks/projects/Network/.flexLibProperties  |    6 +
 frameworks/projects/Network/.project            |   36 +
 .../.settings/org.eclipse.core.resources.prefs  |    3 +
 .../projects/Network/as/src/NetworkClasses.as   |   33 +
 .../src/org/apache/flex/net/BinaryUploader.as   |  609 +++++++
 .../as/src/org/apache/flex/net/HTTPHeader.as    |   79 +
 .../as/src/org/apache/flex/net/HTTPService.as   |  675 +++++++
 frameworks/projects/Network/basic-manifest.xml  |   27 +
 frameworks/projects/Network/build.xml           |  140 ++
 frameworks/projects/Network/compile-config.xml  |   78 +
 .../src/org/apache/flex/net/BinaryUploader.js   |  360 ++++
 .../js/src/org/apache/flex/net/HTTPHeader.js    |   63 +
 .../js/src/org/apache/flex/net/HTTPService.js   |  420 +++++
 frameworks/themes/Spark/preview.jpg             |  Bin 0 -> 3610 bytes
 frameworks/themes/Spark/spark.css               |   56 +
 fxg2svg/TODO.txt                                |    6 +
 fxg2svg/compile_steps.txt                       |    4 +
 fxg2svg/tests/button/ButtonSkin.xml             |  230 +++
 fxg2svg/tests/button/button_skin_down.svg       |   71 +
 fxg2svg/tests/button/button_skin_over.svg       |   59 +
 fxg2svg/tests/button/button_skin_up.svg         |   59 +
 fxg2svg/tests/button/button_test.html           |   28 +
 fxg2svg/tests/button/flexVhtml5.html            |  128 ++
 fxg2svg/tests/buttonwithjs/buttonSkin.svg       |  261 +++
 fxg2svg/tests/buttonwithjs/embedButtons.html    |   63 +
 .../buttonwithjs_noinjection/buttonSkin.svg     |  260 +++
 .../buttonwithjs_noinjection/embedButtons.html  |   63 +
 fxg2svg/transform/transform - down.xslt         |  235 +++
 fxg2svg/transform/transform - over.xslt         |  235 +++
 fxg2svg/transform/transform.xslt                |  218 +++
 ide/IDEA/intellij-config.xml                    |   73 +
 ...JS (FalconJX Debug and Release Build).launch |   28 +
 ide/flashbuilder/FlexJS (JS COMPC).launch       |   28 +
 installer.properties/en_US.properties           |   86 +
 installer.properties/pl_PL.properties           |   86 +
 installer.properties/zh_CN.properties           |   83 +
 installer.properties/zh_TW.properties           |   83 +
 installer.xml                                   | 1032 +++++++++++
 js/bin/asjsc                                    |   70 +
 js/bin/asjsc.bat                                |   29 +
 js/bin/asjscompc                                |   70 +
 js/bin/asjscompc.bat                            |   29 +
 js/bin/compc                                    |   70 +
 js/bin/compc.bat                                |   29 +
 js/bin/externc                                  |   70 +
 js/bin/externc.bat                              |   29 +
 js/bin/jquery                                   |   70 +
 js/bin/jquery.bat                               |   29 +
 js/bin/mxmlc                                    |   70 +
 js/bin/mxmlc.bat                                |   29 +
 manualtests/ContainerTest/build.xml             |   74 +
 .../ContainerTest/src/ContainerTest.mxml        |   39 +
 .../ContainerTest/src/MyInitialView.mxml        |  188 ++
 .../ContainerTest/src/assets/logo_orange.png    |  Bin 0 -> 33897 bytes
 .../ContainerTest/src/models/ProductsModel.as   |   44 +
 .../ContainerTest/src/products/Product.as       |   43 +
 .../src/products/ProductItemRenderer.as         |   83 +
 manualtests/ContainerTest/src/smallbluerect.jpg |  Bin 0 -> 13500 bytes
 .../ContainerTest/src/smallgreenrect.jpg        |  Bin 0 -> 13542 bytes
 .../ContainerTest/src/smallorangerect.gif       |  Bin 0 -> 821 bytes
 .../ContainerTest/src/smallorangerect.jpg       |  Bin 0 -> 13571 bytes
 .../ContainerTest/src/smallpurplerect.jpg       |  Bin 0 -> 13517 bytes
 manualtests/ContainerTest/src/smallredrect.jpg  |  Bin 0 -> 13477 bytes
 .../ContainerTest/src/smallyellowrect.jpg       |  Bin 0 -> 13598 bytes
 manualtests/DataGridXcompile/build.xml          |   71 +
 .../DataGridXcompile/src/DataGridXcompile.mxml  |   37 +
 .../DataGridXcompile/src/MyInitialView.mxml     |   83 +
 .../src/models/MyGridPresentation.as            |   32 +
 .../src/models/ProductsModel.as                 |   53 +
 .../flex/core/IDataGridPresentationModel.as     |   31 +
 .../apache/flex/html/customControls/DataGrid.as |   60 +
 .../customControls/beads/DataGridColumnView.as  |   57 +
 .../html/customControls/beads/DataGridView.as   |  149 ++
 .../DataItemRendererFactoryForColumnData.as     |  101 +
 .../html/customControls/beads/IDataGridView.as  |   27 +
 .../beads/IDataProviderItemRendererMapper.as    |   34 +
 .../beads/models/DataGridPresentationModel.as   |   65 +
 .../html/staticControls/beads/BoxGridView.as    |   48 +
 .../DataGridXcompile/src/products/Product.as    |   41 +
 manualtests/DateChooserExample/build.xml        |   73 +
 .../src/DateChooserExample.mxml                 |   36 +
 .../DateChooserExample/src/MyInitialView.mxml   |   44 +
 manualtests/DateChooserExample/src/README.txt   |   43 +
 manualtests/EffectsExample/build.xml            |   77 +
 .../EffectsExample/src/EffectExample.mxml       |   33 +
 .../EffectsExample/src/MyInitialView.mxml       |   89 +
 manualtests/EffectsExample/src/README.txt       |   35 +
 manualtests/EffectsExample/src/jproctor.jpg     |  Bin 0 -> 21684 bytes
 manualtests/EffectsExample/src/twong.jpg        |  Bin 0 -> 19395 bytes
 manualtests/FlexJSTest_HTML5/build.xml          |   70 +
 .../FlexJSTest_HTML5/src/ButtonImageDown.png    |  Bin 0 -> 206 bytes
 .../FlexJSTest_HTML5/src/ButtonImageOver.png    |  Bin 0 -> 266 bytes
 .../FlexJSTest_HTML5/src/ButtonImageUp.png      |  Bin 0 -> 236 bytes
 .../FlexJSTest_HTML5/src/FlexJSTest_HTML5.mxml  |   51 +
 .../FlexJSTest_HTML5/src/MyInitialView.mxml     |  144 ++
 .../src/StockDataJSONItemConverter.as           |   36 +
 .../src/controllers/MyController.as             |   92 +
 .../FlexJSTest_HTML5/src/models/MyModel.as      |   59 +
 manualtests/FlexJSTest_Panel/build.xml          |   71 +
 .../FlexJSTest_Panel/src/FlexJSTest_Panel.mxml  |   32 +
 .../FlexJSTest_Panel/src/MyInitialView.mxml     |  144 ++
 manualtests/FlexJSTest_Panel/src/README.txt     |   45 +
 manualtests/FlexJSTest_SVG/build.xml            |   71 +
 .../FlexJSTest_SVG/src/FlexJSTest_SVG.mxml      |   39 +
 .../FlexJSTest_SVG/src/GraphicsView.mxml        |  327 ++++
 .../FlexJSTest_SVG/src/MyInitialView.mxml       |   58 +
 manualtests/FlexJSTest_SVG/src/README.txt       |   45 +
 manualtests/FlexJSTest_SVG/src/SkinsView.mxml   |  103 ++
 .../src/controllers/MyController.as             |   52 +
 .../FlexJSTest_SVG/src/models/MyModel.as        |   47 +
 .../FlexJSTest_SVG/src/skins/Button_up.mxml     |   27 +
 .../src/skins/flatspark/enums/BrandColorEnum.as |   30 +
 .../skins/flatspark/enums/ButtonColorEnum.as    |   59 +
 .../src/skins/flatspark/enums/ButtonSizeEnum.as |   31 +
 .../skins/flatspark/enums/ColorSwatchEnum.as    |   40 +
 .../src/skins/flatspark/enums/SizeEnum.as       |   32 +
 .../skins/flatspark/enums/TextInputSizeEnum.as  |   30 +
 .../src/skins/flatspark/utils/AwesomeUtils.as   |  399 ++++
 .../src/skins/flatspark/utils/ColorUtils.as     |   89 +
 .../src/skins/flatspark/utils/ConfigSkin.as     |   44 +
 manualtests/FlexJSTest_basic/build.xml          |   70 +
 .../FlexJSTest_basic/src/ButtonImageDown.png    |  Bin 0 -> 206 bytes
 .../FlexJSTest_basic/src/ButtonImageOver.png    |  Bin 0 -> 266 bytes
 .../FlexJSTest_basic/src/ButtonImageUp.png      |  Bin 0 -> 236 bytes
 .../FlexJSTest_basic/src/FlexJSTest_basic.mxml  |   51 +
 .../FlexJSTest_basic/src/MyInitialView.mxml     |  143 ++
 manualtests/FlexJSTest_basic/src/README.txt     |   47 +
 .../src/StockDataJSONItemConverter.as           |   38 +
 .../src/controllers/MyController.as             |   92 +
 .../FlexJSTest_basic/src/models/MyModel.as      |   59 +
 manualtests/FlexJSTest_createjs/build.xml       |   70 +
 .../src/CreateJSExample.mxml                    |   58 +
 .../FlexJSTest_createjs/src/MyInitialView.mxml  |   58 +
 manualtests/FlexJSTest_createjs/src/README.txt  |   22 +
 .../src/controllers/MyController.as             |   57 +
 .../FlexJSTest_createjs/src/models/MyModel.as   |   53 +
 manualtests/FlexJSTest_jquery/build.xml         |   70 +
 .../FlexJSTest_jquery/src/ButtonImageDown.png   |  Bin 0 -> 206 bytes
 .../FlexJSTest_jquery/src/ButtonImageOver.png   |  Bin 0 -> 266 bytes
 .../FlexJSTest_jquery/src/ButtonImageUp.png     |  Bin 0 -> 236 bytes
 .../FlexJSTest_jquery/src/MyInitialView.mxml    |  148 ++
 .../src/StockDataJSONItemConverter.as           |   38 +
 .../src/controllers/MyController.as             |   92 +
 .../FlexJSTest_jquery/src/jQuerySample.mxml     |   64 +
 .../FlexJSTest_jquery/src/models/MyModel.as     |   59 +
 manualtests/FormExample/build.xml               |   77 +
 manualtests/FormExample/src/FormExample.mxml    |   33 +
 manualtests/FormExample/src/MyFormView.mxml     |   73 +
 manualtests/FormExample/src/README.txt          |   45 +
 manualtests/FormatExample/build.xml             |   77 +
 .../FormatExample/src/FormatExample.mxml        |   33 +
 manualtests/FormatExample/src/MyFormView.mxml   |  133 ++
 .../FormatExample/src/dialogs/DialogView.as     |   38 +
 .../FormatExample/src/dialogs/LoginDialog.mxml  |   70 +
 .../accessories/NumberFormatter.as              |  210 +++
 .../accessories/PhoneNumberFormatter.as         |  195 ++
 manualtests/ImageTest/build.xml                 |   70 +
 manualtests/ImageTest/src/ImageTest.mxml        |   33 +
 manualtests/ImageTest/src/MyInitialView.mxml    |   45 +
 manualtests/ImageTest/src/README.txt            |   40 +
 manualtests/ImageTest/src/largegreenrect.png    |  Bin 0 -> 56681 bytes
 manualtests/ImageTest/src/smallbluerect.jpg     |  Bin 0 -> 13500 bytes
 manualtests/ImageTest/src/smallgreenrect.jpg    |  Bin 0 -> 13542 bytes
 manualtests/ImageTest/src/smallorangerect.gif   |  Bin 0 -> 821 bytes
 manualtests/LanguageTests/build.xml             |   71 +
 manualtests/LanguageTests/src/LanguageTests.as  |  159 ++
 manualtests/LanguageTests/src/README.txt        |   26 +
 manualtests/LanguageTests/src/classes/B.as      |   25 +
 manualtests/LanguageTests/src/classes/C.as      |   27 +
 manualtests/LanguageTests/src/interfaces/IA.as  |   22 +
 manualtests/LanguageTests/src/interfaces/IB.as  |   22 +
 manualtests/LanguageTests/src/interfaces/IC.as  |   22 +
 manualtests/LanguageTests/src/interfaces/ID.as  |   22 +
 manualtests/LanguageTests/src/interfaces/IE.as  |   22 +
 manualtests/LanguageTests/src/interfaces/IF.as  |   22 +
 manualtests/ListsTest/build.xml                 |   71 +
 manualtests/ListsTest/src/FirstView.mxml        |   63 +
 manualtests/ListsTest/src/ListsTests.mxml       |   36 +
 manualtests/ListsTest/src/README.txt            |   47 +
 .../ListsTest/src/models/ProductsModel.as       |   42 +
 manualtests/ListsTest/src/products/Product.as   |   43 +
 .../src/products/ProductItemRenderer.as         |   83 +
 manualtests/ListsTest/src/smallbluerect.jpg     |  Bin 0 -> 13500 bytes
 manualtests/ListsTest/src/smallgreenrect.jpg    |  Bin 0 -> 13542 bytes
 manualtests/ListsTest/src/smallorangerect.gif   |  Bin 0 -> 821 bytes
 manualtests/ListsTest/src/smallorangerect.jpg   |  Bin 0 -> 13571 bytes
 manualtests/ListsTest/src/smallpurplerect.jpg   |  Bin 0 -> 13517 bytes
 manualtests/ListsTest/src/smallredrect.jpg      |  Bin 0 -> 13477 bytes
 manualtests/ListsTest/src/smallyellowrect.jpg   |  Bin 0 -> 13598 bytes
 manualtests/RollEventsTest/build.xml            |   70 +
 manualtests/RollEventsTest/src/RollEvent.as     |   33 +
 .../RollEventsTest/src/RollEventController.as   |   79 +
 .../RollEventsTest/src/RollEventsTest.mxml      |   52 +
 manualtests/VanillaSDK_POC/build.xml            |   48 +
 manualtests/VanillaSDK_POC/src/Example.as       |   83 +
 manualtests/VanillaSDK_POC/src/Main.mxml        |   21 +
 manualtests/build.xml                           |  121 ++
 manualtests/build_example.xml                   |  356 ++++
 marmotinni/README                               |    8 +
 marmotinni/build.properties                     |   23 +
 marmotinni/build.xml                            |  333 ++++
 marmotinni/java/downloads.xml                   |  205 +++
 .../staticControls/textButton/TextButton.java   |   78 +
 .../TextButton/MyInitialView.mxml               |   26 +
 .../staticControls/TextButton/TextButton.mxml   |   27 +
 maven.xml                                       |  472 +++++
 maven/flexjs-artifact.pom                       |   11 +
 maven/flexjs-framework-framework.pom            |   11 +
 maven/flexjs-framework.pom                      |  141 ++
 .../src/marmotinni/AssertPropertyValue.java     |  103 ++
 mustella/java/src/marmotinni/AssertStep.java    |   54 +
 .../java/src/marmotinni/DispatchKeyEvent.java   |  203 +++
 .../src/marmotinni/DispatchMouseClickEvent.java |  205 +++
 .../java/src/marmotinni/DispatchMouseEvent.java |  222 +++
 .../java/src/marmotinni/MarmotinniRunner.java   |  250 +++
 mustella/java/src/marmotinni/SetProperty.java   |  119 ++
 mustella/java/src/marmotinni/TestCase.java      |  293 +++
 mustella/java/src/marmotinni/TestOutput.java    |   36 +
 mustella/java/src/marmotinni/TestResult.java    |  151 ++
 mustella/java/src/marmotinni/TestStep.java      |  124 ++
 mustella/tests/basicTests/BasicTests.css        |  171 ++
 mustella/tests/basicTests/BasicTests.mxml       |  211 +++
 .../tests/basicTests/BasicTestsApp-config.xml   |  117 ++
 mustella/tests/basicTests/BasicTestsApp.mxml    |   44 +
 mustella/tests/basicTests/FlexJSContext.as      |   43 +
 mustella/tests/basicTests/basicImage.jpg        |  Bin 0 -> 2939 bytes
 mustella/tests/basicTests/basicLoader.as        |   70 +
 .../basicTests/dmv/scripts/ADGTestScript.mxml   |  108 ++
 .../dmv/scripts/ChartsTestScript.mxml           |   89 +
 .../basicTests/dmv/scripts/ODGTestScript.mxml   |   54 +
 .../tests/basicTests/dmv/views/ADGTests.mxml    |  119 ++
 .../tests/basicTests/dmv/views/ChartsTests.mxml |  138 ++
 .../tests/basicTests/dmv/views/DataIntro.as     |   83 +
 .../tests/basicTests/dmv/views/ODGTests.mxml    |  152 ++
 .../fxg/scripts/FXG2CompileTestScript.mxml      |   51 +
 .../fxg/scripts/FXGCompileTestScript.mxml       |   52 +
 .../basicTests/fxg/views/FXG2CompileTests.mxml  |   24 +
 .../basicTests/fxg/views/FXGCompileTests.mxml   |   24 +
 mustella/tests/basicTests/fxg/views/bg01.fxg    |  399 ++++
 mustella/tests/basicTests/fxg/views/fxg2.fxg    |  199 ++
 .../scripts/GraphicsTagsTestScript.mxml         | 1069 +++++++++++
 .../GraphicTags_Checkin_Ellipse_bevelFilter.png |  Bin 0 -> 3294 bytes
 .../GraphicTags_Checkin_Ellipse_blurFilter.png  |  Bin 0 -> 3286 bytes
 .../GraphicTags_Checkin_Ellipse_height.png      |  Bin 0 -> 1051 bytes
 .../GraphicTags_Checkin_Ellipse_stroke.png      |  Bin 0 -> 1268 bytes
 .../GraphicTags_Checkin_Ellipse_stroke10.png    |  Bin 0 -> 1410 bytes
 ...raphicTags_Checkin_Ellipse_stroke10Alpha.png |  Bin 0 -> 1884 bytes
 ...aphicTags_Checkin_Ellipse_stroke10Purple.png |  Bin 0 -> 1419 bytes
 .../GraphicTags_Checkin_Ellipse_width.png       |  Bin 0 -> 1051 bytes
 .../baselines/GraphicTags_Checkin_Ellipse_x.png |  Bin 0 -> 1025 bytes
 .../baselines/GraphicTags_Checkin_Ellipse_y.png |  Bin 0 -> 1054 bytes
 ...cTags_Checkin_LinearGradRect_bevelFilter.png |  Bin 0 -> 729 bytes
 ...icTags_Checkin_LinearGradRect_blurFilter.png |  Bin 0 -> 2379 bytes
 ...raphicTags_Checkin_LinearGradRect_height.png |  Bin 0 -> 799 bytes
 ...raphicTags_Checkin_LinearGradRect_stroke.png |  Bin 0 -> 750 bytes
 ...phicTags_Checkin_LinearGradRect_stroke10.png |  Bin 0 -> 828 bytes
 ...ags_Checkin_LinearGradRect_stroke10Alpha.png |  Bin 0 -> 1178 bytes
 ...gs_Checkin_LinearGradRect_stroke10Purple.png |  Bin 0 -> 822 bytes
 ...GraphicTags_Checkin_LinearGradRect_width.png |  Bin 0 -> 951 bytes
 .../GraphicTags_Checkin_LinearGradRect_x.png    |  Bin 0 -> 746 bytes
 .../GraphicTags_Checkin_LinearGradRect_y.png    |  Bin 0 -> 732 bytes
 .../GraphicTags_Checkin_Rect_bevelFilter.png    |  Bin 0 -> 852 bytes
 .../GraphicTags_Checkin_Rect_blurFilter.png     |  Bin 0 -> 778 bytes
 .../GraphicTags_Checkin_Rect_height.png         |  Bin 0 -> 550 bytes
 .../GraphicTags_Checkin_Rect_stroke.png         |  Bin 0 -> 565 bytes
 .../GraphicTags_Checkin_Rect_stroke10.png       |  Bin 0 -> 661 bytes
 .../GraphicTags_Checkin_Rect_stroke10Alpha.png  |  Bin 0 -> 664 bytes
 .../GraphicTags_Checkin_Rect_stroke10Purple.png |  Bin 0 -> 664 bytes
 .../GraphicTags_Checkin_Rect_width.png          |  Bin 0 -> 550 bytes
 .../baselines/GraphicTags_Checkin_Rect_x.png    |  Bin 0 -> 569 bytes
 .../baselines/GraphicTags_Checkin_Rect_y.png    |  Bin 0 -> 553 bytes
 ...heckin_RotatedLinearGradRect_bevelFilter.png |  Bin 0 -> 1023 bytes
 ...Checkin_RotatedLinearGradRect_blurFilter.png |  Bin 0 -> 3202 bytes
 ...ags_Checkin_RotatedLinearGradRect_height.png |  Bin 0 -> 1596 bytes
 ...ags_Checkin_RotatedLinearGradRect_stroke.png |  Bin 0 -> 1023 bytes
 ...s_Checkin_RotatedLinearGradRect_stroke10.png |  Bin 0 -> 1096 bytes
 ...ckin_RotatedLinearGradRect_stroke10Alpha.png |  Bin 0 -> 1745 bytes
 ...kin_RotatedLinearGradRect_stroke10Purple.png |  Bin 0 -> 1100 bytes
 ...Tags_Checkin_RotatedLinearGradRect_width.png |  Bin 0 -> 2403 bytes
 ...phicTags_Checkin_RotatedLinearGradRect_x.png |  Bin 0 -> 1016 bytes
 ...phicTags_Checkin_RotatedLinearGradRect_y.png |  Bin 0 -> 1019 bytes
 ...raphicTags_Checkin_RoundRect_bevelFilter.png |  Bin 0 -> 757 bytes
 ...GraphicTags_Checkin_RoundRect_blurFilter.png |  Bin 0 -> 1739 bytes
 .../GraphicTags_Checkin_RoundRect_height.png    |  Bin 0 -> 757 bytes
 .../GraphicTags_Checkin_RoundRect_stroke.png    |  Bin 0 -> 899 bytes
 .../GraphicTags_Checkin_RoundRect_stroke10.png  |  Bin 0 -> 901 bytes
 ...phicTags_Checkin_RoundRect_stroke10Alpha.png |  Bin 0 -> 1114 bytes
 ...hicTags_Checkin_RoundRect_stroke10Purple.png |  Bin 0 -> 909 bytes
 .../GraphicTags_Checkin_RoundRect_width.png     |  Bin 0 -> 757 bytes
 .../GraphicTags_Checkin_RoundRect_x.png         |  Bin 0 -> 753 bytes
 .../GraphicTags_Checkin_RoundRect_y.png         |  Bin 0 -> 757 bytes
 .../graphics/views/GraphicsTagsTests.mxml       |   33 +
 .../graphics/views/comps/EllipseBasic2.mxml     |   34 +
 .../graphics/views/comps/RectBasic3.mxml        |   34 +
 .../graphics/views/comps/TextGraphicBasic1.mxml |   32 +
 .../halo/scripts/AccordionTestScript.mxml       |   73 +
 .../halo/scripts/AlertTestScript.mxml           |   84 +
 .../halo/scripts/ButtonTestScript.mxml          |   62 +
 .../halo/scripts/CheckBoxTestScript.mxml        |   61 +
 .../halo/scripts/CollectionTestScript.mxml      |   77 +
 .../halo/scripts/ColorPickerTestScript.mxml     |   71 +
 .../halo/scripts/ComboBoxTestScript.mxml        |   69 +
 .../halo/scripts/DateFieldTestScript.mxml       |   72 +
 .../halo/scripts/FTETextTestScript.mxml         |  105 ++
 .../halo/scripts/FocusManagerTestScript.mxml    |   73 +
 .../halo/scripts/ImageTestScript.mxml           |   59 +
 .../halo/scripts/ListAndDataGridTestScript.mxml |   90 +
 .../halo/scripts/MXItemRendererTestScript.mxml  |   76 +
 .../halo/scripts/MenuBarTestScript.mxml         |   85 +
 .../basicTests/halo/scripts/MenuTestScript.mxml |   91 +
 .../halo/scripts/NumericStepperTestScript.mxml  |   86 +
 .../halo/scripts/ProgressBarTestScript.mxml     |   78 +
 .../halo/scripts/RPCDataBindingTestScript.mxml  |   69 +
 .../halo/scripts/RadioButtonTestScript.mxml     |   69 +
 .../halo/scripts/SWFLoaderTestScript.mxml       |   58 +
 .../halo/scripts/SliderTestScript.mxml          |   64 +
 .../halo/scripts/TabNavigatorTestScript.mxml    |   71 +
 .../halo/scripts/TextAreaTestScript.mxml        |   62 +
 .../halo/scripts/TextInputTestScript.mxml       |   61 +
 .../basicTests/halo/scripts/TextTestScript.mxml |   72 +
 .../basicTests/halo/scripts/TreeTestScript.mxml |   68 +
 .../basicTests/halo/views/AccordionTests.mxml   |   50 +
 .../tests/basicTests/halo/views/AlertTests.mxml |   41 +
 .../basicTests/halo/views/ButtonTests.mxml      |   33 +
 .../basicTests/halo/views/CheckBoxTests.mxml    |   33 +
 .../basicTests/halo/views/CollectionTests.mxml  |   51 +
 .../basicTests/halo/views/ColorPickerTests.mxml |   37 +
 .../basicTests/halo/views/ComboBoxTests.mxml    |   39 +
 .../basicTests/halo/views/DateFieldTests.mxml   |   37 +
 .../basicTests/halo/views/FTETextTests.mxml     |   42 +
 .../halo/views/FocusManagerTests.mxml           |   44 +
 .../tests/basicTests/halo/views/ImageTests.mxml |   39 +
 .../halo/views/ListAndDataGridTests.mxml        |   75 +
 .../halo/views/ListOfUSStateNames.xml           |   73 +
 .../halo/views/MXItemRendererTests.mxml         |  122 ++
 .../basicTests/halo/views/MenuBarTests.mxml     |   64 +
 .../tests/basicTests/halo/views/MenuTests.mxml  |   68 +
 .../halo/views/NumericStepperTests.mxml         |   37 +
 .../basicTests/halo/views/ProgressBarTests.mxml |   39 +
 .../halo/views/RPCDataBindingTests.mxml         |   43 +
 .../basicTests/halo/views/RadioButtonTests.mxml |   41 +
 .../basicTests/halo/views/SWFLoaderTests.mxml   |   39 +
 .../basicTests/halo/views/SliderTests.mxml      |   41 +
 .../halo/views/TabNavigatorTests.mxml           |   50 +
 .../basicTests/halo/views/TextAreaTests.mxml    |   37 +
 .../basicTests/halo/views/TextInputTests.mxml   |   37 +
 .../tests/basicTests/halo/views/TextTests.mxml  |   42 +
 .../tests/basicTests/halo/views/TreeTests.mxml  |   66 +
 .../tests/basicTests/mx/styles/StyleManager.as  |   35 +
 mustella/tests/basicTests/shim/VBox.as          |   49 +
 .../scripts/AdvancedStyleClientTestScript.mxml  |   67 +
 .../scripts/AnimateConstraintsTestScript.mxml   |  120 ++
 .../scripts/BorderContainerTestScript.mxml      |   80 +
 .../spark/scripts/ButtonBarTestScript.mxml      |   63 +
 .../spark/scripts/ButtonTestScript.mxml         |   61 +
 .../spark/scripts/CheckBoxTestScript.mxml       |   60 +
 .../spark/scripts/CollatorTestScript.mxml       |  147 ++
 .../spark/scripts/ComboBoxTestScript.mxml       |   70 +
 .../scripts/CurrencyFormatterTestScript.mxml    |  123 ++
 .../scripts/CurrencyValidatorTestScript.mxml    |  107 ++
 .../spark/scripts/DataGridTestScript.mxml       |   92 +
 .../scripts/DateTimeFormatterTestScript.mxml    |  111 ++
 .../DeferredInstantiationTestScript.mxml        |   62 +
 .../spark/scripts/DesignLayerTestScript.mxml    |   57 +
 .../spark/scripts/DropDownListTestScript.mxml   |   70 +
 .../spark/scripts/EasingTestScript.mxml         |   80 +
 .../spark/scripts/FXG2RuntimeTestScript.mxml    |   83 +
 .../spark/scripts/FormTestScript.mxml           |   65 +
 .../spark/scripts/ImageTestScript.mxml          |   66 +
 .../scripts/LayoutDirectionTestScript.mxml      |  193 ++
 .../spark/scripts/LayoutTestScript.mxml         |  216 +++
 .../spark/scripts/ListDragDropTestScript.mxml   |  266 +++
 .../scripts/NumberFormatterTestScript.mxml      |  126 ++
 .../scripts/NumberValidatorTestScript.mxml      |  107 ++
 .../spark/scripts/NumericStepperTestScript.mxml |   89 +
 .../scripts/PanelControlBarTestScript.mxml      |   67 +
 .../spark/scripts/RadioButtonTestScript.mxml    |   69 +
 .../spark/scripts/ScrollBarTestScript.mxml      |   61 +
 .../spark/scripts/SliderTestScript.mxml         |   64 +
 .../spark/scripts/SortTestScript.mxml           |  105 ++
 .../spark/scripts/StringToolsTestScript.mxml    |   79 +
 .../spark/scripts/StyleManagerTestScript.mxml   |   60 +
 .../spark/scripts/TextAreaTestScript.mxml       |   60 +
 .../spark/scripts/TextInputTestScript.mxml      |   63 +
 .../spark/scripts/TileGroupTestScript.mxml      |   65 +
 .../spark/scripts/TitleWindowTestScript.mxml    |   67 +
 .../spark/views/AdvancedStyleClientTests.mxml   |   51 +
 .../spark/views/AnimateConstraintsTests.mxml    |  144 ++
 .../spark/views/BorderContainerTests.mxml       |   39 +
 .../basicTests/spark/views/ButtonBarTests.mxml  |   43 +
 .../basicTests/spark/views/ButtonTests.mxml     |   38 +
 .../basicTests/spark/views/CheckBoxTests.mxml   |   37 +
 .../basicTests/spark/views/CollatorTests.mxml   |   37 +
 .../basicTests/spark/views/ComboBoxTests.mxml   |   42 +
 .../spark/views/CurrencyFormatterTests.mxml     |   40 +
 .../spark/views/CurrencyValidatorTests.mxml     |   36 +
 .../basicTests/spark/views/DataGridTests.mxml   |   82 +
 .../spark/views/DateTimeFormatterTests.mxml     |   50 +
 .../spark/views/DeferredInstantiationTests.mxml |   43 +
 .../spark/views/DesignLayerTests.mxml           |   31 +
 .../spark/views/DropDownListTests.mxml          |   39 +
 .../basicTests/spark/views/EasingTests.mxml     |   67 +
 .../spark/views/FXG2RuntimeTests.mxml           |   54 +
 .../tests/basicTests/spark/views/FormTests.mxml |   60 +
 .../basicTests/spark/views/HelloWorld.mxml      |  182 ++
 .../basicTests/spark/views/ImageTests.mxml      |   35 +
 .../spark/views/LayoutDirectionTests.mxml       |   33 +
 .../basicTests/spark/views/LayoutTests.mxml     |   30 +
 .../spark/views/ListDragDropTests.mxml          |   67 +
 .../spark/views/NumberFormatterTests.mxml       |   40 +
 .../spark/views/NumberValidatorTests.mxml       |   36 +
 .../spark/views/NumericStepperTests.mxml        |   37 +
 .../spark/views/PanelControlBarTests.mxml       |   52 +
 .../spark/views/RadioButtonTests.mxml           |   49 +
 .../basicTests/spark/views/ScrollBarTests.mxml  |   42 +
 .../basicTests/spark/views/SliderTests.mxml     |   41 +
 .../tests/basicTests/spark/views/SortTests.mxml |   64 +
 .../spark/views/StringToolsTests.mxml           |   35 +
 .../spark/views/StyleManagerModuleTest.mxml     |   34 +
 .../spark/views/StyleManagerTests.mxml          |   49 +
 .../basicTests/spark/views/TextAreaTests.mxml   |   37 +
 .../basicTests/spark/views/TextInputTests.mxml  |   37 +
 .../basicTests/spark/views/TileGroupTests.mxml  |   48 +
 .../spark/views/TitleWindowTests.mxml           |   46 +
 .../spark/views/styleTest/ADVStyleTestClass.as  |  119 ++
 .../spark/views/styleTest/ADVStyleTestEvent.as  |   42 +
 nightly.properties                              |   35 +
 releasecandidate.xml                            |  589 ++++++
 scripts/deploy.bat                              |  123 ++
 scripts/deploy.sh                               |  113 ++
 scripts/setuplaunches.bat                       |  108 ++
 scripts/setuplaunches.sh                        |  113 ++
 source/as/FlexJSTest/src/FlexJSTest.as          |   39 -
 source/as/FlexJSTest/src/FlexJSTestMXML.mxml    |   38 -
 source/as/FlexJSTest/src/MyInitialView.as       |   69 -
 source/as/FlexJSTest/src/MyInitialViewMXML.mxml |   26 -
 source/as/FlexJSTest/src/MySimpleValuesImpl.as  |   42 -
 .../FlexJSTest/src/controllers/MyController.as  |   43 -
 source/as/FlexJSTest/src/models/MyModel.as      |   46 -
 .../org/apache/flex/binding/SimpleBinding.as    |   47 -
 .../src/org/apache/flex/core/Application.as     |   50 -
 .../FlexJSUI/src/org/apache/flex/core/IBead.as  |   25 -
 .../src/org/apache/flex/core/IBeadModel.as      |   30 -
 .../src/org/apache/flex/core/IInitModel.as      |   25 -
 .../src/org/apache/flex/core/IInitSkin.as       |   25 -
 .../src/org/apache/flex/core/IStrand.as         |   27 -
 .../src/org/apache/flex/core/ITextBead.as       |   29 -
 .../src/org/apache/flex/core/ITextModel.as      |   29 -
 .../src/org/apache/flex/core/IValuesImpl.as     |   26 -
 .../org/apache/flex/core/SimpleValuesImpl.as    |   50 -
 .../FlexJSUI/src/org/apache/flex/core/UIBase.as |  120 --
 .../src/org/apache/flex/core/ValuesManager.as   |   38 -
 .../src/org/apache/flex/core/ViewBase.as        |  116 --
 .../org/apache/flex/events/ValueChangeEvent.as  |   38 -
 .../apache/flex/html/staticControls/Button.as   |   80 -
 .../flex/html/staticControls/DropDownList.as    |   46 -
 .../apache/flex/html/staticControls/Label.as    |   72 -
 .../flex/html/staticControls/TextButton.as      |   67 -
 .../html/staticControls/beads/IButtonBead.as    |   26 -
 .../staticControls/beads/ITextButtonBead.as     |   26 -
 .../html/staticControls/beads/TextButtonBead.as |  132 --
 .../html/staticControls/beads/TextFieldBead.as  |   88 -
 .../staticControls/beads/models/TextModel.as    |   71 -
 source/js/framework.js                          | 1030 -----------
 templates/swfobject/index.template.html         |  126 ++
 vf2js/LICENSE                                   |  203 +++
 vf2js/NOTICE                                    |    5 +
 vf2js/README                                    |   36 +
 vf2js/RELEASE_NOTES                             |   36 +
 vf2js/build.xml                                 |  247 +++
 vf2js/examples/build.xml                        |   34 +
 vf2js/examples/build_example.xml                |   86 +
 vf2js/examples/vf2js_DatabindingTest/build.xml  |   35 +
 .../src/StockDataJSONItemConverter.as           |   78 +
 .../vf2js_DatabindingTest/src/models/MyModel.as |  174 ++
 .../src/vf2js_DatabindingTest.mxml              |  321 ++++
 vf2js/examples/vf2js_SimpleTest/build.xml       |   34 +
 .../vf2js_SimpleTest/src/vf2js_SimpleTest.mxml  |   30 +
 vf2js/frameworks/as/build.xml                   |   52 +
 vf2js/frameworks/as/projects/vf2js_mx/build.xml |   65 +
 .../as/projects/vf2js_mx/compile-config.xml     |   42 +
 .../as/projects/vf2js_mx/manifest.xml           |   29 +
 .../as/projects/vf2js_mx/src/VF2JSClasses.as    |   31 +
 .../vf2js_mx/src/vf2js_mx/components/Button.as  |   29 +
 vf2js/frameworks/as/projects/vf2js_s/build.xml  |   65 +
 .../as/projects/vf2js_s/compile-config.xml      |   42 +
 .../frameworks/as/projects/vf2js_s/manifest.xml |   30 +
 .../as/projects/vf2js_s/src/VF2JSClasses.as     |   31 +
 .../src/vf2js_s/components/Application.as       |   35 +
 .../vf2js_s/src/vf2js_s/components/Button.as    |   33 +
 .../VF2JS (Debug and Release Build).launch      |   28 +
 vf2js/js/vf2js/falconjx/bin/mxmlc               |   63 +
 vf2js/js/vf2js/falconjx/bin/mxmlc.bat           |   31 +
 vf2js/utils/FlexSDKToJS/FlexSDKToJS.sh          |  209 +++
 vf2js/utils/FlexSDKToJS/JSFlexSDKDeps.sh        |    1 +
 vf2js/utils/FlexSDKToJS/TextLayoutToJS.sh       |   24 +
 .../src/PlayerGlobalToJS-app.xml                |  232 +++
 .../PlayerGlobalToJS/src/PlayerGlobalToJS.mxml  |  665 +++++++
 .../src/assets/vf2js/display/DisplayObject.js   |  173 ++
 .../vf2js/display/DisplayObjectContainer.js     |  110 ++
 .../assets/vf2js/display/InteractiveObject.js   |   33 +
 .../src/assets/vf2js/display/LoaderInfo.js      |  125 ++
 .../src/assets/vf2js/display/MovieClip.js       |  115 ++
 .../src/assets/vf2js/display/Sprite.js          |   33 +
 .../src/assets/vf2js/display/Stage.js           |  210 +++
 .../src/assets/vf2js/events/Event.js            |  136 ++
 .../src/assets/vf2js/events/EventDispatcher.js  |  154 ++
 .../src/assets/vf2js/events/ProgressEvent.js    |   75 +
 .../src/assets/vf2js/events/TimerEvent.js       |   72 +
 .../assets/vf2js/system/ApplicationDomain.js    |   77 +
 .../src/assets/vf2js/system/Capabilities.js     |   98 +
 .../src/assets/vf2js/utils/Timer.js             |  182 ++
 .../assets/vf2js/utils/getDefinitionByName.js   |   53 +
 .../utils/PlayerGlobalToJS/src/nl/ixms/Utils.as |   44 +
 .../src/nl/ixms/enums/MemberType.as             |   62 +
 .../PlayerGlobalToJS/src/nl/ixms/vo/Clazz.as    |  489 +++++
 .../src/nl/ixms/vo/ClazzMemberTypeLists.as      |   11 +
 .../PlayerGlobalToJS/src/nl/ixms/vo/JSDoc.as    |  111 ++
 .../PlayerGlobalToJS/src/shadowInterfaces.as    |   16 +
 .../src/vf2js/display/IDisplayObject.as         |   27 +
 .../vf2js/display/IDisplayObjectContainer.as    |   12 +
 .../src/vf2js/display/IInteractiveObject.as     |    8 +
 .../src/vf2js/display/ILoaderInfo.as            |   21 +
 .../src/vf2js/display/IMovieClip.as             |   17 +
 .../src/vf2js/display/ISprite.as                |    8 +
 .../src/vf2js/display/IStage.as                 |   26 +
 .../PlayerGlobalToJS/src/vf2js/events/IEvent.as |   15 +
 .../src/vf2js/events/IEventDispatcher.as        |   15 +
 .../src/vf2js/events/IProgressEvent.as          |    9 +
 .../src/vf2js/events/ITimerEvent.as             |    9 +
 .../src/vf2js/system/IApplicationDomain.as      |   10 +
 .../src/vf2js/system/ICapabilities.as           |   17 +
 .../PlayerGlobalToJS/src/vf2js/utils/ITimer.as  |   14 +
 .../src/vf2js/utils/IgetDefinitionByName.as     |    8 +
 1711 files changed, 164914 insertions(+), 4442 deletions(-)
----------------------------------------------------------------------



[48/50] git commit: [flex-asjs] [refs/heads/master] - fix lib path for asdoc

Posted by ah...@apache.org.
fix lib path for asdoc


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

Branch: refs/heads/master
Commit: 8a68b9516fabce5d01717f72375c8262221e2123
Parents: a8fbda5
Author: Alex Harui <ah...@apache.org>
Authored: Mon Nov 2 17:35:34 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Nov 2 17:35:34 2015 -0800

----------------------------------------------------------------------
 frameworks/asdoc-config.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8a68b951/frameworks/asdoc-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/asdoc-config.xml b/frameworks/asdoc-config.xml
index c004984..802807f 100644
--- a/frameworks/asdoc-config.xml
+++ b/frameworks/asdoc-config.xml
@@ -78,7 +78,7 @@
 
       <!-- List of SWC files or directories that contain SWC files. -->
       <library-path>
-         <path-element>as/libs</path-element>
+         <path-element>libs</path-element>
          <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
       </library-path>
 


[44/50] git commit: [flex-asjs] [refs/heads/master] - fix missing ArrayList.js

Posted by ah...@apache.org.
fix missing ArrayList.js


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

Branch: refs/heads/master
Commit: 8dc9a6a0eecf3892f69ab326037309ae79a18c44
Parents: d46845b
Author: Alex Harui <ah...@apache.org>
Authored: Thu Oct 29 21:31:51 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Oct 29 21:32:11 2015 -0700

----------------------------------------------------------------------
 frameworks/projects/Collections/compile-config.xml | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8dc9a6a0/frameworks/projects/Collections/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/compile-config.xml b/frameworks/projects/Collections/compile-config.xml
index a34040a..88592f7 100644
--- a/frameworks/projects/Collections/compile-config.xml
+++ b/frameworks/projects/Collections/compile-config.xml
@@ -61,6 +61,10 @@
     </compiler>
     
     <include-file>
+        <name>js/out/*</name>
+        <path>js/out/*</path>
+    </include-file>
+    <include-file>
         <name>js/src/*</name>
         <path>js/src/*</path>
     </include-file>


[03/50] git commit: [flex-asjs] [refs/heads/master] - Remove dependency on IInputParser. Subclass JSONInputParser instead.

Posted by ah...@apache.org.
Remove dependency on IInputParser.  Subclass JSONInputParser instead.


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

Branch: refs/heads/master
Commit: 5c13f2bd8a6d60384e17627ff5881505ec0c41d2
Parents: 84ece7b
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Mon Sep 21 13:28:17 2015 -0700
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Mon Sep 21 13:29:30 2015 -0700

----------------------------------------------------------------------
 examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml      | 3 ---
 .../src/controllers/GAJSONInputParser.as                       | 6 +++---
 2 files changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c13f2bd/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml b/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
index a389c83..33842df 100644
--- a/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
+++ b/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
@@ -51,9 +51,6 @@ limitations under the License.
 		}
 	</fx:Style>
 	
-	<js:beads>
-		<js:ViewBaseDataBinding />
-	</js:beads>
 	
 	<js:Label text="Number of users on flex.apache.org for last 30 days" x="10" y="10" />
 	<js:TextButton id="refreshButton" text="Refresh" x="300" y="10" click="refreshBtnClick(event)"/> 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c13f2bd/examples/flexjs/FlexWebsiteStatsViewer/src/controllers/GAJSONInputParser.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/src/controllers/GAJSONInputParser.as b/examples/flexjs/FlexWebsiteStatsViewer/src/controllers/GAJSONInputParser.as
index bb2a09d..2ff5916 100644
--- a/examples/flexjs/FlexWebsiteStatsViewer/src/controllers/GAJSONInputParser.as
+++ b/examples/flexjs/FlexWebsiteStatsViewer/src/controllers/GAJSONInputParser.as
@@ -1,14 +1,14 @@
 package controllers
 {
-	import org.apache.flex.collections.parsers.IInputParser;
+	import org.apache.flex.collections.parsers.JSONInputParser;
 	
-	public class GAJSONInputParser implements IInputParser
+	public class GAJSONInputParser extends JSONInputParser
 	{
 		public function GAJSONInputParser()
 		{
 		}
 		
-		public function parseItems(s:String):Array
+		override public function parseItems(s:String):Array
 		{
 			var rowsArrayStartIndex:int = s.indexOf('"rows": [', 0);
 			var rowsArrayEndIndex:int = s.indexOf("]]", rowsArrayStartIndex);


[24/50] git commit: [flex-asjs] [refs/heads/master] - Added missing interface for IRollOverModel for JavaScript.

Posted by ah...@apache.org.
Added missing interface for IRollOverModel for JavaScript.


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

Branch: refs/heads/master
Commit: cc526bd5e1e8d7ef381f811e49c2c7a06364d22e
Parents: e2eac34
Author: Peter Ent <pe...@apache.org>
Authored: Wed Oct 7 15:47:02 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Oct 7 15:47:02 2015 -0400

----------------------------------------------------------------------
 .../src/org/apache/flex/core/IRollOverModel.js  | 58 ++++++++++++++++++++
 1 file changed, 58 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cc526bd5/frameworks/projects/Core/js/src/org/apache/flex/core/IRollOverModel.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/IRollOverModel.js b/frameworks/projects/Core/js/src/org/apache/flex/core/IRollOverModel.js
new file mode 100644
index 0000000..059b1a1
--- /dev/null
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/IRollOverModel.js
@@ -0,0 +1,58 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * org.apache.flex.core.IRollOverModel
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('org.apache.flex.core.IRollOverModel');
+
+goog.require('org.apache.flex.core.IBeadModel');
+goog.require('org.apache.flex.events.IEventDispatcher');
+
+
+
+/**
+ * @interface
+ * @extends {org.apache.flex.core.IBeadModel}
+ * @extends {org.apache.flex.events.IEventDispatcher}
+ */
+org.apache.flex.core.IRollOverModel =
+function() {
+};
+
+
+Object.defineProperties(org.apache.flex.core.IRollOverModel.prototype, {
+    /** @export */
+    rollOverIndex: {
+        get: function() {},
+        set: function(value) {}
+    }
+});
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+org.apache.flex.core.IRollOverModel.prototype.FLEXJS_CLASS_INFO = {
+  names: [{ name: 'IRollOverModel',
+             qName: 'org.apache.flex.core.IRollOverModel'}],
+  interfaces: [org.apache.flex.core.IBead, org.apache.flex.events.IEventDispatcher]
+};


[04/50] git commit: [flex-asjs] [refs/heads/master] - - Added the packaging of the config xml files in the framework directroy as a "org.apache.flex.flexjs.framework:framework" artifact.

Posted by ah...@apache.org.
- Added the packaging of the config xml files in the framework directroy as a "org.apache.flex.flexjs.framework:framework" artifact.


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

Branch: refs/heads/master
Commit: 58c24a201650b48c537461bdffcb80fc95934e70
Parents: 5c13f2b
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Tue Sep 22 19:45:39 2015 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Tue Sep 22 19:45:39 2015 +0200

----------------------------------------------------------------------
 maven.xml                            | 36 +++++++++++++++++++++++++++++++
 maven/flexjs-framework-framework.pom | 11 ++++++++++
 maven/flexjs-framework.pom           |  6 ++++++
 3 files changed, 53 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/58c24a20/maven.xml
----------------------------------------------------------------------
diff --git a/maven.xml b/maven.xml
index 4f8d48a..c9818b5 100644
--- a/maven.xml
+++ b/maven.xml
@@ -144,6 +144,19 @@
             <param name="fileName" value="frameworks/libs/Network.swc"/>
         </antcall>
 
+        <!-- Zip up the config-xmls -->
+        <copy file="maven/flexjs-framework-framework.pom" tofile="generated/maven/flexjs-framework-framework.pom">
+            <filterchain>
+                <tokenfilter>
+                    <replacestring from="@VERSION@" to="${maven.version}"/>
+                </tokenfilter>
+            </filterchain>
+        </copy>
+        <zip destfile="generated/maven/flexjs-framework-framework-configs.zip">
+            <fileset dir="frameworks" includes="*.xml"/>
+            <fileset dir="frameworks" includes="projects/*/*-manifest.xml"/>
+        </zip>
+
         <copy file="maven/flexjs-framework.pom" tofile="generated/maven/flexjs-framework.pom">
             <filterchain>
                 <tokenfilter>
@@ -244,6 +257,8 @@
             <param name="artifactExtension" value="swc"/>
         </antcall>
 
+        <antcall target="-install-maven-framework-config-artifact"/>
+
         <antcall target="-install-maven-artifact-pom">
             <param name="artifactName" value="flexjs-framework"/>
         </antcall>
@@ -316,6 +331,8 @@
             <param name="artifactName" value="network"/>
         </antcall>
 
+        <antcall target="-deploy-maven-framework-config-artifact"/>
+
         <antcall target="-deploy-maven-artifact-pom">
             <param name="artifactName" value="flexjs-framework"/>
         </antcall>
@@ -393,6 +410,15 @@
         </artifact:install>
     </target>
 
+    <target name="-install-maven-framework-config-artifact" depends="-setup-aether-antlib"
+            xmlns:artifact="antlib:org.eclipse.aether.ant">
+        <echo message="Installing Framework config"/>
+        <artifact:install>
+            <artifact:pom file="generated/maven/flexjs-framework-framework.pom"/>
+            <artifact:artifact file="generated/maven/flexjs-framework-framework-configs.zip" classifier="configs"/>
+        </artifact:install>
+    </target>
+
     <target name="-install-maven-artifact-file-with-sources" depends="-setup-aether-antlib"
             xmlns:artifact="antlib:org.eclipse.aether.ant">
         <echo message="Installing File: ${artifactName}"/>
@@ -412,6 +438,16 @@
         </artifact:deploy>
     </target>
 
+    <target name="-deploy-maven-framework-config-artifact" depends="-setup-aether-antlib"
+            xmlns:artifact="antlib:org.eclipse.aether.ant">
+        <echo message="Deploying Framework config"/>
+        <artifact:install>
+            <artifact:remoterepo id="${maven.repositoryId}" url="${maven.repositoryUrl}"/>
+            <artifact:pom file="generated/maven/flexjs-framework-framework.pom"/>
+            <artifact:artifact file="generated/maven/flexjs-framework-framework-configs.zip" classifier="configs"/>
+        </artifact:install>
+    </target>
+
     <target name="-deploy-maven-artifact-file" depends="-setup-aether-antlib"
             xmlns:artifact="antlib:org.eclipse.aether.ant">
         <echo message="Deploying File: ${artifactName} to ${maven.repositoryUrl}"/>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/58c24a20/maven/flexjs-framework-framework.pom
----------------------------------------------------------------------
diff --git a/maven/flexjs-framework-framework.pom b/maven/flexjs-framework-framework.pom
new file mode 100644
index 0000000..163c4b3
--- /dev/null
+++ b/maven/flexjs-framework-framework.pom
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.apache.flex.flexjs.framework</groupId>
+    <artifactId>framework</artifactId>
+    <version>@VERSION@</version>
+    <packaging>pom</packaging>
+
+</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/58c24a20/maven/flexjs-framework.pom
----------------------------------------------------------------------
diff --git a/maven/flexjs-framework.pom b/maven/flexjs-framework.pom
index 970e3e6..6466756 100644
--- a/maven/flexjs-framework.pom
+++ b/maven/flexjs-framework.pom
@@ -36,6 +36,12 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.flex.flexjs.framework</groupId>
+            <artifactId>framework</artifactId>
+            <version>@VERSION@</version>
+            <type>pom</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.flex.flexjs.framework</groupId>
             <artifactId>binding</artifactId>
             <version>@VERSION@</version>
             <type>swc</type>