[4/5] git commit: [flex-asjs] [refs/heads/develop] - Add alt bead for images alt tag on JS / tooltip on AS

2017-07-10 Thread jmclean
Add alt bead for images alt tag on JS / tooltip on AS


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

Branch: refs/heads/develop
Commit: eafb8b556e413d314d4826ef3f16eac63df8
Parents: c0d218f
Author: Justin Mclean 
Authored: Tue Jul 11 15:40:05 2017 +1000
Committer: Justin Mclean 
Committed: Tue Jul 11 15:40:05 2017 +1000

--
 .../flex/html/beads/AccessibilityAltBead.as | 114 +++
 .../Basic/src/main/resources/basic-manifest.xml |   1 +
 2 files changed, 115 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eafb8111/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/AccessibilityAltBead.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/AccessibilityAltBead.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/AccessibilityAltBead.as
new file mode 100644
index 000..3bb3580
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/AccessibilityAltBead.as
@@ -0,0 +1,114 @@
+
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+package org.apache.flex.html.beads
+{
+
+   import org.apache.flex.core.IBead;
+   import org.apache.flex.core.IStrand;
+   import org.apache.flex.events.IEventDispatcher;
+   import org.apache.flex.events.ValueEvent;
+
+   COMPILE::SWF {
+   import org.apache.flex.html.accessories.ToolTipBead;
+   }
+
+/**
+*  The AccessibilityAltBead class is a bead that can be used with
+*  any Image control. The bead places add an alt text attribute
+*  on a image.
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.9
+*/
+   public class AccessibilityAltBead implements IBead
+   {
+   /**
+*  constructor.
+*
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.9
+*/
+   public function AccessibilityAltBead()
+   {
+   }
+   
+   private var _strand:IStrand;
+   private var _alt:String;
+   
+   /**
+*  @copy org.apache.flex.core.IBead#strand
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.9
+*  @flexjsignorecoercion HTMLInputElement
+*  @flexjsignorecoercion org.apache.flex.core.UIBase;
+*/
+   public function set strand(value:IStrand):void
+   {   
+   _strand = value;
+   updateHost();
+   }
+   
+   public function get alt():String
+   {
+   return _alt;
+   }
+
+   /**
+*  @private
+*/
+   public function set alt(value:String):void
+   {
+   if (value != _alt)
+   {
+   _alt = value;
+   updateHost();
+   }
+   }
+
+   private function updateHost():void
+   {
+   if(!_strand)
+   return;
+
+ 

[1/5] git commit: [flex-asjs] [refs/heads/develop] - FLEX-35337 place tool tip anchor point in the centre rather than the bottom right

2017-07-10 Thread jmclean
Repository: flex-asjs
Updated Branches:
  refs/heads/develop e93c11d7c -> 1d73de00b


FLEX-35337 place tool tip anchor point in the centre rather than the bottom 
right


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

Branch: refs/heads/develop
Commit: 3891820488387121767c92e1cf9c132f6e858496
Parents: 54d00a0
Author: Justin Mclean 
Authored: Tue Jul 11 14:43:29 2017 +1000
Committer: Justin Mclean 
Committed: Tue Jul 11 14:43:29 2017 +1000

--
 .../src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/38918204/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
index 64d04bf..03ce21e 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
@@ -122,7 +122,7 @@ package org.apache.flex.html.accessories
protected function determinePosition(event:MouseEvent, 
base:Object):Point
{
var comp:IUIBase = _strand as IUIBase;
-   var pt:Point = new Point(comp.width, comp.height);
+   var pt:Point = new Point(comp.width/2, comp.height/2);
pt = PointUtils.localToGlobal(pt, comp);
return pt;
}



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

2017-07-10 Thread jmclean
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-asjs 
into develop


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

Branch: refs/heads/develop
Commit: 1d73de00b5235161eccc24870169b484ed32
Parents: eafb811 e93c11d
Author: Justin Mclean 
Authored: Tue Jul 11 15:40:17 2017 +1000
Committer: Justin Mclean 
Committed: Tue Jul 11 15:40:17 2017 +1000

--
 .../flex/file/beads/FileLoaderAndUploader.as| 23 
 1 file changed, 14 insertions(+), 9 deletions(-)
--




[2/5] git commit: [flex-asjs] [refs/heads/develop] - FLEX-35338 stop cursor from spinning / CPU from spiking

2017-07-10 Thread jmclean
FLEX-35338 stop cursor from spinning / CPU from spiking


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

Branch: refs/heads/develop
Commit: 549a10d82da5835c61a2b1247b65f7bfbc2f9a36
Parents: 3891820
Author: Justin Mclean 
Authored: Tue Jul 11 14:57:04 2017 +1000
Committer: Justin Mclean 
Committed: Tue Jul 11 14:57:04 2017 +1000

--
 .../main/flex/org/apache/flex/html/accessories/ToolTipBead.as   | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/549a10d8/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
index 03ce21e..bdf0b68 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
@@ -100,7 +100,10 @@ package org.apache.flex.html.accessories
 * @private
 */
protected function rollOverHandler( event:MouseEvent ):void
-   {   
+   {
+   if (!toolTip)
+   return;
+
 IEventDispatcher(_strand).addEventListener(MouseEvent.MOUSE_OUT, 
rollOutHandler, false);
 
 var comp:IUIBase = _strand as IUIBase



[3/5] git commit: [flex-asjs] [refs/heads/develop] - FLEX-35339 stop tool tip flashing on and off like mad when you mouse over it

2017-07-10 Thread jmclean
FLEX-35339 stop tool tip flashing on and off like mad when you mouse over it


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

Branch: refs/heads/develop
Commit: c0d218f5bf0e83d2f82fa1979aad0ff09b6317f2
Parents: 549a10d
Author: Justin Mclean 
Authored: Tue Jul 11 15:36:05 2017 +1000
Committer: Justin Mclean 
Committed: Tue Jul 11 15:36:05 2017 +1000

--
 .../apache/flex/html/accessories/ToolTipBead.as | 47 +++-
 1 file changed, 25 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c0d218f5/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
--
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
index bdf0b68..b1f0620 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/accessories/ToolTipBead.as
@@ -18,26 +18,23 @@
 

 package org.apache.flex.html.accessories
 {
-   
+
import org.apache.flex.core.IBead;
import org.apache.flex.core.IPopUpHost;
import org.apache.flex.core.IStrand;
import org.apache.flex.core.IUIBase;
-   import org.apache.flex.core.UIBase;
-   import org.apache.flex.events.Event;
import org.apache.flex.events.IEventDispatcher;
import org.apache.flex.events.MouseEvent;
-   import org.apache.flex.events.utils.MouseUtils;
import org.apache.flex.geom.Point;
import org.apache.flex.html.ToolTip;
import org.apache.flex.utils.PointUtils;
import org.apache.flex.utils.UIUtils;
-   
+
/**
 *  The ToolTipBead class is a specialty bead that can be used with
 *  any control. The bead floats a string over a control if
  *  the user hovers over the control with a mouse.
-*  
+*
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
@@ -56,9 +53,9 @@ package org.apache.flex.html.accessories
public function ToolTipBead()
{
}
-   
+
private var _toolTip:String;
-   
+
/**
 *  The string to use as the toolTip.
 *
@@ -75,12 +72,12 @@ package org.apache.flex.html.accessories
{
 _toolTip = value;
}
-   
+
private var _strand:IStrand;
-   
+
/**
 *  @copy org.apache.flex.core.IBead#strand
-*  
+*
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
@@ -92,32 +89,34 @@ package org.apache.flex.html.accessories
 
 IEventDispatcher(_strand).addEventListener(MouseEvent.MOUSE_OVER, 
rollOverHandler, false);
}
-   
+
 private var tt:ToolTip;
 private var host:IPopUpHost;
-
+
/**
 * @private
 */
protected function rollOverHandler( event:MouseEvent ):void
{
-   if (!toolTip)
+   if (!toolTip || tt)
return;
 
 IEventDispatcher(_strand).addEventListener(MouseEvent.MOUSE_OUT, 
rollOutHandler, false);
-
+
 var comp:IUIBase = _strand as IUIBase
 host = UIUtils.findPopUpHost(comp);
if (tt) host.removeElement(tt);
-   
+
 tt = new ToolTip();
 tt.text = toolTip;
 var pt:Point = determinePosition(event, event.target);
 tt.x = pt.x;
 tt.y = pt.y;
 host.addElement(tt, false); // don't trigger a layout
+
+   tt.addEventListener(MouseEvent.MOUSE_OUT, 
rollOutHandler, false);
}
-   
+
/**
 * @private
 * Determines the position of the toolTip.
@@ -129,16 +128,20 @@ package org.apache.flex.html.accessories
pt = PointUtils.localToGlobal(pt, comp);
return pt;
}
-
+
 /**
 

git commit: [flex-asjs] [refs/heads/develop] - Use composition instead of inheritance to allow compound bead to use different sub beads

2017-07-10 Thread yishayw
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 54d00a044 -> e93c11d7c


Use composition instead of inheritance to allow compound bead to use different
sub beads


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

Branch: refs/heads/develop
Commit: e93c11d7c000f41e24e489386ba11db99b9157f6
Parents: 54d00a0
Author: DESKTOP-RH4S838\Yishay 
Authored: Tue Jul 11 08:11:43 2017 +0300
Committer: DESKTOP-RH4S838\Yishay 
Committed: Tue Jul 11 08:11:43 2017 +0300

--
 .../flex/file/beads/FileLoaderAndUploader.as| 23 
 1 file changed, 14 insertions(+), 9 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e93c11d7/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoaderAndUploader.as
--
diff --git 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoaderAndUploader.as
 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoaderAndUploader.as
index 2b66552..6f29f5b 100644
--- 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoaderAndUploader.as
+++ 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoaderAndUploader.as
@@ -17,8 +17,10 @@
 

 package org.apache.flex.file.beads
 {
+   import org.apache.flex.core.IBead;
import org.apache.flex.core.IStrand;
import org.apache.flex.events.Event;
+   import org.apache.flex.file.FileProxy;
 
/**
 *  The FileLoaderAndUploader is a compound bead that allows you
@@ -31,10 +33,12 @@ package org.apache.flex.file.beads
 *  @playerversion AIR 2.6
 *  @productversion FlexJS 0.9
 */
-   public class FileLoaderAndUploader extends FileUploader
+   public class FileLoaderAndUploader implements IBead
{
private var _loader:FileLoader;
+   private var _uploader:FileUploader;
private var _url:String;
+   private var _strand:IStrand;
public function FileLoaderAndUploader()
{
super();
@@ -48,15 +52,16 @@ package org.apache.flex.file.beads
 *  @playerversion AIR 2.6
 *  @productversion FlexJS 0.9
 */
-   override public function set strand(value:IStrand):void
+   public function set strand(value:IStrand):void
{
-   super.strand = value;
+   _strand = value;
_loader = value.getBeadByType(FileLoader) as FileLoader;
if (!_loader)
{
_loader = new FileLoader();
value.addBead(_loader);
}
+   _uploader = value.getBeadByType(FileUploader) as 
FileUploader;
}

/**
@@ -68,17 +73,17 @@ package org.apache.flex.file.beads
 *  @productversion FlexJS 0.9
 */

-   override public function upload(url:String):void
+   public function upload(url:String):void
{
-   var fileModel:FileModel = host.model as FileModel;
+   var fileModel:FileModel = (_strand as FileProxy).model 
as FileModel;
if (!fileModel.blob)
{
_url = url;
-   host.model.addEventListener("blobChanged", 
blobChangedHandler);
+   (_strand as 
FileProxy).model.addEventListener("blobChanged", blobChangedHandler);
_loader.load();
} else
{
-   super.upload(url);
+   _uploader.upload(url);
}
}

@@ -87,8 +92,8 @@ package org.apache.flex.file.beads
 */
private function blobChangedHandler(e:Event):void
{
-   host.model.removeEventListener('blobChanged', 
blobChangedHandler);
-   super.upload(_url);
+   (_strand as 
FileProxy).model.removeEventListener('blobChanged', blobChangedHandler);
+   _uploader.upload(_url);

git commit: [flex-asjs] [refs/heads/develop] - Add FileUploaderWithResponseData

2017-07-10 Thread yishayw
Repository: flex-asjs
Updated Branches:
  refs/heads/develop c6a24011b -> 54d00a044


Add FileUploaderWithResponseData


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

Branch: refs/heads/develop
Commit: 54d00a044196ec62e81840b3134f9f17f26f4cb1
Parents: c6a2401
Author: DESKTOP-RH4S838\Yishay 
Authored: Mon Jul 10 19:30:12 2017 +0300
Committer: DESKTOP-RH4S838\Yishay 
Committed: Mon Jul 10 19:30:12 2017 +0300

--
 .../main/flex/org/apache/flex/file/FileProxy.as |  9 
 .../flex/file/beads/FileLoaderAndUploader.as|  2 +-
 .../org/apache/flex/file/beads/FileUploader.as  | 18 
 .../file/beads/FileUploaderWithResponseData.as  | 43 
 .../src/main/resources/basic-manifest.xml   |  1 +
 5 files changed, 72 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54d00a04/frameworks/projects/Network/src/main/flex/org/apache/flex/file/FileProxy.as
--
diff --git 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/FileProxy.as 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/FileProxy.as
index 738cf55..38c2fe8 100644
--- 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/FileProxy.as
+++ 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/FileProxy.as
@@ -23,6 +23,15 @@ package org.apache.flex.file
import org.apache.flex.file.beads.FileModel;

/**
+*  Indicates that the model has changed
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.9
+*/
+   [Event(name="modelChanged", type="org.apache.flex.events.Event")]
+   /**
 *  The FileProxy class is where beads regarding file operations are 
added.
 *  Information about operations can be queried in the file model, or by
 *  listenening to events dispatched by beads.

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54d00a04/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoaderAndUploader.as
--
diff --git 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoaderAndUploader.as
 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoaderAndUploader.as
index 77ba96c..2b66552 100644
--- 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoaderAndUploader.as
+++ 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoaderAndUploader.as
@@ -21,7 +21,7 @@ package org.apache.flex.file.beads
import org.apache.flex.events.Event;
 
/**
-*  The FileLoaderUploader is a compound bead that allows you
+*  The FileLoaderAndUploader is a compound bead that allows you
 *  to load a file and upload it in one operation.
 *  
 *

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/54d00a04/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileUploader.as
--
diff --git 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileUploader.as
 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileUploader.as
index 0cf4d5f..470eb28 100644
--- 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileUploader.as
+++ 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileUploader.as
@@ -19,6 +19,8 @@ package org.apache.flex.file.beads
 {
import org.apache.flex.core.IBead;
import org.apache.flex.core.IStrand;
+   import org.apache.flex.events.Event;
+   import org.apache.flex.events.IEventDispatcher;
import org.apache.flex.file.FileProxy;
import org.apache.flex.net.URLBinaryLoader;
import org.apache.flex.net.URLRequest;
@@ -37,6 +39,15 @@ package org.apache.flex.file.beads
}

/**
+*  Indicates that the upload operation is complete
+*  
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.9
+*/
+   [Event(name="complete", type="org.apache.flex.events.Event")]
+   /**
 *  The FileUploader class is a bead which adds to FileProxy
 *  the ability to upload files.
 *  
@@ -70,9 +81,16 @@ package org.apache.flex.file.beads

Build failed in Jenkins: flex-utilities_installer #1221

2017-07-10 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 8b168c154b5fba0eeba3e7a064f64b4d4d930e47 (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 
 > 8b168c154b5fba0eeba3e7a064f64b4d4d930e47
 > C:\Program Files (x86)\Git\cmd\git.exe rev-list 
 > 8b168c154b5fba0eeba3e7a064f64b4d4d930e47 # 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] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[compc] 
C:\Jenkins\workspace\flex-utilities_installer\flex-installer\ant_on_air\bin\ant_on_air.swc
 (134464 bytes)

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
 (1147470 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

failuretests:

main:

BUILD SUCCESSFUL
Total time: 1 minute 23 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 

git commit: [flex-asjs] [refs/heads/develop] - Make FileProxy and IModel

2017-07-10 Thread yishayw
Repository: flex-asjs
Updated Branches:
  refs/heads/develop f1e5346ec -> c6a24011b


Make FileProxy and IModel


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

Branch: refs/heads/develop
Commit: c6a24011bb3f9869edb0337679aa1f841765ea8b
Parents: f1e5346
Author: DESKTOP-RH4S838\Yishay 
Authored: Mon Jul 10 11:33:06 2017 +0300
Committer: DESKTOP-RH4S838\Yishay 
Committed: Mon Jul 10 11:33:06 2017 +0300

--
 .../main/flex/org/apache/flex/file/FileProxy.as | 18 ++-
 .../flex/org/apache/flex/file/IFileModel.as | 55 
 .../org/apache/flex/file/beads/FileModel.as | 42 ++-
 3 files changed, 77 insertions(+), 38 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c6a24011/frameworks/projects/Network/src/main/flex/org/apache/flex/file/FileProxy.as
--
diff --git 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/FileProxy.as 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/FileProxy.as
index bdef5e8..738cf55 100644
--- 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/FileProxy.as
+++ 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/FileProxy.as
@@ -20,6 +20,7 @@ package org.apache.flex.file
import org.apache.flex.core.IBead;
import org.apache.flex.core.IDocument;
import org.apache.flex.core.Strand;
+   import org.apache.flex.file.beads.FileModel;

/**
 *  The FileProxy class is where beads regarding file operations are 
added.
@@ -32,7 +33,7 @@ package org.apache.flex.file
 *  @playerversion AIR 2.6
 *  @productversion FlexJS 0.9
 */
-   public class FileProxy extends Strand implements IDocument
+   public class FileProxy extends Strand implements IDocument, IFileModel
{
private var _document:Object;
public function FileProxy()
@@ -53,5 +54,20 @@ package org.apache.flex.file
}
}
 
+   public function get lastModified():uint
+   {
+   return (model as FileModel).lastModified;
+   }
+   
+   public function get name():String
+   {
+   return (model as FileModel).name;
+   }
+   
+   public function get type():String
+   {
+   return (model as FileModel).type;
+   }
+   
}
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c6a24011/frameworks/projects/Network/src/main/flex/org/apache/flex/file/IFileModel.as
--
diff --git 
a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/IFileModel.as 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/IFileModel.as
new file mode 100644
index 000..a81bef8
--- /dev/null
+++ 
b/frameworks/projects/Network/src/main/flex/org/apache/flex/file/IFileModel.as
@@ -0,0 +1,55 @@
+
+//
+//  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.file
+{
+   public interface IFileModel
+   {
+   /**
+*  The type of the file
+* 
+*  @langversion 3.0
+*  @playerversion Flash 10.2
+*  @playerversion AIR 2.6
+*  @productversion FlexJS 0.9
+*/
+   function get type():String;
+   
+   /**
+*  

git commit: [flex-asjs] [refs/heads/develop] - Added missing import

2017-07-10 Thread harbs
Repository: flex-asjs
Updated Branches:
  refs/heads/develop de76adbcf -> f1e5346ec


Added missing import


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

Branch: refs/heads/develop
Commit: f1e5346eca5fe937d989b5d608e67f6e4be63541
Parents: de76adb
Author: Harbs 
Authored: Mon Jul 10 11:20:35 2017 +0300
Committer: Harbs 
Committed: Mon Jul 10 11:20:35 2017 +0300

--
 .../Basic/src/main/flex/org/apache/flex/svg/GraphicContainer.as | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f1e5346e/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 8c4f9af..8734ebb 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
@@ -26,6 +26,7 @@ package org.apache.flex.svg
{
import org.apache.flex.core.IContainer;
import org.apache.flex.core.UIBase;
+   import org.apache.flex.events.Event;
}
 
[DefaultProperty("mxmlContent")]



git commit: [flex-asjs] [refs/heads/develop] - Added missing import

2017-07-10 Thread harbs
Repository: flex-asjs
Updated Branches:
  refs/heads/develop a94cb40f2 -> de76adbcf


Added missing import


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

Branch: refs/heads/develop
Commit: de76adbcfef31f5f53ffd11e89f7e12758338563
Parents: a94cb40
Author: Harbs 
Authored: Mon Jul 10 11:15:11 2017 +0300
Committer: Harbs 
Committed: Mon Jul 10 11:15:11 2017 +0300

--
 .../TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as  | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/de76adbc/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as
--
diff --git 
a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as
 
b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as
index 81b7804..9eda00b 100644
--- 
a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as
+++ 
b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as
@@ -26,6 +26,7 @@ package org.apache.flex.textLayout.edit
 COMPILE::JS
 {
 import org.apache.flex.textLayout.events.EditEvent;
+import org.apache.flex.events.Event;
 }
/** 
 * The Clipboard class is used for Clipboard operations such as copy 
and paste



Build failed in Jenkins: flex-tlf #1127

2017-07-10 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 

   [delete] Deleting: 


textLayout:
[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\textLayout.swc (550052 bytes)

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] 
C:\Jenkins\workspace\flex-tlf\bin\apps\asTestApps\bin\ExplicitFormField.swf 
(521422 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 [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 (528619 
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\AliceScroll.swf (589428 
bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 [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\KeyLogger.swf 
(2163 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
 [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\OpHammer.swf 
(531610 bytes)

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

textLayout_ui:
[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_ui.swc (112803 
bytes)

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 
(2191715 bytes)
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8