ADG empty column regression issue with 4.11

2014-03-11 Thread Justin Mclean
Hi,

Found a regression issue with 4.11 do to changes in ADG's 
itemToLabelWithoutFormatting.

Code example here:
https://issues.apache.org/jira/browse/FLEX-34132

While it is a regression issue it's not a serious one IMO and has many 
workaround. You'll unlikely to run into this in a real application, as most ADC 
columns will have dataFields or via labelFuctions or item renderers.

The changes made were probably what the function intended in the first place, 
as previously this code would return before falling though to the 
data.toString() call at the end of the method. 

What do other people think? It easy enough to change back to the slightly 
faulty implementation or we can document it as a difference.

Thanks,
Justin



ADG Bug of the day

2014-03-11 Thread Justin Mclean
Hi,

Anyone see anything wrong with this method (from the ADG)?

mx_internal function columnWordWrap(c:AdvancedDataGridColumn):Boolean
{
if (c.wordWrap == true)
return true;
if (c.wordWrap == false)
return false;

return wordWrap;
}

Turns out wordWrap is a * and should only have the values true, false and 
undefined. Who would like to bet that it may be set to other values? :-)

Thanks,
Justin

Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Alex Harui
What is the practical purpose for not specifying dataField or
labelFunction?  If it were up to me, I'd wait until someone says it broke
them before spending energy working on it.

-Alex

On 3/10/14 11:10 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

Found a regression issue with 4.11 do to changes in ADG's
itemToLabelWithoutFormatting.

Code example here:
https://issues.apache.org/jira/browse/FLEX-34132

While it is a regression issue it's not a serious one IMO and has many
workaround. You'll unlikely to run into this in a real application, as
most ADC columns will have dataFields or via labelFuctions or item
renderers.

The changes made were probably what the function intended in the first
place, as previously this code would return before falling though to the
data.toString() call at the end of the method.

What do other people think? It easy enough to change back to the slightly
faulty implementation or we can document it as a difference.

Thanks,
Justin




Re: ADG Bug of the day

2014-03-11 Thread Alex Harui
At Adobe, the policy was GIGO (Garbage In, Garbage Out).  If you provide
values outside of the allowed values, we did not promise anything
reasonable would happen and we generally did no check the values assigned.
 Do we want to switch to a policy to fatten and slow down the SDK with
input checking?

On 3/10/14 11:23 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

Anyone see anything wrong with this method (from the ADG)?

mx_internal function columnWordWrap(c:AdvancedDataGridColumn):Boolean
{
if (c.wordWrap == true)
return true;
if (c.wordWrap == false)
return false;

return wordWrap;
}

Turns out wordWrap is a * and should only have the values true, false and
undefined. Who would like to bet that it may be set to other values? :-)

Thanks,
Justin



Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Justin Mclean
Hi,

 What is the practical purpose for not specifying dataField or
 labelFunction?

Not much, but I have see empty columns in ADG for cosmetic reasons (you want 
the ADG to take up all the space but not stretch other columns) and to get 
around ADG resizing issues (it tends to change the width of the last column 
when fixed column widths are specified).

  If it were up to me, I'd wait until someone says it broke
 them before spending energy working on it.

Fair enough + that's my thoughts as well - but the fix if required is 
straight forward.

Thanks,
Justin

Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Alex Harui
Ah yes, the fake column on the right.  I've suggested that to people in
the past.

If you've got a fix ready to go, might as well check it in.

-Alex

On 3/10/14 11:37 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 What is the practical purpose for not specifying dataField or
 labelFunction?

Not much, but I have see empty columns in ADG for cosmetic reasons (you
want the ADG to take up all the space but not stretch other columns) and
to get around ADG resizing issues (it tends to change the width of the
last column when fixed column widths are specified).

  If it were up to me, I'd wait until someone says it broke
 them before spending energy working on it.

Fair enough + that's my thoughts as well - but the fix if required is
straight forward.

Thanks,
Justin



Re: ADG Bug of the day

2014-03-11 Thread Justin Mclean
Hi,

 At Adobe, the policy was GIGO (Garbage In, Garbage Out).  If you provide
 values outside of the allowed values, we did not promise anything
 reasonable would happen and we generally did no check the values assigned.
 Do we want to switch to a policy to fatten and slow down the SDK with
 input checking?

In this case doing a check against  undefined is probable faster and IMO more 
clearly states what is going on.

if (c.headerWordWrap == undefined)
return headerWordWrap;
else
return c.headerWordWrap;

That's one check and one property lookup if it's undefined or one check and two 
property lookups if not.

   if (c.wordWrap == true)
   return true;
   if (c.wordWrap == false)
   return false;

   return wordWrap;

That's two checks and two property lookups if it's undefined or one or two 
checks and one or two property lookups if not.

Thanks,
Justin

Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Justin Mclean
Hi,

 If you've got a fix ready to go, might as well check it in.

The original behaviour was a little  broken in that it wouldn't call toString 
at all, so I think the new 4.12 code is what was actually intended but it's 
hard to know.

Thanks,
Justin

Re: ADG Bug of the day

2014-03-11 Thread Justin Mclean
Hi,

And give the default is undefined it make sense to make that the faster path 
IMO.

Am I missing something? Do you think otherwise?

Thanks,
Justin

Re: ADG Bug of the day

2014-03-11 Thread Alex Harui
There are plenty of places to improve SDK code.  If that's your itch,
start scratching.  I don't know how much you'll actually save after the
JIT, but hey, I won't veto it (unless you use == instead of ===).  I think
all undefined checks should use ===.  Otherwise it would match null.

-Alex

On 3/10/14 11:51 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

And give the default is undefined it make sense to make that the faster
path IMO.

Am I missing something? Do you think otherwise?

Thanks,
Justin



Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Alex Harui
What change was this?  I'll try to take a look tomorrow.  Time to pack it
in for today.

On 3/10/14 11:45 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 If you've got a fix ready to go, might as well check it in.

The original behaviour was a little  broken in that it wouldn't call
toString at all, so I think the new 4.12 code is what was actually
intended but it's hard to know.

Thanks,
Justin



Re: ADG Bug of the day

2014-03-11 Thread Justin Mclean
Hi,

  I don't know how much you'll actually save after the JIT
No idea either - plus it very likely this is not exactly a bottle neck in the 
ADG code.

But the original code did offend me as it's meaning was IMO less than clear.

Thanks,
Justin



Re: ADG Bug of the day

2014-03-11 Thread Justin Mclean
Hi,

 I won't veto it (unless you use == instead of ===).  I think
 all undefined checks should use ===.  Otherwise it would match null.

JFYI There probably 100+ places in the SDK were we use == undefined rather than 
== undefined. From a quick search it look like === undefined is used is a few 
more places.

There's a simple patch if someone want to test and submit one :-)

Thanks,
Justin

Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Justin Mclean
Hi,

 What change was this?  I'll try to take a look tomorrow. 

https://github.com/apache/flex-sdk/commit/a7109bab8409cb60cc0b64de07ce01bad875b701

Justin

First day installs stats

2014-03-11 Thread Justin Mclean
Hi,

On the day it was released:
4.10 had 309 installs
4.11 had 352 installs
4.12 had 401 installs

(The 4.12 number may be higher as I'm not 100% sure Google Analytics  100% upto 
date).

Justin

Please welcome Piotr Zarzycki as the newest Apache Flex committer

2014-03-11 Thread Justin Mclean
Hi,

I am pleased to announce that the Project Management Committee (PMC) for Apache 
Flex has invited Piotr Zarzycki to become a committer and that he has accepted.

Piotr has raised several (good quality) JIRA issues, been active and helpful on 
the mailing list, has reviewed several release candidates and found a few 
issues with them.

Please welcome Piotr as the newest Apache Flex committer.

Thanks,
Justin

RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC6

2014-03-11 Thread Maurice Amsellem
I think it should be enabled after exception, because when I get back 
my internet connection I could try to install Flex once again without 
restart installer.
ALEX: That is way more work than I would like to take on.  

I think it's not clear to the users Installation aborted means you have to 
exit the installer and start over.

So maybe the Installation aborted message in the log should be changed to 
something more explicit, such as:

Installation aborted.  Restart the installer to try again.

That's a simple change.

WDYT?

Maurice 

-Message d'origine-
De : Alex Harui [mailto:aha...@adobe.com] 
Envoyé : mardi 11 mars 2014 00:42
À : dev@flex.apache.org
Objet : Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC6

1)  That is way more work than I would like to take on.  We'd have to poll for 
the recovery of the network and then load all of the prior support files like 
the -config.xml and locale files, essentially re-starting the app without 
actually restarting it.

2) If the progress bar squares are visible, then no, the log should not be 
auto-displayed.  Instead, one of the squares should go red.


On 3/10/14 4:19 PM, piotr.zarzycki piotrzarzyck...@gmail.com wrote:

Like you suggest Alex I have tested installer with unplugged connection:

Case I:

1) Started installer
2) Unplug internet
3) Click Next and got nice error log popup
4) After close popup I have disabled Next button - 
http://bit.ly/PlsSlv

I think it should be enabled after exception, because when I get back 
my internet connection I could try to install Flex once again without 
restart installer.

Case II: 

1) I have passed 2 steps: Select version and Select installation 
directory
2) Unplug internet
3) Go to the next step and got Installation aborted - Popup with 
installation log haven't appeared.
 
It should appear like on the first step of installation ?

Piotr



-
Flex/Air developer.
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/DISCUSS-Discuss-Re
lea se-Apache-Flex-SDK-Installer-3-0-RC6-tp35420p35580.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.



AW: Please welcome Piotr Zarzycki as the newest Apache Flex committer

2014-03-11 Thread Christofer Dutz
Congrats Piotr :-)


Von: Justin Mclean jus...@classsoftware.com
Gesendet: Dienstag, 11. März 2014 09:17
An: dev@flex.apache.org
Betreff: Please welcome Piotr Zarzycki as the newest Apache Flex committer

Hi,

I am pleased to announce that the Project Management Committee (PMC) for Apache 
Flex has invited Piotr Zarzycki to become a committer and that he has accepted.

Piotr has raised several (good quality) JIRA issues, been active and helpful on 
the mailing list, has reviewed several release candidates and found a few 
issues with them.

Please welcome Piotr as the newest Apache Flex committer.

Thanks,
Justin


RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Maurice Amsellem
About what to do when the installation aborts ( copied from RC6 thread)

Piotr proposes to retry when the connection is recovered (or at least have a 
retry button).
I understand and agree (dixit Alex) that's way more work that we want to put in 
the installer.

IMO, the problem is that it's not clear to users, when the installation has 
aborted, that you have to *restart* the installer.

So maybe the Installation aborted message in the log should be changed to 
something more explicit, such as:

Installation aborted.  Restart the installer to try again.

That's a simple change.

WDYT?

Maurice

-Message d'origine-
De : Alex Harui [mailto:aha...@adobe.com] 
Envoyé : mardi 11 mars 2014 06:21
À : dev@flex.apache.org
Objet : [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

This is the discussion thread.

This RC contains lots of small changes to try to handle inability to connect to 
the server to get the various config and locale files. It hard-codes the en_US 
strings so it doesn't have to go to the server to get them so that there will 
at least be english strings if the server isn't there.

It also fixes a timing bug if you change locales rapidly.

In theory, I did not touch any cache-related code.

-Alex





RE: Please welcome Piotr Zarzycki as the newest Apache Flex committer

2014-03-11 Thread Maurice Amsellem
Congratulations Piotr.

I am happy to see you on board :-)

Maurice 

-Message d'origine-
De : Christofer Dutz [mailto:christofer.d...@c-ware.de] 
Envoyé : mardi 11 mars 2014 09:22
À : dev@flex.apache.org
Objet : AW: Please welcome Piotr Zarzycki as the newest Apache Flex committer

Congrats Piotr :-)


Von: Justin Mclean jus...@classsoftware.com
Gesendet: Dienstag, 11. März 2014 09:17
An: dev@flex.apache.org
Betreff: Please welcome Piotr Zarzycki as the newest Apache Flex committer

Hi,

I am pleased to announce that the Project Management Committee (PMC) for Apache 
Flex has invited Piotr Zarzycki to become a committer and that he has accepted.

Piotr has raised several (good quality) JIRA issues, been active and helpful on 
the mailing list, has reviewed several release candidates and found a few 
issues with them.

Please welcome Piotr as the newest Apache Flex committer.

Thanks,
Justin


Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Erik de Bruin
Alex,

This is just you trying to beat the record Om and I set with the first
release of the installer, right?

7 down, 3 to go...

;-)

EdB




On Tue, Mar 11, 2014 at 6:21 AM, Alex Harui aha...@adobe.com wrote:

 This is the discussion thread.

 This RC contains lots of small changes to try to handle inability to
 connect to the server to get the various config and locale files. It
 hard-codes the en_US strings so it doesn't have to go to the server to get
 them so that there will at least be english strings if the server isn't
 there.

 It also fixes a timing bug if you change locales rapidly.

 In theory, I did not touch any cache-related code.

 -Alex






-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread piotr.zarzycki
I think Maurice's proposition as a much cleaner message for the user on the
Installation progress step is a great solution for this!

The rest of my proposition such as restart and back button could wait
for the future releases. I'm going to rise jira ticket for that and try to
do it if Alex wouldn't mind. - But this is after release current version. :)

Piotr





-
Flex/Air developer.
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/DISCUSS-Discuss-Release-Apache-Flex-SDK-Installer-3-0-RC7-tp35588p35610.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Please welcome Piotr Zarzycki as the newest Apache Flex committer

2014-03-11 Thread Carlos Rovira
Congrats Piotr!,

Welcome aboard :)

C.


2014-03-11 9:24 GMT+01:00 Maurice Amsellem maurice.amsel...@systar.com:

 Congratulations Piotr.

 I am happy to see you on board :-)

 Maurice

 -Message d'origine-
 De : Christofer Dutz [mailto:christofer.d...@c-ware.de]
 Envoyé : mardi 11 mars 2014 09:22
 À : dev@flex.apache.org
 Objet : AW: Please welcome Piotr Zarzycki as the newest Apache Flex
 committer

 Congrats Piotr :-)

 
 Von: Justin Mclean jus...@classsoftware.com
 Gesendet: Dienstag, 11. März 2014 09:17
 An: dev@flex.apache.org
 Betreff: Please welcome Piotr Zarzycki as the newest Apache Flex committer

 Hi,

 I am pleased to announce that the Project Management Committee (PMC) for
 Apache Flex has invited Piotr Zarzycki to become a committer and that he
 has accepted.

 Piotr has raised several (good quality) JIRA issues, been active and
 helpful on the mailing list, has reviewed several release candidates and
 found a few issues with them.

 Please welcome Piotr as the newest Apache Flex committer.

 Thanks,
 Justin




-- 
Carlos Rovira
Director de Tecnología
M: +34 607 22 60 05
F:  +34 912 94 80 80
http://www.codeoscopic.com
http://www.directwriter.es
http://www.avant2.es


RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Maurice Amsellem
Test results of RC7.
Summary: 
Connection errors are handled correctly at early steps (resource bundles, 
config files), but not during downloads ( at least not in all places).

Details below:

Windows 7,  locale=FR

General:
Minor: Install Log button  tool tip says Display downloaded apps, and it's 
not localized.
But I couldn't find tooltip statement in the source code.
https://www.dropbox.com/s/cp834wv4bei9fq2/tooltip.png 


Test #1: start installer, internet unplugged:
After a few seconds, the console appears with a few messages in English + 
'Installation aborted'.
= OK

Test #2: install FlexJS,, cache loaded, unplug internet in the middle:
Installation completes sucessfully
Note:  notices are in English, but that's OK (FlexJS install script not 
localized)
= OK


Test #3: install FlexJS,  file missing from cache (guava), unplug in the middle:
= Red square + busy square  but no message or console.
= OK but confusing (busy cursor)
https://www.dropbox.com/s/yrc2occkqbx6gv2/test3_red_square.png 

Test#4:  installer FlexJS after abort, cache uncomplete
= install sucessful
= OK

Test#5: install FlexSDK 4.12 / AIR 4.0, unplug in the middle of sdk download
= after a few minutes,  busy cursor is still running
= KO.  ( error not handled).
https://www.dropbox.com/s/pc1z0psy7dja0eu/test5_KO_no_error.png 


Maurice 

-Message d'origine-
De : piotr.zarzycki [mailto:piotrzarzyck...@gmail.com] 
Envoyé : mardi 11 mars 2014 09:36
À : dev@flex.apache.org
Objet : RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

I think Maurice's proposition as a much cleaner message for the user on the 
Installation progress step is a great solution for this!

The rest of my proposition such as restart and back button could wait for 
the future releases. I'm going to rise jira ticket for that and try to do it if 
Alex wouldn't mind. - But this is after release current version. :)

Piotr





-
Flex/Air developer.
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/DISCUSS-Discuss-Release-Apache-Flex-SDK-Installer-3-0-RC7-tp35588p35610.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Please welcome Piotr Zarzycki as the newest Apache Flex committer

2014-03-11 Thread Jose Barragan
Welcome aboard, Piotr!!
__
Jose Barragan
Senior Software Engineer
Codeoscopic
+34 912 94 80 80
http://www.codeoscopic.com

On 11 Mar 2014, at 09:45, Carlos Rovira carlos.rov...@codeoscopic.com wrote:

 Congrats Piotr!,
 
 Welcome aboard :)
 
 C.
 
 
 2014-03-11 9:24 GMT+01:00 Maurice Amsellem maurice.amsel...@systar.com:
 
 Congratulations Piotr.
 
 I am happy to see you on board :-)
 
 Maurice
 
 -Message d'origine-
 De : Christofer Dutz [mailto:christofer.d...@c-ware.de]
 Envoyé : mardi 11 mars 2014 09:22
 À : dev@flex.apache.org
 Objet : AW: Please welcome Piotr Zarzycki as the newest Apache Flex
 committer
 
 Congrats Piotr :-)
 
 
 Von: Justin Mclean jus...@classsoftware.com
 Gesendet: Dienstag, 11. März 2014 09:17
 An: dev@flex.apache.org
 Betreff: Please welcome Piotr Zarzycki as the newest Apache Flex committer
 
 Hi,
 
 I am pleased to announce that the Project Management Committee (PMC) for
 Apache Flex has invited Piotr Zarzycki to become a committer and that he
 has accepted.
 
 Piotr has raised several (good quality) JIRA issues, been active and
 helpful on the mailing list, has reviewed several release candidates and
 found a few issues with them.
 
 Please welcome Piotr as the newest Apache Flex committer.
 
 Thanks,
 Justin
 
 
 
 
 -- 
 Carlos Rovira
 Director de Tecnología
 M: +34 607 22 60 05
 F:  +34 912 94 80 80
 http://www.codeoscopic.com
 http://www.directwriter.es
 http://www.avant2.es



Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Paul Hastings
windows 7, installer appears to hang on last block in the UI (i let it sit for 
almost 2 hours). on a whim i tried to compile using what was installed  FB 
threw out of memory errors (WAG install never really completed).


log:

Version 3.0.0 (windows)
Using Locale:en_US
Fetched the SDK download mirror URL from the CGI.
AIR version 3.7
Flash Player version 11.7
Creating Apache Flex home
Creating temporary directory
Downloading Apache Flex SDK from: 
http://apache.osuosl.org/flex/4.12.0/binaries/apache-flex-sdk-4.12.0-bin.zip

Verifying Apache Flex SDK MD5 Signature
The Apache Flex SDK MD5 Signature of the downloaded files matches the reference. 
The file is valid.
Uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder 
4.6\sdks\4.12.0FP11.7\temp\apache-flex-sdk-4.12.0-bin.zip
Finished uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder 
4.6\sdks\4.12.0FP11.7\temp\apache-flex-sdk-4.12.0-bin.zip
Downloading Adobe AIR Runtime Kit for Windows from: 
http://airdownload.adobe.com/air/win/download/3.7//AdobeAIRSDK.zip
Finished uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder 
4.6\sdks\4.12.0FP11.7/in/AdobeAIRSDK.zip
Installing Adobe Flash Player playerglobal.swc from: 
http://download.macromedia.com/get/flashplayer/updaters/11//playerglobal11_7.swc

Downloading swfobject_2_2.zip from: http://swfobject.googlecode.com/files
Download complete
Downloading OSMF.swc from: 
http://downloads.sourceforge.net/project/osmf.adobe/OSMF%202.0%20Release%20%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes%29
Downloading afe.jar from: 
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
Downloading aglj40.jar from: 
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
Downloading flex-fontkit.jar from: 
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
Downloading rideau.jar from: 
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
Downloading flex-messaging-common.jar from: 
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib

Installing frameworks configuration files configured for use with an IDE
C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.12.0FP11.7 is now an 
IDE compatible folder




Specifying -static-link-runtime-shared-libraries=false breaks on OSMF

2014-03-11 Thread Tom Chiverton
As soon as I try to use an RSL for the framework files my passing 
-static-link-runtime-shared-libraries=false to MXMLC, compile fails with


/home/tchiverton/workspace/apache-flex-4.12/apache-flex-sdk-4.12.0-bin/frameworks/flex-config.xml(411): 
Error: unable to open 'libs/osmf.swc'


and there's a comment in the flex-config that says for that library:

 !--
Even though there is no OSMF rsl leave this in so that in a 
FlashBuilder
Flex Library project, FlashBuilder will allow Link Type 
to be external.


If I comment this block out, all is good. This is an Ant-based install 
on Linux - does the flex-config have to be this way ? Is there a way to 
flag it so MXMLC isn't confused ?

--
extravision Signature
*Tom Chiverton* | Lead Developer | Extravision
*T:* 0161 817 2922 | *W:* www.extravision.com 
http://www.extravision.com | *T:* twitter.com/extravision 
http://twitter.com/extravision | *E:* tchiver...@extravision.com 
mailto:tchiver...@extravision.com

.
.
 A fresh approach to email marketing

.
Registered in the UK at : 107 Timber Wharf, 33 Worsley Street, 
Manchester, M15 4LD. Registration number: 05017214 VAT: GB 824 5386 19


Disclaimer: This e-mail is intended solely for the person to whom it is 
addressed and may contain confidential or privileged information. If you 
have received it in error please notify us immediately and destroy this 
e-mail and any attachments. In addition, you must not disclose, copy, 
distribute or take any action in reliance on this e-mail or any 
attachments. Any views or opinions presented in this e-mail are solely 
of the author and do not necessarily represent those of Extravision Ltd. 
E-mail may be susceptible to data corruption, interception, unauthorised 
amendment, viruses and delays or the consequences thereof. Accordingly, 
this e-mail and any attachments are opened at your own risk.




RE: ADG Bug of the day

2014-03-11 Thread Kessler CTR Mark J
I would say to use a proper data type.  Would like to think we didn't blindly 
use * for things just for the sake of convenience.

-Mark

-Original Message-
From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Tuesday, March 11, 2014 2:32 AM
To: dev@flex.apache.org
Subject: Re: ADG Bug of the day

At Adobe, the policy was GIGO (Garbage In, Garbage Out).  If you provide
values outside of the allowed values, we did not promise anything
reasonable would happen and we generally did no check the values assigned.
 Do we want to switch to a policy to fatten and slow down the SDK with
input checking?

On 3/10/14 11:23 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

Anyone see anything wrong with this method (from the ADG)?

mx_internal function columnWordWrap(c:AdvancedDataGridColumn):Boolean
{
if (c.wordWrap == true)
return true;
if (c.wordWrap == false)
return false;

return wordWrap;
}

Turns out wordWrap is a * and should only have the values true, false and
undefined. Who would like to bet that it may be set to other values? :-)

Thanks,
Justin



RE: ADG Bug of the day

2014-03-11 Thread Maurice Amsellem
I think all undefined checks should use ===.  

Thanks Alex for the tip, I didn't know that.
I think my code needs some review ;-)

Maurice 

-Message d'origine-
De : Alex Harui [mailto:aha...@adobe.com] 
Envoyé : mardi 11 mars 2014 08:00
À : dev@flex.apache.org
Objet : Re: ADG Bug of the day

There are plenty of places to improve SDK code.  If that's your itch, start 
scratching.  I don't know how much you'll actually save after the JIT, but hey, 
I won't veto it (unless you use == instead of ===).  I think all undefined 
checks should use ===.  Otherwise it would match null.

-Alex

On 3/10/14 11:51 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

And give the default is undefined it make sense to make that the faster 
path IMO.

Am I missing something? Do you think otherwise?

Thanks,
Justin



Re: ADG Bug of the day

2014-03-11 Thread Justin Mclean
Hi,

 I would say to use a proper data type.  Would like to think we didn't blindly 
 use * for things just for the sake of convenience.
That was my very first though but it's part of a public API so we can't easily 
change that.

Thanks,
Justin

Re: Specifying -static-link-runtime-shared-libraries=false breaks on OSMF

2014-03-11 Thread Alexander Doroshko
Probably that's because OSMF.swc file in [Flex SDK]/frameworks/libs has 
uppercased name since Flex SDK 4.12, but the corresponding entry in 
flex-config.xml file still contains lowercased name.


On 11.03.2014 13:40, Tom Chiverton wrote:
As soon as I try to use an RSL for the framework files my passing 
-static-link-runtime-shared-libraries=false to MXMLC, compile fails with


/home/tchiverton/workspace/apache-flex-4.12/apache-flex-sdk-4.12.0-bin/frameworks/flex-config.xml(411): 
Error: unable to open 'libs/osmf.swc'


and there's a comment in the flex-config that says for that library:

 !--
Even though there is no OSMF rsl leave this in so that in 
a FlashBuilder
Flex Library project, FlashBuilder will allow Link Type 
to be external.


If I comment this block out, all is good. This is an Ant-based install 
on Linux - does the flex-config have to be this way ? Is there a way 
to flag it so MXMLC isn't confused ?




Re: Specifying -static-link-runtime-shared-libraries=false breaks on OSMF

2014-03-11 Thread Justin Mclean
Hi,

I think the issue is with OSMF 2.0 there's no public download link to the .swc 
only the .swf, so it's not obtained by the installer.

Justin

Re: Specifying -static-link-runtime-shared-libraries=false breaks on OSMF

2014-03-11 Thread Tom Chiverton

Now's a good time to get Git setup on my new box at work then :-)

Tom

On 11/03/14 10:18, Alexander Doroshko wrote:
Probably that's because OSMF.swc file in [Flex SDK]/frameworks/libs 
has uppercased name since Flex SDK 4.12, but the corresponding entry 
in flex-config.xml file still contains lowercased name.


On 11.03.2014 13:40, Tom Chiverton wrote:
As soon as I try to use an RSL for the framework files my passing 
-static-link-runtime-shared-libraries=false to MXMLC, compile fails with


/home/tchiverton/workspace/apache-flex-4.12/apache-flex-sdk-4.12.0-bin/frameworks/flex-config.xml(411): 
Error: unable to open 'libs/osmf.swc'


and there's a comment in the flex-config that says for that library:

 !--
Even though there is no OSMF rsl leave this in so that in 
a FlashBuilder
Flex Library project, FlashBuilder will allow Link Type 
to be external.


If I comment this block out, all is good. This is an Ant-based 
install on Linux - does the flex-config have to be this way ? Is 
there a way to flag it so MXMLC isn't confused ?



__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__






RE: Please welcome Piotr Zarzycki as the newest Apache Flex committer

2014-03-11 Thread Kessler CTR Mark J
Congrats and welcome :)

-Mark

-Original Message-
From: Justin Mclean [mailto:jus...@classsoftware.com] 
Sent: Tuesday, March 11, 2014 4:17 AM
To: dev@flex.apache.org
Subject: Please welcome Piotr Zarzycki as the newest Apache Flex committer

Hi,

I am pleased to announce that the Project Management Committee (PMC) for Apache 
Flex has invited Piotr Zarzycki to become a committer and that he has accepted.

Piotr has raised several (good quality) JIRA issues, been active and helpful on 
the mailing list, has reviewed several release candidates and found a few 
issues with them.

Please welcome Piotr as the newest Apache Flex committer.

Thanks,
Justin


Flash Player extended support

2014-03-11 Thread Justin Mclean
Hi,

Just saw this:
http://blogs.adobe.com/flashplayer/2014/03/upcoming-changes-to-flash-players-extended-support-release.html

Does anyone else think this is a little strange given FP 13.0 is still in beta?

Thanks,
Justin

RE: Flash Player extended support

2014-03-11 Thread Kessler CTR Mark J
Well if you're referring   encourage IT organizations to thoroughly test our 
version 13 part.  It would make me question what large changes they are 
concerned about.  Thoroughly testing would be synonymous with has a good chance 
of breaking something.

-Mark

-Original Message-
From: Justin Mclean [mailto:jus...@classsoftware.com] 
Sent: Tuesday, March 11, 2014 8:56 AM
To: dev@flex.apache.org
Subject: Flash Player extended support

Hi,

Just saw this:
http://blogs.adobe.com/flashplayer/2014/03/upcoming-changes-to-flash-players-extended-support-release.html

Does anyone else think this is a little strange given FP 13.0 is still in beta?

Thanks,
Justin


smime.p7s
Description: S/MIME cryptographic signature


Re: Flash Player extended support

2014-03-11 Thread Tom Chiverton

On 11/03/14 12:55, Justin Mclean wrote:

Does anyone else think this is a little strange given FP 13.0 is still in beta?
v13 of the Player is more like 12.1. Look at the 'new features' on Labs 
- basically none.

And was v12.0 so much different to v11.whatever ?

My guess is they've just stripped a ton of code out now they don't have 
to support Android or other Linux platforms.


Tom


Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui
Paul,

Can you try again but right-click and enable verbose logging?  I just did
an install in my Windows VM and it worked. The log will be big so please
post somewhere or email me directly.

Thanks,
-Alex

On 3/11/14 2:14 AM, Paul Hastings paul.hasti...@gmail.com wrote:

windows 7, installer appears to hang on last block in the UI (i let it
sit for 
almost 2 hours). on a whim i tried to compile using what was installed
 FB 
threw out of memory errors (WAG install never really completed).

log:

Version 3.0.0 (windows)
Using Locale:en_US
Fetched the SDK download mirror URL from the CGI.
AIR version 3.7
Flash Player version 11.7
Creating Apache Flex home
Creating temporary directory
Downloading Apache Flex SDK from:
http://apache.osuosl.org/flex/4.12.0/binaries/apache-flex-sdk-4.12.0-bin.z
ip
Verifying Apache Flex SDK MD5 Signature
The Apache Flex SDK MD5 Signature of the downloaded files matches the
reference. 
The file is valid.
Uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder
4.6\sdks\4.12.0FP11.7\temp\apache-flex-sdk-4.12.0-bin.zip
Finished uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder
4.6\sdks\4.12.0FP11.7\temp\apache-flex-sdk-4.12.0-bin.zip
Downloading Adobe AIR Runtime Kit for Windows from:
http://airdownload.adobe.com/air/win/download/3.7//AdobeAIRSDK.zip
Finished uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder
4.6\sdks\4.12.0FP11.7/in/AdobeAIRSDK.zip
Installing Adobe Flash Player playerglobal.swc from:
http://download.macromedia.com/get/flashplayer/updaters/11//playerglobal11
_7.swc
Downloading swfobject_2_2.zip from: http://swfobject.googlecode.com/files
Download complete
Downloading OSMF.swc from:
http://downloads.sourceforge.net/project/osmf.adobe/OSMF%202.0%20Release%2
0%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes%2
9
Downloading afe.jar from:
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
Downloading aglj40.jar from:
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
Downloading flex-fontkit.jar from:
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
Downloading rideau.jar from:
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
Downloading flex-messaging-common.jar from:
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
Installing frameworks configuration files configured for use with an IDE
C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.12.0FP11.7 is
now an 
IDE compatible folder




RE: Please welcome Piotr Zarzycki as the newest Apache Flex committer

2014-03-11 Thread Sugan Naicker
Congrats Piotr!

-Sugan

-Original Message-
From: Kessler CTR Mark J [mailto:mark.kessler@usmc.mil] 
Sent: 11 March 2014 02:48 PM
To: dev@flex.apache.org
Subject: RE: Please welcome Piotr Zarzycki as the newest Apache Flex
committer

Congrats and welcome :)

-Mark

-Original Message-
From: Justin Mclean [mailto:jus...@classsoftware.com] 
Sent: Tuesday, March 11, 2014 4:17 AM
To: dev@flex.apache.org
Subject: Please welcome Piotr Zarzycki as the newest Apache Flex committer

Hi,

I am pleased to announce that the Project Management Committee (PMC) for
Apache Flex has invited Piotr Zarzycki to become a committer and that he has
accepted.

Piotr has raised several (good quality) JIRA issues, been active and helpful
on the mailing list, has reviewed several release candidates and found a few
issues with them.

Please welcome Piotr as the newest Apache Flex committer.

Thanks,
Justin



Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread OmPrakash Muppirala
Paul's issue looks very similar to what I saw yesterday, except mine was
with FlexJS.

Om
On Mar 11, 2014 7:05 AM, Alex Harui aha...@adobe.com wrote:

 Paul,

 Can you try again but right-click and enable verbose logging?  I just did
 an install in my Windows VM and it worked. The log will be big so please
 post somewhere or email me directly.

 Thanks,
 -Alex

 On 3/11/14 2:14 AM, Paul Hastings paul.hasti...@gmail.com wrote:

 windows 7, installer appears to hang on last block in the UI (i let it
 sit for
 almost 2 hours). on a whim i tried to compile using what was installed
  FB
 threw out of memory errors (WAG install never really completed).
 
 log:
 
 Version 3.0.0 (windows)
 Using Locale:en_US
 Fetched the SDK download mirror URL from the CGI.
 AIR version 3.7
 Flash Player version 11.7
 Creating Apache Flex home
 Creating temporary directory
 Downloading Apache Flex SDK from:
 
 http://apache.osuosl.org/flex/4.12.0/binaries/apache-flex-sdk-4.12.0-bin.z
 ip
 Verifying Apache Flex SDK MD5 Signature
 The Apache Flex SDK MD5 Signature of the downloaded files matches the
 reference.
 The file is valid.
 Uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder
 4.6\sdks\4.12.0FP11.7\temp\apache-flex-sdk-4.12.0-bin.zip
 Finished uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder
 4.6\sdks\4.12.0FP11.7\temp\apache-flex-sdk-4.12.0-bin.zip
 Downloading Adobe AIR Runtime Kit for Windows from:
 http://airdownload.adobe.com/air/win/download/3.7//AdobeAIRSDK.zip
 Finished uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder
 4.6\sdks\4.12.0FP11.7/in/AdobeAIRSDK.zip
 Installing Adobe Flash Player playerglobal.swc from:
 
 http://download.macromedia.com/get/flashplayer/updaters/11//playerglobal11
 _7.swc
 Downloading swfobject_2_2.zip from: http://swfobject.googlecode.com/files
 Download complete
 Downloading OSMF.swc from:
 
 http://downloads.sourceforge.net/project/osmf.adobe/OSMF%202.0%20Release%2
 0%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes%2
 9
 Downloading afe.jar from:
 http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
 Downloading aglj40.jar from:
 http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
 Downloading flex-fontkit.jar from:
 http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
 Downloading rideau.jar from:
 http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
 Downloading flex-messaging-common.jar from:
 http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
 Installing frameworks configuration files configured for use with an IDE
 C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.12.0FP11.7 is
 now an
 IDE compatible folder
 




Re: ADG Bug of the day

2014-03-11 Thread Alex Harui
It is (was) common to use * for a three-value boolean where undefined
means not-specified, check somewhere else

On 3/11/14 3:08 AM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 I would say to use a proper data type.  Would like to think we didn't
blindly use * for things just for the sake of convenience.
That was my very first though but it's part of a public API so we can't
easily change that.

Thanks,
Justin



Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui
Yeah, there was definitely a bug in the dmg/exe I put on my people.a.o
folder, but it should have been fixed in the RC7 (which should also have
the version in the log).  Plus, it just worked for me on Win 7, but it is
a VMWare VM.

-Alex

On 3/11/14 8:48 AM, OmPrakash Muppirala bigosma...@gmail.com wrote:

Paul's issue looks very similar to what I saw yesterday, except mine was
with FlexJS.

Om
On Mar 11, 2014 7:05 AM, Alex Harui aha...@adobe.com wrote:

 Paul,

 Can you try again but right-click and enable verbose logging?  I just
did
 an install in my Windows VM and it worked. The log will be big so please
 post somewhere or email me directly.

 Thanks,
 -Alex

 On 3/11/14 2:14 AM, Paul Hastings paul.hasti...@gmail.com wrote:

 windows 7, installer appears to hang on last block in the UI (i let
it
 sit for
 almost 2 hours). on a whim i tried to compile using what was
installed
  FB
 threw out of memory errors (WAG install never really completed).
 
 log:
 
 Version 3.0.0 (windows)
 Using Locale:en_US
 Fetched the SDK download mirror URL from the CGI.
 AIR version 3.7
 Flash Player version 11.7
 Creating Apache Flex home
 Creating temporary directory
 Downloading Apache Flex SDK from:
 
 
http://apache.osuosl.org/flex/4.12.0/binaries/apache-flex-sdk-4.12.0-bin.
z
 ip
 Verifying Apache Flex SDK MD5 Signature
 The Apache Flex SDK MD5 Signature of the downloaded files matches the
 reference.
 The file is valid.
 Uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder
 4.6\sdks\4.12.0FP11.7\temp\apache-flex-sdk-4.12.0-bin.zip
 Finished uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash
Builder
 4.6\sdks\4.12.0FP11.7\temp\apache-flex-sdk-4.12.0-bin.zip
 Downloading Adobe AIR Runtime Kit for Windows from:
 http://airdownload.adobe.com/air/win/download/3.7//AdobeAIRSDK.zip
 Finished uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash
Builder
 4.6\sdks\4.12.0FP11.7/in/AdobeAIRSDK.zip
 Installing Adobe Flash Player playerglobal.swc from:
 
 
http://download.macromedia.com/get/flashplayer/updaters/11//playerglobal1
1
 _7.swc
 Downloading swfobject_2_2.zip from:
http://swfobject.googlecode.com/files
 Download complete
 Downloading OSMF.swc from:
 
 
http://downloads.sourceforge.net/project/osmf.adobe/OSMF%202.0%20Release%
2
 
0%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20notes
%2
 9
 Downloading afe.jar from:
 http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
 Downloading aglj40.jar from:
 http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
 Downloading flex-fontkit.jar from:
 http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
 Downloading rideau.jar from:
 http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
 Downloading flex-messaging-common.jar from:
 http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib
 Installing frameworks configuration files configured for use with an
IDE
 C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.12.0FP11.7
is
 now an
 IDE compatible folder
 





Re: ADG Bug of the day

2014-03-11 Thread Alex Harui
Not surprising.  The question is whether you truly care if null is
supposed to be a separate value than undefined.

On 3/11/14 12:17 AM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 I won't veto it (unless you use == instead of ===).  I think
 all undefined checks should use ===.  Otherwise it would match null.

JFYI There probably 100+ places in the SDK were we use == undefined
rather than == undefined. From a quick search it look like === undefined
is used is a few more places.

There's a simple patch if someone want to test and submit one :-)

Thanks,
Justin



Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Alex Harui
Ah, the empty catch change.

I didn't actually run the code, but I cannot figure out how it would
return [object object].  If dataField is null, wouldn't it set data = null?

BTW, I didn't think of this at the time, but sometimes, folks create
proxy-based objects that don't implement property enumerators and then I
think in might throw an exception, so there's some risk there.

-Alex

On 3/11/14 12:19 AM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 What change was this?  I'll try to take a look tomorrow.

https://github.com/apache/flex-sdk/commit/a7109bab8409cb60cc0b64de07ce01ba
d875b701

Justin



Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Paul Hastings

On 3/11/2014 11:11 PM, Alex Harui wrote:

Yeah, there was definitely a bug in the dmg/exe I put on my people.a.o
folder, but it should have been fixed in the RC7 (which should also have
the version in the log).  Plus, it just worked for me on Win 7, but it is
a VMWare VM.


yes that's the build i used. new bits in the same place? the file marked
11-Mar-2014 05:10?



Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui
Best thing to do is probably to uninstall, then re-install from here:

https://dist.apache.org/repos/dist/dev/flex/installer/3.0/rc7/binaries/


Thanks,
-Alex

On 3/11/14 10:25 AM, Paul Hastings paul.hasti...@gmail.com wrote:

On 3/11/2014 11:11 PM, Alex Harui wrote:
 Yeah, there was definitely a bug in the dmg/exe I put on my people.a.o
 folder, but it should have been fixed in the RC7 (which should also have
 the version in the log).  Plus, it just worked for me on Win 7, but it
is
 a VMWare VM.

yes that's the build i used. new bits in the same place? the file marked
11-Mar-2014 05:10?




Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Paul Hastings

On 3/11/2014 9:05 PM, Alex Harui wrote:


Can you try again but right-click and enable verbose logging?  I just did
an install in my Windows VM and it worked. The log will be big so please
post somewhere or email me directly.


well the file marked 11-Mar-2014 05:10 installed A-ok. don't suppose you want to 
see its log?


btw the SDK install size seems to have blossomed from 4.11 to 4.12. same options 
4.11 is 727mb (6,219 Files, 1,124 Folders) while 4.12 is 1.3Gb (6,668 Files, 
1,313 Folders). is that expected?




Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui
Hmm.  So you couldn't reproduce the unfinished install?  I guess we'll
wait and see if anyone else can reproduce it.  Thanks for trying again.  I
don't need to see the log if it was successful.

Regarding sizes, can you do a quick compare of the two folders to see what
the extra files are?  Did you use the same AIR SDK on both?

Thanks,
-Alex

On 3/11/14 10:56 AM, Paul Hastings paul.hasti...@gmail.com wrote:

On 3/11/2014 9:05 PM, Alex Harui wrote:

 Can you try again but right-click and enable verbose logging?  I just
did
 an install in my Windows VM and it worked. The log will be big so please
 post somewhere or email me directly.

well the file marked 11-Mar-2014 05:10 installed A-ok. don't suppose you
want to 
see its log?

btw the SDK install size seems to have blossomed from 4.11 to 4.12. same
options 
4.11 is 727mb (6,219 Files, 1,124 Folders) while 4.12 is 1.3Gb (6,668
Files, 
1,313 Folders). is that expected?




Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread OmPrakash Muppirala
On Tue, Mar 11, 2014 at 10:56 AM, Paul Hastings paul.hasti...@gmail.comwrote:

 On 3/11/2014 9:05 PM, Alex Harui wrote:

  Can you try again but right-click and enable verbose logging?  I just did
 an install in my Windows VM and it worked. The log will be big so please
 post somewhere or email me directly.


 well the file marked 11-Mar-2014 05:10 installed A-ok. don't suppose you
 want to see its log?

 btw the SDK install size seems to have blossomed from 4.11 to 4.12. same
 options 4.11 is 727mb (6,219 Files, 1,124 Folders) while 4.12 is 1.3Gb
 (6,668 Files, 1,313 Folders). is that expected?


Sometimes the 'temp' folder created during the installation does not get
deleted.  See if that is the case here?


Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread OmPrakash Muppirala
I just tried RC7 and I cant repro the unfinished install either.  Looks
like it is fixed.

Thanks,
Om


On Tue, Mar 11, 2014 at 11:02 AM, Alex Harui aha...@adobe.com wrote:

 Hmm.  So you couldn't reproduce the unfinished install?  I guess we'll
 wait and see if anyone else can reproduce it.  Thanks for trying again.  I
 don't need to see the log if it was successful.

 Regarding sizes, can you do a quick compare of the two folders to see what
 the extra files are?  Did you use the same AIR SDK on both?

 Thanks,
 -Alex

 On 3/11/14 10:56 AM, Paul Hastings paul.hasti...@gmail.com wrote:

 On 3/11/2014 9:05 PM, Alex Harui wrote:
 
  Can you try again but right-click and enable verbose logging?  I just
 did
  an install in my Windows VM and it worked. The log will be big so please
  post somewhere or email me directly.
 
 well the file marked 11-Mar-2014 05:10 installed A-ok. don't suppose you
 want to
 see its log?
 
 btw the SDK install size seems to have blossomed from 4.11 to 4.12. same
 options
 4.11 is 727mb (6,219 Files, 1,124 Folders) while 4.12 is 1.3Gb (6,668
 Files,
 1,313 Folders). is that expected?
 




Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread OmPrakash Muppirala
One issue that has been bothering me, though.  I tried an install without
cache and then with cache on.  Then, I zipped both the resulting SDK
directories and did a checksum on them.  They turned out to be different.
Is this expected?

A full directory compare was taking way way too long for me to figure out
exactly what changed.


On Tue, Mar 11, 2014 at 11:07 AM, OmPrakash Muppirala
bigosma...@gmail.comwrote:

 I just tried RC7 and I cant repro the unfinished install either.  Looks
 like it is fixed.

 Thanks,
 Om


 On Tue, Mar 11, 2014 at 11:02 AM, Alex Harui aha...@adobe.com wrote:

 Hmm.  So you couldn't reproduce the unfinished install?  I guess we'll
 wait and see if anyone else can reproduce it.  Thanks for trying again.  I
 don't need to see the log if it was successful.

 Regarding sizes, can you do a quick compare of the two folders to see what
 the extra files are?  Did you use the same AIR SDK on both?

 Thanks,
 -Alex

 On 3/11/14 10:56 AM, Paul Hastings paul.hasti...@gmail.com wrote:

 On 3/11/2014 9:05 PM, Alex Harui wrote:
 
  Can you try again but right-click and enable verbose logging?  I just
 did
  an install in my Windows VM and it worked. The log will be big so
 please
  post somewhere or email me directly.
 
 well the file marked 11-Mar-2014 05:10 installed A-ok. don't suppose you
 want to
 see its log?
 
 btw the SDK install size seems to have blossomed from 4.11 to 4.12. same
 options
 4.11 is 727mb (6,219 Files, 1,124 Folders) while 4.12 is 1.3Gb (6,668
 Files,
 1,313 Folders). is that expected?
 





Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Paul Hastings

On 3/12/2014 1:02 AM, Alex Harui wrote:

Hmm.  So you couldn't reproduce the unfinished install?  I guess we'll
wait and see if anyone else can reproduce it.  Thanks for trying again.  I


i used the file from your people dir dated 11-Mar-2014 05:10 which i'm not 
sure is the same one that blew up 9I trashed the first one before i realized it 
might be needed later). maybe it was fixed?



Regarding sizes, can you do a quick compare of the two folders to see what
the extra files are?  Did you use the same AIR SDK on both?


yes there's an in dir that takes up 52% (700mb) of the SDK install dir. its 
not in the 4.11 install dir. most of the in dir is used by an airsdk dir 76% 
(530mb).


is that the temp dir that big O was referring to?

can i delete it?



Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui


On 3/11/14 11:18 AM, Paul Hastings paul.hasti...@gmail.com wrote:

On 3/12/2014 1:02 AM, Alex Harui wrote:
 Hmm.  So you couldn't reproduce the unfinished install?  I guess we'll
 wait and see if anyone else can reproduce it.  Thanks for trying again.
 I

i used the file from your people dir dated 11-Mar-2014 05:10 which i'm
not 
sure is the same one that blew up 9I trashed the first one before i
realized it 
might be needed later). maybe it was fixed?
If you pulled from my people dir before 11-Mar-2014 05:10 (in Europe) then
you got a buggy version.


 Regarding sizes, can you do a quick compare of the two folders to see
what
 the extra files are?  Did you use the same AIR SDK on both?

yes there's an in dir that takes up 52% (700mb) of the SDK install dir.
its 
not in the 4.11 install dir. most of the in dir is used by an airsdk
dir 76% 
(530mb).

is that the temp dir that big O was referring to?
You can delete the in dir.  Om is referring to a different folder.  The
installer creates a temp folder for downloading the binary package, but
once the install is turned over to the ant script, it uses the in folder
(because anyone actually using Ant needs to choose some folder anyway).
It never occurred to me to delete it since we keep it around in the SDK
builds.
I suppose in 4.13 we can change the script to delete it.




Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui
I'll do a check later.  On Mac the compare goes quickly.  I don't know if
file times get recorded in the zip and cause a checksum difference or not.

On 3/11/14 11:15 AM, OmPrakash Muppirala bigosma...@gmail.com wrote:

One issue that has been bothering me, though.  I tried an install without
cache and then with cache on.  Then, I zipped both the resulting SDK
directories and did a checksum on them.  They turned out to be different.
Is this expected?

A full directory compare was taking way way too long for me to figure out
exactly what changed.


On Tue, Mar 11, 2014 at 11:07 AM, OmPrakash Muppirala
bigosma...@gmail.comwrote:

 I just tried RC7 and I cant repro the unfinished install either.  Looks
 like it is fixed.

 Thanks,
 Om


 On Tue, Mar 11, 2014 at 11:02 AM, Alex Harui aha...@adobe.com wrote:

 Hmm.  So you couldn't reproduce the unfinished install?  I guess
we'll
 wait and see if anyone else can reproduce it.  Thanks for trying
again.  I
 don't need to see the log if it was successful.

 Regarding sizes, can you do a quick compare of the two folders to see
what
 the extra files are?  Did you use the same AIR SDK on both?

 Thanks,
 -Alex

 On 3/11/14 10:56 AM, Paul Hastings paul.hasti...@gmail.com wrote:

 On 3/11/2014 9:05 PM, Alex Harui wrote:
 
  Can you try again but right-click and enable verbose logging?  I
just
 did
  an install in my Windows VM and it worked. The log will be big so
 please
  post somewhere or email me directly.
 
 well the file marked 11-Mar-2014 05:10 installed A-ok. don't suppose
you
 want to
 see its log?
 
 btw the SDK install size seems to have blossomed from 4.11 to 4.12.
same
 options
 4.11 is 727mb (6,219 Files, 1,124 Folders) while 4.12 is 1.3Gb (6,668
 Files,
 1,313 Folders). is that expected?
 






Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Paul Hastings

On 3/12/2014 1:31 AM, Alex Harui wrote:

If you pulled from my people dir before 11-Mar-2014 05:10 (in Europe) then
you got a buggy version.


very likely (though no idea what tz that server is in).


You can delete the in dir.  Om is referring to a different folder.  The
installer creates a temp folder for downloading the binary package, but
once the install is turned over to the ant script, it uses the in folder
(because anyone actually using Ant needs to choose some folder anyway).
It never occurred to me to delete it since we keep it around in the SDK
builds.
I suppose in 4.13 we can change the script to delete it.


ok, thanks.





Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread OmPrakash Muppirala
I see another serious problem (sorry)
After caching is enabled, it seems like the nightly builds are being cached
as well.  For example, under the
.../LocalStore/job/flex-falcon/lastSuccessfulBuild/artifact/out directory,
there is a apache-flex-falconjx-0.0.1-bin.zip.  If this gets built for
every checkin, then we should not be caching this file.

The config file should probably have a dont cache property that can be
set.


On Tue, Mar 11, 2014 at 11:32 AM, Alex Harui aha...@adobe.com wrote:

 I'll do a check later.  On Mac the compare goes quickly.  I don't know if
 file times get recorded in the zip and cause a checksum difference or not.

 On 3/11/14 11:15 AM, OmPrakash Muppirala bigosma...@gmail.com wrote:

 One issue that has been bothering me, though.  I tried an install without
 cache and then with cache on.  Then, I zipped both the resulting SDK
 directories and did a checksum on them.  They turned out to be different.
 Is this expected?
 
 A full directory compare was taking way way too long for me to figure out
 exactly what changed.
 
 
 On Tue, Mar 11, 2014 at 11:07 AM, OmPrakash Muppirala
 bigosma...@gmail.comwrote:
 
  I just tried RC7 and I cant repro the unfinished install either.  Looks
  like it is fixed.
 
  Thanks,
  Om
 
 
  On Tue, Mar 11, 2014 at 11:02 AM, Alex Harui aha...@adobe.com wrote:
 
  Hmm.  So you couldn't reproduce the unfinished install?  I guess
 we'll
  wait and see if anyone else can reproduce it.  Thanks for trying
 again.  I
  don't need to see the log if it was successful.
 
  Regarding sizes, can you do a quick compare of the two folders to see
 what
  the extra files are?  Did you use the same AIR SDK on both?
 
  Thanks,
  -Alex
 
  On 3/11/14 10:56 AM, Paul Hastings paul.hasti...@gmail.com wrote:
 
  On 3/11/2014 9:05 PM, Alex Harui wrote:
  
   Can you try again but right-click and enable verbose logging?  I
 just
  did
   an install in my Windows VM and it worked. The log will be big so
  please
   post somewhere or email me directly.
  
  well the file marked 11-Mar-2014 05:10 installed A-ok. don't suppose
 you
  want to
  see its log?
  
  btw the SDK install size seems to have blossomed from 4.11 to 4.12.
 same
  options
  4.11 is 727mb (6,219 Files, 1,124 Folders) while 4.12 is 1.3Gb (6,668
  Files,
  1,313 Folders). is that expected?
  
 
 
 




Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui
There is already a no cache bit in the config file that the Installer
appears to use correctly, at least in my testing.  If you ran a FlexJS
install, it will cache that zip.  I haven't had time to adjust the FlexJS
install to not cache that download.  Could that be what is happening?

-Alex

On 3/11/14 11:38 AM, OmPrakash Muppirala bigosma...@gmail.com wrote:

I see another serious problem (sorry)
After caching is enabled, it seems like the nightly builds are being
cached
as well.  For example, under the
.../LocalStore/job/flex-falcon/lastSuccessfulBuild/artifact/out directory,
there is a apache-flex-falconjx-0.0.1-bin.zip.  If this gets built for
every checkin, then we should not be caching this file.

The config file should probably have a dont cache property that can be
set.


On Tue, Mar 11, 2014 at 11:32 AM, Alex Harui aha...@adobe.com wrote:

 I'll do a check later.  On Mac the compare goes quickly.  I don't know
if
 file times get recorded in the zip and cause a checksum difference or
not.

 On 3/11/14 11:15 AM, OmPrakash Muppirala bigosma...@gmail.com wrote:

 One issue that has been bothering me, though.  I tried an install
without
 cache and then with cache on.  Then, I zipped both the resulting SDK
 directories and did a checksum on them.  They turned out to be
different.
 Is this expected?
 
 A full directory compare was taking way way too long for me to figure
out
 exactly what changed.
 
 
 On Tue, Mar 11, 2014 at 11:07 AM, OmPrakash Muppirala
 bigosma...@gmail.comwrote:
 
  I just tried RC7 and I cant repro the unfinished install either.
Looks
  like it is fixed.
 
  Thanks,
  Om
 
 
  On Tue, Mar 11, 2014 at 11:02 AM, Alex Harui aha...@adobe.com
wrote:
 
  Hmm.  So you couldn't reproduce the unfinished install?  I guess
 we'll
  wait and see if anyone else can reproduce it.  Thanks for trying
 again.  I
  don't need to see the log if it was successful.
 
  Regarding sizes, can you do a quick compare of the two folders to
see
 what
  the extra files are?  Did you use the same AIR SDK on both?
 
  Thanks,
  -Alex
 
  On 3/11/14 10:56 AM, Paul Hastings paul.hasti...@gmail.com
wrote:
 
  On 3/11/2014 9:05 PM, Alex Harui wrote:
  
   Can you try again but right-click and enable verbose logging?  I
 just
  did
   an install in my Windows VM and it worked. The log will be big so
  please
   post somewhere or email me directly.
  
  well the file marked 11-Mar-2014 05:10 installed A-ok. don't
suppose
 you
  want to
  see its log?
  
  btw the SDK install size seems to have blossomed from 4.11 to 4.12.
 same
  options
  4.11 is 727mb (6,219 Files, 1,124 Folders) while 4.12 is 1.3Gb
(6,668
  Files,
  1,313 Folders). is that expected?
  
 
 
 





Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread OmPrakash Muppirala
On Tue, Mar 11, 2014 at 11:55 AM, Alex Harui aha...@adobe.com wrote:

 There is already a no cache bit in the config file that the Installer
 appears to use correctly, at least in my testing.  If you ran a FlexJS
 install, it will cache that zip.  I haven't had time to adjust the FlexJS
 install to not cache that download.  Could that be what is happening?


Yes, this was on a run with FlexJS.  I just tried 4.13.0 nightly and it
does not get cached.  So, I guess adjusting the FlexJS install should fix
it.

Thanks,
Om


 -Alex

 On 3/11/14 11:38 AM, OmPrakash Muppirala bigosma...@gmail.com wrote:

 I see another serious problem (sorry)
 After caching is enabled, it seems like the nightly builds are being
 cached
 as well.  For example, under the
 .../LocalStore/job/flex-falcon/lastSuccessfulBuild/artifact/out directory,
 there is a apache-flex-falconjx-0.0.1-bin.zip.  If this gets built for
 every checkin, then we should not be caching this file.
 
 The config file should probably have a dont cache property that can be
 set.
 
 
 On Tue, Mar 11, 2014 at 11:32 AM, Alex Harui aha...@adobe.com wrote:
 
  I'll do a check later.  On Mac the compare goes quickly.  I don't know
 if
  file times get recorded in the zip and cause a checksum difference or
 not.
 
  On 3/11/14 11:15 AM, OmPrakash Muppirala bigosma...@gmail.com
 wrote:
 
  One issue that has been bothering me, though.  I tried an install
 without
  cache and then with cache on.  Then, I zipped both the resulting SDK
  directories and did a checksum on them.  They turned out to be
 different.
  Is this expected?
  
  A full directory compare was taking way way too long for me to figure
 out
  exactly what changed.
  
  
  On Tue, Mar 11, 2014 at 11:07 AM, OmPrakash Muppirala
  bigosma...@gmail.comwrote:
  
   I just tried RC7 and I cant repro the unfinished install either.
 Looks
   like it is fixed.
  
   Thanks,
   Om
  
  
   On Tue, Mar 11, 2014 at 11:02 AM, Alex Harui aha...@adobe.com
 wrote:
  
   Hmm.  So you couldn't reproduce the unfinished install?  I guess
  we'll
   wait and see if anyone else can reproduce it.  Thanks for trying
  again.  I
   don't need to see the log if it was successful.
  
   Regarding sizes, can you do a quick compare of the two folders to
 see
  what
   the extra files are?  Did you use the same AIR SDK on both?
  
   Thanks,
   -Alex
  
   On 3/11/14 10:56 AM, Paul Hastings paul.hasti...@gmail.com
 wrote:
  
   On 3/11/2014 9:05 PM, Alex Harui wrote:
   
Can you try again but right-click and enable verbose logging?  I
  just
   did
an install in my Windows VM and it worked. The log will be big so
   please
post somewhere or email me directly.
   
   well the file marked 11-Mar-2014 05:10 installed A-ok. don't
 suppose
  you
   want to
   see its log?
   
   btw the SDK install size seems to have blossomed from 4.11 to 4.12.
  same
   options
   4.11 is 727mb (6,219 Files, 1,124 Folders) while 4.12 is 1.3Gb
 (6,668
   Files,
   1,313 Folders). is that expected?
   
  
  
  
 
 




Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui
I can't figure out the tooltip thing.  Could it be from an app underneath
the installer?

I can't reproduce getting stuck by unplugging during the download of the
SDK.  I've gotten it to partially download and then get stuck in the MD5
calculation on Windows 7 for VMWare.

Right now, my sense is that, when the network is good, the installer is
working fine.  I think we've made things sufficient when there's no
network at all at startup.  But I'm beginning to question the value of
spending more time on trying to make things better when you pull the plug
during the install.  Installer 2.7 and older have suffered from incomplete
AIR SDK downloads that get stuck in the cache and I don't think it has
been a detriment to the project.  I don't think these pull-the-plug
scenarios are going to be frequent enough, and they are getting harder to
reproduce.

Thoughts?
-Alex

On 3/11/14 2:03 AM, Maurice Amsellem maurice.amsel...@systar.com wrote:

Test results of RC7.
Summary: 
Connection errors are handled correctly at early steps (resource bundles,
config files), but not during downloads ( at least not in all places).

Details below:

Windows 7,  locale=FR

General:
Minor: Install Log button  tool tip says Display downloaded apps, and
it's not localized.
But I couldn't find tooltip statement in the source code.
https://www.dropbox.com/s/cp834wv4bei9fq2/tooltip.png


Test #1: start installer, internet unplugged:
After a few seconds, the console appears with a few messages in English +
'Installation aborted'.
= OK

Test #2: install FlexJS,, cache loaded, unplug internet in the middle:
Installation completes sucessfully
Note:  notices are in English, but that's OK (FlexJS install script not
localized)
= OK


Test #3: install FlexJS,  file missing from cache (guava), unplug in the
middle:
= Red square + busy square  but no message or console.
= OK but confusing (busy cursor)
https://www.dropbox.com/s/yrc2occkqbx6gv2/test3_red_square.png

Test#4:  installer FlexJS after abort, cache uncomplete
= install sucessful
= OK

Test#5: install FlexSDK 4.12 / AIR 4.0, unplug in the middle of sdk
download
= after a few minutes,  busy cursor is still running
= KO.  ( error not handled).
https://www.dropbox.com/s/pc1z0psy7dja0eu/test5_KO_no_error.png


Maurice 

-Message d'origine-
De : piotr.zarzycki [mailto:piotrzarzyck...@gmail.com]
Envoyé : mardi 11 mars 2014 09:36
À : dev@flex.apache.org
Objet : RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

I think Maurice's proposition as a much cleaner message for the user on
the Installation progress step is a great solution for this!

The rest of my proposition such as restart and back button could wait
for the future releases. I'm going to rise jira ticket for that and try
to do it if Alex wouldn't mind. - But this is after release current
version. :)

Piotr





-
Flex/Air developer.
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/DISCUSS-Discuss-Relea
se-Apache-Flex-SDK-Installer-3-0-RC7-tp35588p35610.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: Please welcome Piotr Zarzycki as the newest Apache Flex committer

2014-03-11 Thread piotr.zarzycki
Hi,

Many thanks guys for a warm Welcome! 
I am really happy and proud to be a part of this wonderful Team! :)

Couple of things about me:
- My main experience is around desktop applications
- I am also responsible for the Fabrication Framework (utility for the
PureMVC framework)
- I have some small knowledge about .NET (C#) and PHP

This will be BIG opportunity and pleasure for me to learn from the best devs
in the world! :) 

Piotr



-
Flex/Air developer.
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Please-welcome-Piotr-Zarzycki-as-the-newest-Apache-Flex-committer-tp35605p35647.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread OmPrakash Muppirala
On Tue, Mar 11, 2014 at 12:28 PM, Alex Harui aha...@adobe.com wrote:

 I can't figure out the tooltip thing.  Could it be from an app underneath
 the installer?

 I can't reproduce getting stuck by unplugging during the download of the
 SDK.  I've gotten it to partially download and then get stuck in the MD5
 calculation on Windows 7 for VMWare.

 Right now, my sense is that, when the network is good, the installer is
 working fine.  I think we've made things sufficient when there's no
 network at all at startup.  But I'm beginning to question the value of
 spending more time on trying to make things better when you pull the plug
 during the install.  Installer 2.7 and older have suffered from incomplete
 AIR SDK downloads that get stuck in the cache and I don't think it has
 been a detriment to the project.  I don't think these pull-the-plug
 scenarios are going to be frequent enough, and they are getting harder to
 reproduce.

 Thoughts?


Agree 100%  You should not be spending any more time on this.  We cant fix
every corner
case.

We have a robust logging mechanism in place.  We can fix things as bugs
show up.

Thanks,
Om


 -Alex

 On 3/11/14 2:03 AM, Maurice Amsellem maurice.amsel...@systar.com
 wrote:

 Test results of RC7.
 Summary:
 Connection errors are handled correctly at early steps (resource bundles,
 config files), but not during downloads ( at least not in all places).
 
 Details below:
 
 Windows 7,  locale=FR
 
 General:
 Minor: Install Log button  tool tip says Display downloaded apps, and
 it's not localized.
 But I couldn't find tooltip statement in the source code.
 https://www.dropbox.com/s/cp834wv4bei9fq2/tooltip.png
 
 
 Test #1: start installer, internet unplugged:
 After a few seconds, the console appears with a few messages in English +
 'Installation aborted'.
 = OK
 
 Test #2: install FlexJS,, cache loaded, unplug internet in the middle:
 Installation completes sucessfully
 Note:  notices are in English, but that's OK (FlexJS install script not
 localized)
 = OK
 
 
 Test #3: install FlexJS,  file missing from cache (guava), unplug in the
 middle:
 = Red square + busy square  but no message or console.
 = OK but confusing (busy cursor)
 https://www.dropbox.com/s/yrc2occkqbx6gv2/test3_red_square.png
 
 Test#4:  installer FlexJS after abort, cache uncomplete
 = install sucessful
 = OK
 
 Test#5: install FlexSDK 4.12 / AIR 4.0, unplug in the middle of sdk
 download
 = after a few minutes,  busy cursor is still running
 = KO.  ( error not handled).
 https://www.dropbox.com/s/pc1z0psy7dja0eu/test5_KO_no_error.png
 
 
 Maurice
 
 -Message d'origine-
 De : piotr.zarzycki [mailto:piotrzarzyck...@gmail.com]
 Envoyé : mardi 11 mars 2014 09:36
 À : dev@flex.apache.org
 Objet : RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7
 
 I think Maurice's proposition as a much cleaner message for the user on
 the Installation progress step is a great solution for this!
 
 The rest of my proposition such as restart and back button could wait
 for the future releases. I'm going to rise jira ticket for that and try
 to do it if Alex wouldn't mind. - But this is after release current
 version. :)
 
 Piotr
 
 
 
 
 
 -
 Flex/Air developer.
 piotrzarzyck...@gmail.com
 --
 View this message in context:
 
 http://apache-flex-development.247.n4.nabble.com/DISCUSS-Discuss-Relea
 se-Apache-Flex-SDK-Installer-3-0-RC7-tp35588p35610.html
 Sent from the Apache Flex Development mailing list archive at Nabble.com.




RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Maurice Amsellem
I can't figure out the tooltip thing.  Could it be from an app underneath the 
installer?
It's an icon on Windows desktop.
Weird.  The tooltip also appears when any other app is in the front, but the 
cursor is just above that desktop icon.
Windows' bug?
Anyway, it's not the installer ;-)

Regarding the pull the plug, I didn't mean it as a realistic scenario, and 
obviously it's not.
It was just an easy way for me to detect how connection errors are handled in 
various places in the code, without looking in the source code.
The better way (as someone suggested) would be to install a reverse proxy that 
can simulate network latency, but I don't have enough time for putting that in 
place, sorry.

My concern about this is that folks in some places with not so good, or 
intermittent network connections, won't be able to use the installer to install 
FLEX SDK, and that would eventually give a bad image of the product.
But I don't have any evidence of this. 
So let's wait until folks complain (if ever they do).

Anyway, I won't vote -1 on the installer for this.

Maurice 

-Message d'origine-
De : Alex Harui [mailto:aha...@adobe.com] 
Envoyé : mardi 11 mars 2014 20:28
À : dev@flex.apache.org
Objet : Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

I can't figure out the tooltip thing.  Could it be from an app underneath the 
installer?

I can't reproduce getting stuck by unplugging during the download of the SDK.  
I've gotten it to partially download and then get stuck in the MD5 calculation 
on Windows 7 for VMWare.

Right now, my sense is that, when the network is good, the installer is working 
fine.  I think we've made things sufficient when there's no network at all at 
startup.  But I'm beginning to question the value of spending more time on 
trying to make things better when you pull the plug during the install.  
Installer 2.7 and older have suffered from incomplete AIR SDK downloads that 
get stuck in the cache and I don't think it has been a detriment to the 
project.  I don't think these pull-the-plug scenarios are going to be frequent 
enough, and they are getting harder to reproduce.

Thoughts?
-Alex

On 3/11/14 2:03 AM, Maurice Amsellem maurice.amsel...@systar.com wrote:

Test results of RC7.
Summary: 
Connection errors are handled correctly at early steps (resource 
bundles, config files), but not during downloads ( at least not in all places).

Details below:

Windows 7,  locale=FR

General:
Minor: Install Log button  tool tip says Display downloaded apps, 
and it's not localized.
But I couldn't find tooltip statement in the source code.
https://www.dropbox.com/s/cp834wv4bei9fq2/tooltip.png


Test #1: start installer, internet unplugged:
After a few seconds, the console appears with a few messages in English 
+ 'Installation aborted'.
= OK

Test #2: install FlexJS,, cache loaded, unplug internet in the middle:
Installation completes sucessfully
Note:  notices are in English, but that's OK (FlexJS install script not
localized)
= OK


Test #3: install FlexJS,  file missing from cache (guava), unplug in 
the
middle:
= Red square + busy square  but no message or console.
= OK but confusing (busy cursor)
https://www.dropbox.com/s/yrc2occkqbx6gv2/test3_red_square.png

Test#4:  installer FlexJS after abort, cache uncomplete = install 
sucessful = OK

Test#5: install FlexSDK 4.12 / AIR 4.0, unplug in the middle of sdk 
download = after a few minutes,  busy cursor is still running = KO.  
( error not handled).
https://www.dropbox.com/s/pc1z0psy7dja0eu/test5_KO_no_error.png


Maurice

-Message d'origine-
De : piotr.zarzycki [mailto:piotrzarzyck...@gmail.com]
Envoyé : mardi 11 mars 2014 09:36
À : dev@flex.apache.org
Objet : RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - 
RC7

I think Maurice's proposition as a much cleaner message for the user on 
the Installation progress step is a great solution for this!

The rest of my proposition such as restart and back button could 
wait for the future releases. I'm going to rise jira ticket for that 
and try to do it if Alex wouldn't mind. - But this is after release 
current version. :)

Piotr





-
Flex/Air developer.
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/DISCUSS-Discuss-Re
lea se-Apache-Flex-SDK-Installer-3-0-RC7-tp35588p35610.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.



Installer for 4.12.0 on Mac

2014-03-11 Thread nitrobear
I try to install the sdk via installer on my Mac, 10.9.2, and I have this
error

Version 2.7.0 (mac)
Could not fetch the SDK download mirror URL from the CGI. Going to try the
GeoIP route.
Unable to clean up temporary installation directories
Installation aborted
AIR version 4.0
Flash Player version 12.0


How correct it ? 

thanks

Jean



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Installer-for-4-12-0-on-Mac-tp35651.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Installer for 4.12.0 on Mac

2014-03-11 Thread piotr.zarzycki
Hi ntrobear.

One of the solution could be to try a new release candidate Flex Installer
3.0

https://dist.apache.org/repos/dist/dev/flex/installer/3.0/rc7/binaries/

After installation you could back to us with some feedback about that
process. 

Piotr 



-
Flex/Air developer.
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Installer-for-4-12-0-on-Mac-tp35651p35652.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Installer for 4.12.0 on Mac

2014-03-11 Thread nitrobear
Hello,

I try this version, and same problem : 

Version 3.0.0 (mac)
Using Locale:fr_CH
Could not fetch the SDK download mirror URL from the CGI. Going to try the
GeoIP route.
Unable to clean up temporary installation directories
Installation aborted


Jean



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Installer-for-4-12-0-on-Mac-tp35651p35653.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: Installer for 4.12.0 on Mac

2014-03-11 Thread Maurice Amsellem
Can you right-click on the Installer, select Verbose Log and try again, then 
send the log content.

Maurice 

-Message d'origine-
De : nitrobear [mailto:j...@netinfluence.ch] 
Envoyé : mardi 11 mars 2014 22:29
À : dev@flex.apache.org
Objet : Re: Installer for 4.12.0 on Mac

Hello,

I try this version, and same problem : 

Version 3.0.0 (mac)
Using Locale:fr_CH
Could not fetch the SDK download mirror URL from the CGI. Going to try the 
GeoIP route.
Unable to clean up temporary installation directories Installation aborted


Jean



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Installer-for-4-12-0-on-Mac-tp35651p35653.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Lee Burrows

Tried RC7 installer.

Couldn't reproduce my RC6 error - when config load fails, button labels 
are populated and log window pops open with error message. Much better :)


--
Lee Burrows
ActionScripter



Re: Installer for 4.12.0 on Mac

2014-03-11 Thread Alex Harui
Actually, I'm getting the error too.  I think Apache is having server
issues.  Please be patient and try again later.

Thanks,
-Alex

On 3/11/14 2:50 PM, Maurice Amsellem maurice.amsel...@systar.com wrote:

Can you right-click on the Installer, select Verbose Log and try again,
then send the log content.

Maurice 

-Message d'origine-
De : nitrobear [mailto:j...@netinfluence.ch]
Envoyé : mardi 11 mars 2014 22:29
À : dev@flex.apache.org
Objet : Re: Installer for 4.12.0 on Mac

Hello,

I try this version, and same problem :

Version 3.0.0 (mac)
Using Locale:fr_CH
Could not fetch the SDK download mirror URL from the CGI. Going to try
the GeoIP route.
Unable to clean up temporary installation directories Installation aborted


Jean



--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/Installer-for-4-12-0-
on-Mac-tp35651p35653.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Justin Mclean
Hi,

 I didn't actually run the code, but I cannot figure out how it would
 return [object object].  If dataField is null, wouldn't it set data = null?

It first gets set to null inside the if typeof(data) == object but then fall 
through to the return return data.toString() in the try catch block that gives 
you [object Object] if you don't have a toString method.

Thanks,
Justin

Re: Installer for 4.12.0 on Mac

2014-03-11 Thread nitrobear
Now it's work fine

thanks

Jean




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Installer-for-4-12-0-on-Mac-tp35651p35658.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Justin Mclean
Hi ,

Sorry my mistake data is not set to null if dataField is null only if the 
dataField doesn't exist.

if (dataField != null)
{
if (dataField in data)
data = data[dataField];
else
data = null;
}

But the real question is if dataField is null should it try to call 
data.toString or not?

Justin

Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Justin Mclean
Hi,

Re difference between cached and non chached I got this:

diff -qrs ./InstallerTestCached ./InstallerTestNoCache | grep -v identical

Files ./InstallerTestCached/frameworks/libs/player/12.0/playerglobal.swc and 
./InstallerTestNoCache/frameworks/libs/player/12.0/playerglobal.swc differ

Comparing the swf dumps I get a few changes including:
   ProductInfo product='Apache Flex' edition='' version='4.1' build='16076' 
compileDate='17/02/14 1:11 PM'/
---
   ProductInfo product='Apache Flex' edition='' version='4.1' build='16076' 
 compileDate='4/03/14 9:15 AM'/

As the playerglobals.swc are small and the latest ones do tend to change every 
months or so perhaps we shouldn't cache them?

Thanks,
Justin






Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Alex Harui
Strange.  If data is set to null, then in the try block aren't you calling
toString() on null?  That should throw instead of return [object Object].

-Alex

On 3/11/14 4:00 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 I didn't actually run the code, but I cannot figure out how it would
 return [object object].  If dataField is null, wouldn't it set data =
null?

It first gets set to null inside the if typeof(data) == object but then
fall through to the return return data.toString() in the try catch block
that gives you [object Object] if you don't have a toString method.

Thanks,
Justin



MaskedTextInput issue?

2014-03-11 Thread Justin Mclean
Hi,

From the Apache Flex blog comments:

Awesome improvements guys! Thanks! But it seems that the MaskedTextInput aren't 
working :( ns:MaskedTextInput maskText=??? @@@ ### CHF textMaskPrompt=ZZZ 
AAA 000 CHF /

Justin

Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui
PlayerGlobal.swc was the only difference?  That's good to know.

Whether it is cached or not is in the hands of the installer.xml in the
4.12.0 release.  We could change that for 4.13.

-Alex


On 3/11/14 5:05 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

Re difference between cached and non chached I got this:

diff -qrs ./InstallerTestCached ./InstallerTestNoCache | grep -v
identical

Files ./InstallerTestCached/frameworks/libs/player/12.0/playerglobal.swc
and ./InstallerTestNoCache/frameworks/libs/player/12.0/playerglobal.swc
differ

Comparing the swf dumps I get a few changes including:
   ProductInfo product='Apache Flex' edition='' version='4.1'
build='16076' compileDate='17/02/14 1:11 PM'/
---
   ProductInfo product='Apache Flex' edition='' version='4.1'
build='16076' compileDate='4/03/14 9:15 AM'/

As the playerglobals.swc are small and the latest ones do tend to change
every months or so perhaps we shouldn't cache them?

Thanks,
Justin







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

2014-03-11 Thread OmPrakash Muppirala
Piotrz,

Sorry to ding you on your first commit, but the team page here:
http://flex.apache.org/about-people.html looks out of shape.  Also, the
list is supposed to be in alphabetical order (based on first name)

Can you please take a look?

Thanks,
Om


On Tue, Mar 11, 2014 at 3:27 PM, pio...@apache.org wrote:

 Author: piotrz
 Date: Tue Mar 11 22:27:43 2014
 New Revision: 901170

 Log:
 Added about piotrz to Team page

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




Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Justin Mclean
Hi,

 PlayerGlobal.swc was the only difference?
Yes that was the only difference. All other files were identical in both and 
neither instal had an extra or missing file.

 Whether it is cached or not is in the hands of the installer.xml in the
 4.12.0 release.  We could change that for 4.13.
So it's in the config file?

I suggest we change it now so it does have security concerns and people may not 
realise that they are not getting the latest player global.

Thanks,
Justin

Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Alex Harui
Ah, that test was in a later commit.

Is the cheap fix as simple as:

if (dateField == null) return  ;

-Alex

On 3/11/14 4:46 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi ,

Sorry my mistake data is not set to null if dataField is null only if the
dataField doesn't exist.

if (dataField != null)
{
   if (dataField in data)
   data = data[dataField];
   else
   data = null;
}

But the real question is if dataField is null should it try to call
data.toString or not?

Justin



Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Justin Mclean
Hi,

I know it's easy to fix - the question is was it broken in the first place 
and is the current behaviour more correct? (Despite it being a regression?)

And if we do fix is it worth making a point release or waiting until 4.13?

Thanks,
Justin

Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui


On 3/11/14 9:12 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 PlayerGlobal.swc was the only difference?
Yes that was the only difference. All other files were identical in both
and neither instal had an extra or missing file.

 Whether it is cached or not is in the hands of the installer.xml in the
 4.12.0 release.  We could change that for 4.13.
So it's in the config file?
No, it is in the installer.xml.  We'd have to change the 4.12 release to
change whether this file gets cached or not.

I suggest we change it now so it does have security concerns and people
may not realise that they are not getting the latest player global.
I thought byte code from playerglobal did not actually get linked into any
SWF.  Actually, that's sort of important from a dependencies point of
view.  What are the other differences, if any, between these playerglobals?

-Alex



Re: ADG empty column regression issue with 4.11

2014-03-11 Thread Alex Harui
I would definitely wait.  IIRC, we did make an attempt to not return
[object Object] in these itemToLabel calls.

-Alex

On 3/11/14 9:18 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

I know it's easy to fix - the question is was it broken in the first
place and is the current behaviour more correct? (Despite it being a
regression?)

And if we do fix is it worth making a point release or waiting until
4.13?

Thanks,
Justin



Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Justin Mclean
Hi,

 I thought byte code from playerglobal did not actually get linked into any
 SWF.
Think there some code that does. Can't recall exactly what but the was a thread 
about it way back on this mailing list.

  Actually, that's sort of important from a dependencies point of
 view.  What are the other differences, if any, between these playerglobals?

In this case I sorted the swfdumps and did a diff and it only tells me that the 
debug password and build date had changed.

Only Adobe would know (and they don't even announce when it changes as far as I 
know).  I'd assume it would be security patch related.

I usually pick up that it's changed as the MD5 hashes no longer match.

Thanks,
Justin

[FLEXJS} Musing about Mustella

2014-03-11 Thread Alex Harui
Hi folks,

I just checked in enough code to get the Button and CheckBox test from the
SDK's checkintest to run under FlexJS.  There's another half-dozen or so
tests we should probably finish converting since we have those components
in the FlexJS framework.  Getting some sort of checkintest running is one
of the last things I want to do before cutting an an initial official
FlexJS release.

This checkintest works like the SDK test.  It compiles a SWF and runs it
and examines the output.  The next step is to run the same tests
cross-compiled to JS.  I'm about to start porting the Mustella classes to
JS, but I'm wondering if that is the right strategy or not.

I was looking at the Marmotinni stuff that Erik did a while back that uses
Selenium to run tests in the browsers.  The actual test seem to be written
in Java.  I think it would be nice to be able to repurpose the MXML
mustella tests and get them to run as cross-compiled tests.  I think some
choices are:

1) See what happens when Mustella is cross-compiled.  I'm pretty sure this
won't work.  It could be an early test of what it will be like to support
other third-party AS frameworks, but Mustella is relying on some low-level
Flash things like frame events, security sandboxes, etc, so I don't think
it is a fair test.  We could fork Mustella and strip some of that stuff
out though, but I'd rather not have a fork of Mustella around to maintain.
2) Make parallel Mustella JS files.  That's the direction I'm taking right
now.  That's a valid FlexJS way since FlexJS is mostly about parallel
AS/JS frameworks.  I still need a way to run the test in the browser and
collect output.  Hence the desire to see if Marmotinni could do that.
3) Write some test converter that converts a Mustella MXML script into
Java code or maybe an XML representation that some Java code could
interpret to execute the test.
4) Just re-write every test in Java.
5) Something I haven't thought of yet.

Thoughts?
-Alex



Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui
When I looked back when we were in the incubator, no code from
playerglobal was being linked in.  That was important to being able to
call it a build tool instead of a required dependency.

Maybe Adobe just pushes the playerglobal.swc when they slipstream a player
update.  At least, that's my guess of what happened in this case.

-Alex

On 3/11/14 9:52 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 I thought byte code from playerglobal did not actually get linked into
any
 SWF.
Think there some code that does. Can't recall exactly what but the was a
thread about it way back on this mailing list.

  Actually, that's sort of important from a dependencies point of
 view.  What are the other differences, if any, between these
playerglobals?

In this case I sorted the swfdumps and did a diff and it only tells me
that the debug password and build date had changed.

Only Adobe would know (and they don't even announce when it changes as
far as I know).  I'd assume it would be security patch related.

I usually pick up that it's changed as the MD5 hashes no longer match.

Thanks,
Justin



Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Justin Mclean
Hi,

 I thought byte code from playerglobal did not actually get linked into any 
 SWF. 

OT to this threadI know but may be useful to someone. After a little searching 
URLLoader, Vector, Rectangle, describeType and setTimeout are all in there, may 
be other classes and static methods.

Justin

Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Alex Harui


On 3/11/14 10:09 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 I thought byte code from playerglobal did not actually get linked into
any SWF. 

OT to this threadI know but may be useful to someone. After a little
searching URLLoader, Vector, Rectangle, describeType and setTimeout are
all in there, may be other classes and static methods.
I don't doubt that, but aren't they stubs and not actual implementations?
I think you have to mark playerglobal.swc as an external-library-path
otherwise if any of that get linked in the SWF will not run.  Also, IIRC,
the APIs are marked as native which I think also prevents the linker from
linking in that code.

I generated a link-report for the Installer which uses URLLoader, and
URLLoader is not linked into the SWF.

-Alex



Re: [FLEXJS} Musing about Mustella

2014-03-11 Thread OmPrakash Muppirala
Doesn't Mustella need bitmap comparison?  That would be almost impossible
to get to work in HTML.  Selenium probably is a better option for these
kind of things.

Another option is that perhaps we could build a runner in AIR that loads
the html stuff in a HTML component.  That we could reuse the bitmap
comparison part as well.  That would test only Webkit rendering, but that
could be a good baseline.

I was thinking of something like this for when we need to start testing the
FXG/SVG skins.

Thanks,
Om
On Mar 11, 2014 9:57 PM, Alex Harui aha...@adobe.com wrote:

 Hi folks,

 I just checked in enough code to get the Button and CheckBox test from the
 SDK's checkintest to run under FlexJS.  There's another half-dozen or so
 tests we should probably finish converting since we have those components
 in the FlexJS framework.  Getting some sort of checkintest running is one
 of the last things I want to do before cutting an an initial official
 FlexJS release.

 This checkintest works like the SDK test.  It compiles a SWF and runs it
 and examines the output.  The next step is to run the same tests
 cross-compiled to JS.  I'm about to start porting the Mustella classes to
 JS, but I'm wondering if that is the right strategy or not.

 I was looking at the Marmotinni stuff that Erik did a while back that uses
 Selenium to run tests in the browsers.  The actual test seem to be written
 in Java.  I think it would be nice to be able to repurpose the MXML
 mustella tests and get them to run as cross-compiled tests.  I think some
 choices are:

 1) See what happens when Mustella is cross-compiled.  I'm pretty sure this
 won't work.  It could be an early test of what it will be like to support
 other third-party AS frameworks, but Mustella is relying on some low-level
 Flash things like frame events, security sandboxes, etc, so I don't think
 it is a fair test.  We could fork Mustella and strip some of that stuff
 out though, but I'd rather not have a fork of Mustella around to maintain.
 2) Make parallel Mustella JS files.  That's the direction I'm taking right
 now.  That's a valid FlexJS way since FlexJS is mostly about parallel
 AS/JS frameworks.  I still need a way to run the test in the browser and
 collect output.  Hence the desire to see if Marmotinni could do that.
 3) Write some test converter that converts a Mustella MXML script into
 Java code or maybe an XML representation that some Java code could
 interpret to execute the test.
 4) Just re-write every test in Java.
 5) Something I haven't thought of yet.

 Thoughts?
 -Alex




Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC7

2014-03-11 Thread Justin Mclean
Hi,

 I don't doubt that, but aren't they stubs and not actual implementations?
They are actually implemented in AS in the information I've found. Not 
eveything is marked native. You can add EventDispatcher to that short list. [1]

I would have to actually decompile the player global swf to know for sure but 
I'm not going to do that for several reasons. Just do a google search for 
decompiled playergloble.swc.

Justin

1. dispatchEvent and toString are AS methods but the rest are marked native. It 
also seems to include a rather interesting  method private native function get 
listeners():Array;