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 2017/05/30 19:47:36 UTC

[01/50] git commit: [flex-asjs] [refs/heads/tlf] - overflow layouts should watch parent container for changes. In overflow layouts the parent may not ask the child to re-layout since the child's size may not change since we set it to cause overflow

Repository: flex-asjs
Updated Branches:
  refs/heads/tlf db09eae8e -> f131187cd


overflow layouts should watch parent container for changes.  In overflow layouts the parent may not ask the child to re-layout since the child's size may not change since we set it to cause overflow


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

Branch: refs/heads/tlf
Commit: 1e450bb751e1dad52605a10909e0954a20ffb565
Parents: f05a94f
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 23 00:15:48 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 00:15:57 2017 -0700

----------------------------------------------------------------------
 ...eFlexibleChildHorizontalLayoutForOverflow.as | 19 ++++++++++++++++++-
 ...OneFlexibleChildVerticalLayoutForOverflow.as | 20 +++++++++++++++++++-
 2 files changed, 37 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1e450bb7/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as
index c6abc22..027f2ee 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as
@@ -30,6 +30,7 @@ package org.apache.flex.html.beads.layouts
 	import org.apache.flex.core.ValuesManager;
 	import org.apache.flex.core.UIBase;
 	import org.apache.flex.events.Event;
+	import org.apache.flex.events.IEventDispatcher;
 	import org.apache.flex.geom.Rectangle;
 	import org.apache.flex.utils.CSSContainerUtils;
 	import org.apache.flex.utils.CSSUtils;
@@ -64,7 +65,23 @@ package org.apache.flex.html.beads.layouts
 		{
 			super();
 		}
+		
+        /**
+         *  @flexjsignorecoercion org.apache.flex.events.IEventDispatcher;
+         */
+		COMPILE::JS
+		override public function set strand(value:IStrand):void
+		{
+			super.strand = value;
+			(host.parent as IEventDispatcher).addEventListener("sizeChanged", parentSizeChangedHandler);
+		}
 
+		COMPILE::JS
+		private function parentSizeChangedHandler(event:Event):void
+		{
+			performLayout();	
+		}
+		
         private var _flexibleChild:String;
 
         protected var actualChild:ILayoutChild;
@@ -115,7 +132,7 @@ package org.apache.flex.html.beads.layouts
 					child.element.style["display"] = "inline-block";
 			}
 
-			var w:Number = host.width;
+			var w:Number = host.width - 1;
 			for(i=0; i < n; i++) {
 				child = contentView.getElementAt(i) as UIBase;
 				if (child != actualChild)

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1e450bb7/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as
index 5679f80..f9f0b1d 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as
@@ -31,6 +31,7 @@ package org.apache.flex.html.beads.layouts
 	import org.apache.flex.core.ValuesManager;
 	import org.apache.flex.core.UIBase;
 	import org.apache.flex.events.Event;
+	import org.apache.flex.events.IEventDispatcher;
 	import org.apache.flex.geom.Rectangle;
 	import org.apache.flex.utils.CSSContainerUtils;
 	import org.apache.flex.utils.CSSUtils;
@@ -66,6 +67,23 @@ package org.apache.flex.html.beads.layouts
 			super();
 		}
 
+	
+        /**
+         *  @flexjsignorecoercion org.apache.flex.events.IEventDispatcher;
+         */
+		COMPILE::JS
+		override public function set strand(value:IStrand):void
+		{
+			super.strand = value;
+			(host.parent as IEventDispatcher).addEventListener("sizeChanged", parentSizeChangedHandler);
+		}
+
+		COMPILE::JS
+		private function parentSizeChangedHandler(event:Event):void
+		{
+			performLayout();	
+		}
+
         private var _flexibleChild:String;
 
         protected var actualChild:ILayoutChild;
@@ -116,7 +134,7 @@ package org.apache.flex.html.beads.layouts
 					child.element.style["display"] = "block";
 			}
 
-			var h:Number = host.height;
+			var h:Number = host.height - 1;
 			for(i=0; i < n; i++) {
 				child = contentView.getElementAt(i) as UIBase;
 				if (child != actualChild)


[08/50] git commit: [flex-asjs] [refs/heads/tlf] - get rid of warnings

Posted by ah...@apache.org.
get rid of warnings


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

Branch: refs/heads/tlf
Commit: e0b9641b310dc0a326be096aa52cc75678c86eee
Parents: 203aebc
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 23 11:30:25 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 11:31:13 2017 -0700

----------------------------------------------------------------------
 .../src/main/flex/DataBindingExample.as         | 48 +++++++++++++-------
 1 file changed, 31 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e0b9641b/examples/flexjs/DataBindingExample_as/src/main/flex/DataBindingExample.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_as/src/main/flex/DataBindingExample.as b/examples/flexjs/DataBindingExample_as/src/main/flex/DataBindingExample.as
index d215cec..848b0ab 100644
--- a/examples/flexjs/DataBindingExample_as/src/main/flex/DataBindingExample.as
+++ b/examples/flexjs/DataBindingExample_as/src/main/flex/DataBindingExample.as
@@ -23,35 +23,18 @@ import org.apache.flex.core.Application;
 import org.apache.flex.core.ItemRendererClassFactory;
 import org.apache.flex.core.SimpleCSSValuesImpl;
 import org.apache.flex.events.Event;
-import org.apache.flex.html.beads.CSSButtonView;
-import org.apache.flex.html.beads.CSSTextButtonView;
-import org.apache.flex.html.beads.CSSTextToggleButtonView;
-import org.apache.flex.html.beads.CheckBoxView;
 import org.apache.flex.html.beads.ContainerView;
 import org.apache.flex.html.beads.GroupView;
 import org.apache.flex.html.beads.DataItemRendererFactoryForArrayData;
-import org.apache.flex.html.beads.DropDownListView;
 import org.apache.flex.html.beads.ListView;
-import org.apache.flex.html.beads.RadioButtonView;
-import org.apache.flex.html.beads.SingleLineBorderBead;
-import org.apache.flex.html.beads.SolidBackgroundBead;
-import org.apache.flex.html.beads.TextAreaView;
-import org.apache.flex.html.beads.TextButtonMeasurementBead;
-import org.apache.flex.html.beads.TextFieldLabelMeasurementBead;
-import org.apache.flex.html.beads.TextFieldView;
-import org.apache.flex.html.beads.TextInputWithBorderView;
 import org.apache.flex.html.beads.TextItemRendererFactoryForArrayData;
-import org.apache.flex.html.beads.controllers.DropDownListController;
 import org.apache.flex.html.beads.controllers.ItemRendererMouseController;
-import org.apache.flex.html.beads.controllers.EditableTextKeyboardController;
 import org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController;
 import org.apache.flex.html.beads.layouts.BasicLayout;
 import org.apache.flex.html.beads.layouts.VerticalLayout;
 import org.apache.flex.html.beads.models.ArraySelectionModel;
-import org.apache.flex.html.beads.models.SingleLineBorderModel;
 import org.apache.flex.html.beads.models.TextModel;
 import org.apache.flex.html.beads.models.ToggleButtonModel;
-import org.apache.flex.html.beads.models.ValueToggleButtonModel;
 import org.apache.flex.html.beads.models.ViewportModel;
 import org.apache.flex.html.supportClasses.ContainerContentArea;
 import org.apache.flex.html.supportClasses.DropDownListList;
@@ -64,6 +47,28 @@ import org.apache.flex.collections.parsers.JSONInputParser;
 import org.apache.flex.collections.LazyCollection;
 import org.apache.flex.utils.ViewSourceContextMenuOption;
 
+COMPILE::SWF
+{
+import org.apache.flex.html.beads.CSSButtonView;
+import org.apache.flex.html.beads.CSSTextButtonView;
+import org.apache.flex.html.beads.CSSTextToggleButtonView;
+import org.apache.flex.html.beads.CheckBoxView;
+import org.apache.flex.html.beads.DropDownListView;
+import org.apache.flex.html.beads.RadioButtonView;
+import org.apache.flex.html.beads.TextInputWithBorderView;
+import org.apache.flex.html.beads.models.SingleLineBorderModel;
+import org.apache.flex.html.beads.models.ValueToggleButtonModel;
+import org.apache.flex.html.beads.controllers.DropDownListController;
+import org.apache.flex.html.beads.controllers.EditableTextKeyboardController;
+import org.apache.flex.html.beads.SingleLineBorderBead;
+import org.apache.flex.html.beads.SolidBackgroundBead;
+import org.apache.flex.html.beads.TextAreaView;
+import org.apache.flex.html.beads.TextButtonMeasurementBead;
+import org.apache.flex.html.beads.TextFieldLabelMeasurementBead;
+import org.apache.flex.html.beads.TextFieldView;
+
+}
+
 import models.MyModel;
 import controllers.MyController;
 
@@ -199,6 +204,15 @@ public class DataBindingExample extends Application
 			    backgroundColor: 0xFFFFFF
             };
 
+            viv["org.apache.flex.html.supportClasses::Border"] =
+            {
+				borderStyle: "inherit",
+    			borderRadius: "inherit",
+			    borderColor: "inherit",
+			    borderWidth: "inherit",
+			    border: "inherit"
+            };
+
             viv["org.apache.flex.html::Label"] =
             {
                 iBeadModel: TextModel,


[03/50] git commit: [flex-asjs] [refs/heads/tlf] - if sizedToContent, don't show a scrollbar

Posted by ah...@apache.org.
if sizedToContent, don't show a scrollbar


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

Branch: refs/heads/tlf
Commit: 23c4c7a51640884ae5af64541ff6a4f5515af183
Parents: 43bbbdb
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 23 00:11:28 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 00:15:57 2017 -0700

----------------------------------------------------------------------
 .../flex/html/supportClasses/ScrollingViewport.as     | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/23c4c7a5/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/ScrollingViewport.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/ScrollingViewport.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/ScrollingViewport.as
index 444606b..fb6d784 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/ScrollingViewport.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/ScrollingViewport.as
@@ -188,11 +188,13 @@ package org.apache.flex.html.supportClasses
          */
 		override public function layoutViewportAfterContentLayout(contentSize:Size):void
 		{
+			var host:UIBase = UIBase(_strand);
+			
 			var hadV:Boolean = _verticalScroller != null && _verticalScroller.visible;
 			var hadH:Boolean = _horizontalScroller != null && _horizontalScroller.visible;
 			
-			var hostWidth:Number = UIBase(_strand).width;
-			var hostHeight:Number = UIBase(_strand).height;
+			var hostWidth:Number = host.width;
+			var hostHeight:Number = host.height;
 			
 			var borderMetrics:org.apache.flex.geom.Rectangle = CSSContainerUtils.getBorderMetrics(_strand);
 			
@@ -202,6 +204,14 @@ package org.apache.flex.html.supportClasses
 			var needV:Boolean = contentSize.height > viewportHeight;
 			var needH:Boolean = contentSize.width > viewportWidth;
 			
+			// if sized to content, the container should stretch to fit, making the original
+			// viewport dimensions obsolete and scrollbars unnecessary.
+			// This might not work for the flexible child.
+			if (host.isWidthSizedToContent())
+				needH = false;
+			if (host.isHeightSizedToContent())
+				needV = false;
+
 			if (needV)
 			{
 				if (_verticalScroller == null) {


[30/50] git commit: [flex-asjs] [refs/heads/tlf] - Fix - disable Fonts module build for distribution package

Posted by ah...@apache.org.
Fix - disable Fonts module build for distribution 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/a86b0ae5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a86b0ae5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a86b0ae5

Branch: refs/heads/tlf
Commit: a86b0ae57b6d109c8512a1769256042147918905
Parents: de35a07
Author: piotrz <pi...@apache.org>
Authored: Thu May 25 20:33:55 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Thu May 25 20:33:55 2017 +0200

----------------------------------------------------------------------
 distribution/pom.xml                         | 4 ++--
 distribution/src/main/assembly/component.xml | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a86b0ae5/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/pom.xml b/distribution/pom.xml
index f8e2478..2661461 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -439,12 +439,12 @@
     </dependency>
 
     <!-- Fonts -->
-    <dependency>
+   <!-- <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>Fonts</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swf</type>
-    </dependency>
+    </dependency>    -->
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>Fonts</artifactId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a86b0ae5/distribution/src/main/assembly/component.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/assembly/component.xml b/distribution/src/main/assembly/component.xml
index 5c1f8ae..765903d 100644
--- a/distribution/src/main/assembly/component.xml
+++ b/distribution/src/main/assembly/component.xml
@@ -102,14 +102,15 @@ under the License.
     </dependencySet>
 
     <!-- Copy the fonts -->
-    <dependencySet>
+    <!-- Disabled as currently font swf compilation is deactivated -->
+       <!-- <dependencySet>
       <useProjectArtifact>false</useProjectArtifact>
       <outputDirectory>frameworks/fonts</outputDirectory>
       <includes>
         <include>org.apache.flex.flexjs.framework:Fonts:swf</include>
       </includes>
       <outputFileNameMapping>flat-ui-icons-regular.swf</outputFileNameMapping>
-    </dependencySet>
+    </dependencySet>  -->
     <dependencySet>
       <useProjectArtifact>false</useProjectArtifact>
       <outputDirectory>frameworks/fonts</outputDirectory>


[20/50] git commit: [flex-asjs] [refs/heads/tlf] - - Bring back compilation for JS - Add import for MyModel to see if it helps

Posted by ah...@apache.org.
- Bring back compilation for JS
- Add import for MyModel to see if it helps


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

Branch: refs/heads/tlf
Commit: ae2a0d8dcee9835596fe13d024cf4b7f90e26b46
Parents: 5bdf388
Author: piotrz <pi...@apache.org>
Authored: Thu May 25 00:40:18 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Thu May 25 00:40:18 2017 +0200

----------------------------------------------------------------------
 examples/express/DataBindingExample/pom.xml                    | 2 +-
 .../DataBindingExample/src/main/flex/DataBindingExample.mxml   | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ae2a0d8d/examples/express/DataBindingExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/pom.xml b/examples/express/DataBindingExample/pom.xml
index cda898b..38082f0 100644
--- a/examples/express/DataBindingExample/pom.xml
+++ b/examples/express/DataBindingExample/pom.xml
@@ -42,7 +42,7 @@
         <extensions>true</extensions>
         <configuration>
           <mainClass>DataBindingExample.mxml</mainClass>
-		  <targets>SWF</targets>
+		  <targets>SWF,JSFlex</targets>
         </configuration>
       </plugin>
     </plugins>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ae2a0d8d/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml b/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
index dd9344e..73cb453 100644
--- a/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
+++ b/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
@@ -22,8 +22,7 @@ limitations under the License.
                    xmlns:js="library://ns.apache.org/flexjs/express" 
                    xmlns:models="models.*" 
                    xmlns:controllers="controllers.*"
-                   initialize="MyModel(model).stockSymbol='ADBE'"
-                   >
+                   initialize="MyModel(model).stockSymbol='ADBE'">
     <js:initialView>
         <local:MyInitialView />
     </js:initialView>
@@ -47,4 +46,7 @@ limitations under the License.
         <js:CSSFontFaceBead />
         <js:ViewSourceContextMenuOption />
     </js:beads>
+    <fx:Script><![CDATA[
+        import models.MyModel;
+        ]]></fx:Script>
 </js:Application>


[04/50] git commit: [flex-asjs] [refs/heads/tlf] - block infinite layout loops when notifying parent your size has changed

Posted by ah...@apache.org.
block infinite layout loops when notifying parent your size has changed


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

Branch: refs/heads/tlf
Commit: 43bbbdb971144d739090867447c39dbe4c385bc7
Parents: bdd34d2
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 23 00:10:56 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 00:15:57 2017 -0700

----------------------------------------------------------------------
 .../Basic/src/main/flex/org/apache/flex/core/LayoutBase.as       | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/43bbbdb9/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/LayoutBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/LayoutBase.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/LayoutBase.as
index 5241bed..859add9 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/LayoutBase.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/LayoutBase.as
@@ -303,7 +303,11 @@ package org.apache.flex.core
 			// and send an event to re-layout parent of host
 			if (host.width != oldWidth ||
 			    host.height != oldHeight)
+			{
+				isLayoutRunning = true;
 				host.dispatchEvent(new Event("sizeChanged"));
+				isLayoutRunning = false;
+			}
 
 		}
 


[12/50] git commit: [flex-asjs] [refs/heads/tlf] - get addRule to work for JS

Posted by ah...@apache.org.
get addRule to work for 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/7b26ee3d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7b26ee3d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7b26ee3d

Branch: refs/heads/tlf
Commit: 7b26ee3dfc97e2968d6df20fbb5f69185468d821
Parents: 90eda31
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 23 22:36:23 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 22:37:13 2017 -0700

----------------------------------------------------------------------
 .../org/apache/flex/core/SimpleCSSValuesImpl.as | 37 ++++++++++++++++++++
 1 file changed, 37 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b26ee3d/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
index 4e1cd47..7965712 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
@@ -632,6 +632,10 @@ package org.apache.flex.core
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
          *  @productversion FlexJS 0.0
+		 *
+		 *  @flexjsignorecoercion HTMLStyleElement
+		 *  @flexjsignorecoercion CSSStyleSheet
+		 *  @flexjsignorecoercion uint
          */
         public function addRule(ruleName:String, values:Object):void
         {
@@ -650,7 +654,40 @@ package org.apache.flex.core
                 asValues[valueName] = v;
             }
             this.values[ruleName] = asValues;
+			COMPILE::JS
+			{
+				if (!ss)
+				{
+					var styleElement:HTMLStyleElement = document.createElement('style') as HTMLStyleElement;
+					document.head.appendChild(styleElement);
+					ss = styleElement.sheet as CSSStyleSheet;
+				}
+				var cssString:String = ruleName + " {"
+				for (var p:String in values)
+				{
+					var value:Object = values[p];
+				    if (typeof(value) === 'function') continue;
+					cssString += p + ": ";
+					if (typeof(value) == 'number') {
+                    	if (colorStyles[p])
+                        	value = CSSUtils.attributeFromColor(value as uint);
+                    	else
+                        	value = value.toString() + 'px';
+                	}
+                	else if (p == 'backgroundImage') {
+                    	if (p.indexOf('url') !== 0)
+                        	value = 'url(' + value + ')';
+                	}
+					cssString += value + ";";
+					
+				}
+				cssString += "}";
+				ss.insertRule(cssString, ss.cssRules.length);
+			}
         }
+		
+		COMPILE::JS
+		private var ss:CSSStyleSheet;
         
         /**
          *  A map of inheriting styles 


[50/50] git commit: [flex-asjs] [refs/heads/tlf] - set focus format regardless of composestate

Posted by ah...@apache.org.
set focus format regardless of composestate


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

Branch: refs/heads/tlf
Commit: f131187cd9bbdbdff6df365ca5e881bcbd436d82
Parents: 55ce91f
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 12:46:43 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 12:46:43 2017 -0700

----------------------------------------------------------------------
 manualtests/TLFEditTestFlexJS/src/TLFEditor.as | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f131187c/manualtests/TLFEditTestFlexJS/src/TLFEditor.as
----------------------------------------------------------------------
diff --git a/manualtests/TLFEditTestFlexJS/src/TLFEditor.as b/manualtests/TLFEditTestFlexJS/src/TLFEditor.as
index 0437a43..fc6ad76 100644
--- a/manualtests/TLFEditTestFlexJS/src/TLFEditor.as
+++ b/manualtests/TLFEditTestFlexJS/src/TLFEditor.as
@@ -177,17 +177,13 @@ public class TLFEditor extends UIBase
          */
         public function onSetFocus(event:Event):void
         {            
-			trace("set focus");
+			trace("TLFEditor set focus");
 			
             // We are about to set focus on this component.  If it is due to
             // a programmatic focus change we have to programatically do what the
             // mouseOverHandler and the mouseDownHandler do so that the user can 
             // type in this component without using the mouse first.  We need to
             // put a textFlow with a composer in place.
-            if (/*editingMode != EditingMode.READ_ONLY &&*/
-                _textContainerManager.composeState != 
-                TextContainerManager.COMPOSE_COMPOSER)   
-            {
 				trace("begin interaction");
                 var selectionManager:ISelectionManager = _textContainerManager.beginInteraction();
 				selectionManager.focusedSelectionFormat = new SelectionFormat(
@@ -206,7 +202,6 @@ public class TLFEditor extends UIBase
                 selectionManager.refreshSelection();
 				trace("end interaction");
                 _textContainerManager.endInteraction();
-            }
         }
 		
         /**


[14/50] git commit: [flex-asjs] [refs/heads/tlf] - - Removed the execution of the font compilation

Posted by ah...@apache.org.
- Removed the execution of the font compilation


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

Branch: refs/heads/tlf
Commit: c2eefaf7bdb2d8577134f861a23ea07c691cf103
Parents: 2fad673
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed May 24 14:11:27 2017 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Wed May 24 14:11:27 2017 +0200

----------------------------------------------------------------------
 frameworks/fontsrc/pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c2eefaf7/frameworks/fontsrc/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/fontsrc/pom.xml b/frameworks/fontsrc/pom.xml
index e9f1db1..356d6fa 100644
--- a/frameworks/fontsrc/pom.xml
+++ b/frameworks/fontsrc/pom.xml
@@ -60,7 +60,7 @@
         </executions>
       </plugin>
       <!-- Have the Flat-UI Icons Font compiled to an SWF -->
-      <plugin>
+      <!--plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>exec-maven-plugin</artifactId>
         <version>1.5.0</version>
@@ -97,7 +97,7 @@
             <version>${flex.version}</version>
           </dependency>
         </dependencies>
-      </plugin>
+      </plugin-->
       <!-- Create a stripped-down WAR archive containing the fonts -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -116,7 +116,7 @@
             Attach the generated swf as additional Maven artifact,
             So it is automatically installed and deployed.
       -->
-      <plugin>
+      <!--plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
         <version>1.11</version>
@@ -137,7 +137,7 @@
             </artifact>
           </artifacts>
         </configuration>
-      </plugin>
+      </plugin-->
     </plugins>
   </build>
 


[06/50] git commit: [flex-asjs] [refs/heads/tlf] - Updated examples that run in Air to use new AirApplication class.

Posted by ah...@apache.org.
Updated examples that run in Air to use new AirApplication class.


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

Branch: refs/heads/tlf
Commit: fef3874581e8309457c87e3436f5b23257866133
Parents: 6ccc025
Author: Peter Ent <pe...@apache.org>
Authored: Tue May 23 14:27:53 2017 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Tue May 23 14:27:53 2017 -0400

----------------------------------------------------------------------
 examples/flexjs/DesktopMap/build.xml                        | 3 ++-
 examples/flexjs/DesktopMap/src/main/flex/DesktopMap.mxml    | 6 +++---
 examples/flexjs/DesktopMap/src/main/flex/MyInitialView.mxml | 4 +---
 examples/flexjs/MapSearch/MapSearch-app.xml                 | 2 +-
 examples/flexjs/MapSearch/src/main/flex/MapSearch.mxml      | 9 ++++-----
 examples/flexjs/MapSearch/src/main/flex/MyInitialView.mxml  | 1 -
 examples/flexjs/MobileStocks/build.xml                      | 3 ++-
 examples/flexjs/StorageExample/build.xml                    | 5 +++--
 .../flexjs/StorageExample/src/main/flex/StorageExample.mxml | 4 ++--
 9 files changed, 18 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fef38745/examples/flexjs/DesktopMap/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DesktopMap/build.xml b/examples/flexjs/DesktopMap/build.xml
index ea73725..eb915ca 100644
--- a/examples/flexjs/DesktopMap/build.xml
+++ b/examples/flexjs/DesktopMap/build.xml
@@ -73,7 +73,8 @@
     </target>
     
     <target name="run">
-        <antcall target="build_example.run.air" />
+        <property name="which" value="debug" />
+        <antcall target="build_example.run.air.desktop" />
     </target>
     
     <target name="examine" depends="build_example.get.browser">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fef38745/examples/flexjs/DesktopMap/src/main/flex/DesktopMap.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DesktopMap/src/main/flex/DesktopMap.mxml b/examples/flexjs/DesktopMap/src/main/flex/DesktopMap.mxml
index 4f938b6..d5c357b 100644
--- a/examples/flexjs/DesktopMap/src/main/flex/DesktopMap.mxml
+++ b/examples/flexjs/DesktopMap/src/main/flex/DesktopMap.mxml
@@ -18,7 +18,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////
 -->
-<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:AirApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
 				   xmlns:local="*"
 				   xmlns:models="models.*"
 				   xmlns:js="library://ns.apache.org/flexjs/basic" 
@@ -34,7 +34,7 @@
 		<js:SimpleCSSValuesImpl />
 	</js:valuesImpl>
 	<js:initialView>
-		<local:MyInitialView />
+		<local:MyInitialView width="100%" height="100%" />
 	</js:initialView>
 	<js:model>
 		<models:MyModel />
@@ -43,4 +43,4 @@
 		<js:MixinManager />
 	</js:beads>
 	
-</js:Application>
+</js:AirApplication>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fef38745/examples/flexjs/DesktopMap/src/main/flex/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DesktopMap/src/main/flex/MyInitialView.mxml b/examples/flexjs/DesktopMap/src/main/flex/MyInitialView.mxml
index df08437..3e45ddb 100644
--- a/examples/flexjs/DesktopMap/src/main/flex/MyInitialView.mxml
+++ b/examples/flexjs/DesktopMap/src/main/flex/MyInitialView.mxml
@@ -98,7 +98,6 @@ limitations under the License.
 		.MapPanel {
 			border: 1px solid #555555;
 			backgroundColor: darkgray;
-			margin-top: 20px;
 			margin-left: auto;
 			margin-right: auto;
 		}
@@ -132,10 +131,9 @@ limitations under the License.
 	
 	<js:beads>
 		<js:ViewDataBinding />
-		<local:NoLayout />
 	</js:beads>
 	
-	<js:Panel title="Map" width="500" height="600" className="MapPanel">
+	<js:Panel title="Map" width="100%" height="100%" className="MapPanel">
 		<js:beads>
 			<js:VerticalFlexLayout />
 		</js:beads>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fef38745/examples/flexjs/MapSearch/MapSearch-app.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MapSearch/MapSearch-app.xml b/examples/flexjs/MapSearch/MapSearch-app.xml
index b93fefb..55dcbef 100644
--- a/examples/flexjs/MapSearch/MapSearch-app.xml
+++ b/examples/flexjs/MapSearch/MapSearch-app.xml
@@ -88,7 +88,7 @@
 		<!-- <resizable></resizable> -->
 
 		<!-- The window's initial width in pixels. Optional. -->
-		<width>500</width>
+		<width>480</width>
 
 		<!-- The window's initial height in pixels. Optional. -->
 		<height>640</height>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fef38745/examples/flexjs/MapSearch/src/main/flex/MapSearch.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MapSearch/src/main/flex/MapSearch.mxml b/examples/flexjs/MapSearch/src/main/flex/MapSearch.mxml
index 5613b81..be37386 100644
--- a/examples/flexjs/MapSearch/src/main/flex/MapSearch.mxml
+++ b/examples/flexjs/MapSearch/src/main/flex/MapSearch.mxml
@@ -18,11 +18,10 @@
 //
 ////////////////////////////////////////////////////////////////////////////////
 -->
-<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:AirApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
 				   xmlns:local="*"
 				   xmlns:models="models.*"
-				   xmlns:js="library://ns.apache.org/flexjs/basic" 
-				   >
+				   xmlns:js="library://ns.apache.org/flexjs/basic">
 	
 	<!-- This application demonstrates how to use the Google MAP API
 	on both the AIR and JavaScript/browser platform. After cross-
@@ -34,7 +33,7 @@
 		<js:SimpleCSSValuesImpl />
 	</js:valuesImpl>
 	<js:initialView>
-		<local:MyInitialView width="500" height="640" />
+		<local:MyInitialView width="100%" height="100%"/>
 	</js:initialView>
 	<js:model>
 		<models:MyModel />
@@ -43,4 +42,4 @@
 		<js:MixinManager />
 	</js:beads>
 	
-</js:Application>
+</js:AirApplication>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fef38745/examples/flexjs/MapSearch/src/main/flex/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MapSearch/src/main/flex/MyInitialView.mxml b/examples/flexjs/MapSearch/src/main/flex/MyInitialView.mxml
index c235064..dbbb514 100644
--- a/examples/flexjs/MapSearch/src/main/flex/MyInitialView.mxml
+++ b/examples/flexjs/MapSearch/src/main/flex/MyInitialView.mxml
@@ -119,7 +119,6 @@ limitations under the License.
 			
 		.TopContainer {
 			backgroundColor: darkgray;
-			margin-top: 20px;
 			margin-left: auto;
 			margin-right: auto;
 			border: 1px solid #555555;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fef38745/examples/flexjs/MobileStocks/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileStocks/build.xml b/examples/flexjs/MobileStocks/build.xml
index 831e25d..397b895 100644
--- a/examples/flexjs/MobileStocks/build.xml
+++ b/examples/flexjs/MobileStocks/build.xml
@@ -58,7 +58,8 @@
     </target>
     
     <target name="run">
-        <antcall target="build_example.run.air" />
+        <property name="which" value="debug" />
+        <antcall target="build_example.run.air.desktop" />
     </target>
     
     <target name="examine" depends="build_example.get.browser">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fef38745/examples/flexjs/StorageExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/build.xml b/examples/flexjs/StorageExample/build.xml
index 5e6d1a2..e990b7f 100644
--- a/examples/flexjs/StorageExample/build.xml
+++ b/examples/flexjs/StorageExample/build.xml
@@ -73,8 +73,9 @@
         <delete dir="${basedir}/target" failonerror="false" />
     </target>
     
-    <target name="run">
-        <antcall target="build_example.run.air" />
+     <target name="run">
+        <property name="which" value="debug" />
+        <antcall target="build_example.run.air.desktop" />
     </target>
     
     <target name="examine" depends="build_example.get.browser">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fef38745/examples/flexjs/StorageExample/src/main/flex/StorageExample.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/src/main/flex/StorageExample.mxml b/examples/flexjs/StorageExample/src/main/flex/StorageExample.mxml
index 1b9842a..17b81fa 100644
--- a/examples/flexjs/StorageExample/src/main/flex/StorageExample.mxml
+++ b/examples/flexjs/StorageExample/src/main/flex/StorageExample.mxml
@@ -18,7 +18,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////
 -->
-<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:AirApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
 				   xmlns:local="*"
 				   xmlns:js="library://ns.apache.org/flexjs/basic" 
 				   >
@@ -39,4 +39,4 @@
 		<js:MixinManager />
 	</js:beads>
 	
-</js:Application>
+</js:AirApplication>


[39/50] git commit: [flex-asjs] [refs/heads/tlf] - have to handle type-checking differently now that SWF event is based on flash.events.Event

Posted by ah...@apache.org.
have to handle type-checking differently now that SWF event is based on flash.events.Event


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

Branch: refs/heads/tlf
Commit: 1a390803bbfec7e944b3c4333743cc8b75f356ed
Parents: bf404b1
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 11:31:06 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 11:31:06 2017 -0700

----------------------------------------------------------------------
 .../beads/DispatchTLFKeyboardEventBead.as       | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1a390803/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as
index 495532c..c308f9d 100644
--- a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as
+++ b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/beads/DispatchTLFKeyboardEventBead.as
@@ -126,12 +126,15 @@ package org.apache.flex.textLayout.beads
 		 * @private
 		 */
 		COMPILE::SWF
-		protected function textEventHandler(event:flash.events.TextEvent):void
+		protected function textEventHandler(event:flash.events.Event):void
 		{
+			if (event is org.apache.flex.events.Event) return;
+
 			// this will otherwise bubble an event of flash.events.Event
 			event.stopImmediatePropagation();
-			var newEvent:org.apache.flex.text.events.TextEvent = new org.apache.flex.text.events.TextEvent(event.type);
-			newEvent.text = event.text;
+			var textEvent:flash.events.TextEvent = event as flash.events.TextEvent;
+			var newEvent:org.apache.flex.text.events.TextEvent = new org.apache.flex.text.events.TextEvent(textEvent.type);
+			newEvent.text = textEvent.text;
 			(_strand as IEventDispatcher).dispatchEvent(newEvent);
 			if(newEvent.defaultPrevented)
 			{
@@ -145,11 +148,14 @@ package org.apache.flex.textLayout.beads
 		 * @private
 		 */
 		COMPILE::SWF
-		protected function keyEventHandler(event:flash.events.KeyboardEvent):void
+		protected function keyEventHandler(event:flash.events.Event):void
 		{
+			if (event is org.apache.flex.events.Event) return;
+			
 			// this will otherwise bubble an event of flash.events.Event
 			event.stopImmediatePropagation();
-			var newEvent:org.apache.flex.events.KeyboardEvent = KeyboardEventConverter.convert(event);
+			var keyEvent:flash.events.KeyboardEvent = event as flash.events.KeyboardEvent;
+			var newEvent:org.apache.flex.events.KeyboardEvent = KeyboardEventConverter.convert(keyEvent);
 			(_strand as IEventDispatcher).dispatchEvent(newEvent);
 			if(newEvent.defaultPrevented)
 			{
@@ -181,13 +187,13 @@ package org.apache.flex.textLayout.beads
 		 * @private
 		 */
 		COMPILE::SWF
-		protected function focusEventHandler(event:flash.events.FocusEvent):void
+		protected function focusEventHandler(event:flash.events.Event):void
 		{
 			if (event is org.apache.flex.events.Event) return;
 			
-			trace(event.type, event.target, event.relatedObject);
 			// this will otherwise dispatch an event of flash.events.FocusEvent
 			event.stopImmediatePropagation();
+			var focusEvent:flash.events.FocusEvent = event as flash.events.FocusEvent;
 			var newEvent:org.apache.flex.textLayout.events.FocusEvent = new org.apache.flex.textLayout.events.FocusEvent(event.type);
 			(_strand as IEventDispatcher).dispatchEvent(newEvent);
 			if(newEvent.defaultPrevented)


[35/50] git commit: [flex-asjs] [refs/heads/tlf] - Fix/improvement - Add class "cardWithDropDownList" which can be used by MDL Card - It allows to use DropDownList component inside Card without cropping issue

Posted by ah...@apache.org.
Fix/improvement - Add class "cardWithDropDownList" which can be used by MDL Card - It allows to use DropDownList component inside Card without cropping issue


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

Branch: refs/heads/tlf
Commit: 598e94d5dea58fd8ecf42a98f8d41e8e693c6970
Parents: de199f9
Author: piotrz <pi...@apache.org>
Authored: Tue May 30 00:25:49 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Tue May 30 00:25:49 2017 +0200

----------------------------------------------------------------------
 .../MaterialDesignLite/src/main/resources/defaults.css         | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/598e94d5/frameworks/projects/MaterialDesignLite/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/resources/defaults.css b/frameworks/projects/MaterialDesignLite/src/main/resources/defaults.css
index 5b131b7..fa2d39a 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/resources/defaults.css
+++ b/frameworks/projects/MaterialDesignLite/src/main/resources/defaults.css
@@ -34,6 +34,12 @@
 .material-icons.md-light { color: rgba(255, 255, 255, 1); }
 .material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
 
+.cardWithDropDownList
+{
+    overflow: visible !important;
+    z-index: initial !important;
+}
+
 TextField
 {
     IBeadModel: ClassReference("org.apache.flex.html.beads.models.TextModel");


[48/50] git commit: [flex-asjs] [refs/heads/tlf] - update config.xml files

Posted by ah...@apache.org.
update config.xml 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/1fb7765b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1fb7765b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1fb7765b

Branch: refs/heads/tlf
Commit: 1fb7765b1dfe46a9d2b90f07f59169fbe9388fe4
Parents: 502a597
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 12:16:08 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 12:16:08 2017 -0700

----------------------------------------------------------------------
 frameworks/air-config.xml  | 8 ++++----
 frameworks/flex-config.xml | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1fb7765b/frameworks/air-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/air-config.xml b/frameworks/air-config.xml
index e226175..ee55640 100644
--- a/frameworks/air-config.xml
+++ b/frameworks/air-config.xml
@@ -68,9 +68,9 @@
 
       <!-- List of SWC files or directories to compile against but to omit from -->
       <!-- linking.                                                             -->
-      <swf-external-library-path>
+      <external-library-path>
           <path-element>{airHome}/frameworks/libs/air/airglobal.swc</path-element>
-      </swf-external-library-path>
+      </external-library-path>
       
       <!-- List of SWC files or directories to compile against but to omit from -->
       <!-- linking.                                                             -->
@@ -91,10 +91,10 @@
       -->
       
       <!-- List of SWC files or directories that contain SWC files. -->
-      <swf-library-path>
+      <library-path>
          <path-element>libs</path-element>
          <path-element>{airHome}/frameworks/libs/air</path-element>
-      </swf-library-path>
+      </library-path>
       
       <!-- List of SWC files or directories that contain SWC files. -->
       <js-library-path>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1fb7765b/frameworks/flex-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/flex-config.xml b/frameworks/flex-config.xml
index a1b86cf..677284f 100644
--- a/frameworks/flex-config.xml
+++ b/frameworks/flex-config.xml
@@ -69,9 +69,9 @@
 
       <!-- List of SWC files or directories to compile against but to omit from -->
       <!-- linking.                                                             -->
-      <swf-external-library-path>
+      <external-library-path>
           <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc</path-element>
-      </swf-external-library-path>
+      </external-library-path>
 
       <!-- List of SWC files or directories to compile against but to omit from -->
       <!-- linking.                                                             -->
@@ -92,10 +92,10 @@
       -->
 
       <!-- List of SWC files or directories that contain SWC files. -->
-      <swf-library-path>
+      <library-path>
          <path-element>libs</path-element>
          <path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}</path-element>
-      </swf-library-path>
+      </library-path>
 
       <!-- List of SWC files or directories that contain SWC files. -->
       <js-library-path>


[47/50] git commit: [flex-asjs] [refs/heads/tlf] - Merge branch 'release0.8.0' into tlf

Posted by ah...@apache.org.
Merge branch 'release0.8.0' into tlf


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

Branch: refs/heads/tlf
Commit: 502a59730f4a3c99327460af9b52982f99a60fbc
Parents: 98dc56a ff24a87
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 12:14:14 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 12:14:14 2017 -0700

----------------------------------------------------------------------
 ApproveFlexJS.xml                               |  77 +-
 RELEASE_NOTES                                   |  19 +-
 .../main/resources/META-INF/maven/archetype.xml |   1 +
 .../main/resources/archetype-resources/pom.xml  |  17 +-
 .../main/resources/META-INF/maven/archetype.xml |   1 +
 .../main/resources/archetype-resources/pom.xml  |  13 +-
 .../main/resources/META-INF/maven/archetype.xml |   1 +
 .../main/resources/archetype-resources/pom.xml  |  15 +-
 build.xml                                       |  25 +-
 distribution/pom.xml                            |   8 +-
 distribution/src/main/assembly/component.xml    |  20 +-
 .../frameworks/air-config-template.xml          | 850 +++++++++---------
 .../main/resources/frameworks/air-config.xml    | 851 ++++++++++---------
 .../resources/frameworks/airmobile-config.xml   | 568 ++++++++++---
 .../frameworks/createjs-config-template.xml     |  13 +-
 .../resources/frameworks/createjs-config.xml    |  21 +-
 .../frameworks/flex-config-template.xml         | 748 ++++++++--------
 .../main/resources/frameworks/flex-config.xml   | 736 +++++++++-------
 .../frameworks/jquery-config-template.xml       |  14 +-
 .../main/resources/frameworks/jquery-config.xml |  22 +-
 .../resources/frameworks/js-config-template.xml |  11 +-
 .../src/main/resources/frameworks/js-config.xml |  19 +-
 .../frameworks/node-config-template.xml         | 543 ++++++------
 .../main/resources/frameworks/node-config.xml   | 543 ++++++------
 examples/build.xml                              |  42 +-
 examples/build_example.xml                      | 143 +++-
 examples/express/DataBindingExample/build.xml   |  10 +
 examples/express/DataBindingExample/pom.xml     |   2 +
 .../src/main/flex/DataBindingExample.mxml       |  11 +-
 .../src/main/flex/controllers/MyController.as   |   6 +-
 examples/express/pom.xml                        |  16 +
 examples/flexjs/ASDoc/build.xml                 |  18 +-
 examples/flexjs/ASDoc/pom.xml                   |   1 +
 .../ASDoc/src/main/flex/ASDocMainView.mxml      |  83 +-
 .../ASDoc/src/main/flex/DetailRenderer.mxml     |   2 +-
 examples/flexjs/ChartExample/build.xml          |  13 +-
 examples/flexjs/ChartExample/pom.xml            |   1 +
 examples/flexjs/CordovaCameraExample/build.xml  |  29 +-
 examples/flexjs/CordovaCameraExample/pom.xml    |   1 +
 examples/flexjs/CreateJSExample/build.xml       |  13 +-
 examples/flexjs/CreateJSExample/pom.xml         |   1 +
 .../src/main/config/compile-app-config.xml      |   4 +-
 examples/flexjs/DataBindingExample/build.xml    |  13 +-
 examples/flexjs/DataBindingExample/pom.xml      |   1 +
 .../src/main/flex/DataBindingExample.mxml       |   7 +
 .../src/main/flex/MyInitialView.mxml            |  14 +-
 .../DataBindingExampleWithFlexLayout/README.txt |  57 ++
 .../DataBindingExampleWithFlexLayout/build.xml  |  56 ++
 .../DataBindingExampleWithFlexLayout/pom.xml    |  75 ++
 .../src/main/config/compile-app-config.xml      |  23 +
 .../flex/DataBindingExampleWithFlexLayout.mxml  |  60 ++
 .../src/main/flex/MyInitialView.mxml            | 156 ++++
 .../src/main/flex/StockDataJSONItemConverter.as |  40 +
 .../src/main/flex/controllers/MyController.as   |  92 ++
 .../src/main/flex/models/MyModel.as             | 125 +++
 .../flexjs/DataBindingExample_Flat/build.xml    |  31 +-
 examples/flexjs/DataBindingExample_Flat/pom.xml |   2 +
 .../src/main/flex/DataBindingExample.mxml       |   7 +
 .../src/main/flex/MyInitialView.mxml            |  10 +-
 .../src/main/flex/controllers/MyController.as   |   4 +-
 examples/flexjs/DataBindingExample_as/build.xml |  14 +-
 examples/flexjs/DataBindingExample_as/pom.xml   |   1 +
 .../src/main/flex/DataBindingExample.as         | 173 ++--
 .../src/main/flex/MyInitialView.as              |   3 +-
 .../src/main/flex/controllers/MyController.as   |   4 +-
 examples/flexjs/DataGridExample/build.xml       |  11 +
 .../src/main/flex/MyInitialView.mxml            |   2 +-
 examples/flexjs/DateControlsExample/build.xml   |  13 +-
 examples/flexjs/DateControlsExample/pom.xml     |   1 +
 examples/flexjs/DesktopMap/build.xml            |  27 +-
 examples/flexjs/DesktopMap/pom.xml              |   1 +
 .../src/main/config/compile-app-config.xml      |   4 +-
 .../DesktopMap/src/main/flex/DesktopMap.mxml    |   6 +-
 .../DesktopMap/src/main/flex/MyInitialView.mxml |   4 +-
 examples/flexjs/FlexJSStore/build.xml           |  14 +-
 examples/flexjs/FlexJSStore/pom.xml             |   4 +
 .../FlexJSStore/src/main/flex/SupportView.mxml  |   2 +-
 .../flexjs/FlexJSStore/src/main/flex/main.css   |   1 +
 .../src/main/flex/productsView/ProductCart.mxml |   2 +-
 .../flex/productsView/ProductCatalogPanel.mxml  |   6 +-
 .../productsView/ProductCatalogThumbnail.mxml   |   4 +-
 examples/flexjs/FlexJSStore_jquery/build.xml    |  14 +-
 examples/flexjs/FlexJSStore_jquery/pom.xml      |   5 +
 .../src/main/config/compile-app-config.xml      |   4 +-
 .../src/main/flex/FlexJSStore.mxml              |   8 +-
 .../src/main/flex/HomeView.mxml                 | 194 +++--
 .../src/main/flex/ProductsView.mxml             |   1 -
 .../src/main/flex/SupportView.mxml              |   4 +-
 .../FlexJSStore_jquery/src/main/flex/main.css   |   1 +
 .../src/main/flex/productsView/ProductCart.mxml |   2 +-
 .../flex/productsView/ProductCatalogPanel.mxml  |   6 +-
 .../productsView/ProductCatalogThumbnail.mxml   |   4 +-
 .../flex/samples/flexstore/ProductThumbEvent.as |  19 +-
 examples/flexjs/FlexTeamPage_MDL/build.xml      |  11 +-
 examples/flexjs/FlexTeamPage_MDL/pom.xml        |   3 +
 .../flexjs/FlexWebsiteStatsViewer/build.xml     |  14 +-
 examples/flexjs/FlexWebsiteStatsViewer/pom.xml  |   2 +
 examples/flexjs/HelloWorld/build.xml            |  13 +-
 examples/flexjs/ListExample/build.xml           |  13 +-
 examples/flexjs/ListExample/pom.xml             |   1 +
 .../src/main/flex/MyInitialView.mxml            |  23 +-
 .../main/flex/simple/IRFactoryForArrayData.as   |   2 +-
 examples/flexjs/MDLBlogExample/build.xml        |  25 +-
 examples/flexjs/MDLBlogExample/pom.xml          |   1 +
 .../src/main/config/compile-app-config.xml      |  27 +
 examples/flexjs/MDLDynamicTabsExample/pom.xml   |   1 +
 examples/flexjs/MDLExample/build.xml            |  11 +-
 examples/flexjs/MDLExample/pom.xml              |   1 +
 .../src/main/config/compile-app-config.xml      |   1 +
 .../MDLExample/src/main/flex/DropDownList.mxml  |  17 +-
 .../MDLExample/src/main/flex/Snackbar.mxml      |   1 -
 .../MDLExample/src/main/flex/Toggles.mxml       |   2 +-
 .../ActorNameAndIconListItemRenderer.mxml       |   3 +-
 .../AvatarAndActionListItemRenderer.mxml        |   3 +-
 ...vatarAndActionThreeLineListItemRenderer.mxml |   3 +-
 .../itemRenderers/CustomMenuItemRenderer.mxml   |  19 +-
 .../CustomTabBarPanelItemRenderer.mxml          |  20 +-
 .../TableRowItemRendererWithIcons.mxml          |   3 +-
 .../src/main/flex/models/MainNavigationModel.as |   3 +-
 .../src/main/flex/models/TabsModel.as           |   3 +-
 examples/flexjs/MapSearch/MapSearch-app.xml     |   4 +-
 examples/flexjs/MapSearch/build.xml             |  20 +-
 examples/flexjs/MapSearch/pom.xml               |   1 +
 .../src/main/config/compile-app-config.xml      |   4 +-
 .../MapSearch/src/main/flex/MapSearch.mxml      |   9 +-
 .../MapSearch/src/main/flex/MyInitialView.mxml  |  16 +-
 .../flexjs/MapSearch/src/main/flex/NoLayout.as  |  26 -
 examples/flexjs/MobileMap/MobileMap-app.xml     | 252 ++++++
 examples/flexjs/MobileMap/README.txt            |   6 +-
 examples/flexjs/MobileMap/build.xml             |  11 +-
 examples/flexjs/MobileMap/pom.xml               |   2 +
 .../src/main/config/compile-app-config.xml      |   4 +-
 examples/flexjs/MobileStocks/build.xml          |  46 +-
 examples/flexjs/MobileStocks/pom.xml            |   5 +
 .../src/main/flex/models/ProductsModel.as       |   5 +-
 examples/flexjs/MobileTrader/build.xml          |  12 +-
 examples/flexjs/MobileTrader/pom.xml            |   3 +
 examples/flexjs/StorageExample/build.xml        |  32 +-
 examples/flexjs/StorageExample/pom.xml          |   1 +
 .../src/main/config/compile-app-config.xml      |   4 +-
 .../src/main/flex/MyInitialView.mxml            |  32 +-
 .../src/main/flex/StorageExample.mxml           |   4 +-
 examples/flexjs/StyleExample/build.xml          |  14 +-
 examples/flexjs/StyleExample/pom.xml            |   1 +
 .../src/main/flex/MyInitialView.mxml            |  19 +-
 examples/flexjs/TableExample/build.xml          |  11 +
 .../src/main/flex/MyInitialView.mxml            |   2 +-
 examples/flexjs/TeamPage/build.xml              |  11 +
 examples/flexjs/TeamPage/pom.xml                |   1 +
 examples/flexjs/TodoListSampleApp/build.xml     |  12 +
 .../sample/todo/renderers/TodoItemRenderer.mxml |   5 +-
 .../flex/sample/todo/views/TodoListView.mxml    |   3 +-
 examples/flexjs/TreeExample/build.xml           |  11 +
 examples/flexjs/pom.xml                         |   6 +
 examples/native/ButtonExample/build.xml         |  13 +-
 .../ButtonExample/src/main/resources/index.html |  30 +
 examples/native/USStatesMap/build.xml           |  13 +-
 .../USStatesMap/src/main/resources/index.html   |  30 +
 frameworks/air-config-template.xml              |  16 +-
 frameworks/air-config.xml                       |   8 +-
 frameworks/flex-config-template.xml             |  16 +-
 frameworks/flex-config.xml                      |   8 +-
 frameworks/fontsrc/pom.xml                      |   8 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/BindingJS/.actionScriptProperties  |   2 +-
 .../js/FlexJS/projects/BindingJS/.project       |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/ChartsJS/.actionScriptProperties   |  10 +-
 frameworks/js/FlexJS/projects/ChartsJS/.project |  31 +-
 .../src/main/config/compile-js-config.xml       |   8 +
 .../CollectionsJS/.actionScriptProperties       |   2 +-
 .../js/FlexJS/projects/CollectionsJS/.project   |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/CoreJS/.actionScriptProperties     |   2 +-
 frameworks/js/FlexJS/projects/CoreJS/.project   |  26 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/CreateJSJS/.actionScriptProperties |   7 +-
 .../js/FlexJS/projects/CreateJSJS/.project      |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/DragDropJS/.actionScriptProperties |   2 +-
 .../js/FlexJS/projects/DragDropJS/.project      |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/EffectsJS/.actionScriptProperties  |  10 +-
 .../js/FlexJS/projects/EffectsJS/.project       |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/FlatJS/.actionScriptProperties     |   5 +-
 frameworks/js/FlexJS/projects/FlatJS/.project   |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../src/main/config/compile-js-config.xml       |   7 +
 .../FormattersJS/.actionScriptProperties        |   2 +-
 .../js/FlexJS/projects/FormattersJS/.project    |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../GoogleMapsJS/.actionScriptProperties        |  10 +-
 .../js/FlexJS/projects/GoogleMapsJS/.project    |  31 +-
 .../src/main/config/compile-js-config.xml       |   9 +-
 .../projects/GraphicsJS/.actionScriptProperties |   2 +-
 .../js/FlexJS/projects/GraphicsJS/.project      |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/HTML5JS/.actionScriptProperties    |  12 +-
 frameworks/js/FlexJS/projects/HTML5JS/.project  |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/HTMLJS/.actionScriptProperties     |  10 +-
 frameworks/js/FlexJS/projects/HTMLJS/.project   |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/JQueryJS/.actionScriptProperties   |  11 +-
 frameworks/js/FlexJS/projects/JQueryJS/.project |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../src/main/config/compile-js-config.xml       |   7 +
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/MobileJS/.actionScriptProperties   |  11 +-
 frameworks/js/FlexJS/projects/MobileJS/.project |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../projects/NetworkJS/.actionScriptProperties  |   2 +-
 .../js/FlexJS/projects/NetworkJS/.project       |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../ReflectionJS/.actionScriptProperties        |   2 +-
 .../js/FlexJS/projects/ReflectionJS/.project    |  31 +-
 .../src/main/config/compile-js-config.xml       |   7 +
 .../src/main/config/compile-js-config.xml       |   9 +-
 .../src/main/config/compile-js-config.xml       |   9 +-
 .../XMLJS/src/main/config/compile-js-config.xml |   7 +
 frameworks/projects/Basic/build.xml             |   6 +-
 frameworks/projects/Basic/pom.xml               |   4 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../Basic/src/main/flex/BasicClasses.as         |   5 +-
 .../flex/org/apache/flex/core/AirApplication.as | 115 +++
 .../flex/org/apache/flex/core/ContainerBase.as  |   4 +
 .../main/flex/org/apache/flex/core/GroupBase.as |  22 +
 .../flex/org/apache/flex/core/LayoutBase.as     |  19 +
 .../main/flex/org/apache/flex/core/UIBase.as    |   7 +
 .../flex/org/apache/flex/html/ControlBar.as     |   1 +
 .../src/main/flex/org/apache/flex/html/List.as  |   2 +
 .../flex/org/apache/flex/html/MultilineLabel.as |   1 +
 .../flex/org/apache/flex/html/NumericStepper.as |  47 +-
 .../main/flex/org/apache/flex/html/Spinner.as   |   2 +-
 .../main/flex/org/apache/flex/html/ToolTip.as   |  16 +
 .../org/apache/flex/html/beads/ComboBoxView.as  |   2 +-
 .../org/apache/flex/html/beads/ContainerView.as |   4 +-
 .../flex/html/beads/DataGridPercentageView.as   |  10 +-
 .../org/apache/flex/html/beads/DataGridView.as  |  10 +-
 .../apache/flex/html/beads/DateChooserView.as   |  16 +-
 .../org/apache/flex/html/beads/DateFieldView.as |   3 +-
 .../flex/html/beads/NumericStepperView.as       |  17 +-
 .../org/apache/flex/html/beads/PanelView.as     |  30 +-
 .../flex/html/beads/PanelWithControlBarView.as  |   4 +-
 .../org/apache/flex/html/beads/SpinnerView.as   |  14 +-
 .../FlexibleFirstChildHorizontalLayout.as       |  25 +-
 .../html/beads/layouts/HorizontalFlexLayout.as  |   6 +-
 .../html/beads/layouts/HorizontalFlowLayout.as  |  47 +-
 .../flex/html/beads/layouts/HorizontalLayout.as |  30 +-
 .../HorizontalLayoutWithPaddingAndGap.as        |   2 +-
 .../layouts/OneFlexibleChildHorizontalLayout.as |  69 +-
 ...eFlexibleChildHorizontalLayoutForOverflow.as | 307 +++++++
 .../layouts/OneFlexibleChildVerticalLayout.as   |  66 +-
 ...OneFlexibleChildVerticalLayoutForOverflow.as | 309 +++++++
 .../html/beads/layouts/SimpleTableLayout.as     |  19 +-
 .../html/beads/layouts/VerticalColumnLayout.as  |  14 +
 .../html/beads/layouts/VerticalFlexLayout.as    |   6 +-
 .../flex/html/beads/layouts/VerticalLayout.as   |  35 +-
 .../layouts/VerticalLayoutWithPaddingAndGap.as  |   4 +-
 .../html/supportClasses/DataItemRenderer.as     |  22 +-
 .../html/supportClasses/ScrollingViewport.as    |  14 +-
 .../supportClasses/TextButtonItemRenderer.as    |   4 +-
 .../src/main/flex/org/apache/flex/svg/Circle.as |  12 +-
 .../flex/org/apache/flex/svg/CompoundGraphic.as |  12 +-
 .../main/flex/org/apache/flex/svg/DOMWrapper.as |  12 +-
 .../org/apache/flex/svg/GraphicContainer.as     |  12 +-
 .../flex/org/apache/flex/svg/GraphicShape.as    |  12 +-
 .../src/main/flex/org/apache/flex/svg/Image.as  |  12 +-
 .../src/main/flex/org/apache/flex/svg/Path.as   |  12 +-
 .../src/main/flex/org/apache/flex/svg/Rect.as   |  12 +-
 .../Basic/src/main/resources/basic-manifest.xml |   3 +
 .../Basic/src/main/resources/defaults.css       |  44 +-
 .../projects/Binding/.actionScriptProperties    |   3 +-
 frameworks/projects/Binding/build.xml           |   6 +-
 frameworks/projects/Binding/pom.xml             |   1 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../projects/Charts/.actionScriptProperties     |   5 +-
 frameworks/projects/Charts/build.xml            |   6 +-
 frameworks/projects/Charts/pom.xml              |   5 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../Collections/.actionScriptProperties         |   3 +-
 frameworks/projects/Collections/build.xml       |   6 +-
 frameworks/projects/Collections/pom.xml         |   1 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../projects/Core/.actionScriptProperties       |   2 +-
 frameworks/projects/Core/build.xml              |   6 +-
 .../Core/src/main/config/compile-swf-config.xml |   7 +
 .../org/apache/flex/core/AllCSSValuesImpl.as    | 772 +++++++++++++++++
 .../org/apache/flex/core/BindableCSSStyles.as   |   1 -
 .../flex/core/BindableCSSStylesWithFlex.as      | 116 +++
 .../org/apache/flex/core/SimpleCSSStyles.as     |  10 +-
 .../apache/flex/core/SimpleCSSStylesWithFlex.as | 110 +++
 .../org/apache/flex/core/SimpleCSSValuesImpl.as |  51 +-
 .../org/apache/flex/core/StyleChangeNotifier.as |   2 +-
 .../flex/org/apache/flex/events/BrowserEvent.as |  39 +-
 .../Core/src/main/resources/basic-manifest.xml  |   3 +
 .../projects/CreateJS/.actionScriptProperties   |   5 +-
 frameworks/projects/CreateJS/build.xml          |   6 +-
 frameworks/projects/CreateJS/pom.xml            |   4 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../flex/org/apache/flex/createjs/core/View.as  |   4 +
 .../projects/DragDrop/.actionScriptProperties   |   2 +-
 frameworks/projects/DragDrop/build.xml          |   6 +-
 frameworks/projects/DragDrop/pom.xml            |   1 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../projects/Effects/.actionScriptProperties    |   2 +-
 frameworks/projects/Effects/build.xml           |   6 +-
 frameworks/projects/Effects/pom.xml             |   2 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../flex/core/StatesWithTransitionsImpl.as      |   4 +-
 frameworks/projects/Express/build.xml           |   6 +-
 frameworks/projects/Express/pom.xml             |   5 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../flex/org/apache/flex/express/Application.as |   4 +-
 .../Express/src/main/resources/defaults.css     |   5 +
 .../projects/Flat/.actionScriptProperties       |   2 +-
 frameworks/projects/Flat/build.xml              |   6 +-
 frameworks/projects/Flat/pom.xml                |  19 +
 .../Flat/src/main/config/compile-swf-config.xml |   7 +
 .../flex/org/apache/flex/flat/DropDownList.as   |  22 +-
 .../Flat/src/main/resources/defaults.css        |  45 +-
 .../Flat/src/main/resources/flat-manifest.xml   |   1 +
 frameworks/projects/FontAwesome/build.xml       |   6 +-
 frameworks/projects/FontAwesome/pom.xml         |   5 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../projects/Formatters/.actionScriptProperties |   2 +-
 frameworks/projects/Formatters/build.xml        |   6 +-
 frameworks/projects/Formatters/pom.xml          |   2 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../projects/GoogleMaps/.actionScriptProperties |   2 +-
 frameworks/projects/GoogleMaps/build.xml        |   6 +-
 frameworks/projects/GoogleMaps/pom.xml          |   2 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../projects/Graphics/.actionScriptProperties   |  30 +-
 frameworks/projects/Graphics/build.xml          |   6 +-
 frameworks/projects/Graphics/pom.xml            |   1 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../flex/org/apache/flex/graphics/CubicCurve.as |  12 +-
 .../org/apache/flex/graphics/GradientBase.as    |  12 +-
 .../org/apache/flex/graphics/GradientEntry.as   |  12 +-
 .../flex/org/apache/flex/graphics/ICircle.as    |  12 +-
 .../apache/flex/graphics/ICompoundGraphic.as    |  12 +-
 .../flex/org/apache/flex/graphics/IDrawable.as  |  12 +-
 .../flex/org/apache/flex/graphics/IEllipse.as   |  12 +-
 .../main/flex/org/apache/flex/graphics/IFill.as |  12 +-
 .../org/apache/flex/graphics/IGraphicShape.as   |  12 +-
 .../main/flex/org/apache/flex/graphics/IPath.as |  12 +-
 .../org/apache/flex/graphics/IPathCommand.as    |  12 +-
 .../main/flex/org/apache/flex/graphics/IRect.as |  12 +-
 .../flex/org/apache/flex/graphics/IStroke.as    |  12 +-
 .../main/flex/org/apache/flex/graphics/IText.as |  12 +-
 .../flex/org/apache/flex/graphics/LineStyle.as  |  12 +-
 .../flex/org/apache/flex/graphics/LineTo.as     |  12 +-
 .../flex/org/apache/flex/graphics/MoveTo.as     |  12 +-
 .../org/apache/flex/graphics/PathBuilder.as     |  12 +-
 .../org/apache/flex/graphics/QuadraticCurve.as  |  12 +-
 .../flex/org/apache/flex/graphics/SolidColor.as |  12 +-
 .../apache/flex/graphics/SolidColorStroke.as    |  12 +-
 .../graphics/utils/AdvancedLayoutFeatures.as    |  12 +-
 .../flex/graphics/utils/CompoundTransform.as    |  12 +-
 .../flex/graphics/utils/IAssetLayoutFeatures.as |  12 +-
 .../apache/flex/graphics/utils/PathHelper.as    |  12 +-
 .../flex/graphics/utils/TransformOffsets.as     |  12 +-
 .../flex/org/apache/flex/svg/LinearGradient.as  |  12 +-
 .../projects/HTML/.actionScriptProperties       |  32 +-
 frameworks/projects/HTML/build.xml              |   6 +-
 frameworks/projects/HTML/pom.xml                |   5 +
 .../HTML/src/main/config/compile-swf-config.xml |   7 +
 .../projects/HTML5/.actionScriptProperties      |  30 +-
 frameworks/projects/HTML5/build.xml             |   6 +-
 frameworks/projects/HTML5/pom.xml               |   2 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../projects/JQuery/.actionScriptProperties     |  26 +-
 frameworks/projects/JQuery/build.xml            |   6 +-
 .../projects/JQuery/js/tests/FlexJSTest.js      |  12 +-
 .../JQuery/js/tests/MySimpleValuesImpl.js       |  12 +-
 frameworks/projects/JQuery/pom.xml              |   2 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 frameworks/projects/Language/build.xml          |   6 +-
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../main/flex/org/apache/flex/utils/Language.as | 100 ---
 .../projects/MaterialDesignLite/build.xml       |   8 +-
 frameworks/projects/MaterialDesignLite/pom.xml  |   6 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../org/apache/flex/mdl/NavigationLayout.as     |  32 +-
 .../org/apache/flex/mdl/beads/UpgradeElement.as |   3 +
 .../beads/controllers/DropDownListController.as |  16 +-
 .../flex/mdl/beads/views/DropDownListView.as    |  40 +-
 .../src/main/resources/defaults.css             |   8 +
 .../projects/Mobile/.actionScriptProperties     |  26 +-
 frameworks/projects/Mobile/build.xml            |   8 +-
 frameworks/projects/Mobile/pom.xml              |   3 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../flex/mobile/beads/StackedViewManagerView.as |   4 +-
 .../flex/mobile/beads/TabbedViewManagerView.as  |   4 +-
 .../projects/Network/.actionScriptProperties    |  26 +-
 frameworks/projects/Network/build.xml           |   6 +-
 frameworks/projects/Network/pom.xml             |   1 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 .../projects/Reflection/.actionScriptProperties |  26 +-
 frameworks/projects/Reflection/build.xml        |   6 +-
 frameworks/projects/Reflection/pom.xml          |   1 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 frameworks/projects/Storage/build.xml           |   6 +-
 frameworks/projects/Storage/pom.xml             |   1 +
 .../src/main/config/compile-swf-config.xml      |   7 +
 frameworks/projects/XML/build.xml               |   6 +-
 frameworks/projects/XML/pom.xml                 |   2 +
 .../XML/src/main/config/compile-swf-config.xml  |   7 +
 ide/flashbuilder/antscripts.xml                 |  12 +-
 installer.xml                                   |  59 +-
 .../src/DataBindingTestbed.mxml                 |   7 +
 .../FlexJSTest_SVG/src/FlexJSTest_SVG.mxml      |   7 +
 manualtests/build_example.xml                   | 284 +++----
 mustella/js/AssertPropertyValue.js              |  12 +-
 mustella/js/DispatchMouseClickEvent.js          |  12 +-
 mustella/js/DispatchMouseEvent.js               |  12 +-
 mustella/js/ExitWhenDone.js                     |  12 +-
 mustella/js/SendFormattedResultsToLog.js        |  12 +-
 mustella/js/SetProperty.js                      |  12 +-
 mustella/js/SetShowRTE.js                       |  12 +-
 mustella/js/TestCase.js                         |  12 +-
 mustella/js/UnitTester.js                       |  12 +-
 mustella/tests/basicTests/BasicTestsApp.mxml    |   7 +
 nightly.properties                              |   2 +-
 427 files changed, 9105 insertions(+), 3846 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/502a5973/build.xml
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/502a5973/frameworks/js/FlexJS/projects/TextJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/502a5973/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Rect.as
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/502a5973/frameworks/projects/Core/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --cc frameworks/projects/Core/src/main/resources/basic-manifest.xml
index 1d528e4,3c2e3bf..007c691
--- a/frameworks/projects/Core/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Core/src/main/resources/basic-manifest.xml
@@@ -22,8 -22,8 +22,9 @@@
  <componentPackage>
  
      <component id="SimpleCSSValuesImpl" class="org.apache.flex.core.SimpleCSSValuesImpl"/>
+     <component id="AllCSSValuesImpl" class="org.apache.flex.core.AllCSSValuesImpl"/>
      <component id="CSSFontFaceBead" class="org.apache.flex.core.CSSFontFaceBead" />
 +    <component id="EventLoggingBead" class="org.apache.flex.core.EventLoggingBead" />
      <component id="BrowserScroller" class="org.apache.flex.core.BrowserScroller"/>
      <component id="BrowserResizeHandler" class="org.apache.flex.core.BrowserResizeListener"/>
      <component id="SimpleValuesImpl" class="org.apache.flex.core.SimpleValuesImpl"/>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/502a5973/manualtests/build_example.xml
----------------------------------------------------------------------
diff --cc manualtests/build_example.xml
index bfefda1,918562c..62d98b6
--- a/manualtests/build_example.xml
+++ b/manualtests/build_example.xml
@@@ -1,27 -1,27 +1,27 @@@
  <?xml version="1.0"?>
  <!--
- 
-   Licensed to the Apache Software Foundation (ASF) under one or more
-   contributor license agreements.  See the NOTICE file distributed with
-   this work for additional information regarding copyright ownership.
-   The ASF licenses this file to You under the Apache License, Version 2.0
-   (the "License"); you may not use this file except in compliance with
-   the License.  You may obtain a copy of the License at
- 
-       http://www.apache.org/licenses/LICENSE-2.0
- 
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
- 
- -->
+  
+  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.
+  
+  -->
  
  <project name="build_example" basedir=".">
- 
+     
      <path id="lib.path">
 -        <fileset dir="${FALCONJX_HOME}/lib" includes="falcon-flexTasks.jar"/>
 +      <fileset dir="${FALCONJX_HOME}/lib" includes="falcon-flexTasks.jar"/>
      </path>
      
      <target name="compile" description="Compiles ${example}">
@@@ -33,11 -33,11 +33,11 @@@
          <!-- because targets that run before flexTasks.jar gets built would fail. -->
          <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
          <!-- this is a dummy var placeholder in case some example needs to define a theme
 -         then they would set theme_arg=-theme=<path to theme> -->
 +            then they would set theme_arg=-theme=<path to theme> -->
          <property name="theme_arg" value="-define+=CONFIG::theme,false" />
          <mxmlc fork="true"
-                file="${basedir}/src/${example}.mxml"
-                output="${basedir}/bin-debug/${example}.swf">
+             file="${basedir}/src/${example}.mxml"
+             output="${basedir}/bin-debug/${example}.swf">
              <jvmarg line="${mxmlc.jvm.args}"/>
              <arg value="+flexlib=${basedir}/frameworks" />
              <arg value="-debug" />


[25/50] git commit: [flex-asjs] [refs/heads/tlf] - absolute positioned containers without any size specification appear to be treated as zero size inside of flex-box. We could have absolute positioning layouts set sizes but for now, just set the size on

Posted by ah...@apache.org.
absolute positioned containers without any size specification appear to be treated as zero size inside of flex-box.  We could have absolute positioning layouts set sizes but for now, just set the size on the container.


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

Branch: refs/heads/tlf
Commit: 0b50ba354c6007e435d75de46ac3d2df642b6a79
Parents: 0428a14
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 24 20:27:16 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 24 21:41:58 2017 -0700

----------------------------------------------------------------------
 .../flexjs/FlexJSStore/src/main/flex/productsView/ProductCart.mxml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0b50ba35/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCart.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCart.mxml b/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCart.mxml
index 3469806..5df06d8 100755
--- a/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCart.mxml
+++ b/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCart.mxml
@@ -96,7 +96,7 @@ limitations under the License.
         removeProduct="productListEventHandler(event)"
         showQuantity="true" />
     
-    <js:Container style="right:0" id="totalContainer">
+    <js:Container style="right:0" id="totalContainer" width="100%" height="60">
         <js:beads>
             <js:VerticalColumnLayout numColumns="2" />
         </js:beads>


[42/50] git commit: [flex-asjs] [refs/heads/tlf] - metadata property needed swf.version 20. 14 didn't work

Posted by ah...@apache.org.
metadata property needed swf.version 20.  14 didn't work


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

Branch: refs/heads/tlf
Commit: 90a446da4d030ff18ae83f33e8a133ccf0473e9c
Parents: 9d8a6c2
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 11:32:54 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 11:32:54 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90a446da/manualtests/TLFEditTestFlexJS/build.xml
----------------------------------------------------------------------
diff --git a/manualtests/TLFEditTestFlexJS/build.xml b/manualtests/TLFEditTestFlexJS/build.xml
index fc99fec..fc35c60 100644
--- a/manualtests/TLFEditTestFlexJS/build.xml
+++ b/manualtests/TLFEditTestFlexJS/build.xml
@@ -22,6 +22,7 @@
 <project name="TLFEditTestFlexJS" default="main" basedir=".">
     <property name="FLEXJS_HOME" location="../.."/>
     <property name="example" value="TLFEditTestFlexJS" />
+    <property name="swf.version" value="20" />
     
     <property file="${FLEXJS_HOME}/env.properties"/>
     <property environment="env"/>


[13/50] git commit: [flex-asjs] [refs/heads/tlf] - fix Flat dropdownlist

Posted by ah...@apache.org.
fix Flat dropdownlist


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

Branch: refs/heads/tlf
Commit: 2fad673d2c5491ad3c5279e25505995e8f475f12
Parents: 1ee9866
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 23 23:57:05 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 23:57:05 2017 -0700

----------------------------------------------------------------------
 frameworks/projects/Flat/src/main/resources/defaults.css | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2fad673d/frameworks/projects/Flat/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/resources/defaults.css b/frameworks/projects/Flat/src/main/resources/defaults.css
index 1c652d5..31400c4 100644
--- a/frameworks/projects/Flat/src/main/resources/defaults.css
+++ b/frameworks/projects/Flat/src/main/resources/defaults.css
@@ -601,9 +601,9 @@ DataContainer {
 DropDownList
 {
 	IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
-	IBeadView: ClassReference("org.apache.flex.html.beads.DropDownListView");
+	IBeadView: ClassReference("org.apache.flex.flat.beads.DropDownListView");
 	IBeadController: ClassReference("org.apache.flex.html.beads.controllers.DropDownListController");
-	IPopUp: ClassReference("org.apache.flex.html.supportClasses.DropDownListList");
+	IPopUp: ClassReference("org.apache.flex.flat.supportClasses.DropDownListList");
 }
 
 DropDownListList
@@ -611,7 +611,7 @@ DropDownListList
 	IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
 	IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.beads.TextItemRendererFactoryForArrayData");
 	IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
-	IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
+	IItemRenderer: ClassReference("org.apache.flex.flat.supportClasses.DropDownListStringItemRenderer");
 	iBackgroundBead: ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");
 	iBorderBead: ClassReference('org.apache.flex.html.beads.SingleLineBorderBead');
 	iBorderModel: ClassReference('org.apache.flex.html.beads.models.SingleLineBorderModel');


[45/50] git commit: [flex-asjs] [refs/heads/tlf] - Editor now works on SWF again. Focus issues on JS

Posted by ah...@apache.org.
Editor now works on SWF again.  Focus issues on 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/ac122a51
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ac122a51
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ac122a51

Branch: refs/heads/tlf
Commit: ac122a516c3a845143eb8c15f5a3db215784ceb7
Parents: a3ec138
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 11:35:33 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 11:35:33 2017 -0700

----------------------------------------------------------------------
 manualtests/TLFEditTestFlexJS/src/TLFEditor.as | 104 +++++++++++---------
 1 file changed, 58 insertions(+), 46 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ac122a51/manualtests/TLFEditTestFlexJS/src/TLFEditor.as
----------------------------------------------------------------------
diff --git a/manualtests/TLFEditTestFlexJS/src/TLFEditor.as b/manualtests/TLFEditTestFlexJS/src/TLFEditor.as
index 1e99f93..0437a43 100644
--- a/manualtests/TLFEditTestFlexJS/src/TLFEditor.as
+++ b/manualtests/TLFEditTestFlexJS/src/TLFEditor.as
@@ -57,15 +57,6 @@ public class TLFEditor extends UIBase
 	
 	public function TLFEditor()
 	{
-		addEventListener(FocusEvent.FOCUS_IN, onSetFocus);
-		addEventListener(FocusEvent.FOCUS_OUT, onLoseFocus);
-		COMPILE::SWF
-		{
-		addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, onMouseFocusChange);
-		Sprite($displayObject).tabEnabled = true;
-		Sprite($displayObject).mouseChildren = false;
-		}
-		
 		// Create the TLF TextContainerManager, using this component
 		// as the DisplayObjectContainer for its TextLines.
 		// This TextContainerManager instance persists for the lifetime
@@ -79,40 +70,21 @@ public class TLFEditor extends UIBase
 		_textContainerManager.addEventListener(
 			DamageEvent.DAMAGE, textContainerManager_damageHandler);
 		
-		COMPILE::SWF
-		{
-			// todo, see if this can be done in same place as for JS
-        var selectionManager:ISelectionManager = _textContainerManager.beginInteraction();
-		selectionManager.focusedSelectionFormat = new SelectionFormat(
-            0x000000, 1.0, "normal" /*BlendMode.NORMAL*/, 
-            0x000000, 1.0, "invert" /*BlendMode.INVERT*/);
-		}
-		/*
-		_textContainerManager.addEventListener(
-			Event.SCROLL, textContainerManager_scrollHandler);
-		
-		_textContainerManager.addEventListener(
-			SelectionEvent.SELECTION_CHANGE,
-			textContainerManager_selectionChangeHandler);
-		
-		_textContainerManager.addEventListener(
-			FlowOperationEvent.FLOW_OPERATION_BEGIN,
-			textContainerManager_flowOperationBeginHandler);
-		
-		_textContainerManager.addEventListener(
-			FlowOperationEvent.FLOW_OPERATION_END,
-			textContainerManager_flowOperationEndHandler);
-		
-		_textContainerManager.addEventListener(
-			FlowOperationEvent.FLOW_OPERATION_COMPLETE,
-			textContainerManager_flowOperationCompleteHandler);
-		
-		_textContainerManager.addEventListener(
-			StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE, 
-			textContainerManager_inlineGraphicStatusChangeHandler);
-		*/
+		typeNames = "TLFEditor";
 	}
 
+	private var textSet:Boolean;
+	
+	public function get text():String
+	{
+		return _textContainerManager.getText();
+	}
+	public function set text(value:String):void
+	{
+		textSet = true;
+		return _textContainerManager.setText(value);
+	}
+	
 	override public function addedToParent():void
 	{
 		super.addedToParent();
@@ -129,13 +101,26 @@ public class TLFEditor extends UIBase
 		}
 		addBead(new DispatchTLFKeyboardEventBead());
 		
-		COMPILE::JS
+		addEventListener(FocusEvent.FOCUS_IN, onSetFocus);
+		addEventListener(FocusEvent.FOCUS_OUT, onLoseFocus);
+		COMPILE::SWF
 		{
+			addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, onMouseFocusChange);
+			Sprite($displayObject).tabEnabled = true;
+			Sprite($displayObject).mouseChildren = false;
+		}
+		
+		if (!textSet)
+			text = ""; // runs a bunch of code in _textContainerManager
+			
+		/*
 		trace("begin interaction");
 		var selectionManager:ISelectionManager = _textContainerManager.beginInteraction();
 		selectionManager.focusedSelectionFormat = new SelectionFormat(
-            0x000000, 1.0, "normal" /*BlendMode.NORMAL*/, 
-            0x000000, 1.0, "invert" /*BlendMode.INVERT*/);
+            0x000000, 1.0, "normal", //BlendMode.NORMAL
+            0x000000, 1.0, "invert"  //BlendMode.INVERT
+            );
+            
 		if (multiline)
 		{
 			if (!selectionManager.hasSelection())
@@ -149,8 +134,32 @@ public class TLFEditor extends UIBase
 		selectionManager.refreshSelection();
 		trace("end interaction");
 		_textContainerManager.endInteraction();
-		}
-
+		
+		*/
+		/*
+		_textContainerManager.addEventListener(
+			Event.SCROLL, textContainerManager_scrollHandler);
+		
+		_textContainerManager.addEventListener(
+			SelectionEvent.SELECTION_CHANGE,
+			textContainerManager_selectionChangeHandler);
+		
+		_textContainerManager.addEventListener(
+			FlowOperationEvent.FLOW_OPERATION_BEGIN,
+			textContainerManager_flowOperationBeginHandler);
+		
+		_textContainerManager.addEventListener(
+			FlowOperationEvent.FLOW_OPERATION_END,
+			textContainerManager_flowOperationEndHandler);
+		
+		_textContainerManager.addEventListener(
+			FlowOperationEvent.FLOW_OPERATION_COMPLETE,
+			textContainerManager_flowOperationCompleteHandler);
+		
+		_textContainerManager.addEventListener(
+			StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE, 
+			textContainerManager_inlineGraphicStatusChangeHandler);
+		*/
 	}
 	
         //----------------------------------
@@ -181,6 +190,9 @@ public class TLFEditor extends UIBase
             {
 				trace("begin interaction");
                 var selectionManager:ISelectionManager = _textContainerManager.beginInteraction();
+				selectionManager.focusedSelectionFormat = new SelectionFormat(
+		            0x000000, 1.0, "normal" /*BlendMode.NORMAL*/, 
+		            0x000000, 1.0, "invert" /*BlendMode.INVERT*/);
 				if (multiline)
                 {
                     if (!selectionManager.hasSelection())


[17/50] git commit: [flex-asjs] [refs/heads/tlf] - Fix Apache license headers

Posted by ah...@apache.org.
Fix Apache license 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/9feb33de
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9feb33de
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9feb33de

Branch: refs/heads/tlf
Commit: 9feb33de656cac8245c4a53274447d6ac181839f
Parents: 276fa43
Author: Justin Mclean <jm...@apache.org>
Authored: Thu May 25 07:46:55 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu May 25 07:46:55 2017 +1000

----------------------------------------------------------------------
 .../Basic/src/main/flex/org/apache/flex/svg/Circle.as   | 12 ++++++++----
 .../main/flex/org/apache/flex/svg/CompoundGraphic.as    | 12 ++++++++----
 .../src/main/flex/org/apache/flex/svg/DOMWrapper.as     | 12 ++++++++----
 .../main/flex/org/apache/flex/svg/GraphicContainer.as   | 12 ++++++++----
 .../src/main/flex/org/apache/flex/svg/GraphicShape.as   | 12 ++++++++----
 .../Basic/src/main/flex/org/apache/flex/svg/Image.as    | 12 ++++++++----
 .../Basic/src/main/flex/org/apache/flex/svg/Path.as     | 12 ++++++++----
 .../Basic/src/main/flex/org/apache/flex/svg/Rect.as     | 12 ++++++++----
 .../main/flex/org/apache/flex/events/BrowserEvent.as    | 12 ++++++++----
 .../main/flex/org/apache/flex/graphics/CubicCurve.as    | 12 ++++++++----
 .../main/flex/org/apache/flex/graphics/GradientBase.as  | 12 ++++++++----
 .../main/flex/org/apache/flex/graphics/GradientEntry.as | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/ICircle.as   | 12 ++++++++----
 .../flex/org/apache/flex/graphics/ICompoundGraphic.as   | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/IDrawable.as | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/IEllipse.as  | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/IFill.as     | 12 ++++++++----
 .../main/flex/org/apache/flex/graphics/IGraphicShape.as | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/IPath.as     | 12 ++++++++----
 .../main/flex/org/apache/flex/graphics/IPathCommand.as  | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/IRect.as     | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/IStroke.as   | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/IText.as     | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/LineStyle.as | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/LineTo.as    | 12 ++++++++----
 .../src/main/flex/org/apache/flex/graphics/MoveTo.as    | 12 ++++++++----
 .../main/flex/org/apache/flex/graphics/PathBuilder.as   | 12 ++++++++----
 .../flex/org/apache/flex/graphics/QuadraticCurve.as     | 12 ++++++++----
 .../main/flex/org/apache/flex/graphics/SolidColor.as    | 12 ++++++++----
 .../flex/org/apache/flex/graphics/SolidColorStroke.as   | 12 ++++++++----
 .../flex/graphics/utils/AdvancedLayoutFeatures.as       | 12 ++++++++----
 .../org/apache/flex/graphics/utils/CompoundTransform.as | 12 ++++++++----
 .../apache/flex/graphics/utils/IAssetLayoutFeatures.as  | 12 ++++++++----
 .../flex/org/apache/flex/graphics/utils/PathHelper.as   | 12 ++++++++----
 .../org/apache/flex/graphics/utils/TransformOffsets.as  | 12 ++++++++----
 .../src/main/flex/org/apache/flex/svg/LinearGradient.as | 12 ++++++++----
 frameworks/projects/JQuery/js/tests/FlexJSTest.js       | 12 ++++++++----
 .../projects/JQuery/js/tests/MySimpleValuesImpl.js      | 12 ++++++++----
 mustella/js/AssertPropertyValue.js                      | 12 ++++++++----
 mustella/js/DispatchMouseClickEvent.js                  | 12 ++++++++----
 mustella/js/DispatchMouseEvent.js                       | 12 ++++++++----
 mustella/js/ExitWhenDone.js                             | 12 ++++++++----
 mustella/js/SendFormattedResultsToLog.js                | 12 ++++++++----
 mustella/js/SetProperty.js                              | 12 ++++++++----
 mustella/js/SetShowRTE.js                               | 12 ++++++++----
 mustella/js/TestCase.js                                 | 12 ++++++++----
 mustella/js/UnitTester.js                               | 12 ++++++++----
 47 files changed, 376 insertions(+), 188 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Circle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Circle.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Circle.as
index 77511a3..0b325e2 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Circle.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Circle.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/CompoundGraphic.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/CompoundGraphic.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/CompoundGraphic.as
index 2fd59f4..c2512f3 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/CompoundGraphic.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/CompoundGraphic.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/DOMWrapper.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/DOMWrapper.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/DOMWrapper.as
index c7ee326..007cc6a 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/DOMWrapper.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/DOMWrapper.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicContainer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicContainer.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicContainer.as
index 0cd57e2..8c4f9af 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicContainer.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicContainer.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicShape.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicShape.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicShape.as
index 73d8dfe..c6197dc 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicShape.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/GraphicShape.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Image.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Image.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Image.as
index 6f660ce..372dd6d 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Image.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Image.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Path.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Path.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Path.as
index 2d882a3..aa7ae48 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Path.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Path.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Rect.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Rect.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Rect.as
index 09ce190..971f0fd 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Rect.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/Rect.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Core/src/main/flex/org/apache/flex/events/BrowserEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/BrowserEvent.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/BrowserEvent.as
index 6e20a09..d87b429 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/BrowserEvent.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/BrowserEvent.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/CubicCurve.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/CubicCurve.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/CubicCurve.as
index 1727e52..a81ec2c 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/CubicCurve.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/CubicCurve.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/GradientBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/GradientBase.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/GradientBase.as
index bcc46c2..0897ecd 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/GradientBase.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/GradientBase.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/GradientEntry.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/GradientEntry.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/GradientEntry.as
index 364d0f9..704f4d8 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/GradientEntry.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/GradientEntry.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/ICircle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/ICircle.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/ICircle.as
index 0d1cf7d..9f67f9b 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/ICircle.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/ICircle.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/ICompoundGraphic.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/ICompoundGraphic.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/ICompoundGraphic.as
index c4a23ed..294c0c8 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/ICompoundGraphic.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/ICompoundGraphic.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IDrawable.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IDrawable.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IDrawable.as
index 191468e..0dd88b7 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IDrawable.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IDrawable.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IEllipse.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IEllipse.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IEllipse.as
index b490dcc..b234c3d 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IEllipse.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IEllipse.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IFill.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IFill.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IFill.as
index fb0fabe..13597ad 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IFill.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IFill.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IGraphicShape.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IGraphicShape.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IGraphicShape.as
index 9c59b3c..209ef36 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IGraphicShape.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IGraphicShape.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IPath.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IPath.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IPath.as
index 41e328b..a6b6dff 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IPath.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IPath.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IPathCommand.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IPathCommand.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IPathCommand.as
index 7db6c2a..bf87cc8 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IPathCommand.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IPathCommand.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IRect.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IRect.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IRect.as
index 791e8f8..de7a407 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IRect.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IRect.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IStroke.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IStroke.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IStroke.as
index 6d87348..524f068 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IStroke.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IStroke.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IText.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IText.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IText.as
index ac56d6b..4caf6f2 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IText.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/IText.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/LineStyle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/LineStyle.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/LineStyle.as
index e0cd7dd..1f12916 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/LineStyle.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/LineStyle.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/LineTo.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/LineTo.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/LineTo.as
index e62773a..8fe5620 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/LineTo.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/LineTo.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/MoveTo.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/MoveTo.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/MoveTo.as
index 464b270..4df5264 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/MoveTo.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/MoveTo.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/PathBuilder.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/PathBuilder.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/PathBuilder.as
index 39807d4..569fd04 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/PathBuilder.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/PathBuilder.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/QuadraticCurve.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/QuadraticCurve.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/QuadraticCurve.as
index 68bec93..b1aed0e 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/QuadraticCurve.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/QuadraticCurve.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/SolidColor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/SolidColor.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/SolidColor.as
index 3318c0e..94c61a3 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/SolidColor.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/SolidColor.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/SolidColorStroke.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/SolidColorStroke.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/SolidColorStroke.as
index be5c766..d1d29d7 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/SolidColorStroke.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/SolidColorStroke.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/AdvancedLayoutFeatures.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/AdvancedLayoutFeatures.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/AdvancedLayoutFeatures.as
index 1b8bee6..bb4ee53 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/AdvancedLayoutFeatures.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/AdvancedLayoutFeatures.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/CompoundTransform.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/CompoundTransform.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/CompoundTransform.as
index 6259bd6..c21432a 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/CompoundTransform.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/CompoundTransform.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/IAssetLayoutFeatures.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/IAssetLayoutFeatures.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/IAssetLayoutFeatures.as
index 97f2f79..2ceb851 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/IAssetLayoutFeatures.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/IAssetLayoutFeatures.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/PathHelper.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/PathHelper.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/PathHelper.as
index 0badb2e..c51feb2 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/PathHelper.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/PathHelper.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/TransformOffsets.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/TransformOffsets.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/TransformOffsets.as
index 864b18a..5631f54 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/TransformOffsets.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/graphics/utils/TransformOffsets.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/LinearGradient.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/LinearGradient.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/LinearGradient.as
index 2aa6d46..e912aee 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/LinearGradient.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/LinearGradient.as
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/JQuery/js/tests/FlexJSTest.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/js/tests/FlexJSTest.js b/frameworks/projects/JQuery/js/tests/FlexJSTest.js
index cb81eac..40c87f9 100644
--- a/frameworks/projects/JQuery/js/tests/FlexJSTest.js
+++ b/frameworks/projects/JQuery/js/tests/FlexJSTest.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/frameworks/projects/JQuery/js/tests/MySimpleValuesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/js/tests/MySimpleValuesImpl.js b/frameworks/projects/JQuery/js/tests/MySimpleValuesImpl.js
index 8f09bd7..4ccb8cd 100644
--- a/frameworks/projects/JQuery/js/tests/MySimpleValuesImpl.js
+++ b/frameworks/projects/JQuery/js/tests/MySimpleValuesImpl.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/mustella/js/AssertPropertyValue.js
----------------------------------------------------------------------
diff --git a/mustella/js/AssertPropertyValue.js b/mustella/js/AssertPropertyValue.js
index b7c4e5b..9366bdf 100644
--- a/mustella/js/AssertPropertyValue.js
+++ b/mustella/js/AssertPropertyValue.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/mustella/js/DispatchMouseClickEvent.js
----------------------------------------------------------------------
diff --git a/mustella/js/DispatchMouseClickEvent.js b/mustella/js/DispatchMouseClickEvent.js
index 69c9851..4150ad1 100644
--- a/mustella/js/DispatchMouseClickEvent.js
+++ b/mustella/js/DispatchMouseClickEvent.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/mustella/js/DispatchMouseEvent.js
----------------------------------------------------------------------
diff --git a/mustella/js/DispatchMouseEvent.js b/mustella/js/DispatchMouseEvent.js
index 3cb3ec5..0e2fe20 100644
--- a/mustella/js/DispatchMouseEvent.js
+++ b/mustella/js/DispatchMouseEvent.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/mustella/js/ExitWhenDone.js
----------------------------------------------------------------------
diff --git a/mustella/js/ExitWhenDone.js b/mustella/js/ExitWhenDone.js
index df13031..10e1441 100644
--- a/mustella/js/ExitWhenDone.js
+++ b/mustella/js/ExitWhenDone.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/mustella/js/SendFormattedResultsToLog.js
----------------------------------------------------------------------
diff --git a/mustella/js/SendFormattedResultsToLog.js b/mustella/js/SendFormattedResultsToLog.js
index 09c0603..ff98bc0 100644
--- a/mustella/js/SendFormattedResultsToLog.js
+++ b/mustella/js/SendFormattedResultsToLog.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/mustella/js/SetProperty.js
----------------------------------------------------------------------
diff --git a/mustella/js/SetProperty.js b/mustella/js/SetProperty.js
index d93f990..824f744 100644
--- a/mustella/js/SetProperty.js
+++ b/mustella/js/SetProperty.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/mustella/js/SetShowRTE.js
----------------------------------------------------------------------
diff --git a/mustella/js/SetShowRTE.js b/mustella/js/SetShowRTE.js
index 307d45c..ab665b6 100644
--- a/mustella/js/SetShowRTE.js
+++ b/mustella/js/SetShowRTE.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/mustella/js/TestCase.js
----------------------------------------------------------------------
diff --git a/mustella/js/TestCase.js b/mustella/js/TestCase.js
index 6f42929..78bb2c5 100644
--- a/mustella/js/TestCase.js
+++ b/mustella/js/TestCase.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9feb33de/mustella/js/UnitTester.js
----------------------------------------------------------------------
diff --git a/mustella/js/UnitTester.js b/mustella/js/UnitTester.js
index 61b7e29..3da60fb 100644
--- a/mustella/js/UnitTester.js
+++ b/mustella/js/UnitTester.js
@@ -1,7 +1,11 @@
-/**
- * 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
+/*
+ *
+ *  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
  *


[07/50] git commit: [flex-asjs] [refs/heads/tlf] - Border needs to inherit its values

Posted by ah...@apache.org.
Border needs to inherit its values


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

Branch: refs/heads/tlf
Commit: 7568d81804345fb9bd5451fd34f30b75a74e01c9
Parents: e0b9641
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 23 11:31:04 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 11:31:13 2017 -0700

----------------------------------------------------------------------
 .../flexjs/DataBindingExample_as/src/main/flex/MyInitialView.as   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7568d818/examples/flexjs/DataBindingExample_as/src/main/flex/MyInitialView.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_as/src/main/flex/MyInitialView.as b/examples/flexjs/DataBindingExample_as/src/main/flex/MyInitialView.as
index c3982b8..eebc3d9 100644
--- a/examples/flexjs/DataBindingExample_as/src/main/flex/MyInitialView.as
+++ b/examples/flexjs/DataBindingExample_as/src/main/flex/MyInitialView.as
@@ -30,6 +30,7 @@ import org.apache.flex.core.ValuesManager;
 import org.apache.flex.core.View;
 import org.apache.flex.events.CustomEvent;
 import org.apache.flex.events.Event;
+import org.apache.flex.events.MouseEvent;
 import org.apache.flex.html.CheckBox;
 import org.apache.flex.html.Container;
 import org.apache.flex.html.DropDownList;
@@ -262,7 +263,7 @@ public class MyInitialView extends View
     public var showAllData:CheckBox;
     public var ta:TextArea;
 
-    private function tb_clickHandler(event:Event):void
+    private function tb_clickHandler(event:MouseEvent):void
     {
         _symbol = symbolTI.text;
         dispatchEvent(new CustomEvent('buttonClicked'));


[33/50] git commit: [flex-asjs] [refs/heads/tlf] - Make maven distribution and archetypes part of the sources

Posted by ah...@apache.org.
Make maven distribution and archetypes part of the sources


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

Branch: refs/heads/tlf
Commit: 6fb50e9a7ee15c07c6144934a6bb5fe3518093b2
Parents: e0f73fd
Author: piotrz <pi...@apache.org>
Authored: Mon May 29 08:27:46 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Mon May 29 08:27:46 2017 +0200

----------------------------------------------------------------------
 build.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6fb50e9a/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 2346a13..6d72c23 100644
--- a/build.xml
+++ b/build.xml
@@ -661,7 +661,9 @@
                 <exclude name="**/swfobject.js"/>
             </fileset>
         </copy>
-        
+
+        <antcall target="copy-maven-archetypes"/>
+        <antcall target="copy-maven-distribution"/>
         <!-- 
              Source files have Windows line endings.  Most UNIX editors can handle
              either type of line endings but the converse is often not true.             


[23/50] git commit: [flex-asjs] [refs/heads/tlf] - make sure className and new styles get applied

Posted by ah...@apache.org.
make sure className and new styles get applied


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

Branch: refs/heads/tlf
Commit: 7e415e0f2562c7643f3ef44fa4820d5332bc0a86
Parents: f6bf8c6
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 24 21:41:13 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 24 21:41:58 2017 -0700

----------------------------------------------------------------------
 .../Basic/src/main/flex/org/apache/flex/core/UIBase.as        | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7e415e0f/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
index d917b8d..d0e8528 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/UIBase.as
@@ -960,6 +960,11 @@ package org.apache.flex.core
                     _style.top = _y;
                 if (!isNaN(_x))
                     _style.left = _x;
+				COMPILE::JS
+				{
+					if (parent)
+						ValuesManager.valuesImpl.applyStyles(this, _style);
+				}
                 dispatchEvent(new Event("stylesChanged"));
             }
         }
@@ -1293,6 +1298,8 @@ package org.apache.flex.core
 			
             COMPILE::JS
             {
+				if (!_className && typeNames)
+					setClassName(typeNames);
                 if (style)
                     ValuesManager.valuesImpl.applyStyles(this, style);
             }


[16/50] git commit: [flex-asjs] [refs/heads/tlf] - allow swfversion overrides

Posted by ah...@apache.org.
allow swfversion overrides


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

Branch: refs/heads/tlf
Commit: 276fa4398eb7a283f6a9e9938307903b8f9d1b7b
Parents: baa544c
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 24 12:52:16 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 24 12:52:31 2017 -0700

----------------------------------------------------------------------
 examples/build_example.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/276fa439/examples/build_example.xml
----------------------------------------------------------------------
diff --git a/examples/build_example.xml b/examples/build_example.xml
index 65c4149..073fa9a 100644
--- a/examples/build_example.xml
+++ b/examples/build_example.xml
@@ -107,6 +107,8 @@
     <condition property="runtime" value="mac">
         <os family="mac"/>
     </condition>
+    
+    <property name="swf.version" value="14" />
 
     <target name="get.browser" >
         <condition property="browser" value="${env.ProgramFiles}/Mozilla Firefox/firefox.exe">
@@ -171,11 +173,13 @@
         <mxmlc fork="true"
                debug="true"
                configname="${config_arg}"
+               swf-version="${swf.version}"
                closure-lib="${GOOG_HOME}"
                file="${basedir}/src/main/flex/${example}.${file_suffix}"
                output="${basedir}/bin-debug/${example}.swf">
             <jvmarg line="${mxmlc.jvm.args}"/>
             <arg line="${optional_arg}" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
         </mxmlc>
 
         <antcall target="build_example.wrapper" />
@@ -195,11 +199,13 @@
         <mxmlc fork="true"
             debug="false"
             configname="${config_arg}"
+            swf-version="${swf.version}"
             closure-lib="${GOOG_HOME}"
             file="${basedir}/src/main/flex/${example}.${file_suffix}"
             output="${basedir}/bin-release/${example}.swf">
             <jvmarg line="${mxmlc.jvm.args}"/>
             <arg line="${optional_arg}" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
         </mxmlc>
     </target>
     


[38/50] git commit: [flex-asjs] [refs/heads/tlf] - add EventLogging bead to try to catch type errors

Posted by ah...@apache.org.
add EventLogging bead to try to catch type errors


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

Branch: refs/heads/tlf
Commit: bf404b1cc8ae55299756367612ea195aa1d2fe02
Parents: 9c58972
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 11:29:45 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 11:29:45 2017 -0700

----------------------------------------------------------------------
 .../org/apache/flex/core/EventLoggingBead.as    | 124 +++++++++++++++++++
 .../Core/src/main/resources/basic-manifest.xml  |   1 +
 2 files changed, 125 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf404b1c/frameworks/projects/Core/src/main/flex/org/apache/flex/core/EventLoggingBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/EventLoggingBead.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/EventLoggingBead.as
new file mode 100644
index 0000000..96bd920
--- /dev/null
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/EventLoggingBead.as
@@ -0,0 +1,124 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+    COMPILE::SWF
+    {
+        import flash.events.Event;
+    }
+    
+    import org.apache.flex.core.IBead;
+    import org.apache.flex.core.IStrand;
+    import org.apache.flex.events.IEventDispatcher;
+    
+    /**
+     *  The EventLogging bead logs dispatches
+	 *  of certain events.  This can be useful
+	 *  in debugging type coercion errors when
+	 *  an event handler has the wrong type
+	 *  in the function signature.
+     *  
+	 *  Place this bead in the application.
+	 *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class EventLoggingBead implements IBead
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function EventLoggingBead()
+		{
+			super();
+		}
+        
+        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
+		 *
+		 *  @flexjsignorecoercion org.apache.flex.events.IEventDispatcher
+         */
+        public function set strand(value:IStrand):void
+        {
+            _strand = value;
+			
+			COMPILE::SWF
+			{
+			if (eventNames)
+			{
+				// log each event.  Use capture phase to try to get it first.
+				for each (var e:String in eventNames)
+					(_strand as IEventDispatcher).addEventListener(e, eventHandler, true);
+			}
+			}
+        }    
+
+        private var _eventNames:Array;
+        
+        /**
+         *  Array of event names to listen to.
+         * 
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public function get eventNames():Array
+        {
+			return _eventNames;
+        }
+        
+		public function set eventNames(value:Array):void
+		{
+			_eventNames = value;
+		}
+		
+		private var _log:Array = [];
+		
+		public function get log():Array
+		{
+			return _log;
+		}
+		
+        COMPILE::SWF
+        private function eventHandler(event:Event):void
+        {
+			_log.push(event);
+			if (_log.length > 10)
+				_log.shift();
+			trace(event.type + " " + event.target);
+        }
+        
+        
+    }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf404b1c/frameworks/projects/Core/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/resources/basic-manifest.xml b/frameworks/projects/Core/src/main/resources/basic-manifest.xml
index d2c3aa6..1d528e4 100644
--- a/frameworks/projects/Core/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Core/src/main/resources/basic-manifest.xml
@@ -23,6 +23,7 @@
 
     <component id="SimpleCSSValuesImpl" class="org.apache.flex.core.SimpleCSSValuesImpl"/>
     <component id="CSSFontFaceBead" class="org.apache.flex.core.CSSFontFaceBead" />
+    <component id="EventLoggingBead" class="org.apache.flex.core.EventLoggingBead" />
     <component id="BrowserScroller" class="org.apache.flex.core.BrowserScroller"/>
     <component id="BrowserResizeHandler" class="org.apache.flex.core.BrowserResizeListener"/>
     <component id="SimpleValuesImpl" class="org.apache.flex.core.SimpleValuesImpl"/>


[43/50] git commit: [flex-asjs] [refs/heads/tlf] - put layout on right strand

Posted by ah...@apache.org.
put layout on right strand


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

Branch: refs/heads/tlf
Commit: a76f3122779466a33cd7051c3766ab401e32b797
Parents: 90a446d
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 11:34:30 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 11:34:30 2017 -0700

----------------------------------------------------------------------
 manualtests/TLFEditTestFlexJS/src/TLFEditTestFlexJS.mxml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a76f3122/manualtests/TLFEditTestFlexJS/src/TLFEditTestFlexJS.mxml
----------------------------------------------------------------------
diff --git a/manualtests/TLFEditTestFlexJS/src/TLFEditTestFlexJS.mxml b/manualtests/TLFEditTestFlexJS/src/TLFEditTestFlexJS.mxml
index 8bc8510..1f98b72 100644
--- a/manualtests/TLFEditTestFlexJS/src/TLFEditTestFlexJS.mxml
+++ b/manualtests/TLFEditTestFlexJS/src/TLFEditTestFlexJS.mxml
@@ -30,12 +30,11 @@
         <js:SimpleCSSValuesImpl/>
     </js:valuesImpl>
     
-    <js:beads>
-        <js:VerticalLayout/>
-    </js:beads>
-
 	<js:initialView>
 	  <js:View>
+	    <js:beads>
+	        <js:VerticalLayout/>
+	    </js:beads>
     	<js:Container style="borderStyle:solid" width="300" height="200" >
     	  <local:TLFEditor id="tlfEditor" width="100%" height="100%" />
     	</js:Container>


[22/50] git commit: [flex-asjs] [refs/heads/tlf] - Bring back previous state with fixes only for Express DataBindingExample, remove Effects from Express

Posted by ah...@apache.org.
Bring back previous state with fixes only for Express DataBindingExample, remove Effects from Express


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

Branch: refs/heads/tlf
Commit: 0428a145ca745dbd81480b559a2aa0fe97a3cbea
Parents: 020e0ec
Author: piotrz <pi...@apache.org>
Authored: Thu May 25 01:17:40 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Thu May 25 01:17:40 2017 +0200

----------------------------------------------------------------------
 examples/express/pom.xml            | 13 +++++++++++++
 frameworks/projects/Express/pom.xml | 13 -------------
 2 files changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0428a145/examples/express/pom.xml
----------------------------------------------------------------------
diff --git a/examples/express/pom.xml b/examples/express/pom.xml
index 70ca739..9b88e4d 100644
--- a/examples/express/pom.xml
+++ b/examples/express/pom.xml
@@ -70,6 +70,19 @@
   </build>
 
   <dependencies>
+  <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Effects</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Effects</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+      <classifier>js</classifier>
+    </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>Express</artifactId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0428a145/frameworks/projects/Express/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Express/pom.xml b/frameworks/projects/Express/pom.xml
index 3615249..2cc358f 100644
--- a/frameworks/projects/Express/pom.xml
+++ b/frameworks/projects/Express/pom.xml
@@ -139,19 +139,6 @@
       <type>swc</type>
       <classifier>js</classifier>
     </dependency>
-    <dependency>
-      <groupId>org.apache.flex.flexjs.framework</groupId>
-      <artifactId>Effects</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
-      <type>swc</type>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.flex.flexjs.framework</groupId>
-      <artifactId>Effects</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
-      <type>swc</type>
-      <classifier>js</classifier>
-    </dependency>
   </dependencies>
 
 </project>


[24/50] git commit: [flex-asjs] [refs/heads/tlf] - need to dispatch childrenAdded as promised.

Posted by ah...@apache.org.
need to dispatch childrenAdded as promised.


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

Branch: refs/heads/tlf
Commit: f6bf8c69954d3979f847a1d3ffdc4aa72b3d3fb7
Parents: 48018d5
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 24 20:32:33 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 24 21:41:58 2017 -0700

----------------------------------------------------------------------
 .../flex/org/apache/flex/core/ContainerBase.as  |  4 ++++
 .../main/flex/org/apache/flex/core/GroupBase.as | 22 ++++++++++++++++++++
 2 files changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f6bf8c69/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBase.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBase.as
index 0dcb0e3..af3472b 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBase.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/ContainerBase.as
@@ -109,6 +109,8 @@ package org.apache.flex.core
 			var layoutHost:ILayoutHost = view as ILayoutHost;
 			var contentView:IParent = layoutHost.contentView as IParent;
 			contentView.addElement(c, dispatchEvent);
+            if (dispatchEvent)
+                this.dispatchEvent(new Event("childrenAdded"));
 		}
 		
 		/**
@@ -120,6 +122,8 @@ package org.apache.flex.core
 			var layoutHost:ILayoutHost = view as ILayoutHost;
 			var contentView:IParent = layoutHost.contentView as IParent;
 			contentView.addElementAt(c, index, dispatchEvent);
+            if (dispatchEvent)
+                this.dispatchEvent(new Event("childrenAdded"));
 		}
 		
 		/**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f6bf8c69/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/GroupBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/GroupBase.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/GroupBase.as
index 07859a1..3a89556 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/GroupBase.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/GroupBase.as
@@ -292,5 +292,27 @@ package org.apache.flex.core
             _transitions = value;   
         }
 
+		/**
+		 * @private
+		 */
+		COMPILE::SWF
+		override public function addElement(c:IChild, dispatchEvent:Boolean = true):void
+		{
+			super.addElement(c, dispatchEvent);
+            if (dispatchEvent)
+                this.dispatchEvent(new Event("childrenAdded"));
+		}
+		
+		/**
+		 * @private
+		 */
+		COMPILE::SWF
+		override public function addElementAt(c:IChild, index:int, dispatchEvent:Boolean = true):void
+		{
+			super.addElementAt(c, index, dispatchEvent);
+            if (dispatchEvent)
+                this.dispatchEvent(new Event("childrenAdded"));
+		}
+
     }
 }


[09/50] git commit: [flex-asjs] [refs/heads/tlf] - funny little paste-o was messing up layouts

Posted by ah...@apache.org.
funny little paste-o was messing up layouts


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

Branch: refs/heads/tlf
Commit: 203aebc28b764782e4e73d88502daa9cb39f57b7
Parents: fef3874
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 23 11:30:02 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 11:31:13 2017 -0700

----------------------------------------------------------------------
 .../flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as  | 2 +-
 .../flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as    | 2 +-
 .../flex/html/beads/layouts/HorizontalLayoutWithPaddingAndGap.as   | 2 +-
 .../flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as    | 2 +-
 .../beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as   | 2 +-
 .../flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as      | 2 +-
 .../beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as     | 2 +-
 .../main/flex/org/apache/flex/html/beads/layouts/VerticalLayout.as | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/203aebc2/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
index 30398f1..126c476 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/FlexibleFirstChildHorizontalLayout.as
@@ -148,7 +148,7 @@ package org.apache.flex.html.beads.layouts
 			hostHeight -= paddingMetrics.top + paddingMetrics.bottom + borderMetrics.top + borderMetrics.bottom;
 
 			var xpos:Number = hostWidth + borderMetrics.left + paddingMetrics.left;
-			var ypos:Number = borderMetrics.top + paddingMetrics.left;
+			var ypos:Number = borderMetrics.top + paddingMetrics.top;
 			var adjustedWidth:Number = 0;
 
 			for(var i:int=(n-1); i >= 0; i--)

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/203aebc2/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
index ef4e118..2224f6f 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
@@ -125,7 +125,7 @@ package org.apache.flex.html.beads.layouts
 				hostHeight -= paddingMetrics.top + paddingMetrics.bottom + borderMetrics.top + borderMetrics.bottom;
 
 				var xpos:Number = borderMetrics.left + paddingMetrics.left;
-				var ypos:Number = borderMetrics.top + paddingMetrics.left;
+				var ypos:Number = borderMetrics.top + paddingMetrics.top;
 
 				// First pass determines the data about the child.
 				for(var i:int=0; i < n; i++)

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/203aebc2/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayoutWithPaddingAndGap.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayoutWithPaddingAndGap.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayoutWithPaddingAndGap.as
index 7aec7f3..929a05d 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayoutWithPaddingAndGap.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayoutWithPaddingAndGap.as
@@ -254,7 +254,7 @@ package org.apache.flex.html.beads.layouts
 				hostHeight -= paddingMetrics.top + paddingMetrics.bottom + borderMetrics.top + borderMetrics.bottom;
 
 				var xpos:Number = borderMetrics.left + paddingMetrics.left;
-				var ypos:Number = borderMetrics.top + paddingMetrics.left;
+				var ypos:Number = borderMetrics.top + paddingMetrics.top;
 
 				// First pass determines the data about the child.
 				for(var i:int=0; i < n; i++)

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/203aebc2/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as
index c1afc83..24a1782 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as
@@ -205,7 +205,7 @@ package org.apache.flex.html.beads.layouts
 			hostHeight -= paddingMetrics.top + paddingMetrics.bottom + borderMetrics.top + borderMetrics.bottom;
 
 			var xpos:Number = borderMetrics.left + paddingMetrics.left;
-			var ypos:Number = borderMetrics.top + paddingMetrics.left;
+			var ypos:Number = borderMetrics.top + paddingMetrics.top;
 			var child:IUIBase;
 			var childHeight:Number;
 			var i:int;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/203aebc2/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as
index 027f2ee..f75c08f 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayoutForOverflow.as
@@ -172,7 +172,7 @@ package org.apache.flex.html.beads.layouts
 			hostHeight -= paddingMetrics.top + paddingMetrics.bottom + borderMetrics.top + borderMetrics.bottom;
 
 			var xpos:Number = borderMetrics.left + paddingMetrics.left;
-			var ypos:Number = borderMetrics.top + paddingMetrics.left;
+			var ypos:Number = borderMetrics.top + paddingMetrics.top;
 			var child:IUIBase;
 			var childHeight:Number;
 			var i:int;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/203aebc2/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
index 51dbb72..7f4b462 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayout.as
@@ -206,7 +206,7 @@ package org.apache.flex.html.beads.layouts
 			hostHeight -= paddingMetrics.top + paddingMetrics.bottom + borderMetrics.top + borderMetrics.bottom;
 
 			var xpos:Number = borderMetrics.left + paddingMetrics.left;
-			var ypos:Number = borderMetrics.top + paddingMetrics.left;
+			var ypos:Number = borderMetrics.top + paddingMetrics.top;
 			var child:IUIBase;
 			var childWidth:Number;
 			var i:int;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/203aebc2/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as
index f9f0b1d..da59ec8 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/OneFlexibleChildVerticalLayoutForOverflow.as
@@ -174,7 +174,7 @@ package org.apache.flex.html.beads.layouts
 			hostHeight -= paddingMetrics.top + paddingMetrics.bottom + borderMetrics.top + borderMetrics.bottom;
 
 			var xpos:Number = borderMetrics.left + paddingMetrics.left;
-			var ypos:Number = borderMetrics.top + paddingMetrics.left;
+			var ypos:Number = borderMetrics.top + paddingMetrics.top;
 			var child:IUIBase;
 			var childWidth:Number;
 			var i:int;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/203aebc2/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalLayout.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalLayout.as
index d751997..ebee216 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalLayout.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalLayout.as
@@ -105,7 +105,7 @@ package org.apache.flex.html.beads.layouts
 				hostHeight -= paddingMetrics.top + paddingMetrics.bottom + borderMetrics.top + borderMetrics.bottom;
 
 				var xpos:Number = borderMetrics.left + paddingMetrics.left;
-				var ypos:Number = borderMetrics.top + paddingMetrics.left;
+				var ypos:Number = borderMetrics.top + paddingMetrics.top;
 
 				// First pass determines the data about the child.
 				for(var i:int=0; i < n; i++)


[31/50] git commit: [flex-asjs] [refs/heads/tlf] - try to fix windows install. I didn't break mac. Will try on Windows later

Posted by ah...@apache.org.
try to fix windows install.  I didn't break mac.  Will try on Windows later


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

Branch: refs/heads/tlf
Commit: 2be5163b6549cf66546593b344615508d9943ed1
Parents: a86b0ae
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 25 12:00:30 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 25 12:00:44 2017 -0700

----------------------------------------------------------------------
 installer.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2be5163b/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index ffe5f49..53255d0 100644
--- a/installer.xml
+++ b/installer.xml
@@ -456,7 +456,7 @@
         <echo>${INFO_UNZIPPING} ${download.dir}/${air.sdk.url.file}</echo>
         
         <antcall target="air-setup-win" />
-        <antcall target="air-setup-mac" />
+        <antcall target="air-setup-mac-if-mac" />
         
     </target>
 
@@ -572,6 +572,10 @@
         </exec>
     </target>
     
+    <target name="air-setup-mac-if-mac" unless="isWindows">
+        <antcall target="air-setup-mac" />
+    </target>
+    
     <target name="air-setup-mac" depends="unzipOrMountDMG,unzipAIRSDK,mountAIRSDK,copyFromMount,unmountAIRSDK" unless="isWindows">
         <antcall target="mac-copy-file">
             <param name="srcdir" value="." />


[44/50] git commit: [flex-asjs] [refs/heads/tlf] - allow swf.version in examples

Posted by ah...@apache.org.
allow swf.version in examples


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

Branch: refs/heads/tlf
Commit: a3ec1387df42d6b22a6e60a97c2314a5ff5cc37d
Parents: a76f312
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 11:34:56 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 11:34:56 2017 -0700

----------------------------------------------------------------------
 manualtests/build_example.xml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a3ec1387/manualtests/build_example.xml
----------------------------------------------------------------------
diff --git a/manualtests/build_example.xml b/manualtests/build_example.xml
index 9a8a1e4..bfefda1 100644
--- a/manualtests/build_example.xml
+++ b/manualtests/build_example.xml
@@ -42,6 +42,7 @@
             <arg value="+flexlib=${basedir}/frameworks" />
             <arg value="-debug" />
             <arg value="${theme_arg}" />
+            <arg value="-swf-version=${swf.version}" />
             <arg value="-compiler.mxml.children-as-data" />
             <arg value="-compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEvent" />
             <arg value="-compiler.binding-value-change-event-kind=org.apache.flex.events.ValueChangeEvent" />


[02/50] git commit: [flex-asjs] [refs/heads/tlf] - give up on flex layouts for full-screen 3-pane layouts

Posted by ah...@apache.org.
give up on flex layouts for full-screen 3-pane layouts


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

Branch: refs/heads/tlf
Commit: f05a94f40491eb4f88a05d3a8d4e70b3257171b7
Parents: 23c4c7a
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 23 00:12:47 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 00:15:57 2017 -0700

----------------------------------------------------------------------
 .../ASDoc/src/main/flex/ASDocMainView.mxml      | 26 ++++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f05a94f4/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml b/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
index cd5a978..d1b7158 100644
--- a/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
+++ b/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
@@ -59,36 +59,36 @@ limitations under the License.
 	</fx:Style>
     <js:beads>
         <js:ViewDataBinding />
-        <js:OneFlexibleChildVerticalLayout flexibleChild="topContainer" />                
+        <js:OneFlexibleChildVerticalLayoutForOverflow flexibleChild="topContainer" />                
     </js:beads>
     <js:Group width="100%" id="titleGroup">
         <js:beads>
-            <js:FlexibleFirstChildHorizontalLayout/>
+            <js:OneFlexibleChildHorizontalLayoutForOverflow flexibleChild="title" />
         </js:beads>
-        <js:Label text="FlexJS ActionScript Library Reference" height="30" style="fontSize:20"/>
+        <js:Label text="FlexJS ActionScript Library Reference" id="title" height="30" style="fontSize:20"/>
         <js:CheckBox id="topLevel" text="Top-Level" click="showTopLevel()" />
         <js:CheckBox id="viewBeads" text="View Bead" click="showViewBeads()" />
     </js:Group>
-    <js:Group width="100%" className="topContainer" id="topContainer" style="align-items: start">
+    <js:Group width="100%" className="topContainer" id="topContainer">
         <js:beads>
-            <js:OneFlexibleChildHorizontalLayoutLockChildHeight flexibleChild="rightSide" />
+            <js:OneFlexibleChildHorizontalLayoutForOverflow flexibleChild="rightSide" />
             <js:LayoutChangeNotifier watchedProperty="{ASDocModel(applicationModel).packageList}" initialValue="null" />
         </js:beads>
-        <js:Group width="300" className="leftSide" id="leftSide">
+        <js:Group width="300" height="100%" className="leftSide" id="leftSide">
             <js:beads>
-                <js:VerticalFlexLayout />
+                <js:VerticalLayout />
             </js:beads>
-            <js:List id="packageList" dataProvider="{ASDocModel(applicationModel).packageList}" change="packageChangedHandler()" width="100%" height="50%" style="flex-grow: '1';flex-shrink: '1'"/>
-            <js:List id="classList" dataProvider="{ASDocModel(applicationModel).classList}" change="classChangedHandler()"  width="100%" height="50%" style="flex-grow: '1';flex-shrink: '1'"/>
+            <js:List id="packageList" dataProvider="{ASDocModel(applicationModel).packageList}" change="packageChangedHandler()" width="100%" height="50%"/>
+            <js:List id="classList" dataProvider="{ASDocModel(applicationModel).classList}" change="classChangedHandler()"  width="100%" height="50%"/>
         </js:Group>
-        <js:Container className="rightSide" id="rightSide" style="align-items: start">
+        <js:Container className="rightSide" id="rightSide" height="100%">
             <js:beads>
-                <js:OneFlexibleChildVerticalLayoutLockChildWidth flexibleChild="detailsPane" />
+                <js:VerticalLayout />
                 <js:ScrollingViewport />
             </js:beads>
-            <js:Group id="detailsPane">
+            <js:Group id="detailsPane" width="100%">
 	            <js:beads>
-	                <js:VerticalFlexLayout />
+	                <js:VerticalLayout />
 	            </js:beads>
 	            <js:Label id="packageName"  text="{ASDocModel(applicationModel).currentPackage}" width="100%"/>
 	            <js:Label id="baseName" text="{ASDocModel(applicationModel).currentClass}" width="100%" style="fontSize:20"/>


[32/50] git commit: [flex-asjs] [refs/heads/tlf] - Add targets for ant build which copying Maven distribution and archetypes folders to final binary package which is

Posted by ah...@apache.org.
Add targets for ant build which copying Maven distribution and archetypes folders to final binary package which is


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

Branch: refs/heads/tlf
Commit: e0f73fdcdf20c648971a97086b6bbc00208f08ba
Parents: 2be5163
Author: piotrz <pi...@apache.org>
Authored: Sat May 27 23:30:43 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Sat May 27 23:30:43 2017 +0200

----------------------------------------------------------------------
 build.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e0f73fdc/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 43b4085..2346a13 100644
--- a/build.xml
+++ b/build.xml
@@ -763,6 +763,25 @@
         <copy todir="${basedir}/temp" file="${basedir}/nightly.properties" />
     </target>
 
+    <target name="copy-maven-distribution" description="copying maven distribution folder for binary-package">
+        <echo message="Copying Maven distribution folder" />
+        <copy todir="${basedir}/temp/distribution">
+           <fileset dir="${basedir}/distribution">
+                <exclude name="**/target/**"/>
+           </fileset>
+        </copy>
+    </target>
+
+    <target name="copy-maven-archetypes" description="copying maven archetypes folder for binary-package">
+        <echo message="Copying Maven archetypes folder" />
+        <copy todir="${basedir}/temp/archetypes">
+            <fileset dir="${basedir}/archetypes">
+                <exclude name="**/target/**"/>
+                <exclude name="**/*.iml"/>
+            </fileset>
+        </copy>
+    </target>
+
     <target name="binary-package"
         description="Package binary files in zip and tar-gzip file.">
 
@@ -837,6 +856,8 @@
             </fileset>
         </copy>
 
+		<antcall target="copy-maven-distribution"/>
+        <antcall target="copy-maven-archetypes"/>
         <!-- swfobject templates except for downloaded files
         <copy todir="${basedir}/temp/templates/swfobject">
             <fileset dir="${basedir}/templates/swfobject">


[05/50] git commit: [flex-asjs] [refs/heads/tlf] - Created AirApplication the adds a single frame delay so Air applications will get the correct stage size.

Posted by ah...@apache.org.
Created AirApplication the adds a single frame delay so Air applications will get the correct stage size.


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

Branch: refs/heads/tlf
Commit: 6ccc02585b1adcba5cf0053531f907b216ba3ddb
Parents: 1e450bb
Author: Peter Ent <pe...@apache.org>
Authored: Tue May 23 14:25:39 2017 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Tue May 23 14:25:39 2017 -0400

----------------------------------------------------------------------
 .../flex/org/apache/flex/core/AirApplication.as | 115 +++++++++++++++++++
 .../Basic/src/main/resources/basic-manifest.xml |   1 +
 2 files changed, 116 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6ccc0258/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/AirApplication.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/AirApplication.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/AirApplication.as
new file mode 100644
index 0000000..51058b2
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/core/AirApplication.as
@@ -0,0 +1,115 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 org.apache.flex.events.Event;
+    import org.apache.flex.events.IEventDispatcher;
+
+    //--------------------------------------
+    //  Events
+    //--------------------------------------
+
+    /**
+     *  Dispatched at startup. Attributes and sub-instances of
+     *  the MXML document have been created and assigned.
+     *  The component lifecycle is different
+     *  than the Flex SDK.  There is no creationComplete event.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+    [Event(name="initialize", type="org.apache.flex.events.Event")]
+
+    /**
+     *  Dispatched at startup before the instances get created.
+     *  Beads can call preventDefault and defer initialization.
+     *  This event will be dispatched on every frame until no
+     *  listeners call preventDefault(), then the initialize()
+     *  method will be called.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+    [Event(name="preinitialize", type="org.apache.flex.events.Event")]
+
+    /**
+     *  Dispatched at startup after the initial view has been
+     *  put on the display list. This event is sent before
+     *  applicationComplete is dispatched.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+    [Event(name="viewChanged", type="org.apache.flex.events.Event")]
+
+    /**
+     *  Dispatched at startup after the initial view has been
+     *  put on the display list.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+    [Event(name="applicationComplete", type="org.apache.flex.events.Event")]
+    
+    /**
+     *  The AirApplication class should be used by Air applications as their
+	 *  main entry point.
+     *
+     *  @see Application
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.8
+     */
+    public class AirApplication extends Application
+    {
+        /**
+         *  Constructor.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public function AirApplication()
+        {
+			COMPILE::SWF {
+				addEventListener("preinitialize", handlePreInitialize);
+			}
+				
+            super();
+        }
+		
+		COMPILE::SWF
+		private function handlePreInitialize(event:org.apache.flex.events.Event):void
+		{
+			event.preventDefault();
+			removeEventListener("preinitialize", handlePreInitialize);
+		}
+
+    }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6ccc0258/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
index 09bb1a3..bc5dca3 100644
--- a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
@@ -22,6 +22,7 @@
 <componentPackage>
 
     <component id="Application" class="org.apache.flex.core.Application"/>
+    <component id="AirApplication" class="org.apache.flex.core.AirApplication"/>
     <component id="View" class="org.apache.flex.core.View"/>
     <component id="Button" class="org.apache.flex.html.Button"/>
     <component id="CloseButton" class="org.apache.flex.html.CloseButton"/>


[26/50] git commit: [flex-asjs] [refs/heads/tlf] - ImageButton is now a button with an image so click events are often on th e image and not the containing button. Maybe there's a better way to get the event target to not be the image, but for now we'll

Posted by ah...@apache.org.
ImageButton is now a button with an image so click events are often on th e image and not the containing button.  Maybe there's a better way to get the event target to not be the image, but for now we'll look up one level of parenting.


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

Branch: refs/heads/tlf
Commit: 48018d5868187b498c130dea82e1323f9e1b44e0
Parents: 0b50ba3
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 24 20:32:08 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 24 21:41:58 2017 -0700

----------------------------------------------------------------------
 .../flex/org/apache/flex/events/BrowserEvent.as | 27 +++++++++++++++-----
 1 file changed, 21 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/48018d58/frameworks/projects/Core/src/main/flex/org/apache/flex/events/BrowserEvent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/BrowserEvent.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/BrowserEvent.as
index d87b429..1237529 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/BrowserEvent.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/BrowserEvent.as
@@ -179,8 +179,13 @@ package org.apache.flex.events
 		{
 			var o:Object = wrappedEvent.currentTarget;
 
-			if (o && o.flexjs_wrapper)
-				return o.flexjs_wrapper;
+			if (o)
+			{
+				if (o.flexjs_wrapper)
+					return o.flexjs_wrapper;
+				if (o.parentNode && o.parentNode.flexjs_wrapper)
+				    return o.parentNode.flexjs_wrapper;
+			}
 			return o;
 		}
 
@@ -355,8 +360,13 @@ package org.apache.flex.events
 		{
 			var o:Object = wrappedEvent.relatedTarget;
 
-			if (o && o.flexjs_wrapper)
-				return o.flexjs_wrapper;
+			if (o)
+			{
+				if (o.flexjs_wrapper)
+					return o.flexjs_wrapper;
+				if (o.parentNode && o.parentNode.flexjs_wrapper)
+				    return o.parentNode.flexjs_wrapper;
+			}
 			return o;
 		}
 
@@ -453,8 +463,13 @@ package org.apache.flex.events
 		{
 			var o:Object = wrappedEvent.target;
 
-			if (o && o.flexjs_wrapper)
-				return o.flexjs_wrapper;
+			if (o)
+			{
+				if (o.flexjs_wrapper)
+					return o.flexjs_wrapper;
+				if (o.parentNode && o.parentNode.flexjs_wrapper)
+				    return o.parentNode.flexjs_wrapper;
+			}
 			return o;
 		}
 


[40/50] git commit: [flex-asjs] [refs/heads/tlf] - add activation events even on setting text

Posted by ah...@apache.org.
add activation events even on setting text


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

Branch: refs/heads/tlf
Commit: bbbc47d00bba7273f3d3dae82bdb6ffddbade15a
Parents: 1a39080
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 11:31:42 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 11:31:42 2017 -0700

----------------------------------------------------------------------
 .../org/apache/flex/textLayout/container/TextContainerManager.as   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bbbc47d0/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/container/TextContainerManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/container/TextContainerManager.as b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/container/TextContainerManager.as
index 4488faf..457dd88 100644
--- a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/container/TextContainerManager.as
+++ b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/container/TextContainerManager.as
@@ -594,8 +594,8 @@ package org.apache.flex.textLayout.container
 				//TODO do we need to fix this?
 //				if (_container is InteractiveObject)
 //					_container.mouseChildren = false;
-				addActivationEventListeners();
 			}
+			addActivationEventListeners();
 			_text = text ? text : ""; 
 			_damaged = true;
 			_textDamaged = false;


[41/50] git commit: [flex-asjs] [refs/heads/tlf] - need SWFOverride in interface as well

Posted by ah...@apache.org.
need SWFOverride in interface as well


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

Branch: refs/heads/tlf
Commit: 9d8a6c28c5c8291657fcbe49eac68e19517df5eb
Parents: bbbc47d
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 11:32:07 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 11:32:07 2017 -0700

----------------------------------------------------------------------
 .../Text/src/main/flex/org/apache/flex/text/engine/ITextLine.as    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9d8a6c28/frameworks/projects/Text/src/main/flex/org/apache/flex/text/engine/ITextLine.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Text/src/main/flex/org/apache/flex/text/engine/ITextLine.as b/frameworks/projects/Text/src/main/flex/org/apache/flex/text/engine/ITextLine.as
index c9f6b2a..f451ee8 100644
--- a/frameworks/projects/Text/src/main/flex/org/apache/flex/text/engine/ITextLine.as
+++ b/frameworks/projects/Text/src/main/flex/org/apache/flex/text/engine/ITextLine.as
@@ -69,6 +69,8 @@ package org.apache.flex.text.engine
 		function getAtomTextRotation(atomIndex:int):String;
 		function getAtomWordBoundaryOnLeft(atomIndex:int):Boolean;
 		function getBaselinePosition(baseline:String):Number;
+		
+		[SWFOverride(returns="flash.geom.Rectangle",params="flash.display.DisplayObject",altparams="Object")]
 		function getBounds(ref:Object):Rectangle;
 		
 


[11/50] git commit: [flex-asjs] [refs/heads/tlf] - switch to using addRule so styles set up properly for JS

Posted by ah...@apache.org.
switch to using addRule so styles set up properly for 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/1ee9866b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1ee9866b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1ee9866b

Branch: refs/heads/tlf
Commit: 1ee9866b578146c8576cc23a30816bc1c0e86e1d
Parents: 7b26ee3
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 23 22:37:07 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 23 22:37:13 2017 -0700

----------------------------------------------------------------------
 .../src/main/flex/DataBindingExample.as         | 52 +++++++++++++-------
 1 file changed, 33 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1ee9866b/examples/flexjs/DataBindingExample_as/src/main/flex/DataBindingExample.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_as/src/main/flex/DataBindingExample.as b/examples/flexjs/DataBindingExample_as/src/main/flex/DataBindingExample.as
index 848b0ab..225271b 100644
--- a/examples/flexjs/DataBindingExample_as/src/main/flex/DataBindingExample.as
+++ b/examples/flexjs/DataBindingExample_as/src/main/flex/DataBindingExample.as
@@ -104,40 +104,44 @@ public class DataBindingExample extends Application
     private function setupStyles(vi:SimpleCSSValuesImpl):void
     {
         var viv:Object = vi.values = {};
-        viv["global"] =
+        vi.addRule("global",
         {
             fontFamily: "Arial",
             fontSize: 12
-        };
+        });
 
-        var o:Object;
-
-        o = viv[makeDefinitionName("org.apache.flex.html::Container")] =
+		var s:String = makeDefinitionName("org.apache.flex.html::Container");
+        vi.addRule(s,
         {
 
             iBeadView: ContainerView,
     		iBeadLayout: BasicLayout
-        };
+        });
 
+	   var o:Object;
        COMPILE::SWF {
+		    o = vi.values[s];
         	o.iContentView = ContainerContentArea;
          	o.iViewport = Viewport;
          	o.iViewportModel = ViewportModel;
          };
 
-        o = viv[makeDefinitionName("org.apache.flex.core::View")] =
+        s = makeDefinitionName("org.apache.flex.core::View");
+		vi.addRule(s,
         {
 
             iBeadView: GroupView,
     		iBeadLayout: BasicLayout
-        };
+        });
 
         COMPILE::SWF {
+		    o = vi.values[s];
             o.iBackgroundBead = SolidBackgroundBead;
             o.iBorderBead = SingleLineBorderBead;
         }
 
-        viv[makeDefinitionName("org.apache.flex.html::List")] =
+        s = makeDefinitionName("org.apache.flex.html::List");
+		vi.addRule(s,
         {
             iBeadModel: ArraySelectionModel,
             iBeadView:  ListView,
@@ -149,31 +153,41 @@ public class DataBindingExample extends Application
 			iViewportModel: ViewportModel,
             iItemRendererClassFactory: ItemRendererClassFactory,
             iItemRenderer: StringItemRenderer
-        };
+        });
 
-        o = viv[makeDefinitionName("org.apache.flex.html::Button")] =
+        s = makeDefinitionName("org.apache.flex.html::Button");
+		vi.addRule(s,
         {
             backgroundColor: 0xd8d8d8,
-            border: [1, "solid", 0x000000],
+			borderWidth: 1,
+			borderStyle: "solid",
+			borderColor: 0x000000,
             padding: 4
-        };
+        });
         COMPILE::SWF {
+		    o = vi.values[s];
             o.iBeadView = CSSButtonView;
         }
 
-        viv[makeDefinitionName("org.apache.flex.html::Button:hover")] =
+        s = makeDefinitionName("org.apache.flex.html::Button:hover");
+		vi.addRule(s,
         {
             backgroundColor: 0x9fa0a1,
-            border: [1, "solid", 0x000000],
+			borderWidth: 1,
+			borderStyle: "solid",
+			borderColor: 0x000000,
             padding: 4
-        };
+        });
 
-        viv[makeDefinitionName("org.apache.flex.html::Button:active")] =
+        s = makeDefinitionName("org.apache.flex.html::Button:active");
+		vi.addRule(s,
         {
             backgroundColor: 0x929496,
-            border: [1, "solid", 0x000000],
+			borderWidth: 1,
+			borderStyle: "solid",
+			borderColor: 0x000000,
             padding: 4
-        };
+        });
 
         COMPILE::SWF {
             viv["org.apache.flex.html::CheckBox"] =


[21/50] git commit: [flex-asjs] [refs/heads/tlf] - - Try to add Effects to Express module - Make method for event initialize in Exspress DataBindingExample

Posted by ah...@apache.org.
- Try to add Effects to Express module
- Make method for event initialize in Exspress DataBindingExample


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

Branch: refs/heads/tlf
Commit: 020e0ec5df3cd490885ad94de600697b69071739
Parents: ae2a0d8
Author: piotrz <pi...@apache.org>
Authored: Thu May 25 00:57:47 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Thu May 25 00:57:47 2017 +0200

----------------------------------------------------------------------
 .../src/main/flex/DataBindingExample.mxml              |  7 ++++++-
 .../src/main/flex/controllers/MyController.as          |  2 +-
 examples/express/pom.xml                               | 13 -------------
 frameworks/projects/Express/pom.xml                    | 13 +++++++++++++
 4 files changed, 20 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/020e0ec5/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml b/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
index 73cb453..a9b4783 100644
--- a/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
+++ b/examples/express/DataBindingExample/src/main/flex/DataBindingExample.mxml
@@ -22,7 +22,7 @@ limitations under the License.
                    xmlns:js="library://ns.apache.org/flexjs/express" 
                    xmlns:models="models.*" 
                    xmlns:controllers="controllers.*"
-                   initialize="MyModel(model).stockSymbol='ADBE'">
+                   initialize="onAppInitialize(event)">
     <js:initialView>
         <local:MyInitialView />
     </js:initialView>
@@ -48,5 +48,10 @@ limitations under the License.
     </js:beads>
     <fx:Script><![CDATA[
         import models.MyModel;
+
+        private function onAppInitialize(event:Event):void
+        {
+            MyModel(model).stockSymbol='ADBE';
+        }
         ]]></fx:Script>
 </js:Application>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/020e0ec5/examples/express/DataBindingExample/src/main/flex/controllers/MyController.as
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/src/main/flex/controllers/MyController.as b/examples/express/DataBindingExample/src/main/flex/controllers/MyController.as
index 6487908..6f952ed 100644
--- a/examples/express/DataBindingExample/src/main/flex/controllers/MyController.as
+++ b/examples/express/DataBindingExample/src/main/flex/controllers/MyController.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package controllers
 {
-	import org.apache.flex.events.Event;
+    import org.apache.flex.events.Event;
 
 	import org.apache.flex.core.Application;
 	import org.apache.flex.core.IDocument;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/020e0ec5/examples/express/pom.xml
----------------------------------------------------------------------
diff --git a/examples/express/pom.xml b/examples/express/pom.xml
index 151a212..70ca739 100644
--- a/examples/express/pom.xml
+++ b/examples/express/pom.xml
@@ -83,19 +83,6 @@
       <type>swc</type>
       <classifier>js</classifier>
     </dependency>
-	<dependency>
-        <groupId>org.apache.flex.flexjs.framework</groupId>
-        <artifactId>Effects</artifactId>
-        <version>0.8.0-SNAPSHOT</version>
-        <type>swc</type>
-    </dependency>
-	<dependency>
-        <groupId>org.apache.flex.flexjs.framework</groupId>
-        <artifactId>Effects</artifactId>
-        <version>0.8.0-SNAPSHOT</version>
-        <type>swc</type>
-        <classifier>js</classifier>
-    </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>Language</artifactId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/020e0ec5/frameworks/projects/Express/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Express/pom.xml b/frameworks/projects/Express/pom.xml
index 2cc358f..3615249 100644
--- a/frameworks/projects/Express/pom.xml
+++ b/frameworks/projects/Express/pom.xml
@@ -139,6 +139,19 @@
       <type>swc</type>
       <classifier>js</classifier>
     </dependency>
+    <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Effects</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Effects</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+      <classifier>js</classifier>
+    </dependency>
   </dependencies>
 
 </project>


[15/50] git commit: [flex-asjs] [refs/heads/tlf] - - Fixed some problems in the archetypes

Posted by ah...@apache.org.
- Fixed some problems in the archetypes


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

Branch: refs/heads/tlf
Commit: baa544c21715772f4eb3cee74a9ddc0e128fa2f0
Parents: c2eefaf
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed May 24 14:11:42 2017 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Wed May 24 14:11:42 2017 +0200

----------------------------------------------------------------------
 .../src/main/resources/META-INF/maven/archetype.xml |  1 +
 .../src/main/resources/archetype-resources/pom.xml  |  3 ---
 .../src/main/resources/META-INF/maven/archetype.xml |  1 +
 .../src/main/resources/archetype-resources/pom.xml  | 11 -----------
 .../src/main/resources/META-INF/maven/archetype.xml |  1 +
 .../src/main/resources/archetype-resources/pom.xml  | 16 +---------------
 6 files changed, 4 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/baa544c2/archetypes/flexjs-simple-application-archetype/src/main/resources/META-INF/maven/archetype.xml
----------------------------------------------------------------------
diff --git a/archetypes/flexjs-simple-application-archetype/src/main/resources/META-INF/maven/archetype.xml b/archetypes/flexjs-simple-application-archetype/src/main/resources/META-INF/maven/archetype.xml
index e765a36..7c92985 100644
--- a/archetypes/flexjs-simple-application-archetype/src/main/resources/META-INF/maven/archetype.xml
+++ b/archetypes/flexjs-simple-application-archetype/src/main/resources/META-INF/maven/archetype.xml
@@ -22,6 +22,7 @@
            xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0 http://maven.apache.org/xsd/archetype-1.0.0.xsd">
   <id>flexjs-simple-application-archetype</id>
   <resources>
+    <resource>.mvn/extensions.xml</resource>
     <resource>src/main/flex/App.mxml</resource>
   </resources>
 </archetype>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/baa544c2/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
index 1e69b25..fc47d37 100644
--- a/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
@@ -29,7 +29,6 @@
 
   <properties>
     <compiler.debug>true</compiler.debug>
-    <compiler.output-dir>target/javascript/bin/js-debug</compiler.output-dir>
   </properties>
 
   <build>
@@ -84,7 +83,6 @@
       <artifactId>Language</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
-      <classifier>js</classifier>
     </dependency>
   </dependencies>
 
@@ -93,7 +91,6 @@
       <id>release</id>
       <properties>
         <compiler.debug>false</compiler.debug>
-        <compiler.output-dir>target/javascript/bin/js-release</compiler.output-dir>
       </properties>
     </profile>
   </profiles>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/baa544c2/archetypes/flexjs-simple-application-pure-js-archetype/src/main/resources/META-INF/maven/archetype.xml
----------------------------------------------------------------------
diff --git a/archetypes/flexjs-simple-application-pure-js-archetype/src/main/resources/META-INF/maven/archetype.xml b/archetypes/flexjs-simple-application-pure-js-archetype/src/main/resources/META-INF/maven/archetype.xml
index e765a36..7c92985 100644
--- a/archetypes/flexjs-simple-application-pure-js-archetype/src/main/resources/META-INF/maven/archetype.xml
+++ b/archetypes/flexjs-simple-application-pure-js-archetype/src/main/resources/META-INF/maven/archetype.xml
@@ -22,6 +22,7 @@
            xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0 http://maven.apache.org/xsd/archetype-1.0.0.xsd">
   <id>flexjs-simple-application-archetype</id>
   <resources>
+    <resource>.mvn/extensions.xml</resource>
     <resource>src/main/flex/App.mxml</resource>
   </resources>
 </archetype>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/baa544c2/archetypes/flexjs-simple-application-pure-js-archetype/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/archetypes/flexjs-simple-application-pure-js-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/flexjs-simple-application-pure-js-archetype/src/main/resources/archetype-resources/pom.xml
index 8715462..c58ee01 100644
--- a/archetypes/flexjs-simple-application-pure-js-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/flexjs-simple-application-pure-js-archetype/src/main/resources/archetype-resources/pom.xml
@@ -29,7 +29,6 @@
 
   <properties>
     <compiler.debug>true</compiler.debug>
-    <compiler.output-dir>target/javascript/bin/js-debug</compiler.output-dir>
   </properties>
 
   <build>
@@ -64,15 +63,6 @@
       <type>swc</type>
     </dependency>
 
-    <!-- Needed for Flash compilation -->
-    <dependency>
-      <groupId>com.adobe.flash.framework</groupId>
-      <artifactId>playerglobal</artifactId>
-      <version>${flash.version}</version>
-      <type>swc</type>
-      <scope>provided</scope>
-    </dependency>
-
     <!-- Needed for JavaScript compilation -->
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -93,7 +83,6 @@
       <id>release</id>
       <properties>
         <compiler.debug>false</compiler.debug>
-        <compiler.output-dir>target/javascript/bin/js-release</compiler.output-dir>
       </properties>
     </profile>
   </profiles>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/baa544c2/archetypes/flexjs-simple-application-pure-swf-archetype/src/main/resources/META-INF/maven/archetype.xml
----------------------------------------------------------------------
diff --git a/archetypes/flexjs-simple-application-pure-swf-archetype/src/main/resources/META-INF/maven/archetype.xml b/archetypes/flexjs-simple-application-pure-swf-archetype/src/main/resources/META-INF/maven/archetype.xml
index e765a36..7c92985 100644
--- a/archetypes/flexjs-simple-application-pure-swf-archetype/src/main/resources/META-INF/maven/archetype.xml
+++ b/archetypes/flexjs-simple-application-pure-swf-archetype/src/main/resources/META-INF/maven/archetype.xml
@@ -22,6 +22,7 @@
            xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0 http://maven.apache.org/xsd/archetype-1.0.0.xsd">
   <id>flexjs-simple-application-archetype</id>
   <resources>
+    <resource>.mvn/extensions.xml</resource>
     <resource>src/main/flex/App.mxml</resource>
   </resources>
 </archetype>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/baa544c2/archetypes/flexjs-simple-application-pure-swf-archetype/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/archetypes/flexjs-simple-application-pure-swf-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/flexjs-simple-application-pure-swf-archetype/src/main/resources/archetype-resources/pom.xml
index 70fe474..d096bae 100644
--- a/archetypes/flexjs-simple-application-pure-swf-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/flexjs-simple-application-pure-swf-archetype/src/main/resources/archetype-resources/pom.xml
@@ -37,7 +37,7 @@
         <extensions>true</extensions>
         <configuration>
           <mainClass>App.mxml</mainClass>
-          <targets>JSFlex</targets>
+          <targets>SWF</targets>
         </configuration>
         <dependencies>
           <dependency>
@@ -66,20 +66,6 @@
       <type>swc</type>
       <scope>provided</scope>
     </dependency>
-
-    <!-- Needed for JavaScript compilation -->
-    <dependency>
-      <groupId>org.apache.flex.flexjs.framework</groupId>
-      <artifactId>HTML</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
-      <type>swc</type>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.flex.flexjs.framework</groupId>
-      <artifactId>Language</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
-      <type>swc</type>
-    </dependency>
   </dependencies>
 
 </project>
\ No newline at end of file


[27/50] git commit: [flex-asjs] [refs/heads/tlf] - set imagebutton padding to zero

Posted by ah...@apache.org.
set imagebutton padding to zero


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

Branch: refs/heads/tlf
Commit: 8cfef0691c9ce71e72203e5c29fb50c77eaca8f6
Parents: 7e415e0
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 24 21:41:50 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 24 21:41:59 2017 -0700

----------------------------------------------------------------------
 frameworks/projects/Basic/src/main/resources/defaults.css | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8cfef069/frameworks/projects/Basic/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/resources/defaults.css b/frameworks/projects/Basic/src/main/resources/defaults.css
index 90f0ccb..e38763c 100644
--- a/frameworks/projects/Basic/src/main/resources/defaults.css
+++ b/frameworks/projects/Basic/src/main/resources/defaults.css
@@ -323,16 +323,19 @@ ImageButton
 {
 	IBeadModel: ClassReference("org.apache.flex.html.beads.models.ImageModel");
 	border-style: none;
+	padding: 0px;
 }
 
 ImageButton:hover
 {
 	border-style: none;
+	padding: 0px;
 }
 
 ImageButton:active
 {
 	border-style: none;
+	padding: 0px;
 }
 
 VContainer


[49/50] git commit: [flex-asjs] [refs/heads/tlf] - absolute position each textline

Posted by ah...@apache.org.
absolute position each textline


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

Branch: refs/heads/tlf
Commit: 55ce91f0e45c0c243ac5f2904a6cbae74694dddf
Parents: 1fb7765
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 12:43:53 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 12:43:53 2017 -0700

----------------------------------------------------------------------
 .../main/flex/org/apache/flex/text/html/TextLine.as | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/55ce91f0/frameworks/projects/Text/src/main/flex/org/apache/flex/text/html/TextLine.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Text/src/main/flex/org/apache/flex/text/html/TextLine.as b/frameworks/projects/Text/src/main/flex/org/apache/flex/text/html/TextLine.as
index 9fe6de3..40135d6 100644
--- a/frameworks/projects/Text/src/main/flex/org/apache/flex/text/html/TextLine.as
+++ b/frameworks/projects/Text/src/main/flex/org/apache/flex/text/html/TextLine.as
@@ -25,6 +25,10 @@ package org.apache.flex.text.html
 		import flash.text.TextFormat;
 		import flash.text.TextFieldAutoSize;
 	}
+	COMPILE::JS
+	{
+		import org.apache.flex.core.WrappedHTMLElement;
+	}
 	
 	import org.apache.flex.text.engine.ElementFormat;
 	import org.apache.flex.text.engine.ITextLine;
@@ -63,6 +67,18 @@ package org.apache.flex.text.html
 			_textBlock = textBlock;
 			_beginIndex = beginIndex;
 		}
+		
+		/**
+		 * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+		 */
+		COMPILE::JS
+        override protected function createElement():WrappedHTMLElement
+		{
+			var e:WrappedHTMLElement = super.createElement();
+			e.style.position = "absolute";
+			return e;
+		}
+			
 		public function get ascent():Number
 		{
 			COMPILE::SWF


[10/50] git commit: [flex-asjs] [refs/heads/tlf] - - Fix issue in flexjs-simple-application-archetype where missing classifier for Language module caused build fail

Posted by ah...@apache.org.
- Fix issue in flexjs-simple-application-archetype where missing classifier for Language module caused build fail


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

Branch: refs/heads/tlf
Commit: 90eda31d49ef8973d35c029144aeb5c6b2709649
Parents: 7568d81
Author: piotrz <pi...@apache.org>
Authored: Wed May 24 07:13:43 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Wed May 24 07:13:43 2017 +0200

----------------------------------------------------------------------
 .../src/main/resources/archetype-resources/pom.xml                  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/90eda31d/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
index 67e4e6d..1e69b25 100644
--- a/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml
@@ -84,6 +84,7 @@
       <artifactId>Language</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>js</classifier>
     </dependency>
   </dependencies>
 


[28/50] git commit: [flex-asjs] [refs/heads/tlf] - try to fix examples build for maven

Posted by ah...@apache.org.
try to fix examples build for maven


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

Branch: refs/heads/tlf
Commit: 472f6d5aafdee1b5d3d11e8ad1019ad7dcb6f4a4
Parents: 8cfef06
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 24 23:19:38 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 24 23:19:48 2017 -0700

----------------------------------------------------------------------
 examples/express/DataBindingExample/pom.xml              | 1 +
 examples/express/pom.xml                                 | 3 +++
 examples/flexjs/ASDoc/pom.xml                            | 1 +
 examples/flexjs/ChartExample/pom.xml                     | 1 +
 examples/flexjs/CordovaCameraExample/pom.xml             | 1 +
 examples/flexjs/CreateJSExample/pom.xml                  | 1 +
 examples/flexjs/DataBindingExample/pom.xml               | 1 +
 examples/flexjs/DataBindingExampleWithFlexLayout/pom.xml | 1 +
 examples/flexjs/DataBindingExample_Flat/pom.xml          | 2 ++
 examples/flexjs/DataBindingExample_as/pom.xml            | 1 +
 examples/flexjs/DateControlsExample/pom.xml              | 1 +
 examples/flexjs/DesktopMap/pom.xml                       | 1 +
 examples/flexjs/FlexJSStore/pom.xml                      | 4 ++++
 examples/flexjs/FlexJSStore_jquery/pom.xml               | 5 +++++
 examples/flexjs/FlexTeamPage_MDL/pom.xml                 | 3 +++
 examples/flexjs/FlexWebsiteStatsViewer/pom.xml           | 2 ++
 examples/flexjs/ListExample/pom.xml                      | 1 +
 examples/flexjs/MDLBlogExample/pom.xml                   | 1 +
 examples/flexjs/MDLDynamicTabsExample/pom.xml            | 1 +
 examples/flexjs/MDLExample/pom.xml                       | 1 +
 examples/flexjs/MapSearch/pom.xml                        | 1 +
 examples/flexjs/MobileMap/pom.xml                        | 2 ++
 examples/flexjs/MobileStocks/pom.xml                     | 5 +++++
 examples/flexjs/MobileTrader/pom.xml                     | 3 +++
 examples/flexjs/StorageExample/pom.xml                   | 1 +
 examples/flexjs/StyleExample/pom.xml                     | 1 +
 examples/flexjs/TeamPage/pom.xml                         | 1 +
 examples/flexjs/pom.xml                                  | 6 ++++++
 28 files changed, 53 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/express/DataBindingExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/pom.xml b/examples/express/DataBindingExample/pom.xml
index 38082f0..50fa559 100644
--- a/examples/express/DataBindingExample/pom.xml
+++ b/examples/express/DataBindingExample/pom.xml
@@ -61,6 +61,7 @@
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
+      <classifier>swf</classifier>
       <type>swc</type>
     </dependency>
     <dependency>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/express/pom.xml
----------------------------------------------------------------------
diff --git a/examples/express/pom.xml b/examples/express/pom.xml
index 9b88e4d..ed732ed 100644
--- a/examples/express/pom.xml
+++ b/examples/express/pom.xml
@@ -75,6 +75,7 @@
       <artifactId>Effects</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -88,6 +89,7 @@
       <artifactId>Express</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -101,6 +103,7 @@
       <artifactId>Language</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/ASDoc/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ASDoc/pom.xml b/examples/flexjs/ASDoc/pom.xml
index 42c49fb..e39290f 100644
--- a/examples/flexjs/ASDoc/pom.xml
+++ b/examples/flexjs/ASDoc/pom.xml
@@ -54,6 +54,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/ChartExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ChartExample/pom.xml b/examples/flexjs/ChartExample/pom.xml
index 82f878e..a9044b2 100644
--- a/examples/flexjs/ChartExample/pom.xml
+++ b/examples/flexjs/ChartExample/pom.xml
@@ -67,6 +67,7 @@
       <artifactId>Charts</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/CordovaCameraExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/pom.xml b/examples/flexjs/CordovaCameraExample/pom.xml
index 00feb28..fcea62e 100644
--- a/examples/flexjs/CordovaCameraExample/pom.xml
+++ b/examples/flexjs/CordovaCameraExample/pom.xml
@@ -65,6 +65,7 @@
       <artifactId>Mobile</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/CreateJSExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/pom.xml b/examples/flexjs/CreateJSExample/pom.xml
index 5ec8eb4..dcae6d8 100644
--- a/examples/flexjs/CreateJSExample/pom.xml
+++ b/examples/flexjs/CreateJSExample/pom.xml
@@ -67,6 +67,7 @@
       <artifactId>CreateJS</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/DataBindingExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample/pom.xml b/examples/flexjs/DataBindingExample/pom.xml
index d31bf2c..3c853e3 100644
--- a/examples/flexjs/DataBindingExample/pom.xml
+++ b/examples/flexjs/DataBindingExample/pom.xml
@@ -61,6 +61,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/DataBindingExampleWithFlexLayout/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExampleWithFlexLayout/pom.xml b/examples/flexjs/DataBindingExampleWithFlexLayout/pom.xml
index a0a4bf2..c9acb19 100644
--- a/examples/flexjs/DataBindingExampleWithFlexLayout/pom.xml
+++ b/examples/flexjs/DataBindingExampleWithFlexLayout/pom.xml
@@ -61,6 +61,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/DataBindingExample_Flat/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_Flat/pom.xml b/examples/flexjs/DataBindingExample_Flat/pom.xml
index fdef2d0..87dc4ed 100644
--- a/examples/flexjs/DataBindingExample_Flat/pom.xml
+++ b/examples/flexjs/DataBindingExample_Flat/pom.xml
@@ -111,6 +111,7 @@
       <artifactId>Flat</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -124,6 +125,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/DataBindingExample_as/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_as/pom.xml b/examples/flexjs/DataBindingExample_as/pom.xml
index 5189b55..b7745d5 100644
--- a/examples/flexjs/DataBindingExample_as/pom.xml
+++ b/examples/flexjs/DataBindingExample_as/pom.xml
@@ -88,6 +88,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/DateControlsExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DateControlsExample/pom.xml b/examples/flexjs/DateControlsExample/pom.xml
index d786fc4..434a404 100644
--- a/examples/flexjs/DateControlsExample/pom.xml
+++ b/examples/flexjs/DateControlsExample/pom.xml
@@ -64,6 +64,7 @@
       <artifactId>Formatters</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/DesktopMap/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DesktopMap/pom.xml b/examples/flexjs/DesktopMap/pom.xml
index e8c7a57..bc29871 100644
--- a/examples/flexjs/DesktopMap/pom.xml
+++ b/examples/flexjs/DesktopMap/pom.xml
@@ -68,6 +68,7 @@
       <artifactId>GoogleMaps</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/FlexJSStore/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/pom.xml b/examples/flexjs/FlexJSStore/pom.xml
index f01d9eb..587b585 100644
--- a/examples/flexjs/FlexJSStore/pom.xml
+++ b/examples/flexjs/FlexJSStore/pom.xml
@@ -88,6 +88,7 @@
       <artifactId>DragDrop</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -101,6 +102,7 @@
       <artifactId>Effects</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -114,6 +116,7 @@
       <artifactId>Formatters</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -127,6 +130,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/FlexJSStore_jquery/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/pom.xml b/examples/flexjs/FlexJSStore_jquery/pom.xml
index 8610ba0..5666ab3 100644
--- a/examples/flexjs/FlexJSStore_jquery/pom.xml
+++ b/examples/flexjs/FlexJSStore_jquery/pom.xml
@@ -76,6 +76,7 @@
       <artifactId>DragDrop</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -89,6 +90,7 @@
       <artifactId>Effects</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -102,6 +104,7 @@
       <artifactId>Formatters</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -115,6 +118,7 @@
       <artifactId>JQuery</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -128,6 +132,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/FlexTeamPage_MDL/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexTeamPage_MDL/pom.xml b/examples/flexjs/FlexTeamPage_MDL/pom.xml
index 61b1dd6..f007280 100644
--- a/examples/flexjs/FlexTeamPage_MDL/pom.xml
+++ b/examples/flexjs/FlexTeamPage_MDL/pom.xml
@@ -68,6 +68,7 @@
       <artifactId>MaterialDesignLite</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -81,6 +82,7 @@
       <artifactId>FontAwesome</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -94,6 +96,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml b/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
index 9a596d2..8cc4999 100644
--- a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
+++ b/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
@@ -62,6 +62,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -75,6 +76,7 @@
       <artifactId>Charts</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/ListExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ListExample/pom.xml b/examples/flexjs/ListExample/pom.xml
index cc02992..2ff1a6c 100644
--- a/examples/flexjs/ListExample/pom.xml
+++ b/examples/flexjs/ListExample/pom.xml
@@ -65,6 +65,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/MDLBlogExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLBlogExample/pom.xml b/examples/flexjs/MDLBlogExample/pom.xml
index 654f05a..f878681 100644
--- a/examples/flexjs/MDLBlogExample/pom.xml
+++ b/examples/flexjs/MDLBlogExample/pom.xml
@@ -68,6 +68,7 @@
       <artifactId>MaterialDesignLite</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>js</classifier>
     </dependency>
 
     <!-- Needed for Flash compilation -->

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/MDLDynamicTabsExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLDynamicTabsExample/pom.xml b/examples/flexjs/MDLDynamicTabsExample/pom.xml
index 364335d..c6f0e87 100644
--- a/examples/flexjs/MDLDynamicTabsExample/pom.xml
+++ b/examples/flexjs/MDLDynamicTabsExample/pom.xml
@@ -72,6 +72,7 @@
       <artifactId>MaterialDesignLite</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/MDLExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/pom.xml b/examples/flexjs/MDLExample/pom.xml
index c91c98a..3bb8d2b 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -68,6 +68,7 @@
       <artifactId>MaterialDesignLite</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/MapSearch/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MapSearch/pom.xml b/examples/flexjs/MapSearch/pom.xml
index c58a0f1..7bf36f9 100644
--- a/examples/flexjs/MapSearch/pom.xml
+++ b/examples/flexjs/MapSearch/pom.xml
@@ -72,6 +72,7 @@
       <artifactId>GoogleMaps</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/MobileMap/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileMap/pom.xml b/examples/flexjs/MobileMap/pom.xml
index 7a07308..151dc16 100644
--- a/examples/flexjs/MobileMap/pom.xml
+++ b/examples/flexjs/MobileMap/pom.xml
@@ -70,6 +70,7 @@
       <artifactId>Mobile</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -83,6 +84,7 @@
       <artifactId>GoogleMaps</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/MobileStocks/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileStocks/pom.xml b/examples/flexjs/MobileStocks/pom.xml
index c6cecee..53632f8 100644
--- a/examples/flexjs/MobileStocks/pom.xml
+++ b/examples/flexjs/MobileStocks/pom.xml
@@ -72,6 +72,7 @@
       <artifactId>Charts</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -85,6 +86,7 @@
       <artifactId>Mobile</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -98,6 +100,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -111,6 +114,7 @@
       <artifactId>Storage</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -124,6 +128,7 @@
       <artifactId>XML</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/MobileTrader/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/pom.xml b/examples/flexjs/MobileTrader/pom.xml
index d9d4302..465ca82 100644
--- a/examples/flexjs/MobileTrader/pom.xml
+++ b/examples/flexjs/MobileTrader/pom.xml
@@ -72,6 +72,7 @@
       <artifactId>Charts</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -85,6 +86,7 @@
       <artifactId>Mobile</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -98,6 +100,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/StorageExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/pom.xml b/examples/flexjs/StorageExample/pom.xml
index be6c608..08460ee 100644
--- a/examples/flexjs/StorageExample/pom.xml
+++ b/examples/flexjs/StorageExample/pom.xml
@@ -65,6 +65,7 @@
       <artifactId>Storage</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/StyleExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StyleExample/pom.xml b/examples/flexjs/StyleExample/pom.xml
index f7646ce..92a1310 100644
--- a/examples/flexjs/StyleExample/pom.xml
+++ b/examples/flexjs/StyleExample/pom.xml
@@ -73,6 +73,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/TeamPage/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TeamPage/pom.xml b/examples/flexjs/TeamPage/pom.xml
index a765a8e..233315e 100644
--- a/examples/flexjs/TeamPage/pom.xml
+++ b/examples/flexjs/TeamPage/pom.xml
@@ -64,6 +64,7 @@
       <artifactId>Network</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/472f6d5a/examples/flexjs/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/pom.xml b/examples/flexjs/pom.xml
index d3c0ba9..d374790 100644
--- a/examples/flexjs/pom.xml
+++ b/examples/flexjs/pom.xml
@@ -102,6 +102,7 @@
       <artifactId>Core</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -115,6 +116,7 @@
       <artifactId>Language</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -128,6 +130,7 @@
       <artifactId>HTML</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -141,6 +144,7 @@
       <artifactId>Collections</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -154,6 +158,7 @@
       <artifactId>Binding</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
@@ -167,6 +172,7 @@
       <artifactId>Graphics</artifactId>
       <version>0.8.0-SNAPSHOT</version>
       <type>swc</type>
+      <classifier>swf</classifier>
     </dependency>
     <dependency>
         <groupId>org.apache.flex.flexjs.framework</groupId>


[19/50] git commit: [flex-asjs] [refs/heads/tlf] - Move Effects to parent pom to see if it helps fix Express DataBindingExample

Posted by ah...@apache.org.
Move Effects to parent pom to see if it helps fix Express DataBindingExample


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

Branch: refs/heads/tlf
Commit: 5bdf388964354ba8912f0312209d4fa873a26e5c
Parents: 5124818
Author: piotrz <pi...@apache.org>
Authored: Thu May 25 00:26:54 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Thu May 25 00:26:54 2017 +0200

----------------------------------------------------------------------
 examples/express/DataBindingExample/pom.xml | 14 +-------------
 examples/express/pom.xml                    | 13 +++++++++++++
 2 files changed, 14 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5bdf3889/examples/express/DataBindingExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/pom.xml b/examples/express/DataBindingExample/pom.xml
index 133bbf4..cda898b 100644
--- a/examples/express/DataBindingExample/pom.xml
+++ b/examples/express/DataBindingExample/pom.xml
@@ -42,6 +42,7 @@
         <extensions>true</extensions>
         <configuration>
           <mainClass>DataBindingExample.mxml</mainClass>
+		  <targets>SWF</targets>
         </configuration>
       </plugin>
     </plugins>
@@ -69,19 +70,6 @@
         <type>swc</type>
         <classifier>js</classifier>
     </dependency>
-	<dependency>
-        <groupId>org.apache.flex.flexjs.framework</groupId>
-        <artifactId>Effects</artifactId>
-        <version>0.8.0-SNAPSHOT</version>
-        <type>swc</type>
-    </dependency>
-	<dependency>
-        <groupId>org.apache.flex.flexjs.framework</groupId>
-        <artifactId>Effects</artifactId>
-        <version>0.8.0-SNAPSHOT</version>
-        <type>swc</type>
-        <classifier>js</classifier>
-    </dependency>
   </dependencies>
 
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5bdf3889/examples/express/pom.xml
----------------------------------------------------------------------
diff --git a/examples/express/pom.xml b/examples/express/pom.xml
index 70ca739..151a212 100644
--- a/examples/express/pom.xml
+++ b/examples/express/pom.xml
@@ -83,6 +83,19 @@
       <type>swc</type>
       <classifier>js</classifier>
     </dependency>
+	<dependency>
+        <groupId>org.apache.flex.flexjs.framework</groupId>
+        <artifactId>Effects</artifactId>
+        <version>0.8.0-SNAPSHOT</version>
+        <type>swc</type>
+    </dependency>
+	<dependency>
+        <groupId>org.apache.flex.flexjs.framework</groupId>
+        <artifactId>Effects</artifactId>
+        <version>0.8.0-SNAPSHOT</version>
+        <type>swc</type>
+        <classifier>js</classifier>
+    </dependency>
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>Language</artifactId>


[36/50] git commit: [flex-asjs] [refs/heads/tlf] - RELEASE_NOTES: added Express and MDL component sets to list of new features

Posted by ah...@apache.org.
RELEASE_NOTES: added Express and MDL component sets to list of new features


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

Branch: refs/heads/tlf
Commit: ff24a87c6f7ecc4109e8206849a4efd16889ef72
Parents: 598e94d
Author: Josh Tynjala <jo...@apache.org>
Authored: Tue May 30 08:13:52 2017 -0700
Committer: Josh Tynjala <jo...@apache.org>
Committed: Tue May 30 08:13:52 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff24a87c/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 2b296cd..70ac15a 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -1,5 +1,5 @@
 Apache FlexJS 0.8.0
-=================
+===================
 
 Apache FlexJS is a next-generation Flex SDK that provides the capability
 to cross-compile MXML and AS applications to HTML/JS/CSS so they can run
@@ -10,7 +10,9 @@ It is an ‘beta’ type of release.   Expect to find lots of bugs and missing
 features.
 
 New Features
-=================
+============
+- Introducing the new "Express" component set, which is designed for rapid application development. It includes more beads by default than the "Basic" component set to help you get started building FlexJS applications faster.
+- The new "Material Design Lite" component set brings Google's Material Design system to FlexJS.
 - More complete Reflection implementation with access to static members, kept metadata and method parameters
 - Added cross-platform registerClassAlias/getAliasByClass/getClassByAlias implementations (reflection package)
 - Added support for interpreting XML literals as JSX by adding [JSX] metadata to a function.


[29/50] git commit: [flex-asjs] [refs/heads/tlf] - sync up FlexJSStore

Posted by ah...@apache.org.
sync up FlexJSStore


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

Branch: refs/heads/tlf
Commit: de35a07ffc580f8f9aa82cbd0773d4f58cea2fdf
Parents: 472f6d5
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 25 00:18:21 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 25 00:18:38 2017 -0700

----------------------------------------------------------------------
 .../src/main/flex/productsView/ProductCart.mxml  |  2 +-
 .../flex/samples/flexstore/ProductThumbEvent.as  | 19 ++++++++++---------
 2 files changed, 11 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/de35a07f/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCart.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCart.mxml b/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCart.mxml
index 3469806..5df06d8 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCart.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCart.mxml
@@ -96,7 +96,7 @@ limitations under the License.
         removeProduct="productListEventHandler(event)"
         showQuantity="true" />
     
-    <js:Container style="right:0" id="totalContainer">
+    <js:Container style="right:0" id="totalContainer" width="100%" height="60">
         <js:beads>
             <js:VerticalColumnLayout numColumns="2" />
         </js:beads>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/de35a07f/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as b/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as
index e2838f9..19b5951 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as
+++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as
@@ -18,8 +18,9 @@
 ////////////////////////////////////////////////////////////////////////////////
 package samples.flexstore
 {
-
+    
 import org.apache.flex.events.Event;
+import org.apache.flex.events.IFlexJSEvent;
 
 public class ProductThumbEvent extends Event
 {
@@ -27,19 +28,19 @@ public class ProductThumbEvent extends Event
     public static const COMPARE:String = "compare";
     public static const DETAILS:String = "details";
     public static const BROWSE:String = "browse";
-
+    
     public var product:Product;
-
+    
     public function ProductThumbEvent(type:String, product:Product)
     {
         super(type);
         this.product = product;
     }
-
-    //override public function cloneEvent():Event
-    //{
-    //    return new ProductThumbEvent(type, product);
-    //}
+    
+    override public function cloneEvent():IFlexJSEvent
+    {
+        return new ProductThumbEvent(type, product);
+    }
 }
 
-}
+}
\ No newline at end of file


[34/50] git commit: [flex-asjs] [refs/heads/tlf] - Disable Adobe Fontkit library - replacement will be implemented as part of FLEX-35315

Posted by ah...@apache.org.
Disable Adobe Fontkit library - replacement will be implemented as part of FLEX-35315


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

Branch: refs/heads/tlf
Commit: de199f99ea2337abd32c911bf835eb35a1ec62c0
Parents: 6fb50e9
Author: piotrz <pi...@apache.org>
Authored: Mon May 29 21:23:50 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Mon May 29 21:23:50 2017 +0200

----------------------------------------------------------------------
 distribution/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/de199f99/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 2661461..0100bc5 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -645,12 +645,12 @@
           <type>zip</type>
         </dependency>
 
-        <dependency>
+      <!--  <dependency>
           <groupId>com.adobe</groupId>
           <artifactId>fontkit</artifactId>
           <version>1.0</version>
         </dependency>
-
+          -->
         <dependency>
           <groupId>com.adobe.air</groupId>
           <artifactId>templates</artifactId>


[18/50] git commit: [flex-asjs] [refs/heads/tlf] - Fix Express DataBindingExample adding missing dependencies to Effects

Posted by ah...@apache.org.
Fix Express DataBindingExample adding missing dependencies to Effects


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

Branch: refs/heads/tlf
Commit: 512481811da7bdec5b0a2d6e454912678f8351e2
Parents: 9feb33d
Author: piotrz <pi...@apache.org>
Authored: Wed May 24 23:57:23 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Wed May 24 23:57:23 2017 +0200

----------------------------------------------------------------------
 examples/express/DataBindingExample/pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/51248181/examples/express/DataBindingExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/express/DataBindingExample/pom.xml b/examples/express/DataBindingExample/pom.xml
index bf040ce..133bbf4 100644
--- a/examples/express/DataBindingExample/pom.xml
+++ b/examples/express/DataBindingExample/pom.xml
@@ -69,6 +69,19 @@
         <type>swc</type>
         <classifier>js</classifier>
     </dependency>
+	<dependency>
+        <groupId>org.apache.flex.flexjs.framework</groupId>
+        <artifactId>Effects</artifactId>
+        <version>0.8.0-SNAPSHOT</version>
+        <type>swc</type>
+    </dependency>
+	<dependency>
+        <groupId>org.apache.flex.flexjs.framework</groupId>
+        <artifactId>Effects</artifactId>
+        <version>0.8.0-SNAPSHOT</version>
+        <type>swc</type>
+        <classifier>js</classifier>
+    </dependency>
   </dependencies>
 
 </project>


[37/50] git commit: [flex-asjs] [refs/heads/tlf] - point and rect have to subclass and override flash.geom point and rect

Posted by ah...@apache.org.
point and rect have to subclass and override flash.geom point and rect


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

Branch: refs/heads/tlf
Commit: 9c58972f1ae925d380deb25c04d1cf081069f776
Parents: c929c6f
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 11:29:22 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 11:29:22 2017 -0700

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/geom/Point.as |  57 +++++++++
 .../main/flex/org/apache/flex/geom/Rectangle.as | 121 +++++++++++++++++++
 2 files changed, 178 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9c58972f/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Point.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Point.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Point.as
index 460caa5..0149a0e 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Point.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Point.as
@@ -19,6 +19,62 @@
 package org.apache.flex.geom
 {
 
+COMPILE::SWF
+{
+import flash.geom.Point;		
+}
+
+/**
+ *  The Point class is a utility class for holding x and y values, not that you
+ *  can't use it to hold a width and height value.  
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+COMPILE::SWF
+public class Point extends flash.geom.Point
+{
+	public function Point(x:Number = 0, y:Number = 0)
+	{
+		super(x, y);
+	}
+	
+	public static function interpolate(pt1:org.apache.flex.geom.Point, pt2:org.apache.flex.geom.Point, f:Number):org.apache.flex.geom.Point
+	{
+		return new org.apache.flex.geom.Point(pt2.x + f * (pt1.x - pt2.x),pt2.y + f * (pt1.y - pt2.y));
+	}
+	
+	public static function distance(pt1:org.apache.flex.geom.Point, pt2:org.apache.flex.geom.Point):Number
+	{
+		return pt1.subtract(pt2).length;
+	}
+	
+	public static function polar(len:Number, angle:Number):org.apache.flex.geom.Point
+	{
+		return new org.apache.flex.geom.Point(len * Math.cos(angle),len * Math.sin(angle));
+	}
+	
+	[SWFOverride(returns="flash.geom.Point")]
+	override public function clone():org.apache.flex.geom.Point
+	{
+		return new org.apache.flex.geom.Point(x,y);
+	}
+	
+	[SWFOverride(returns="flash.geom.Point",params="flash.geom.Point",altparams="org.apache.flex.geom.Point")]
+	override public function subtract(v:org.apache.flex.geom.Point):org.apache.flex.geom.Point
+	{
+		return new org.apache.flex.geom.Point(x - v.x, y - v.y);
+	}
+	
+	[SWFOverride(returns="flash.geom.Point",params="flash.geom.Point",altparams="org.apache.flex.geom.Point")]
+	override public function add(v:org.apache.flex.geom.Point):org.apache.flex.geom.Point
+	{
+		return new org.apache.flex.geom.Point(x + v.x, y + v.y);
+	}
+	
+}
 
 /**
  *  The Point class is a utility class for holding x and y values, not that you
@@ -29,6 +85,7 @@ package org.apache.flex.geom
  *  @playerversion AIR 2.6
  *  @productversion FlexJS 0.0
  */
+COMPILE::JS
 public class Point
 {
     public function Point(x:Number = 0, y:Number = 0)

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9c58972f/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Rectangle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Rectangle.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Rectangle.as
index 99ed348..4f41c8a 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Rectangle.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Rectangle.as
@@ -18,7 +18,127 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.geom
 {
+	COMPILE::SWF
+	{
+		import flash.geom.Rectangle;	
+	}
+	
+	/**
+	 *  The Rectangle class is a utility class for holding four coordinates of
+	 *  a rectangle
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.2
+	 *  @playerversion AIR 2.6
+	 *  @productversion FlexJS 0.0
+	 */
+	COMPILE::SWF
+	public class Rectangle extends flash.geom.Rectangle
+	{
+		public function Rectangle(x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0)
+		{
+			super(x, y, width, height);
+		}
+		
+		[SWFOverride(returns="flash.geom.Rectangle")]
+		override public function clone():org.apache.flex.geom.Rectangle
+		{
+			return new org.apache.flex.geom.Rectangle(x,y,width,height);
+		}
 
+		[SWFOverride(returns="flash.geom.Point")]
+		override public function get topLeft():Point
+		{
+			return new Point(x, y);
+		}
+		
+		[SWFOverride(params="flash.geom.Point",altparams="org.apache.flex.geom.Point")]
+		override public function set topLeft(value:Point):void
+		{
+			super.topLeft = value;
+		}
+		
+		[SWFOverride(returns="flash.geom.Point")]
+		override public function get bottomRight():Point
+		{
+			return new Point(right, bottom);
+		}
+		
+		[SWFOverride(params="flash.geom.Point",altparams="org.apache.flex.geom.Point")]
+		override public function set bottomRight(value:Point):void
+		{
+			super.bottomRight = value;
+		}
+		
+		[SWFOverride(returns="flash.geom.Point")]
+		override public function get size():Point
+		{
+			return new Point(width, height);
+		}
+		
+		[SWFOverride(params="flash.geom.Point",altparams="org.apache.flex.geom.Point")]
+		override public function set size(value:org.apache.flex.geom.Point):void
+		{
+			super.size = value;
+		}
+		
+		[SWFOverride(returns="flash.geom.Rectangle",params="flash.geom.Rectangle",altparams="org.apache.flex.geom.Rectangle")]
+		override public function intersection(toIntersect:org.apache.flex.geom.Rectangle):org.apache.flex.geom.Rectangle
+		{
+			var result:org.apache.flex.geom.Rectangle = new org.apache.flex.geom.Rectangle();
+			if (isEmpty() || toIntersect.isEmpty())
+			{
+				result.setEmpty();
+				return result;
+			}
+			result.x = Math.max(x, toIntersect.x);
+			result.y = Math.max(y, toIntersect.y);
+			result.width = Math.min(x + width, toIntersect.x + toIntersect.width) - result.x;
+			result.height = Math.min(y + height, toIntersect.y + toIntersect.height) - result.y;
+			if (result.width <= 0 || result.height <= 0)
+			{
+				result.setEmpty();
+			}
+			return result;
+		}
+		
+		[SWFOverride(returns="flash.geom.Rectangle",params="flash.geom.Rectangle",altparams="org.apache.flex.geom.Rectangle")]
+		override public function union(toUnion:org.apache.flex.geom.Rectangle):org.apache.flex.geom.Rectangle
+		{
+			var r:org.apache.flex.geom.Rectangle = null;
+			if (isEmpty())
+			{
+				return toUnion.clone();
+			}
+			if (toUnion.isEmpty())
+			{
+				return clone();
+			}
+			r = new org.apache.flex.geom.Rectangle();
+			r.x = Math.min(x, toUnion.x);
+			r.y = Math.min(y, toUnion.y);
+			r.width = Math.max(x + width, toUnion.x + toUnion.width) - r.x;
+			r.height = Math.max(y + height, toUnion.y + toUnion.height) - r.y;
+			return r;
+		}
+		
+		public static function fromJSONString(str:String):org.apache.flex.geom.Rectangle
+		{
+			var obj:Object = JSON.parse(str);
+			return org.apache.flex.geom.Rectangle.fromObject(obj);
+		}
+		
+		public static function fromObject(obj:Object):org.apache.flex.geom.Rectangle
+		{
+			var x:Number = obj.x === undefined ? obj.left : obj.x;
+			var y:Number = obj.y === undefined ? obj.top : obj.y;
+			var width:Number = obj.width === undefined ? obj.right - x : obj.width;
+			var height:Number = obj.height === undefined ? obj.bottom - y : obj.height;
+			return new org.apache.flex.geom.Rectangle(x,y,width,height);
+		}
+
+	}
+	
 	/**
 	 *  The Rectangle class is a utility class for holding four coordinates of
 	 *  a rectangle
@@ -28,6 +148,7 @@ package org.apache.flex.geom
 	 *  @playerversion AIR 2.6
 	 *  @productversion FlexJS 0.0
 	 */
+	COMPILE::JS
 	public class Rectangle
 	{
 	    public function Rectangle(x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0)


[46/50] git commit: [flex-asjs] [refs/heads/tlf] - Merge branch 'tlf' of https://git-wip-us.apache.org/repos/asf/flex-asjs into tlf

Posted by ah...@apache.org.
Merge branch 'tlf' of https://git-wip-us.apache.org/repos/asf/flex-asjs into tlf


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

Branch: refs/heads/tlf
Commit: 98dc56a04ae6ed271d95dda7800ecf2a0da73f82
Parents: ac122a5 db09eae
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 30 11:38:22 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 30 11:38:22 2017 -0700

----------------------------------------------------------------------

----------------------------------------------------------------------