svn commit: r1011495 - in /websites/production/flex: cgi-bin/ content/

2017-05-01 Thread aharui
Author: aharui
Date: Tue May  2 01:17:14 2017
New Revision: 1011495

Log:
Publishing svnmucc operation to flex site by aharui

Added:
websites/production/flex/cgi-bin/
  - copied from r1011493, websites/staging/flex/trunk/cgi-bin/
websites/production/flex/content/
  - copied from r1011493, websites/staging/flex/trunk/content/



svn commit: r1011494 - in /websites/staging/flex/trunk: cgi-bin/ content/ content/installer/sdk-installer-config-4.0.xml

2017-05-01 Thread buildbot
Author: buildbot
Date: Tue May  2 01:17:00 2017
New Revision: 1011494

Log:
Staging update by buildbot for flex

Modified:
websites/staging/flex/trunk/cgi-bin/   (props changed)
websites/staging/flex/trunk/content/   (props changed)
websites/staging/flex/trunk/content/installer/sdk-installer-config-4.0.xml

Propchange: websites/staging/flex/trunk/cgi-bin/
--
--- cms:source-revision (original)
+++ cms:source-revision Tue May  2 01:17:00 2017
@@ -1 +1 @@
-1791199
+1793428

Propchange: websites/staging/flex/trunk/content/
--
--- cms:source-revision (original)
+++ cms:source-revision Tue May  2 01:17:00 2017
@@ -1 +1 @@
-1791199
+1793428

Modified: 
websites/staging/flex/trunk/content/installer/sdk-installer-config-4.0.xml
==
Binary files - no diff available.




svn commit: r1793428 - /flex/site/trunk/content/installer/sdk-installer-config-4.0.xml

2017-05-01 Thread aharui
Author: aharui
Date: Tue May  2 01:14:47 2017
New Revision: 1793428

URL: http://svn.apache.org/viewvc?rev=1793428&view=rev
Log:
update md5s

Modified:
flex/site/trunk/content/installer/sdk-installer-config-4.0.xml

Modified: flex/site/trunk/content/installer/sdk-installer-config-4.0.xml
URL: 
http://svn.apache.org/viewvc/flex/site/trunk/content/installer/sdk-installer-config-4.0.xml?rev=1793428&r1=1793427&r2=1793428&view=diff
==
--- flex/site/trunk/content/installer/sdk-installer-config-4.0.xml (original)
+++ flex/site/trunk/content/installer/sdk-installer-config-4.0.xml Tue May  2 
01:14:47 2017
@@ -285,12 +285,12 @@ limitations under the License.
 AdobeAIRSDK.zip
 ec48d6f7ea9e2b8cacef78c6a6ecbaad
 
-
+
 https://fpdownload.macromedia.com
 pub/labs/flashruntimes/air/
 https://fpdownload.macromedia.com/pub/labs/flashruntimes/air/
 AdobeAIRSDK.zip
-aa4780f158f7e90f8583d41fba5ec7b4
+b7bb9e2840e6cebd0fb7d54713db759b
 
 
 
@@ -466,12 +466,12 @@ limitations under the License.
 AdobeAIRSDK.dmg
 6b7bbcd6ceb9f088a0824d72d770afad
 
-
+
 https://fpdownload.macromedia.com
 pub/labs/flashruntimes/air/
 https://fpdownload.macromedia.com/pub/labs/flashruntimes/air/
 AdobeAIRSDK.dmg
-75c4658e01d662be05304ef40ec68374
+38f9c27c624f2ac4222689c3e59b9718
 
 
 




Jenkins build became unstable: flex-flexunit #967

2017-05-01 Thread flex . ci . builds
See 



git commit: [flex-falcon] [refs/heads/develop] - FLEX-35300 don't look for js files for external classes

2017-05-01 Thread aharui
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 8dd7f9c30 -> 37128e83d


FLEX-35300 don't look for js files for external classes


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

Branch: refs/heads/develop
Commit: 37128e83d5c00e93d0b04e5b36c7ce949c573a87
Parents: 8dd7f9c
Author: Alex Harui 
Authored: Mon May 1 17:23:33 2017 -0700
Committer: Alex Harui 
Committed: Mon May 1 17:23:33 2017 -0700

--
 .../flex/compiler/internal/graph/GoogDepsWriter.java| 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/37128e83/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
index b26b632..afc8d00 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
@@ -47,6 +47,7 @@ import 
org.apache.flex.compiler.internal.driver.js.goog.JSGoogConfiguration;
 import org.apache.flex.compiler.internal.projects.CompilerProject;
 import org.apache.flex.compiler.internal.projects.DefinitionPriority;
 import org.apache.flex.compiler.internal.projects.DependencyGraph;
+import org.apache.flex.compiler.internal.projects.FlexJSProject;
 import org.apache.flex.compiler.problems.FileNotFoundProblem;
 import org.apache.flex.compiler.units.ICompilationUnit;
 import org.apache.flex.swc.ISWC;
@@ -354,7 +355,7 @@ public class GoogDepsWriter {

private void addDeps(String className)
{
-   if (depMap.containsKey(className) || isGoogClass(className))
+   if (depMap.containsKey(className) || isGoogClass(className) || 
isExternal(className))
return;

// build goog dependency list
@@ -919,6 +920,15 @@ public class GoogDepsWriter {
path = path.replace('\\', '/');
return path;
}
+   
+   boolean isExternal(String className)
+   {
+   ICompilationUnit cu = 
project.resolveQNameToCompilationUnit(className);
+   if (cu == null) return false; // unit testing
+   
+   return ((FlexJSProject)project).isExternalLinkage(cu);
+   }
+   
private class GoogDep
{
public String filePath;



Build failed in Jenkins: flex-utilities_installer #1162

2017-05-01 Thread flex . ci . builds
See 


--
Started by timer
Building remotely on flex_sdk_slave2 in workspace 

 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # 
 > timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-utilities.git
 > C:\Program Files (x86)\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/flex-utilities.git 
 > +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse "origin/develop^{commit}" # 
 > timeout=10
Checking out Revision ee771e6579486521b86f22a9fb629ff127edcfcd (origin/develop)
 > C:\Program Files (x86)\Git\cmd\git.exe config core.sparsecheckout # 
 > timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe checkout -f 
 > ee771e6579486521b86f22a9fb629ff127edcfcd
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > ee771e6579486521b86f22a9fb629ff127edcfcd # timeout=10
[ant_on_air] $ cmd.exe /C 
"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
 -file build.xml -Dplayerglobal.version=11.7 main && exit %%ERRORLEVEL%%"
Buildfile: 


clean:
   [delete] Deleting directory 


init:

check-as3commons.swc:

get-as3commons.swc:

third-party:
  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 

  [get] Destination already exists (skipping): 


compile:
[compc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\air-config.xml
[compc] 
C:\Jenkins\workspace\flex-utilities_installer\flex-installer\ant_on_air\bin\ant_on_air.swc
 (134441 bytes)
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

test:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\air-config.xml
[mxmlc] 
C:\Jenkins\workspace\flex-utilities_installer\flex-installer\ant_on_air\tests\AntOnAir.swf
 (1147468 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

failuretests:

main:

BUILD SUCCESSFUL
Total time: 1 minute 33 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[flex-installer] $ cmd.exe /C 
"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
 -file build.xml -Dplayerglobal.version=11.7 clean build source-package 
create-md5s copy-misc && exit %%ERRORLEVEL%%"
Buildfile: 


clean:
   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 

   [delete] Deleting directory 


clean:

createDirs:
 [echo] ***
 [echo] Execute the update-version target once,
 [echo] and only once, when you modifiy

Build failed in Jenkins: flex-tlf #1071

2017-05-01 Thread flex . ci . builds
See 

--
Started by timer
Building remotely on flex_sdk_slave2 in workspace 

 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # 
 > timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/flex-tlf.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-tlf.git
 > C:\Program Files (x86)\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/flex-tlf.git 
 > +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse "origin/develop^{commit}" # 
 > timeout=10
Checking out Revision 7fe228452bf7aff8bd670dbdc7cb4e6858628bab (origin/develop)
 > C:\Program Files (x86)\Git\cmd\git.exe config core.sparsecheckout # 
 > timeout=10
 > C:\Program Files (x86)\Git\cmd\git.exe checkout -f 
 > 7fe228452bf7aff8bd670dbdc7cb4e6858628bab
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > 7fe228452bf7aff8bd670dbdc7cb4e6858628bab # timeout=10
[flex-tlf] $ cmd.exe /C 
"c:\Jenkins\tools\hudson.tasks.Ant_AntInstallation\c_apache-ant-1.9.3\bin\ant.bat
 -file build.xml all && exit %%ERRORLEVEL%%"
Buildfile: 
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

clean:
   [delete] Deleting directory 


textLayout:
[compc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[compc] C:\Jenkins\workspace\flex-tlf\bin\textLayout.swc (550033 bytes)
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

main:

asTestApps:
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

asTestApp:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[mxmlc] 
C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\ExplicitFormField.swf 
(521418 bytes)
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

asTestApp:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[mxmlc] 
C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\TCMTestFocus2.swf (528617 
bytes)
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

asTestApp:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[mxmlc] 
C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\AliceScroll.swf (589425 
bytes)
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

asTestApp:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[mxmlc] C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\KeyLogger.swf 
(2167 bytes)
 [echo] FLEX_HOME is 

 [echo] Minimal test is set false

asTestApp:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\OpHammer.swf 
(531607 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

textLayout_editBar:
[compc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[compc] 
C:\Jenkins\workspace\flex-tlf\bin\apps\testApps\bin\textLayout_editBar.swc 
(23174 bytes)

textLayout_ui:
[compc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[compc] 
C:\Jenkins\workspace\flex-tlf\bin\apps\testApps\bin\textLayout_ui.swc (112811 
bytes)
[compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

testApps:
[mxmlc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
[mxmlc] C:\Jenkins\workspace\flex-tlf\bin\apps\automation_apps\bin\Flow.swf 
(2191737 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

automation_core:
[compc] Loading configuration file 
C:\Jenkins\workspace\flex-sdk\frameworks\flex-config.xml
  

[MAVEN-BUILD] FlexJS Framework (maven) - Build # 900 - Still Failing

2017-05-01 Thread Apache Jenkins Server
The Apache Jenkins build system has built FlexJS Framework (maven) (build #900)

Status: Still Failing

Check console output at 
https://builds.apache.org/job/FlexJS%20Framework%20(maven)/900/ to view the 
results.

git commit: [flex-asjs] [refs/heads/develop] - Add Express module to distribution

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 68eabbab9 -> 82ff1840e


Add Express module to distribution


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

Branch: refs/heads/develop
Commit: 82ff1840ea4c56971a9d00e2e252ec2304545f24
Parents: 68eabba
Author: piotrz 
Authored: Tue May 2 00:06:29 2017 +0200
Committer: piotrz 
Committed: Tue May 2 00:06:29 2017 +0200

--
 distribution/pom.xml | 13 +
 1 file changed, 13 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/82ff1840/distribution/pom.xml
--
diff --git a/distribution/pom.xml b/distribution/pom.xml
index b1149a0..f8e2478 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -122,6 +122,12 @@
 
 
   org.apache.flex.flexjs.framework
+  Express
+  0.8.0-SNAPSHOT
+  swc
+
+
+  org.apache.flex.flexjs.framework
   Flat
   0.8.0-SNAPSHOT
   swc
@@ -263,6 +269,13 @@
 
 
   org.apache.flex.flexjs.framework
+  Express
+  0.8.0-SNAPSHOT
+  swc
+  js
+
+
+  org.apache.flex.flexjs.framework
   Flat
   0.8.0-SNAPSHOT
   swc



[MAVEN-BUILD] FlexJS Framework (maven) - Build # 899 - Still Failing

2017-05-01 Thread Apache Jenkins Server
The Apache Jenkins build system has built FlexJS Framework (maven) (build #899)

Status: Still Failing

Check console output at 
https://builds.apache.org/job/FlexJS%20Framework%20(maven)/899/ to view the 
results.

git commit: [flex-asjs] [refs/heads/develop] - Rename fields in DropDownList to more meaningfull

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 1302393fd -> 68eabbab9


Rename fields in DropDownList to more meaningfull


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

Branch: refs/heads/develop
Commit: 68eabbab96d4ee50820f4d280bf4211fce0521ff
Parents: 1302393
Author: piotrz 
Authored: Mon May 1 23:45:46 2017 +0200
Committer: piotrz 
Committed: Mon May 1 23:45:46 2017 +0200

--
 .../beads/controllers/DropDownListController.as |  4 +--
 .../flex/mdl/beads/views/DropDownListView.as| 30 ++--
 2 files changed, 17 insertions(+), 17 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/68eabbab/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/controllers/DropDownListController.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/controllers/DropDownListController.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/controllers/DropDownListController.as
index ec79b6d..cdb7ca7 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/controllers/DropDownListController.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/controllers/DropDownListController.as
@@ -78,7 +78,7 @@ package org.apache.flex.mdl.beads.controllers
 _model = _strand.getBeadByType(ISelectionModel) as ISelectionModel;
 _dropDownListView = value.getBeadByType(DropDownListView) as 
DropDownListView;
 
-_dropDownListView.displayList.addEventListener(MouseEvent.CLICK, 
onDisplayItemClick);
+_dropDownListView.dropDown.addEventListener(MouseEvent.CLICK, 
onDisplayItemClick);
}
 
 private function onDisplayItemClick(event:MouseEvent):void
@@ -88,7 +88,7 @@ package org.apache.flex.mdl.beads.controllers
_model.selectedIndex = eventTarget.index;
_model.selectedItem = eventTarget.data;
 
-_dropDownListView.displayLabel.text = !_model.labelField ? 
+_dropDownListView.labelDisplay.text = !_model.labelField ?
eventTarget.data : 
eventTarget.data[_model.labelField];
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/68eabbab/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
index 60d16b3..552edf3 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
@@ -46,17 +46,17 @@ package org.apache.flex.mdl.beads.views
 super();
 }
 
-protected var _displayList:Menu;
-protected var _displayLabel:Div;
+protected var _dropDown:Menu;
+protected var _labelDisplay:Div;
 
-public function get displayList():Menu
+public function get dropDown():Menu
 {
-return _displayList;
+return _dropDown;
 }
 
-public function get displayLabel():Div
+public function get labelDisplay():Div
 {
-return _displayLabel;
+return _labelDisplay;
 }
 /**
  *  @copy org.apache.flex.core.IBead#strand
@@ -72,15 +72,15 @@ package org.apache.flex.mdl.beads.views
 
 var dropDownList:DropDownList = (value as DropDownList);
 
-_displayList = new Menu();
-_displayList.bottom = true;
+_dropDown = new Menu();
+_dropDown.bottom = true;
 
 COMPILE::JS
 {
 setIdForDisplayList();
 }
 
-_displayLabel = new Div();
+_labelDisplay = new Div();
 
 if (!dropDownList.icon)
 {
@@ -90,11 +90,11 @@ package org.apache.flex.mdl.beads.views
 }
 
 var model:ISelectionModel = _strand.getBeadByType(ISelectionModel) 
as ISelectionModel;
-_displayList.model = model;
+_dropDown.model = model;
 
-dropDownList.addElemen

[MAVEN-BUILD] FlexJS Framework (maven) - Build # 898 - Failure

2017-05-01 Thread Apache Jenkins Server
The Apache Jenkins build system has built FlexJS Framework (maven) (build #898)

Status: Failure

Check console output at 
https://builds.apache.org/job/FlexJS%20Framework%20(maven)/898/ to view the 
results.

git commit: [flex-asjs] [refs/heads/develop] - VerticalLayout now tests for null child (JS side).

2017-05-01 Thread pent
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 2fdd7b9f3 -> 1302393fd


VerticalLayout now tests for null child (JS side).


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

Branch: refs/heads/develop
Commit: 1302393fd8841a33a5150223b29dd88aed2fb1bb
Parents: 2fdd7b9
Author: Peter Ent 
Authored: Mon May 1 15:44:02 2017 -0400
Committer: Peter Ent 
Committed: Mon May 1 15:44:02 2017 -0400

--
 .../flex/org/apache/flex/html/beads/layouts/VerticalLayout.as | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1302393f/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 16c81a0..670aede 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
@@ -164,7 +164,8 @@ package org.apache.flex.html.beads.layouts
n = children.length;
for (i = 0; i < n; i++)
{
-   var child:WrappedHTMLElement = 
children[i];
+   var child:WrappedHTMLElement = 
children[i] as WrappedHTMLElement;
+   if (child == null) continue;

child.flexjs_wrapper.setDisplayStyleForLayout('block');
if (child.style.display === 'none')
{



git commit: [flex-asjs] [refs/heads/develop] - DataProviderCollectionChangeNotifier should use changeEventName if provided.

2017-05-01 Thread pent
Repository: flex-asjs
Updated Branches:
  refs/heads/develop e59094db8 -> 2fdd7b9f3


DataProviderCollectionChangeNotifier should use changeEventName if provided.


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

Branch: refs/heads/develop
Commit: 2fdd7b9f3a3d90185bbe7ac46266f76c0c15c88c
Parents: e59094d
Author: Peter Ent 
Authored: Mon May 1 15:40:24 2017 -0400
Committer: Peter Ent 
Committed: Mon May 1 15:40:24 2017 -0400

--
 .../flex/html/beads/DataProviderCollectionChangeNotifier.as  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2fdd7b9f/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataProviderCollectionChangeNotifier.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataProviderCollectionChangeNotifier.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataProviderCollectionChangeNotifier.as
index 2d58795..9a0f299 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataProviderCollectionChangeNotifier.as
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataProviderCollectionChangeNotifier.as
@@ -56,10 +56,10 @@ package org.apache.flex.html.beads
}
else
{
-dataProvider.removeEventListener("collectionChanged", 
handleCollectionChanged);
+   
dataProvider.removeEventListener(changeEventName == null ? 
"collectionChanged":changeEventName, handleCollectionChanged);
}
 
-dataProvider.addEventListener("collectionChanged", 
handleCollectionChanged);
+   dataProvider.addEventListener(changeEventName == null ? 
"collectionChanged":changeEventName, handleCollectionChanged);
}
 
private function handleCollectionChanged(event:Event):void



git commit: [flex-asjs] [refs/heads/develop] - Fixed URL to financial data source. Replaced local change notifier to standard data provider change notifier.

2017-05-01 Thread pent
Repository: flex-asjs
Updated Branches:
  refs/heads/develop ed2503e4e -> e59094db8


Fixed URL to financial data source. Replaced local change notifier to standard 
data provider change notifier.


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

Branch: refs/heads/develop
Commit: e59094db8b63de57e6bbc65f3793579f7a721a7a
Parents: ed2503e
Author: Peter Ent 
Authored: Mon May 1 15:39:56 2017 -0400
Committer: Peter Ent 
Committed: Mon May 1 15:39:56 2017 -0400

--
 .../flex/controller/DataModelChangeNotifier.as  | 71 
 .../src/main/flex/models/ProductsModel.as   |  4 +-
 .../src/main/flex/views/AlertsView.mxml |  6 +-
 .../src/main/flex/views/WatchListView.mxml  |  6 +-
 4 files changed, 12 insertions(+), 75 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e59094db/examples/flexjs/MobileTrader/src/main/flex/controller/DataModelChangeNotifier.as
--
diff --git 
a/examples/flexjs/MobileTrader/src/main/flex/controller/DataModelChangeNotifier.as
 
b/examples/flexjs/MobileTrader/src/main/flex/controller/DataModelChangeNotifier.as
deleted file mode 100644
index a6e2e19..000
--- 
a/examples/flexjs/MobileTrader/src/main/flex/controller/DataModelChangeNotifier.as
+++ /dev/null
@@ -1,71 +0,0 @@
-
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//  http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-
-package controller
-{  
-   import org.apache.flex.core.IBead;
-   import org.apache.flex.core.IBeadModel;
-   import org.apache.flex.core.IStrand;
-   import org.apache.flex.events.Event;
-   import org.apache.flex.events.IEventDispatcher;
-   import org.apache.flex.events.EventDispatcher;
-   import org.apache.flex.events.CollectionEvent;
-   
-   public class DataModelChangeNotifier extends EventDispatcher implements 
IBead
-   {
-   public function DataModelChangeNotifier()
-   {
-   super();
-   }
-   
-   private var _strand:IStrand;
-   private var _propertyName:String = "dataProvider";
-   
-   public function get propertyName():String
-   {
-   return _propertyName;
-   }
-   public function set propertyName(value:String):void
-   {
-   _propertyName = value;
-   }
-   
-   public function set strand(value:IStrand):void
-   {
-   _strand = value;
-   
-   
IEventDispatcher(_strand).addEventListener("initBindings", handleInitBindings);
-   }
-   
-   private function handleInitBindings(event:Event):void
-   {
-   var model:Object = _strand.getBeadByType(IBeadModel) as 
Object;
-   var property:IEventDispatcher = model[propertyName] as 
IEventDispatcher;
-   
-   property.addEventListener(CollectionEvent.ITEM_ADDED, 
handleModelChanges);
-   property.addEventListener(CollectionEvent.ITEM_REMOVED, 
handleModelChanges);
-   property.addEventListener(CollectionEvent.ITEM_UPDATED, 
handleModelChanges);
-   }
-   
-   private function handleModelChanges(event:CollectionEvent):void
-   {
-   var model:IEventDispatcher = 
_strand.getBeadByType(IBeadModel) as IEventDispatcher;
-   model.dispatchEvent(new Event("dataProviderChanged"));
-   }
-   }
-}
\ No n

git commit: [flex-asjs] [refs/heads/develop] - - Post dual branch merge cleanup

2017-05-01 Thread cdutz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 986d75596 -> ed2503e4e


- Post dual branch merge cleanup


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

Branch: refs/heads/develop
Commit: ed2503e4ec9a260a026008ba9b2737992d8b53a8
Parents: 986d755
Author: Christofer Dutz 
Authored: Mon May 1 19:16:26 2017 +0200
Committer: Christofer Dutz 
Committed: Mon May 1 19:16:39 2017 +0200

--
 .../src/main/resources/archetype-resources/pom.xml | 2 +-
 .../src/main/resources/archetype-resources/pom.xml | 2 +-
 examples/native/ButtonExample/pom.xml  | 1 -
 examples/native/USStatesMap/pom.xml| 1 -
 testsuite/src/it/compiler-options/custom-html-template/pom.xml | 2 +-
 5 files changed, 3 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ed2503e4/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 637e719..637b3c1 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
@@ -53,7 +53,7 @@
 
 
   \${compiler.debug}
-  true
+  JS
 
   
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ed2503e4/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 66360ea..ad6af3a 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
@@ -42,8 +42,8 @@
 true
 
   App.mxml
-  true
   \${compiler.debug}
+  JS
 
 
   

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ed2503e4/examples/native/ButtonExample/pom.xml
--
diff --git a/examples/native/ButtonExample/pom.xml 
b/examples/native/ButtonExample/pom.xml
index b81d238..17b1942 100644
--- a/examples/native/ButtonExample/pom.xml
+++ b/examples/native/ButtonExample/pom.xml
@@ -41,7 +41,6 @@
 flexjs-maven-plugin
 true
 
-  true
   ButtonExample.as
   JS
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ed2503e4/examples/native/USStatesMap/pom.xml
--
diff --git a/examples/native/USStatesMap/pom.xml 
b/examples/native/USStatesMap/pom.xml
index 936866d..7c6d81e 100644
--- a/examples/native/USStatesMap/pom.xml
+++ b/examples/native/USStatesMap/pom.xml
@@ -42,7 +42,6 @@
 ${flexjs.compiler.version}
 true
 
-  true
   USStatesMap.as
   JS
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ed2503e4/testsuite/src/it/compiler-options/custom-html-template/pom.xml
--
diff --git a/testsuite/src/it/compiler-options/custom-html-template/pom.xml 
b/testsuite/src/it/compiler-options/custom-html-template/pom.xml
index d6096d5..74ff0d0 100644
--- a/testsuite/src/it/compiler-options/custom-html-template/pom.xml
+++ b/testsuite/src/it/compiler-options/custom-html-template/pom.xml
@@ -43,7 +43,7 @@
 
   true
   HelloWorld.mxml
-  true
+  JS
   
${basedir}/src/main/template/custom-js-index-template.html
 
 



git commit: [flex-asjs] [refs/heads/develop] - Exclude default.css from Basic module in FlexTeamPage_MDL

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop bf0824431 -> 986d75596


Exclude default.css from Basic module in FlexTeamPage_MDL


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

Branch: refs/heads/develop
Commit: 986d7559667802561144df85f666fecabbdd1774
Parents: bf08244
Author: piotrz 
Authored: Mon May 1 17:46:09 2017 +0200
Committer: piotrz 
Committed: Mon May 1 17:46:09 2017 +0200

--
 examples/flexjs/FlexTeamPage_MDL/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/986d7559/examples/flexjs/FlexTeamPage_MDL/pom.xml
--
diff --git a/examples/flexjs/FlexTeamPage_MDL/pom.xml 
b/examples/flexjs/FlexTeamPage_MDL/pom.xml
index 512ba7e..61b1dd6 100644
--- a/examples/flexjs/FlexTeamPage_MDL/pom.xml
+++ b/examples/flexjs/FlexTeamPage_MDL/pom.xml
@@ -56,7 +56,7 @@
 
   App.mxml
   
${basedir}/target/javascript/bin/js-debug/mdl-js-index-template.html
-  
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
+  
-compiler.exclude-defaults-css-files=Basic-0.8.0-SNAPSHOT-js.swc:defaults.css
 
   
 



git commit: [flex-asjs] [refs/heads/develop] - DateField must now dispatch initComplete so DataFieldView can use format bead.

2017-05-01 Thread pent
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 23a7a05d6 -> bf0824431


DateField must now dispatch initComplete so DataFieldView can use format bead.


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

Branch: refs/heads/develop
Commit: bf0824431157e51b4d366703eea29bb93c63403b
Parents: 23a7a05
Author: Peter Ent 
Authored: Mon May 1 11:40:19 2017 -0400
Committer: Peter Ent 
Committed: Mon May 1 11:40:19 2017 -0400

--
 .../Basic/src/main/flex/org/apache/flex/html/DateField.as| 3 +++
 .../src/main/flex/org/apache/flex/html/beads/DateFieldView.as| 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf082443/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/DateField.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/DateField.as 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/DateField.as
index c953773..aef01c7 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/DateField.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/DateField.as
@@ -23,6 +23,7 @@ package org.apache.flex.html
import org.apache.flex.core.IFormatBead;
import org.apache.flex.core.UIBase;
import org.apache.flex.core.ValuesManager;
+   import org.apache.flex.events.Event;

/**
 * The change event is dispatched when the selectedDate is changed.
@@ -77,6 +78,8 @@ package org.apache.flex.html
 addBead(bead);
 }
 }
+   
+   dispatchEvent(new Event("initComplete"));
}

/**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf082443/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DateFieldView.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DateFieldView.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DateFieldView.as
index 33bdfbb..547c8d1 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DateFieldView.as
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DateFieldView.as
@@ -116,10 +116,10 @@ package org.apache.flex.html.beads
_button.y = _textInput.y;
}

-   
IEventDispatcher(_strand).addEventListener("beadsAdded",handleBeadsAdded);
+   
IEventDispatcher(_strand).addEventListener("initComplete",handleInitComplete);
}

-   private function handleBeadsAdded(event:Event):void
+   private function handleInitComplete(event:Event):void
{
var formatter:IFormatBead = 
_strand.getBeadByType(IFormatBead) as IFormatBead;

formatter.addEventListener("formatChanged",handleFormatChanged);



git commit: [flex-asjs] [refs/heads/develop] - Exclude default.css from Basic in MDLDynamicTabsExample

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop d1fd486d3 -> 23a7a05d6


Exclude default.css from Basic in MDLDynamicTabsExample


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

Branch: refs/heads/develop
Commit: 23a7a05d627f8c159a7f9cbf3c3b684cbbc9
Parents: d1fd486
Author: piotrz 
Authored: Mon May 1 17:33:00 2017 +0200
Committer: piotrz 
Committed: Mon May 1 17:33:00 2017 +0200

--
 examples/flexjs/MDLDynamicTabsExample/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/23a7a05d/examples/flexjs/MDLDynamicTabsExample/pom.xml
--
diff --git a/examples/flexjs/MDLDynamicTabsExample/pom.xml 
b/examples/flexjs/MDLDynamicTabsExample/pom.xml
index 47651d1..364335d 100644
--- a/examples/flexjs/MDLDynamicTabsExample/pom.xml
+++ b/examples/flexjs/MDLDynamicTabsExample/pom.xml
@@ -51,7 +51,7 @@
   TabsExample.mxml
   true
   
${basedir}/target/javascript/bin/js-debug/mdl-js-index-template.html
-  
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
+  
-compiler.exclude-defaults-css-files=Basic-0.8.0-SNAPSHOT-js.swc:defaults.css
 
   
 



git commit: [flex-asjs] [refs/heads/develop] - Tune in border and width of menu DropDownList

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 231727bef -> d1fd486d3


Tune in border and width of menu 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/d1fd486d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d1fd486d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d1fd486d

Branch: refs/heads/develop
Commit: d1fd486d327cc17274997ba222575e567fcbb2c0
Parents: 231727b
Author: piotrz 
Authored: Mon May 1 17:00:57 2017 +0200
Committer: piotrz 
Committed: Mon May 1 17:00:57 2017 +0200

--
 .../main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as | 2 +-
 .../projects/MaterialDesignLite/src/main/resources/defaults.css   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d1fd486d/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
index ba84d48..60d16b3 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
@@ -105,7 +105,7 @@ package org.apache.flex.mdl.beads.views
 {
 host.element.classList.add("DropDownList");
 }
-_displayList.width = isNaN(host.width) ? 100 : host.width;
+_displayList.width = isNaN(host.width) ? 100 : host.width - 1;
 _displayLabel.width = isNaN(host.width) ? 100 : host.width - 25;
 }
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d1fd486d/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 4051c88..8182dae 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/resources/defaults.css
+++ b/frameworks/projects/MaterialDesignLite/src/main/resources/defaults.css
@@ -151,8 +151,7 @@ DropDownList
 IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
 IBeadLayout: 
ClassReference("org.apache.flex.html.beads.layouts.HorizontalFlexLayout");
 IBeadController: 
ClassReference("org.apache.flex.mdl.beads.controllers.DropDownListController");
-border: none;
-border-bottom: 1px solid #F8F8F8;
+border: 1.2px solid #F8F8F8;
 }
 
 @media -flex-flash



git commit: [flex-asjs] [refs/heads/develop] - Set dataMdlFor id earlier, cause initComplete in case of manual upgrade is to late

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 701f2f54b -> 231727bef


Set dataMdlFor id earlier, cause initComplete in case of manual upgrade is to 
late


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

Branch: refs/heads/develop
Commit: 231727beff1c351f94dd07fa1f6cdecc934f4b14
Parents: 701f2f5
Author: piotrz 
Authored: Mon May 1 16:20:01 2017 +0200
Committer: piotrz 
Committed: Mon May 1 16:20:01 2017 +0200

--
 .../flex/org/apache/flex/mdl/beads/views/DropDownListView.as   | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/231727be/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
index 8b766fc..ba84d48 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
@@ -75,6 +75,11 @@ package org.apache.flex.mdl.beads.views
 _displayList = new Menu();
 _displayList.bottom = true;
 
+COMPILE::JS
+{
+setIdForDisplayList();
+}
+
 _displayLabel = new Div();
 
 if (!dropDownList.icon)
@@ -99,7 +104,6 @@ package org.apache.flex.mdl.beads.views
 COMPILE::JS
 {
 host.element.classList.add("DropDownList");
-setIdForDisplayList();
 }
 _displayList.width = isNaN(host.width) ? 100 : host.width;
 _displayLabel.width = isNaN(host.width) ? 100 : host.width - 25;



git commit: [flex-asjs] [refs/heads/develop] - Remove unused imports

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop b85501827 -> 701f2f54b


Remove unused imports


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

Branch: refs/heads/develop
Commit: 701f2f54b33af2559800e41cbbde259d6b542507
Parents: b855018
Author: piotrz 
Authored: Mon May 1 16:18:51 2017 +0200
Committer: piotrz 
Committed: Mon May 1 16:18:51 2017 +0200

--
 .../Core/src/main/flex/org/apache/flex/utils/CSSBorderUtils.as | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/701f2f54/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSBorderUtils.as
--
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSBorderUtils.as
 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSBorderUtils.as
index 25c9d08..3c67c1b 100644
--- 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSBorderUtils.as
+++ 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSBorderUtils.as
@@ -20,12 +20,8 @@ package org.apache.flex.utils
 {
 import flash.display.DisplayObject;
 import flash.display.Graphics;
-
-import org.apache.flex.core.IStatesObject;
-import org.apache.flex.core.IUIBase;
+
 import org.apache.flex.core.ValuesManager;
-import org.apache.flex.utils.SolidBorderUtil;
-import org.apache.flex.utils.StringTrimmer;
 
/**
 *  The CSSBorderUtils class is shared code for getting the styles



git commit: [flex-asjs] [refs/heads/develop] - Fix NPE when child of container is non UIBase

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop c22c0baab -> b85501827


Fix NPE when child of container is non UIBase


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

Branch: refs/heads/develop
Commit: b85501827fa4c27bda902ba362e8a2bc9d6990e9
Parents: c22c0ba
Author: piotrz 
Authored: Mon May 1 16:17:22 2017 +0200
Committer: piotrz 
Committed: Mon May 1 16:17:22 2017 +0200

--
 .../apache/flex/html/beads/layouts/HorizontalFlexLayout.as| 5 +
 .../org/apache/flex/html/beads/layouts/VerticalFlexLayout.as  | 7 +--
 2 files changed, 10 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b8550182/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalFlexLayout.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalFlexLayout.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalFlexLayout.as
index 6fb927d..9c8f1ce 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalFlexLayout.as
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalFlexLayout.as
@@ -253,6 +253,11 @@ package org.apache.flex.html.beads.layouts
 
for(var i:int=0; i < n; i++) {
var child:UIBase = 
contentView.getElementAt(i) as UIBase;
+   if (!child)
+   {
+   continue;
+}
+   
if (grow >= 0) 
child.element.style["flex-grow"] = String(grow);
if (shrink >= 0) 
child.element.style["flex-shrink"] = String(shrink);
child.dispatchEvent(new 
Event("layoutNeeded"));

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b8550182/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalFlexLayout.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalFlexLayout.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalFlexLayout.as
index bdc080d..6afc299 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalFlexLayout.as
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts/VerticalFlexLayout.as
@@ -110,8 +110,6 @@ package org.apache.flex.html.beads.layouts
var n:Number = contentView.numElements;
if (n == 0) return false;
 
-   var spacing:String = "none";
-
var maxWidth:Number = 0;
var maxHeight:Number = 0;
var growCount:Number = 0;
@@ -249,6 +247,11 @@ package org.apache.flex.html.beads.layouts
 
for(var i:int=0; i < n; i++) {
var child:UIBase = 
contentView.getElementAt(i) as UIBase;
+   if (!child)
+   {
+   continue;
+}
+
if (grow >= 0) 
child.element.style["flex-grow"] = String(grow);
if (shrink >= 0) 
child.element.style["flex-shrink"] = String(shrink);
child.dispatchEvent(new 
Event("layoutNeeded"));



git commit: [flex-asjs] [refs/heads/develop] - - Make MDL Menu upgradable - Use "initComplete" in UpgradeElement

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop f63a86a70 -> c22c0baab


- Make MDL Menu upgradable
- Use "initComplete" in UpgradeElement


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

Branch: refs/heads/develop
Commit: c22c0baabe4b6c49e21adbd102becaef7f5c5f50
Parents: f63a86a
Author: piotrz 
Authored: Mon May 1 13:28:46 2017 +0200
Committer: piotrz 
Committed: Mon May 1 13:28:46 2017 +0200

--
 .../src/main/flex/org/apache/flex/mdl/Menu.as  | 2 ++
 .../src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as  | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c22c0baa/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as
index 856193e..b151d0d 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as
@@ -19,6 +19,7 @@
 package org.apache.flex.mdl
 {
import org.apache.flex.html.DataContainer;
+import org.apache.flex.mdl.beads.UpgradeElement;
 
 COMPILE::JS
 {
@@ -57,6 +58,7 @@ package org.apache.flex.mdl
super();
 
 className = ""; //set to empty string avoid 'undefined' output 
when no class selector is assigned by user;
+addBead(new UpgradeElement());
 }
 
 /**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c22c0baa/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as
index e38195e..3a2e448 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as
@@ -94,12 +94,12 @@ package org.apache.flex.mdl.beads
 public function set strand(value:IStrand):void
 {
 _strand = value;
-IEventDispatcher(value).addEventListener("beadsAdded", 
beadsAddedHandler);
+IEventDispatcher(value).addEventListener("initComplete", 
initCompleteHandler);
 }
 
-private function beadsAddedHandler(event:Event):void
+private function initCompleteHandler(event:Event):void
 {
-IEventDispatcher(_strand).removeEventListener("beadsAdded", 
beadsAddedHandler);
+IEventDispatcher(_strand).removeEventListener("initComplete", 
initCompleteHandler);
 COMPILE::JS
 {
 upgradeElement();



git commit: [flex-asjs] [refs/heads/develop] - Update MDLExample with new DropDownList component

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop fbfb631bb -> f63a86a70


Update MDLExample with new DropDownList component


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

Branch: refs/heads/develop
Commit: f63a86a70ad49178fa60246874813c27d4f04ee3
Parents: fbfb631
Author: piotrz 
Authored: Mon May 1 11:24:25 2017 +0200
Committer: piotrz 
Committed: Mon May 1 11:24:25 2017 +0200

--
 .../MDLExample/src/main/flex/DropDownList.mxml  | 38 
 .../src/main/flex/MainNavigation.mxml   |  1 +
 .../src/main/flex/models/MainNavigationModel.as |  3 +-
 3 files changed, 41 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f63a86a7/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml 
b/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
new file mode 100644
index 000..6faf981
--- /dev/null
+++ b/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
@@ -0,0 +1,38 @@
+
+
+http://ns.adobe.com/mxml/2009";
+ xmlns:js="library://ns.apache.org/flexjs/basic"
+ xmlns:mdl="library://ns.apache.org/flexjs/mdl"
+ xmlns="http://www.w3.org/1999/xhtml"; xmlns:models="models.*">
+
+
+
+
+
+  
+  
+  
+  
+  
+
+
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f63a86a7/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
--
diff --git a/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml 
b/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
index 947f172..1892876 100644
--- a/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
@@ -81,6 +81,7 @@ limitations under the License.
 
 
 
+
 
 
 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f63a86a7/examples/flexjs/MDLExample/src/main/flex/models/MainNavigationModel.as
--
diff --git 
a/examples/flexjs/MDLExample/src/main/flex/models/MainNavigationModel.as 
b/examples/flexjs/MDLExample/src/main/flex/models/MainNavigationModel.as
index f423d19..f18eb30 100644
--- a/examples/flexjs/MDLExample/src/main/flex/models/MainNavigationModel.as
+++ b/examples/flexjs/MDLExample/src/main/flex/models/MainNavigationModel.as
@@ -68,7 +68,8 @@ package models
 new NavigationLinkVO("Loading", "loading_panel"),
 new NavigationLinkVO("Menu", "menus_panel"),
 new NavigationLinkVO("Badges", "badges_panel"),
-new NavigationLinkVO("Icons", "icons_panel")
+new NavigationLinkVO("Icons", "icons_panel"),
+new NavigationLinkVO("Drop Down List", "dropdownlist_panel")
 ]);
 
 public function get componentsTabs():ArrayList



git commit: [flex-asjs] [refs/heads/develop] - Add MDL DropDownList component it uses MDL Menu as drop down popup

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 631277b09 -> fbfb631bb


Add MDL DropDownList component it uses MDL Menu as drop down popup


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

Branch: refs/heads/develop
Commit: fbfb631bbf30ca5aa61b96cb131c24884d8bab87
Parents: 631277b
Author: piotrz 
Authored: Mon May 1 11:23:51 2017 +0200
Committer: piotrz 
Committed: Mon May 1 11:23:51 2017 +0200

--
 .../src/main/flex/MDLClasses.as |   7 +-
 .../flex/org/apache/flex/mdl/DropDownList.as| 148 +++
 .../apache/flex/mdl/beads/SliderThumbView.as| 130 
 .../apache/flex/mdl/beads/SliderTrackView.as| 129 
 .../beads/controllers/DropDownListController.as |  98 
 .../beads/controllers/SliderMouseController.as  |   3 +-
 .../flex/mdl/beads/views/DropDownListView.as| 119 +++
 .../flex/mdl/beads/views/SliderThumbView.as | 130 
 .../flex/mdl/beads/views/SliderTrackView.as | 129 
 .../src/main/resources/defaults.css |  16 +-
 .../src/main/resources/mdl-manifest.xml |   2 +
 11 files changed, 644 insertions(+), 267 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fbfb631b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
--
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as 
b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
index c571fa5..aa4c17b 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/MDLClasses.as
@@ -37,11 +37,12 @@ package
import org.apache.flex.mdl.materialIcons.MaterialIconType; 
MaterialIconType;
import org.apache.flex.mdl.beads.UpgradeElement; UpgradeElement;
import org.apache.flex.mdl.beads.UpgradeChildren; 
UpgradeChildren;
-   
+   import 
org.apache.flex.mdl.beads.controllers.DropDownListController; 
DropDownListController;
+
COMPILE::SWF
{
-   import org.apache.flex.mdl.beads.SliderThumbView; 
SliderThumbView;
-   import org.apache.flex.mdl.beads.SliderTrackView; 
SliderTrackView;
+   import org.apache.flex.mdl.beads.views.SliderThumbView; 
org.apache.flex.mdl.beads.views.SliderThumbView;
+   import org.apache.flex.mdl.beads.views.SliderTrackView; 
org.apache.flex.mdl.beads.views.SliderTrackView;
}
}
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fbfb631b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DropDownList.as
--
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DropDownList.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DropDownList.as
new file mode 100644
index 000..1e28630
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DropDownList.as
@@ -0,0 +1,148 @@
+
+//
+//  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.mdl
+{
+import org.apache.flex.core.ISelectionModel;
+import org.apache.flex.html.Group;
+import org.apache.flex.mdl.materialIcons.IMaterialIcon;
+
+[Event(name="change", type="org.apache.flex.events.Event")]
+
+/**
+ *  The DropDownList class is a component that displays label field and
+ *  pop-up list (MDL Menu) with se

git commit: [flex-asjs] [refs/heads/develop] - Remove redundant "createElement" from Div, cause it's handled by Group

2017-05-01 Thread piotrz
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 5b4273cff -> 631277b09


Remove redundant "createElement" from Div, cause it's handled by Group


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

Branch: refs/heads/develop
Commit: 631277b091f9c7f50c7ca0f73f1d0461c958ffcc
Parents: 5b4273c
Author: piotrz 
Authored: Mon May 1 11:02:25 2017 +0200
Committer: piotrz 
Committed: Mon May 1 11:02:25 2017 +0200

--
 .../HTML/src/main/flex/org/apache/flex/html/Div.as| 14 --
 1 file changed, 14 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/631277b0/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
--
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
index 285a661..b94ed92 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
@@ -80,19 +80,5 @@ package org.apache.flex.html

 COMPILE::JS
 protected var textNode:Text;
-   
-/**
- * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
- */
-COMPILE::JS
-override protected function createElement():WrappedHTMLElement
-{
-   element = document.createElement('div') as 
WrappedHTMLElement;
-
-positioner = element;
-element.flexjs_wrapper = this;
-
-return element;
-}
 }
 }