git commit: [flex-falcon] [refs/heads/develop] - don't allow renames of MXML IDs

2017-08-09 Thread aharui
Repository: flex-falcon
Updated Branches:
  refs/heads/develop d69cf6c7f -> 8d7e14740


don't allow renames of MXML IDs


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

Branch: refs/heads/develop
Commit: 8d7e14740167ab63c52ae5e5e738ca1890217c06
Parents: d69cf6c
Author: Alex Harui 
Authored: Wed Aug 9 12:19:09 2017 -0700
Committer: Alex Harui 
Committed: Wed Aug 9 12:19:09 2017 -0700

--
 .../compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8d7e1474/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
--
diff --git 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
index c42c3f5..c79bfea 100644
--- 
a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
+++ 
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
@@ -1605,8 +1605,7 @@ public class MXMLFlexJSEmitter extends MXMLEmitter 
implements
 .getToken()))
 {
 indentPush();
-   if (emitExports)
-   writeNewline("/** @export */");
+   writeNewline("/** @export */");
 writeNewline(instance.id + ": {");
 writeNewline("/** @this {" + formattedCName + "} */");
 indentPush();



[MAVEN-BUILD] FlexJS Framework (maven) - Build # 1188 - Fixed

2017-08-09 Thread Apache Jenkins Server
The Apache Jenkins build system has built FlexJS Framework (maven) (build #1188)

Status: Fixed

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

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

2017-08-09 Thread Apache Jenkins Server
The Apache Jenkins build system has built FlexJS Framework (maven) (build #1187)

Status: Still Failing

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

[1/2] git commit: [flex-asjs] [refs/heads/develop] - try this price if we can't get other price data

2017-08-09 Thread aharui
Repository: flex-asjs
Updated Branches:
  refs/heads/develop dcd748c8c -> 6e55c55c7


try this price if we can't get other price data


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

Branch: refs/heads/develop
Commit: 6e55c55c716a79d09b62e63d58110b39037d5fcf
Parents: bf706bc
Author: Alex Harui 
Authored: Wed Aug 9 10:18:58 2017 -0700
Committer: Alex Harui 
Committed: Wed Aug 9 10:19:13 2017 -0700

--
 examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as | 2 ++
 1 file changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6e55c55c/examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as
--
diff --git a/examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as 
b/examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as
index 5a16d02..0c05d63 100644
--- a/examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as
+++ b/examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as
@@ -58,6 +58,8 @@ package models
{
if (_requestedField == "Ask")
s = _responseData["Bid"];
+if (s == null)
+s = _responseData["LastTradePriceOnly"];
}
return s;
}



[2/2] git commit: [flex-asjs] [refs/heads/develop] - fx:Style blocks in MXML weren't working. How did they ever work?

2017-08-09 Thread aharui
fx:Style blocks in MXML weren't working.  How did they ever 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/bf706bc8
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bf706bc8
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bf706bc8

Branch: refs/heads/develop
Commit: bf706bc8022d735f70a739e73e34ef50c542f0d0
Parents: dcd748c
Author: Alex Harui 
Authored: Wed Aug 9 10:18:29 2017 -0700
Committer: Alex Harui 
Committed: Wed Aug 9 10:19:13 2017 -0700

--
 .../Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf706bc8/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 36198f6..3c3f955 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
@@ -91,7 +91,7 @@ package org.apache.flex.core
c = 
ApplicationDomain.currentDomain.getDefinition(styleClassName) as Class;
 generateCSSStyleDeclarations(c["factoryFunctions"], c["data"]);
}
-   c = mainClass.constructor as Class;
+   c = main.constructor as Class;
 generateCSSStyleDeclarations(c["factoryFunctions"], c["data"]);
 if (hasEventListener("init"))
 dispatchEvent(new ValueEvent("init", false, false, 
c["fontFaces"]));



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

2017-08-09 Thread Apache Jenkins Server
The Apache Jenkins build system has built FlexJS Framework (maven) (build #1186)

Status: Still Failing

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

git commit: [flex-asjs] [refs/heads/develop] - Fixed event handling

2017-08-09 Thread harbs
Repository: flex-asjs
Updated Branches:
  refs/heads/develop e830366e4 -> dcd748c8c


Fixed event handling


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

Branch: refs/heads/develop
Commit: dcd748c8c2d3732891419599438cf13ecc6ce27b
Parents: e830366
Author: Harbs 
Authored: Wed Aug 9 19:45:30 2017 +0300
Committer: Harbs 
Committed: Wed Aug 9 19:45:30 2017 +0300

--
 .../org/apache/flex/html/beads/DispatchInputFinishedBead.as   | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dcd748c8/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DispatchInputFinishedBead.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DispatchInputFinishedBead.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DispatchInputFinishedBead.as
index 40cc900..7b932e2 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DispatchInputFinishedBead.as
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DispatchInputFinishedBead.as
@@ -23,10 +23,12 @@ package org.apache.flex.html.beads
import org.apache.flex.core.IStrand;
import org.apache.flex.events.Event;
import org.apache.flex.events.IEventDispatcher;
+   import org.apache.flex.events.utils.WhitespaceKeys;

COMPILE::JS
{
import org.apache.flex.core.IRenderedObject;
+   import org.org.apache.flex.events.KeyboardEvent;
import goog.events;
}

@@ -35,6 +37,7 @@ package org.apache.flex.html.beads
import flash.events.FocusEvent;
import flash.events.KeyboardEvent;
import org.apache.flex.html.beads.ITextFieldView;
+   import org.apache.flex.events.utils.WhitespaceKeys;
}

/**
@@ -118,9 +121,9 @@ package org.apache.flex.html.beads
 * @private
 */
COMPILE::JS
-   private function keydownHandler( event:Object ) : void
+   private function keydownHandler( event:KeyboardEvent ) 
: void
{
-   if (event.keyCode == 13) //enter
+   if (event.key == WhitespaceKeys.ENTER) //enter
{
(_strand as 
IEventDispatcher).dispatchEvent(new Event(INPUT_FINISHED));
}



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

2017-08-09 Thread Apache Jenkins Server
The Apache Jenkins build system has built FlexJS Framework (maven) (build #1185)

Status: Still Failing

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

git commit: [flex-asjs] [refs/heads/develop] - Fixed SimpleDataProviderChangeNotifier and renamed it to EasyDataProviderChangeNotifier

2017-08-09 Thread harbs
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 2b2c10092 -> e830366e4


Fixed SimpleDataProviderChangeNotifier and renamed it to 
EasyDataProviderChangeNotifier


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

Branch: refs/heads/develop
Commit: e830366e44f9643c30e62a2edcf998e8d36ac6cf
Parents: 2b2c100
Author: Harbs 
Authored: Wed Aug 9 13:42:37 2017 +0300
Committer: Harbs 
Committed: Wed Aug 9 13:42:37 2017 +0300

--
 .../beads/EasyDataProviderChangeNotifier.as | 108 +++
 .../beads/SimpleDataProviderChangeNotifier.as   |  90 
 .../Basic/src/main/resources/basic-manifest.xml |   2 +-
 3 files changed, 109 insertions(+), 91 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e830366e/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/EasyDataProviderChangeNotifier.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/EasyDataProviderChangeNotifier.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/EasyDataProviderChangeNotifier.as
new file mode 100644
index 000..0832581
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/EasyDataProviderChangeNotifier.as
@@ -0,0 +1,108 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.html.beads
+{
+   import org.apache.flex.collections.ArrayList;
+   import org.apache.flex.core.ISelectionModel;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.core.UIBase;
+   import org.apache.flex.events.IEventDispatcher;
+
+/**
+*  The EasyDataProviderChangeNotifier is similar to 
DataProviderChangeNotifier
+*  but allows the user to populate the data provider after it's been 
added.
+*  Also, no attributes are required. Just add 
.
+*  The dataProvider is assumed to be an ArrayList.
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public class EasyDataProviderChangeNotifier extends 
DataProviderChangeNotifier
+   {
+   /**
+*  constructor.
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.0
+*/
+   public function EasyDataProviderChangeNotifier()
+   {
+   super();
+   changeEventName = "dataProviderChanged";
+   }
+   
+   override public function set strand(value:IStrand):void
+   {
+   _strand = value;
+   if(changeEventName)
+   
selectionModel.addEventListener(changeEventName, destinationChangedHandler);
+   
+   destinationChangedHandler(null);
+   }
+   
+   override protected function 
destinationChangedHandler(event:Event):void
+   {
+   if (!dataProvider)
+   {
+   setDataProvider();
+   if (!dataProvider && !changeEventName)
+   
selectionModel.addEventListener("dataProviderChanged", setFirstDataProvider);
+   
+   } else
+   {
+