[jira] [Closed] (FLEX-33539) Installer Failed with "could not delete Temporary Folder"

2013-06-11 Thread Mick Powell (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-33539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mick Powell closed FLEX-33539.
--

Resolution: Not A Problem

> Installer Failed with "could not delete Temporary Folder"
> -
>
> Key: FLEX-33539
> URL: https://issues.apache.org/jira/browse/FLEX-33539
> Project: Apache Flex
>  Issue Type: Bug
>  Components: Installer
>Affects Versions: InstallApcheFlex 2.5
> Environment: Windows XP SP3 with Admin Rights (installed in 
> VirtualBox on OSX ML)
>Reporter: Mick Powell
>Priority: Minor
> Fix For: InstallApcheFlex 2.5
>
> Attachments: FlexInstaller.png
>
>
> After installing the Apache Flex 4.9.1 SDK and then the AIR 3.4 SDK, the 
> installation process aborted. In the log it said it couldn't delete temporary 
> folders. Successive attempts always fail.
> NB - when I checked the temp folder in the SDK folder was still there - the 
> AF SDK zip was there but not the AIR one... I downloaded the AIR sdk manually 
> and after putting airglobal.swc in the right place managed to compile a 
> windows desktop AIR app. Install Log is below. I marked this as minor as a 
> colleague was able to install on a Windows 7 machine this morning without any 
> issues. One thing I should also point out - just before the abort occurs I 
> get a Windows Virtual Memory minimum is too low message. I have a gig of ram 
> allocated to virtual box, and apart from Win Rar - the installer (and AIR) 
> are the only applications running.
> Version 2.5.4 (windows)
> Fetched the SDK download mirror URL from the CGI.
> Creating Apache Flex home
> Creating temporary directory
> Downloading Apache Flex SDK from: 
> http://mirrors.sonic.net/apache/flex/4.9.1/binaries/apache-flex-sdk-4.9.1-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.
> Unzipping: D:\FlexSDKTest\temp\apache-flex-sdk-4.9.1-bin.zip
> Finished unzipping: D:\FlexSDKTest\temp\apache-flex-sdk-4.9.1-bin.zip
> Downloading Adobe AIR Runtime Kit for Windows from: 
> http://airdownload.adobe.com/air/win/download/3.4/AdobeAIRSDK.zip
> Unzipping: D:\FlexSDKTest\temp\AdobeAIRSDK.zip
> Unable to clean up temporary installation directories
> Aborting Installation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-33539) Installer Failed with "could not delete Temporary Folder"

2013-06-11 Thread Mick Powell (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13680929#comment-13680929
 ] 

Mick Powell commented on FLEX-33539:


I have attached a file (shown above). I was watching the memory as the 
installer was running, as at one point I checked and it was at 318mb. At some 
point the GC had kicked in and when I looked again it was 178mb, but once the 
installer had almost finished downloading the AIR SDK it had gone up again to 
230mb, and once it started processing the package it shot up to over 600mb - 
but it was too quick for me to grab it.

As I an using a Virtual Box installation as stated,  I have a gig of ram 
allocated to it. When I raised this bug I was running the installer among other 
applications, and running on fumes a little on my c partition (where memory is 
swapped to) - so even though I pointed the installation and the SDK to a D 
partition with plenty of disk space, I expect the bomb out was indeed due to 
lack of disk space on the C partition when memory swapped to it.

However, the 600mbs that I saw used seems pretty excessive to me for a 
downloader/unpacker - but even if it doesn't to you guys, I would at least 
recommend adding a warning if sufficient disk space/free memory is not 
available - or failing that, an idea of how much diskspace/ram is necessary for 
a successful installation before a user proceeds with one.

Either way I'll close this now as I agree its arguably not a bug, and what I 
suggest in this comment is an enhancement.   

> Installer Failed with "could not delete Temporary Folder"
> -
>
> Key: FLEX-33539
> URL: https://issues.apache.org/jira/browse/FLEX-33539
> Project: Apache Flex
>  Issue Type: Bug
>  Components: Installer
>Affects Versions: InstallApcheFlex 2.5
> Environment: Windows XP SP3 with Admin Rights (installed in 
> VirtualBox on OSX ML)
>Reporter: Mick Powell
>Priority: Minor
> Fix For: InstallApcheFlex 2.5
>
> Attachments: FlexInstaller.png
>
>
> After installing the Apache Flex 4.9.1 SDK and then the AIR 3.4 SDK, the 
> installation process aborted. In the log it said it couldn't delete temporary 
> folders. Successive attempts always fail.
> NB - when I checked the temp folder in the SDK folder was still there - the 
> AF SDK zip was there but not the AIR one... I downloaded the AIR sdk manually 
> and after putting airglobal.swc in the right place managed to compile a 
> windows desktop AIR app. Install Log is below. I marked this as minor as a 
> colleague was able to install on a Windows 7 machine this morning without any 
> issues. One thing I should also point out - just before the abort occurs I 
> get a Windows Virtual Memory minimum is too low message. I have a gig of ram 
> allocated to virtual box, and apart from Win Rar - the installer (and AIR) 
> are the only applications running.
> Version 2.5.4 (windows)
> Fetched the SDK download mirror URL from the CGI.
> Creating Apache Flex home
> Creating temporary directory
> Downloading Apache Flex SDK from: 
> http://mirrors.sonic.net/apache/flex/4.9.1/binaries/apache-flex-sdk-4.9.1-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.
> Unzipping: D:\FlexSDKTest\temp\apache-flex-sdk-4.9.1-bin.zip
> Finished unzipping: D:\FlexSDKTest\temp\apache-flex-sdk-4.9.1-bin.zip
> Downloading Adobe AIR Runtime Kit for Windows from: 
> http://airdownload.adobe.com/air/win/download/3.4/AdobeAIRSDK.zip
> Unzipping: D:\FlexSDKTest\temp\AdobeAIRSDK.zip
> Unable to clean up temporary installation directories
> Aborting Installation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-33539) Installer Failed with "could not delete Temporary Folder"

2013-06-11 Thread Mick Powell (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-33539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mick Powell updated FLEX-33539:
---

Attachment: FlexInstaller.png

Showing the memory as it started to shoot up. It peaked at over 600mb.

> Installer Failed with "could not delete Temporary Folder"
> -
>
> Key: FLEX-33539
> URL: https://issues.apache.org/jira/browse/FLEX-33539
> Project: Apache Flex
>  Issue Type: Bug
>  Components: Installer
>Affects Versions: InstallApcheFlex 2.5
> Environment: Windows XP SP3 with Admin Rights (installed in 
> VirtualBox on OSX ML)
>Reporter: Mick Powell
>Priority: Minor
> Fix For: InstallApcheFlex 2.5
>
> Attachments: FlexInstaller.png
>
>
> After installing the Apache Flex 4.9.1 SDK and then the AIR 3.4 SDK, the 
> installation process aborted. In the log it said it couldn't delete temporary 
> folders. Successive attempts always fail.
> NB - when I checked the temp folder in the SDK folder was still there - the 
> AF SDK zip was there but not the AIR one... I downloaded the AIR sdk manually 
> and after putting airglobal.swc in the right place managed to compile a 
> windows desktop AIR app. Install Log is below. I marked this as minor as a 
> colleague was able to install on a Windows 7 machine this morning without any 
> issues. One thing I should also point out - just before the abort occurs I 
> get a Windows Virtual Memory minimum is too low message. I have a gig of ram 
> allocated to virtual box, and apart from Win Rar - the installer (and AIR) 
> are the only applications running.
> Version 2.5.4 (windows)
> Fetched the SDK download mirror URL from the CGI.
> Creating Apache Flex home
> Creating temporary directory
> Downloading Apache Flex SDK from: 
> http://mirrors.sonic.net/apache/flex/4.9.1/binaries/apache-flex-sdk-4.9.1-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.
> Unzipping: D:\FlexSDKTest\temp\apache-flex-sdk-4.9.1-bin.zip
> Finished unzipping: D:\FlexSDKTest\temp\apache-flex-sdk-4.9.1-bin.zip
> Downloading Adobe AIR Runtime Kit for Windows from: 
> http://airdownload.adobe.com/air/win/download/3.4/AdobeAIRSDK.zip
> Unzipping: D:\FlexSDKTest\temp\AdobeAIRSDK.zip
> Unable to clean up temporary installation directories
> Aborting Installation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: New Mustella Failures

2013-06-11 Thread Alex Harui


On 6/11/13 3:36 PM, "Justin Mclean"  wrote:

>Hi,
>
>Given that there's only an issue with the test and it work fine in the
>browser and in 99% of cases (an assumption but not an unreasonable one)
>the performance is significantly better I think we try and get the test
>to pass rather than adding back the validateNow.
Well, I'm not sure it is only an issue with the test.  Here's a
modification of the test case you sent out.  All it does is spread out the
work of the old init() method into buttons so the renderers have to update
after the ADG creation is complete.  Start the app, hit the "Grouped Data"
button, then the "Expand All" button, then the "rtl" button.  Compare with
4.9.  I haven't looked into it any further, but this kind of difference in
behavior makes me nervous.

Thoughts?
-Alex


http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="init(event)">






AalishaanSoft
 1 
34 million
1.5 million
5 million
321475987


MughaleAzamSoft
 1 
3.4 million
2 million
5.4 million
321475987


SheeshMahalSoft
 1 
45 million
15 million
5.1 million
321745987


AjnabeeSoft
 1 
14 million
11 million
5.7 million
321479587






















Re: Flex SDK & Video access via CameraRoll/CameraUI & local video access

2013-06-11 Thread Dasa Paddock
Use: https://bugbase.adobe.com

On Jun 11, 2013, at 3:46 PM, Justin Mclean 
 wrote:

> Hi,
> 
>> I'm absolutely at a loss to understand why these are not extremely high 
>> priority.
> You'll have to ask Adobe that they are in charge of direction and changes to 
> AIR.
> 
> Put the issue up on bugs.adobe.com (which seem to be down currently) and 
> encourage people to vote for it and you might see it happen.
> 
> Justin



Re: Flex SDK & Video access via CameraRoll/CameraUI & local video access

2013-06-11 Thread Justin Mclean
Hi,

> I'm absolutely at a loss to understand why these are not extremely high 
> priority.
You'll have to ask Adobe that they are in charge of direction and changes to 
AIR.

Put the issue up on bugs.adobe.com (which seem to be down currently) and 
encourage people to vote for it and you might see it happen.

Justin

Re: New Mustella Failures

2013-06-11 Thread Justin Mclean
Hi,

Given that there's only an issue with the test and it work fine in the browser 
and in 99% of cases (an assumption but not an unreasonable one) the performance 
is significantly better I think we try and get the test to pass rather than 
adding back the validateNow.

Thanks,
Justin

Re: CS Extensions

2013-06-11 Thread OmPrakash Muppirala
On Tue, Jun 11, 2013 at 3:00 PM, Alex Harui  wrote:

>
>
> On 6/11/13 2:23 PM, "OmPrakash Muppirala"  wrote:
> >
> >Alex, any chance you could snag us an open source license for Adobe
> >Extension Builder?
> I'll ask, but I think Adobe wants you to sign up for Creative Cloud.
>
>
Thanks!  I will take a look at what the CC subscription costs and see if it
is worth it.


>  >
> >Also, was the spec for FXG donated?  I see in the Adobe Flex White paper
> >that FXG was part of the donation, although I dont see a spec document
> >(DTD, XSD, etc.) anywhere.
> Where's the spec now?  If on an Adobe site, then it might come in when
> Michelle gets the rest of the Adobe doc donated.
> >
>
>
I have no idea.  I dont see it in the open source website.  There is a
lengthy document here: [1] but that does not seem a formal spec document
that can be used programatically.

How does the compiler check an FXG document for correctness?

Thanks,
Om

[1] http://sourceforge.net/adobe/flexsdk/wiki/FXG%202.0%20Specification/


Re: CS Extensions

2013-06-11 Thread Alex Harui


On 6/11/13 2:23 PM, "OmPrakash Muppirala"  wrote:
>
>Alex, any chance you could snag us an open source license for Adobe
>Extension Builder?
I'll ask, but I think Adobe wants you to sign up for Creative Cloud.

>
>Also, was the spec for FXG donated?  I see in the Adobe Flex White paper
>that FXG was part of the donation, although I dont see a spec document
>(DTD, XSD, etc.) anywhere.
Where's the spec now?  If on an Adobe site, then it might come in when
Michelle gets the rest of the Adobe doc donated.
>



Re: CS Extensions

2013-06-11 Thread OmPrakash Muppirala
Harbs,

Any update on this?

In terms of functionality, I would really like this:

In Illustrator, there is currently no straightforward way (AFAIK) to
convert the Symbols library into individual .fxg files.  What I have been
doing is to convert the whole document into .fxg, parse the Library node
and create a new file for each symbol encountered.  There is a similar tool
in the flex-external project although I have not been able to figure out
how that worked.

I have an AIR app that does this today, I would like to port it to your CS
extension framework project that you checked into flex-utilities.  Can you
please explain how I can start with that?  Also, I dont have an Extension
Builder license, is it possible to do this work without Extension Builder?

Alex, any chance you could snag us an open source license for Adobe
Extension Builder?

Also, was the spec for FXG donated?  I see in the Adobe Flex White paper
that FXG was part of the donation, although I dont see a spec document
(DTD, XSD, etc.) anywhere.

Thanks,
Om

On Tue, Apr 16, 2013 at 3:31 PM, Alex Harui  wrote:

>
>
>
> On 4/16/13 3:03 PM, "Justin Mclean"  wrote:
>
> > Hi,
> >
> >> Sounds like gobbledygook to me. Should I just ask Bob to give his okay
> to be
> >> sure? I think the code he wrote was on his own timeŠ
> >
> > Which probably still mean Adobe owns it if he's a full time employee at
> Adobe
> > - so we may need to get permission from them.
> Good point regarding copyright ownership.  It is probably copyright Adobe.
> Regarding permission, this link [1] implies that it isn't necessary, and
> even if you think it is, the "author" gives permission.
>
> [1]
>
> http://www.adobe.com/communities/guidelines/ccplus/commercialcode_plus_permi
> ssion.html
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>


Re: Build failed in Jenkins: flex-sdk_mustella #149

2013-06-11 Thread OmPrakash Muppirala
Once Git is up, I will make this change and start the run.

Thanks,
Om

On Tue, Jun 11, 2013 at 1:52 PM, Alex Harui  wrote:

> OK, I'm ready for another "-all" run followed by a "-failures" run.  Can
> you try calling mini_run via "sh ./mini_run.sh" to see if that makes the
> –failures run work?  Otherwise, maybe there is some user privileges thing
> going on.
>
> Thanks,
> -Alex
>
> From: Alex Harui 
> Date: Monday, June 10, 2013 11:59 AM
> To: OmPrakash Muppirala , "dev@flex.apache.org" <
> dev@flex.apache.org>
>
> Cc: Erik de Bruin , "jmcl...@apache.org" <
> jmcl...@apache.org>, "erikdebr...@apache.org" , "
> aha...@apache.org" 
> Subject: Re: Build failed in Jenkins: flex-sdk_mustella #149
>
> There is a valid failures.txt.
>
> Ant often says it can't find local.properties and keeps going just fine.
>
> The issue seems to be in the launching of ./mini_run.sh –failures
> You can see that there was some other file it couldn't access, but not
> sure which one.
>
> But in test_changes.sh, we run minirun via "sh ./mini_run.sh …"  Is there
> some issue with running more than one .sh from within another .sh file?
>
> -Alex
>
> From: OmPrakash Muppirala 
> Date: Monday, June 10, 2013 10:51 AM
> To: "dev@flex.apache.org" 
> Cc: Erik de Bruin , "jmcl...@apache.org" <
> jmcl...@apache.org>, "erikdebr...@apache.org" , "
> aha...@apache.org" 
> Subject: Re: Build failed in Jenkins: flex-sdk_mustella #149
>
> This is the script in Jenkins.sh.
>
> export SHELLOPTS
> set -o igncr
>
> ./mini_run.sh -timeout=6 -all
> #./mini_run.sh -timeout=6 -failures
>
> if [[ -s failures.txt ]] ; then
> echo "Some tests failed: running '-failures'"
> ./mini_run.sh -failures
> else
> echo "All tests passed on first run"
> fi ;
>
> It is set to run -all first.  And then it tries to detect failures.txt and
> if found, it will run -failures.
>
> It might be that the -all failed without creating a failures.txt file?
>
> To me, it looks like ant task failed to find local.properties, which is
> why the build failed.
>
>
> On Mon, Jun 10, 2013 at 10:45 AM, Alex Harui  wrote:
>
>> Looks like running -failures didn't quite work and it tried to run
>> everything.
>>
>> Is jenkins.sh actually a shell script that gets run by Bash?  I noticed in
>> test_changes.sh, mini_run.sh is called via "sh ./mini_run.sh" instead of
>> just "./mini_run.sh".  I'm no Bash expert, but I wonder if that could be
>> the reason?
>>
>> -Alex
>>
>> On 6/10/13 10:03 AM, "OmPrakash Muppirala"  wrote:
>>
>> >All clear from me..
>> >
>> >Om
>> >On Jun 10, 2013 10:01 AM, "Erik de Bruin"  wrote:
>> >
>> >> I'll stay clear of the VM ;-)
>> >>
>> >> EdB
>> >>
>> >>
>> >>
>> >> On Mon, Jun 10, 2013 at 6:44 PM, Alex Harui  wrote:
>> >> > Strange.  Anybody using the VM?  Otherwise I will log in in a few
>> >> minutes.
>> >> >
>> >> > On 6/10/13 5:09 AM, "flex.muste...@gmail.com"
>> >>
>> >> > wrote:
>> >> >
>> >> >>See 
>> >> >>
>> >> >>--
>> >> >>[...truncated 90833 lines...]
>> >> >> [java] Loading configuration file
>> >>
>>
>> C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
>> >> >> [java]
>> >>
>> >>
>>
>> C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\
>> Dat
>> >>
>> >>
>>
>> aGrid\DataGrid_HaloSkin\Properties\datagrid_properties_scrollPolicies_h
>> alo
>> >> >>.mxml(370): Warning: 'application' has been deprecated since 4.0.
>> >>Please
>> >> >>use 'FlexGlobals.topLevelApplication'.
>> >> >> [java]
>> >> >> [java] > >>/>
>> >> >> [java]
>> >> >> [java]
>> >>
>> >>
>>
>> C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\
>> Lin
>> >> >>kBar\SWFs\LinkBar_Mirroring.swf (1567325 bytes)
>> >> >> [java] Choosing local runner bitmap save
>> >> >> [java] okey doke, going to compile
>> >>
>> >>
>>
>> C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\spark\forma
>> tte
>> >> >>rs\DateTimeFormatter\SWFs\DF_Fallback_formatUTC_Main.mxml
>> >> >> [java] Loading configuration file
>> >>
>>
>> C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
>> >> >> [java]
>> >>
>> >>
>>
>> C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\spark\forma
>> tte
>> >> >>rs\DateTimeFormatter\SWFs\DF_Fallback_formatUTC_Main.swf (661445
>> >>bytes)
>> >> >> [java] Choosing local runner bitmap save
>> >> >> [java] okey doke, going to compile
>> >>
>> >>
>>
>> C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\
>> But
>> >> >>ton\SWFs\Button_main.mxml
>> >> >> [java] Loading configuration file
>> >>
>>
>> C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
>> >> >> [java]
>> >>
>> >>
>>
>> C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\
>> Dat
>> >>
>> >>
>> aGrid\DataGrid_HaloSkin\Properties\
>> datag

Re: Build failed in Jenkins: flex-sdk_mustella #149

2013-06-11 Thread Alex Harui
OK, I'm ready for another "-all" run followed by a "-failures" run.  Can you 
try calling mini_run via "sh ./mini_run.sh" to see if that makes the –failures 
run work?  Otherwise, maybe there is some user privileges thing going on.

Thanks,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Date: Monday, June 10, 2013 11:59 AM
To: OmPrakash Muppirala mailto:bigosma...@gmail.com>>, 
"dev@flex.apache.org" 
mailto:dev@flex.apache.org>>
Cc: Erik de Bruin mailto:e...@ixsoftware.nl>>, 
"jmcl...@apache.org" 
mailto:jmcl...@apache.org>>, 
"erikdebr...@apache.org" 
mailto:erikdebr...@apache.org>>, 
"aha...@apache.org" 
mailto:aha...@apache.org>>
Subject: Re: Build failed in Jenkins: flex-sdk_mustella #149

There is a valid failures.txt.

Ant often says it can't find local.properties and keeps going just fine.

The issue seems to be in the launching of ./mini_run.sh –failures
You can see that there was some other file it couldn't access, but not sure 
which one.

But in test_changes.sh, we run minirun via "sh ./mini_run.sh …"  Is there some 
issue with running more than one .sh from within another .sh file?

-Alex

From: OmPrakash Muppirala mailto:bigosma...@gmail.com>>
Date: Monday, June 10, 2013 10:51 AM
To: "dev@flex.apache.org" 
mailto:dev@flex.apache.org>>
Cc: Erik de Bruin mailto:e...@ixsoftware.nl>>, 
"jmcl...@apache.org" 
mailto:jmcl...@apache.org>>, 
"erikdebr...@apache.org" 
mailto:erikdebr...@apache.org>>, 
"aha...@apache.org" 
mailto:aha...@apache.org>>
Subject: Re: Build failed in Jenkins: flex-sdk_mustella #149

This is the script in Jenkins.sh.

export SHELLOPTS
set -o igncr

./mini_run.sh -timeout=6 -all
#./mini_run.sh -timeout=6 -failures

if [[ -s failures.txt ]] ; then
echo "Some tests failed: running '-failures'"
./mini_run.sh -failures
else
echo "All tests passed on first run"
fi ;

It is set to run -all first.  And then it tries to detect failures.txt and if 
found, it will run -failures.

It might be that the -all failed without creating a failures.txt file?

To me, it looks like ant task failed to find local.properties, which is why the 
build failed.


On Mon, Jun 10, 2013 at 10:45 AM, Alex Harui 
mailto:aha...@adobe.com>> wrote:
Looks like running -failures didn't quite work and it tried to run
everything.

Is jenkins.sh actually a shell script that gets run by Bash?  I noticed in
test_changes.sh, mini_run.sh is called via "sh ./mini_run.sh" instead of
just "./mini_run.sh".  I'm no Bash expert, but I wonder if that could be
the reason?

-Alex

On 6/10/13 10:03 AM, "OmPrakash Muppirala" 
mailto:bigosma...@gmail.com>> wrote:

>All clear from me..
>
>Om
>On Jun 10, 2013 10:01 AM, "Erik de Bruin" 
>mailto:e...@ixsoftware.nl>> wrote:
>
>> I'll stay clear of the VM ;-)
>>
>> EdB
>>
>>
>>
>> On Mon, Jun 10, 2013 at 6:44 PM, Alex Harui 
>> mailto:aha...@adobe.com>> wrote:
>> > Strange.  Anybody using the VM?  Otherwise I will log in in a few
>> minutes.
>> >
>> > On 6/10/13 5:09 AM, 
>> > "flex.muste...@gmail.com"
>>mailto:flex.muste...@gmail.com>>
>> > wrote:
>> >
>> >>See 
>> >>
>> >>--
>> >>[...truncated 90833 lines...]
>> >> [java] Loading configuration file
>>
C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
>> >> [java]
>>
>>
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\
Dat
>>
>>
aGrid\DataGrid_HaloSkin\Properties\datagrid_properties_scrollPolicies_h
alo
>> >>.mxml(370): Warning: 'application' has been deprecated since 4.0.
>>Please
>> >>use 'FlexGlobals.topLevelApplication'.
>> >> [java]
>> >> [java] >/>
>> >> [java]
>> >> [java]
>>
>>
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\
Lin
>> >>kBar\SWFs\LinkBar_Mirroring.swf (1567325 bytes)
>> >> [java] Choosing local runner bitmap save
>> >> [java] okey doke, going to compile
>>
>>
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\spark\forma
tte
>> >>rs\DateTimeFormatter\SWFs\DF_Fallback_formatUTC_Main.mxml
>> >> [java] Loading configuration file
>>
C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
>> >> [java]
>>
>>
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\spark\forma
tte
>> >>rs\DateTimeFormatter\SWFs\DF_Fallback_formatUTC_Main.swf (661445
>>bytes)
>> >> [java] Choosing local runner bitmap save
>> >> [java] okey doke, going to compile
>>
>>
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\components\
But
>> >>ton\SWFs\Button_main.mxml
>> >> [java] Loading configuration file
>>
C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\fl

Re: Flex SDK & Video access via CameraRoll/CameraUI & local video access

2013-06-11 Thread Christian M. Cepel
I'm absolutely at a loss to understand why these are not extremely high
priority.  If this is to be a valid technology for multimedia tablets and
handheld devices, should it not at the very least interact with native
resources and apps?  Can someone in the know tell us... is this on the
to-do list? Are the powers that be aware of the lack and the need and what
a large hole in an otherwise fantastic technology this represents?  Just
knowing that it was being worked on, or will be worked on would be
something.

For those of you in the same boat as I, Francis
Altomare has
been splendid about writing an ANE to try to address some of the lack, and
he's recently updated to try to include iPads (It wasn't a priority and
wasn't functioning before).  He keeps adding features and seems open to
updating as people need.  His project is hosted here:
https://bitbucket.org/lostirc/videoroll


On Wed, May 8, 2013 at 5:26 AM, Cosma Colanicchia wrote:

> Sadly, still no news about mobile device video support in AIR 3.8 beta.. (
> CameraRoll.browseForVideo(), acquired videos playback, snapshot extraction,
> ecc.)
>
>
> 2013/4/6 Alex Harui 
>
> > Sounds like an AIR thing.  Is what you want possible via
> PhoneGap/Cordova?
> > We are looking into having the AS to JS conversion create PhoneGap apps.
> >
> >
> > On 4/5/13 10:38 AM, "Christian M. Cepel" 
> > wrote:
> >
> > > I'm not certain how things stand with Apache incubating Flex and Adobe
> > > developing AIR.
> > >
> > > I'm wondering if this is something on the radar as far as the SDK
> > > development team goes, and if so, where it might stand, what we might
> > > expect.  The below is specifically regarding iOS, but the non-existing
> > API
> > > methods of course
> > >
> > > Specifically, the SDK lacks any way to
> > >
> > >- CameraRoll.browseForVideo() similar to CameraRoll.browseForImage()
> > >- Using the CameraUI to take a video creates a file in the system
> tmp
> > >that is not immediately available w/o first using FileIO to move it
> > >elsewhere.
> > >- Directly/simply accessing local video on the filesystem without
> > >involving a far more complex server/streaming model that is simply
> > >unnecessary (so far as I understand things)
> > >- Harvest frame BitmapData directly for display of thumbnails
> > >
> > > I've, personally had no luck with using Video or StageVideo to simply
> > > display a video file on the local file system that was
> -created/captured-
> > > using the delegated system level functionality.  More directly
> stated...
> > > Native Video format doesn't seem to be playable on the device that
> > created
> > > it (though this may just be my shortcomings as a developer).
> > >
> > > So... I can create videos using the delegated system camera util, but
> not
> > > play them.  I can create videos outside of my software using the system
> > > camera which are then stored in the system CameraRoll, but I can in no
> > ways
> > > use the existing native functionality to browse and select those videos
> > in
> > > the way I can images.
> > >
> > > Is any of this being addressed?
> > >
> > > ANEs seem to be my only solution, but I've not found what I need so far
> > and
> > > I've absolutely no time to dedicate to learning a new technology.
> > >
> > > Cheers.
> >
> > --
> > Alex Harui
> > Flex SDK Team
> > Adobe Systems, Inc.
> > http://blogs.adobe.com/aharui
> >
> >
>



-- 
// Christian M. Cepel - Programmer/Analyst, Sr., University of Missouri


*And the wrens have returned, and are nesting;*

*In the hollow of that oak, where his heart once had been.*

*And he lifts up his arms in a blessing, for being born again.*

Rich Mullins, The Color Green, A Liturgy, a Legacy, & a Ragamuffin Band


[jira] [Commented] (FLEX-33539) Installer Failed with "could not delete Temporary Folder"

2013-06-11 Thread Mick Powell (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13680599#comment-13680599
 ] 

Mick Powell commented on FLEX-33539:


I will do that later on today.

Cheers,

Mick

> Installer Failed with "could not delete Temporary Folder"
> -
>
> Key: FLEX-33539
> URL: https://issues.apache.org/jira/browse/FLEX-33539
> Project: Apache Flex
>  Issue Type: Bug
>  Components: Installer
>Affects Versions: InstallApcheFlex 2.5
> Environment: Windows XP SP3 with Admin Rights (installed in 
> VirtualBox on OSX ML)
>Reporter: Mick Powell
>Priority: Minor
> Fix For: InstallApcheFlex 2.5
>
>
> After installing the Apache Flex 4.9.1 SDK and then the AIR 3.4 SDK, the 
> installation process aborted. In the log it said it couldn't delete temporary 
> folders. Successive attempts always fail.
> NB - when I checked the temp folder in the SDK folder was still there - the 
> AF SDK zip was there but not the AIR one... I downloaded the AIR sdk manually 
> and after putting airglobal.swc in the right place managed to compile a 
> windows desktop AIR app. Install Log is below. I marked this as minor as a 
> colleague was able to install on a Windows 7 machine this morning without any 
> issues. One thing I should also point out - just before the abort occurs I 
> get a Windows Virtual Memory minimum is too low message. I have a gig of ram 
> allocated to virtual box, and apart from Win Rar - the installer (and AIR) 
> are the only applications running.
> Version 2.5.4 (windows)
> Fetched the SDK download mirror URL from the CGI.
> Creating Apache Flex home
> Creating temporary directory
> Downloading Apache Flex SDK from: 
> http://mirrors.sonic.net/apache/flex/4.9.1/binaries/apache-flex-sdk-4.9.1-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.
> Unzipping: D:\FlexSDKTest\temp\apache-flex-sdk-4.9.1-bin.zip
> Finished unzipping: D:\FlexSDKTest\temp\apache-flex-sdk-4.9.1-bin.zip
> Downloading Adobe AIR Runtime Kit for Windows from: 
> http://airdownload.adobe.com/air/win/download/3.4/AdobeAIRSDK.zip
> Unzipping: D:\FlexSDKTest\temp\AdobeAIRSDK.zip
> Unable to clean up temporary installation directories
> Aborting Installation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-33539) Installer Failed with "could not delete Temporary Folder"

2013-06-11 Thread OmPrakash Muppirala (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13680591#comment-13680591
 ] 

OmPrakash Muppirala commented on FLEX-33539:


The "Windows Virtual Memory minimum" warning usually indicates that you are low 
on disk space.  It is possible that while the AIR SDK was getting unzipped on 
to the disk, the disk ran out of space, hence it aborted.  

Please verify if this is the case.  

Thanks,
Om

> Installer Failed with "could not delete Temporary Folder"
> -
>
> Key: FLEX-33539
> URL: https://issues.apache.org/jira/browse/FLEX-33539
> Project: Apache Flex
>  Issue Type: Bug
>  Components: Installer
>Affects Versions: InstallApcheFlex 2.5
> Environment: Windows XP SP3 with Admin Rights (installed in 
> VirtualBox on OSX ML)
>Reporter: Mick Powell
>Priority: Minor
> Fix For: InstallApcheFlex 2.5
>
>
> After installing the Apache Flex 4.9.1 SDK and then the AIR 3.4 SDK, the 
> installation process aborted. In the log it said it couldn't delete temporary 
> folders. Successive attempts always fail.
> NB - when I checked the temp folder in the SDK folder was still there - the 
> AF SDK zip was there but not the AIR one... I downloaded the AIR sdk manually 
> and after putting airglobal.swc in the right place managed to compile a 
> windows desktop AIR app. Install Log is below. I marked this as minor as a 
> colleague was able to install on a Windows 7 machine this morning without any 
> issues. One thing I should also point out - just before the abort occurs I 
> get a Windows Virtual Memory minimum is too low message. I have a gig of ram 
> allocated to virtual box, and apart from Win Rar - the installer (and AIR) 
> are the only applications running.
> Version 2.5.4 (windows)
> Fetched the SDK download mirror URL from the CGI.
> Creating Apache Flex home
> Creating temporary directory
> Downloading Apache Flex SDK from: 
> http://mirrors.sonic.net/apache/flex/4.9.1/binaries/apache-flex-sdk-4.9.1-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.
> Unzipping: D:\FlexSDKTest\temp\apache-flex-sdk-4.9.1-bin.zip
> Finished unzipping: D:\FlexSDKTest\temp\apache-flex-sdk-4.9.1-bin.zip
> Downloading Adobe AIR Runtime Kit for Windows from: 
> http://airdownload.adobe.com/air/win/download/3.4/AdobeAIRSDK.zip
> Unzipping: D:\FlexSDKTest\temp\AdobeAIRSDK.zip
> Unable to clean up temporary installation directories
> Aborting Installation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Build failed in Jenkins: flex-sdk_asdoc #30

2013-06-11 Thread Apache Jenkins Server
See 

--
Started by timer
Building remotely on windows1 in workspace 

Checkout:flex-sdk_asdoc /  - 
hudson.remoting.Channel@69621882:windows1
Using strategy: Default
Last Built Revision: Revision 499267ce689eda595954649d6d9559738e45b23c 
(origin/develop)
Fetching changes from 1 remote Git repository
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing 
anyway
hudson.plugins.git.GitException: Command "git fetch -t 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: Connection time-out while accessing 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git/info/refs?service=git-upload-pack
fatal: HTTP request failed

at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:858)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:200)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:1105)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:813)
at hudson.plugins.git.GitSCM.access$100(GitSCM.java:72)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1018)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:58)
at java.lang.Thread.run(Unknown Source)
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1025)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:58)
at java.lang.Thread.run(Unknown Source)


Re: AW: [DISCUSS] Alerts and dialogs in Flex 4.x / Spark (was: Alerts and dialogs in FlexJS)

2013-06-11 Thread Peter Ent
For FlexJS, the Alert will have an AlertModel where the title, message,
and button labels will be stored. The model is assigned via style sheet
(or programmatically) and the model can be changed dynamically. If you
wanted something different or more generic, it will be possible to extend
the AlertModel and add whatever else you'd like and then extend or replace
the AlertBead to handle the extra layout or items.

Peter Ent
Flex SDK Team
Adobe Systems

On 6/11/13 4:15 AM, "christofer.d...@c-ware.de"
 wrote:

>Regarding the callback-functionality, I would prefer the event based
>approach over the old one where you provide the callbac functionality.
>
>As far as I understood it, I can still programatically create Alerts and
>addEventListeners for the CloseEvents. I would really like to be able to
>continue to be able to create Alerts programatically.
>
>Regarding the discussion of what Buttons the Allert should have, what
>about implementing an abstract BaseAlert (or something similar that
>contains a command-bar which can be filled with Buttons and a concrete
>subclass Alert that mimics the functionality of the original Alert?
>
>Chris
>
>
>Von: Maxime Cowez [maxime.co...@gmail.com]
>Gesendet: Montag, 10. Juni 2013 22:08
>An: dev@flex.apache.org
>Betreff: [DISCUSS] Alerts and dialogs in Flex 4.x / Spark (was: Alerts
>and dialogs in FlexJS)
>
>As we were discussing some options in the thread "Alerts and dialogs in
>FlexJS", we started to elaborate on dialog implementation in general. This
>was carrying us away from the initial question so I started this new
>thread.
>
>One of the initial topics was the possibility to declare Alerts/Dialogs as
>mxml tags instead of using the old static function, something like this:
>
>
>close="handleAlertClose(event)"/>
>
>
>
>
>I mentioned that I had already created such an implementation, which can
>be
>found at https://github.com/RIAstar/SkinnablePopUpFx
>There's also a live demo at http://riastar.github.io/SkinnablePopUpFx/
>
>Some people seemed to like the idea and asked some questions, which I'll
>try to answer next.
>
>Max



Re: [Installer] MD5Stream bug?

2013-06-11 Thread Mick Powell
Hello Om,

I raised a JIRA issue (https://issues.apache.org/jira/browse/FLEX-33539) on the 
installer about a month ago. It could be unrelated but maybe not. If you push 
through any fixes on this please let me know and I can test against this 
problem anyway.

All the best,

Mick

On Jun 11, 2013, at 1:10 PM, OmPrakash Muppirala  wrote:

> This is the relevant function (I dint write it)  We essentially keep
> calling update() and in the end call complete()  I have never seen this
> fail before.
> 
> =
> private function fileStreamOpenHandler(event:Event):void
> {
> var data:ByteArray = new ByteArray();
> _fileStream.readBytes(data, 0, _fileStream.bytesAvailable);
> if (event is ProgressEvent)
> {
> _md5Stream.update(data);
> dispatchEvent(event.clone());
> }
> else
> {
> if (event.type == Event.COMPLETE)
> {
> _fileIsVerified = (_md5Stream.complete(data) == _remoteMD5Value);
> _callback();
> }
> }
> }
> =
> 
> Thanks,
> Om
> 
> On Tue, Jun 11, 2013 at 11:57 AM, Alex Harui  wrote:
> 
>> Did you verify the number of bytes you are sending in to MD5Stream and
>> that you've reset ByteArray.position before doing so?
>> 
>> -Alex
>> 
>> On 6/11/13 11:22 AM, "OmPrakash Muppirala"  wrote:
>> 
>>> I have been working on getting the nightly builds working with the
>>> Installer.  If I invoke the Installer from the command line like this:
>>> 
>>> C:\Program Files (x86)\Apache Flex\Apache Flex SDK Installer>"Apache Flex
>>> SDK Installer.exe" -config="
>>> 
>> http://people.apache.org/~bigosmallm/sdk-nightly/nightly-sdk-installer-con
>>> fig.xml
>>> "
>>> 
>>> The installer loads the config from
>>> 
>> http://people.apache.org/~bigosmallm/sdk-nightly/nightly-sdk-installer-con
>>> fig.xmland
>>> loads the sdk binary artifact from
>>> 
>> https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifac
>>> t/out/
>>> 
>>> So far so good.  The problem comes up with the MD5 check occurs.  I have
>>> manually verified that that the MD5 checksum of the downloaded file
>>> matches
>>> exactly that of the generated file.  But, for some reason, the MD5Stream
>>> class generates a different MD5 checksum.  As a result, the installation
>>> is
>>> aborted.
>>> 
>>> Can someone test this independently and see if you are having similar
>>> problems as well?
>>> 
>>> Any ideas why this could be happening?
>>> 
>>> Thanks,
>>> Om
>> 
>> 



Re: [Installer] MD5Stream bug?

2013-06-11 Thread OmPrakash Muppirala
This is the relevant function (I dint write it)  We essentially keep
calling update() and in the end call complete()  I have never seen this
fail before.

=
 private function fileStreamOpenHandler(event:Event):void
{
var data:ByteArray = new ByteArray();
 _fileStream.readBytes(data, 0, _fileStream.bytesAvailable);
 if (event is ProgressEvent)
 {
_md5Stream.update(data);
 dispatchEvent(event.clone());
}
else
 {
if (event.type == Event.COMPLETE)
{
 _fileIsVerified = (_md5Stream.complete(data) == _remoteMD5Value);
 _callback();
 }
}
}
=

Thanks,
Om

On Tue, Jun 11, 2013 at 11:57 AM, Alex Harui  wrote:

> Did you verify the number of bytes you are sending in to MD5Stream and
> that you've reset ByteArray.position before doing so?
>
> -Alex
>
> On 6/11/13 11:22 AM, "OmPrakash Muppirala"  wrote:
>
> >I have been working on getting the nightly builds working with the
> >Installer.  If I invoke the Installer from the command line like this:
> >
> >C:\Program Files (x86)\Apache Flex\Apache Flex SDK Installer>"Apache Flex
> >SDK Installer.exe" -config="
> >
> http://people.apache.org/~bigosmallm/sdk-nightly/nightly-sdk-installer-con
> >fig.xml
> >"
> >
> >The installer loads the config from
> >
> http://people.apache.org/~bigosmallm/sdk-nightly/nightly-sdk-installer-con
> >fig.xmland
> >loads the sdk binary artifact from
> >
> https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifac
> >t/out/
> >
> >So far so good.  The problem comes up with the MD5 check occurs.  I have
> >manually verified that that the MD5 checksum of the downloaded file
> >matches
> >exactly that of the generated file.  But, for some reason, the MD5Stream
> >class generates a different MD5 checksum.  As a result, the installation
> >is
> >aborted.
> >
> >Can someone test this independently and see if you are having similar
> >problems as well?
> >
> >Any ideas why this could be happening?
> >
> >Thanks,
> >Om
>
>


Re: Git is down?

2013-06-11 Thread Alex Harui
Looks like Infra knows: http://monitoring.apache.org/status/

On 6/11/13 11:54 AM, "Erik de Bruin"  wrote:

>Hi,
>
>As the subject suggests... it seems the git server is down. The latest
>SDK build on Jenkins failed because of this.
>
>EdB
>
>
>
>--
>Ix Multimedia Software
>
>Jan Luykenstraat 27
>3521 VB Utrecht
>
>T. 06-51952295
>I. www.ixsoftware.nl



Re: [Installer] MD5Stream bug?

2013-06-11 Thread Alex Harui
Did you verify the number of bytes you are sending in to MD5Stream and
that you've reset ByteArray.position before doing so?

-Alex

On 6/11/13 11:22 AM, "OmPrakash Muppirala"  wrote:

>I have been working on getting the nightly builds working with the
>Installer.  If I invoke the Installer from the command line like this:
>
>C:\Program Files (x86)\Apache Flex\Apache Flex SDK Installer>"Apache Flex
>SDK Installer.exe" -config="
>http://people.apache.org/~bigosmallm/sdk-nightly/nightly-sdk-installer-con
>fig.xml
>"
>
>The installer loads the config from
>http://people.apache.org/~bigosmallm/sdk-nightly/nightly-sdk-installer-con
>fig.xmland
>loads the sdk binary artifact from
>https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifac
>t/out/
>
>So far so good.  The problem comes up with the MD5 check occurs.  I have
>manually verified that that the MD5 checksum of the downloaded file
>matches
>exactly that of the generated file.  But, for some reason, the MD5Stream
>class generates a different MD5 checksum.  As a result, the installation
>is
>aborted.
>
>Can someone test this independently and see if you are having similar
>problems as well?
>
>Any ideas why this could be happening?
>
>Thanks,
>Om



Git is down?

2013-06-11 Thread Erik de Bruin
Hi,

As the subject suggests... it seems the git server is down. The latest
SDK build on Jenkins failed because of this.

EdB



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

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


Re: New Mustella Failures

2013-06-11 Thread Alex Harui


On 6/9/13 2:28 AM, "Justin Mclean"  wrote:

>Hi,
>
>> Don't know OTOH.  One possibility is that now that validateNow isn't
>>being
>> called it gets validated and the text is "fixed" on some later frame,
>> which could be after compareBitmap does its thing.
>As far as I can see the text shouldn't be changed/reversed/RTL or
>anything as only the layoutDirection is changed. All that should do is
>show columns in reverse order.
>> 
>> I can put this on my list of things to dig into after I get other
>>mustella
>> failures on the VM resolved.  Let me know.
>If you could that would be a great help.
Ok, finally got around to looking at this.  The issue is that the renderer
is based on UITextField which has different logic around invalidation.
Just calling invalidateDisplayList on the renderer does not put it in the
queue for later validation.I honestly don't know why we did that,
maybe a performance optimization as UITextFields are usually subcomponents
and are usually validated by their parent components.

So, by removing the validateNow() call on the renderer, it leaves its
invalidateDisplayList flag set but not in the queue which means that
subsequent calls won't put it in the queue either, so it never get flipped
back like it should.

Putting the renderer in the queue on invalidateDisplayList() seems like a
reasonable solution, but that will just re-introduce the calls to
validateNow() defeating what I think you were trying to achieve, and means
that other code that knows to call validateNow() will still end up calling
validateNow() and then the LayoutManager will again, so there could be a
performance hit.  There aren't good checks on validateNow() to bail early
if there isn't anything to do.

So, I'll leave it up to you to decide whether to bring back that
validateNow() and/or find a way to be smarter about not calling it, or
adding queueing to the renderer (and maybe also do it for regular
DGItemRenderer as well).

HTH,
-Alex




Build failed in Jenkins: flex-sdk #85

2013-06-11 Thread Apache Jenkins Server
See 

--
Started by user erikdebruin
Building remotely on windows1 in workspace 

Checkout:flex-sdk /  - 
hudson.remoting.Channel@69621882:windows1
Using strategy: Default
Last Built Revision: Revision 55486e0c09c77aa6c3d0a0b3ddd8a3fc1fce0ecb 
(origin/develop)
Fetching changes from 1 remote Git repository
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing 
anyway
hudson.plugins.git.GitException: Command "git fetch -t 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: Connection time-out while accessing 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git/info/refs?service=git-upload-pack
fatal: HTTP request failed

at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:858)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:200)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:1105)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:813)
at hudson.plugins.git.GitSCM.access$100(GitSCM.java:72)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1018)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:58)
at java.lang.Thread.run(Unknown Source)
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1025)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:58)
at java.lang.Thread.run(Unknown Source)


[Installer] MD5Stream bug?

2013-06-11 Thread OmPrakash Muppirala
I have been working on getting the nightly builds working with the
Installer.  If I invoke the Installer from the command line like this:

C:\Program Files (x86)\Apache Flex\Apache Flex SDK Installer>"Apache Flex
SDK Installer.exe" -config="
http://people.apache.org/~bigosmallm/sdk-nightly/nightly-sdk-installer-config.xml
"

The installer loads the config from
http://people.apache.org/~bigosmallm/sdk-nightly/nightly-sdk-installer-config.xmland
loads the sdk binary artifact from
https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifact/out/

So far so good.  The problem comes up with the MD5 check occurs.  I have
manually verified that that the MD5 checksum of the downloaded file matches
exactly that of the generated file.  But, for some reason, the MD5Stream
class generates a different MD5 checksum.  As a result, the installation is
aborted.

Can someone test this independently and see if you are having similar
problems as well?

Any ideas why this could be happening?

Thanks,
Om


Re: Cyrill Zadra joins Apache Flex PMC

2013-06-11 Thread Alex Harui
Agreed, and thanks for working on the FlexUnit donation.

On 6/11/13 10:02 AM, "Frédéric THOMAS"  wrote:

>Very happy to see you on board Cyrill ;-)
>
>-Fred
>
>-Message d'origine-
>From: Erik de Bruin
>Sent: Tuesday, June 11, 2013 6:37 PM
>To: dev@flex.apache.org
>Subject: Cyrill Zadra joins Apache Flex PMC
>
>Hi all,
>
>In recognition for his continued and substantial contributions as a
>committer on this project, please join me in welcoming Cyrill Zadra as
>the newest member of the Apache Flex PMC [1].
>
>EdB
>
>1: http://www.apache.org/foundation/how-it-works.html#pmc-members
>
>
>
>--
>Ix Multimedia Software
>
>Jan Luykenstraat 27
>3521 VB Utrecht
>
>T. 06-51952295
>I. www.ixsoftware.nl



Re: Cyrill Zadra joins Apache Flex PMC

2013-06-11 Thread Carlos Rovira
Well Deserved Cyrill! :)


2013/6/11 Justin Mclean 

> Hi,
>
> Welcome. Your vote is now binding use it wisely! :-)
>
> 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: Cyrill Zadra joins Apache Flex PMC

2013-06-11 Thread Justin Mclean
Hi,

Welcome. Your vote is now binding use it wisely! :-)

Justin


Re: Cyrill Zadra joins Apache Flex PMC

2013-06-11 Thread Frédéric THOMAS

Very happy to see you on board Cyrill ;-)

-Fred

-Message d'origine- 
From: Erik de Bruin 
Sent: Tuesday, June 11, 2013 6:37 PM 
To: dev@flex.apache.org 
Subject: Cyrill Zadra joins Apache Flex PMC 


Hi all,

In recognition for his continued and substantial contributions as a
committer on this project, please join me in welcoming Cyrill Zadra as
the newest member of the Apache Flex PMC [1].

EdB

1: http://www.apache.org/foundation/how-it-works.html#pmc-members



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

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


Re: [OT] Swiz Framework ... Mausland

2013-06-11 Thread Sebastian Mohr
@Michael

it is an honor to me reading this from you. The form of this document [1]
is
based on a writing structure I have learned in the University which can be
found throughout business plans, scientific theses or project plans ... etc.

The structure is like this:

*1) Analysis*
Describe the current state from an objective point of view

*2) Evaluation*
Evaluate the positive and negative things you see in your subjective point
of view

*3) Goals*
Goals can be seen as a subset of a roadmap in our project in
which you can define goals you would want to achieve in future.

*4) Alternatives*
Set up ways how to achieve these 3) Goals. As a simple
example: Assume you want to get to Rome in Italy. There
are many possible ways to it. By flight, by car, by foot ... etc.

*5) Checkup*
Test if you have reached these 3) Goals ... for example with
JIRA tickets, or make a checkup if you have reached the goals
that were defined in a roadmap.

*6) Vision*
A vision differs from 3) Goals because you cannot define
precise 3) Goals for it, but, they are needed to have them,
because, future 3) Goals could emerge out of it.


Hope, this helps someone structuring his or her mind for Apache Flex :)


[1] https://code.google.com/p/masuland/wiki/WhatsWrongWithFlex


-- 
Sebastian (PPMC)
Interaction Designer

Looking for a Login Example with Apache Flex? Please check out this code:
http://code.google.com/p/masuland/wiki/LoginExample



On Tue, Jun 4, 2013 at 3:33 PM, Michael A. Labriola <
labri...@digitalprimates.net> wrote:

>
> >IMO ... Apache Flex needs an MVC framework out of the box ... may it be
> Parsley, Spring AS or Swiz. I'd call it then "Apache Flex MVC" framework.
> >Having that would bring more stability to the our Flex market. More
> information can be found here [1].
>
> >[1] https://code.google.com/p/masuland/wiki/WhatsWrongWithFlex
>
> While I don't necessarily agree with all of the conclusions, I think this
> is really well done. You do an excellent job of building your point and
> organizing information. It would be an interesting format to help justify a
> lot of tech decisions.
>
> Just my musings,
> Mike
>
>
>
>


Re: Cyrill Zadra joins Apache Flex PMC

2013-06-11 Thread OmPrakash Muppirala
Welcome Cyrill :-)

Regards,
Om

On Tue, Jun 11, 2013 at 9:42 AM, Jose Barragan <
jose.barra...@codeoscopic.com> wrote:

> Congrats Cyrill !!!
>
> --
> Jose Barragan
>
> On Jun 11, 2013, at 6:37 PM, Erik de Bruin  wrote:
>
> > Hi all,
> >
> > In recognition for his continued and substantial contributions as a
> > committer on this project, please join me in welcoming Cyrill Zadra as
> > the newest member of the Apache Flex PMC [1].
> >
> > EdB
> >
> > 1: http://www.apache.org/foundation/how-it-works.html#pmc-members
> >
> >
> >
> > --
> > Ix Multimedia Software
> >
> > Jan Luykenstraat 27
> > 3521 VB Utrecht
> >
> > T. 06-51952295
> > I. www.ixsoftware.nl
>
>


RE: Cyrill Zadra joins Apache Flex PMC

2013-06-11 Thread Kessler CTR Mark J
Congratulations!

-Mark

-Original Message-
From: Erik de Bruin [mailto:e...@ixsoftware.nl] 
Sent: Tuesday, June 11, 2013 12:38 PM
To: dev@flex.apache.org
Subject: Cyrill Zadra joins Apache Flex PMC

Hi all,

In recognition for his continued and substantial contributions as a
committer on this project, please join me in welcoming Cyrill Zadra as
the newest member of the Apache Flex PMC [1].

EdB

1: http://www.apache.org/foundation/how-it-works.html#pmc-members



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

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


Re: Cyrill Zadra joins Apache Flex PMC

2013-06-11 Thread Jose Barragan
Congrats Cyrill !!!

--
Jose Barragan

On Jun 11, 2013, at 6:37 PM, Erik de Bruin  wrote:

> Hi all,
> 
> In recognition for his continued and substantial contributions as a
> committer on this project, please join me in welcoming Cyrill Zadra as
> the newest member of the Apache Flex PMC [1].
> 
> EdB
> 
> 1: http://www.apache.org/foundation/how-it-works.html#pmc-members
> 
> 
> 
> --
> Ix Multimedia Software
> 
> Jan Luykenstraat 27
> 3521 VB Utrecht
> 
> T. 06-51952295
> I. www.ixsoftware.nl



Cyrill Zadra joins Apache Flex PMC

2013-06-11 Thread Erik de Bruin
Hi all,

In recognition for his continued and substantial contributions as a
committer on this project, please join me in welcoming Cyrill Zadra as
the newest member of the Apache Flex PMC [1].

EdB

1: http://www.apache.org/foundation/how-it-works.html#pmc-members



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

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


Re: More new Mustella failures

2013-06-11 Thread Alex Harui
Did you sync first? I changed the test so it would pass. Did you run ant main 
before running the test that failed?




Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.

Justin Mclean  wrote:


Hi,

I'm not seeing this but I am getting another error.

 [java] =
 [java] Failed:
 [java] =
 [java] LangPacks/Japanese/tests/runtimeErrorTests 
JA_RTE_FlexVersion_VersionAlreadyRead Failed 
AssertMethodValue%20%28method%20cannot%20be%20shown%29%28body%3Astep%201%29%20%20method%20returned%20%u4E92%u63DB%u6027%u306E%u3042%u308B%u30D0%u30FC%u30B8%u30E7%u30F3%u304C%u65E2%u306B%u8A2D%u5B9A%u3055%u308C%u3066%u3044%u307E%u3059%u3002%2C%20expected%20%u4E92%u63DB%u6027%u306E%u3042%u308B%u30D0%u30FC%u30B8%u30E7%u30F3%u304C%u65E2%u306B%u8AAD%u307F%u8FBC%u307E%u308C%u3066%u3044%u307E%u3059%u3002
 [java]
 [java]
 [java] =
 [java] Passes: 237
 [java] Fails: 1
 [java] =

Justin


Build failed in Jenkins: flex-sdk #84

2013-06-11 Thread Apache Jenkins Server
See 

--
Started by timer
Building remotely on windows1 in workspace 

Checkout:flex-sdk /  - 
hudson.remoting.Channel@69621882:windows1
Using strategy: Default
Last Built Revision: Revision 55486e0c09c77aa6c3d0a0b3ddd8a3fc1fce0ecb 
(origin/develop)
Fetching changes from 1 remote Git repository
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing 
anyway
hudson.plugins.git.GitException: Command "git fetch -t 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: Failed connect to git-wip-us.apache.org:443; No error while 
accessing 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git/info/refs?service=git-upload-pack
fatal: HTTP request failed

at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:858)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:200)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:1105)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:813)
at hudson.plugins.git.GitSCM.access$100(GitSCM.java:72)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1018)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:58)
at java.lang.Thread.run(Unknown Source)
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1025)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:58)
at java.lang.Thread.run(Unknown Source)


Re: Thoughts about CSS and Flex

2013-06-11 Thread Nick Collins
I understand it can be done like that, but then you have your styles
intruding into your code. If you are looking to have clear separation
between form, function, and style, you cannot presently do it with the
current Flex CSS implementation.


On Tue, Jun 11, 2013 at 2:56 AM, Justin Mclean wrote:

> Hi,
>
> > In CSS3 you can do it by simply having a comma delimited list of
> gradients assigned to the
> > background attribute, and then control the repetition, positioning, and
> > scaling of each in the same fashion, by having those values in a
> > comma-delimited list on the corresponding attribute.
> Can you raise a JIRA for this issue and include some sample code for how
> you think you specify these attributes.
>
>  It's probably not that hard to add as there's a few existing CSS styles
> that support arrays.
>
> > Also, if you are using SASS or LESS you can create variables within the
> > stylesheet that correspond to a particular RGBA color value.
> Flex can support some of this by using PropertyReference but it probably
> just as easy to use setStyle in ActionsScript.
>
> 
> [Bindable]
> private var myColour:int = 0x00;
> 
>
> 
> @namespace s "library://ns.adobe.com/flex/spark";
> s|Button {
> color: PropertyReference("myColour");
> }
> 
>
> Thanks,
> Justin


Re: Flex app using images

2013-06-11 Thread Deepak MS
Great! That was really helpful to start off.

I bet you! Such a pain to shift from photoshop to illustrator. But as you
said, it would be fruitful! Just happen to read through some articles. I
can use fxg documents from illustrator in flex and keep it vector
completely.

Thanks again..
Cheers!



On Mon, Jun 10, 2013 at 11:10 PM, Tianzhen Lin  wrote:

> Flex/Flash is vector-based UI, when all assets are expressed in the form of
> vector, the UI can easily go resolution-independent, that means your app
> would look just as sharp on 72-dpi old monitor, to 120/150-dpi modern
> monitor all the way to retina display on iPhone 4 and above.
>
> With image/bitmap-based approach, if you supply multiple version of images
> catering each resolution, you will have optimal display quality but it
> increases the burden of image preparation.  This is not issue of Flex or
> Flash, it is any bitmap-based approach will have this problem, notably
> HTML/HTML 5.
>
> If you opt for not supplying multiple versions of images, you will then
> force the app to resize an image, which is generally an expensive operation
> especially if you turn on interpolation for better display quality.
>
> With the shortcoming of Photoshop-base UI mockup, lately I have been
> switching over to Adobe Illustrator for UI design, it is painful at first
> but the investment is well worth for the outcome.
>
> Tangent
>
> -Original Message-
> From: Deepak MS [mailto:megharajdee...@gmail.com]
> Sent: Thursday, June 06, 2013 1:43 AM
> To: dev@flex.apache.org
> Cc: us...@flex.apache.org
> Subject: Flex app using images
>
> Hi there,
>
> Just wanted to check if we can built an app in flex by using sliced
> images(all the screens of the app) from a UI design done in Photoshop(or
> any
> UI editing tool), without any performance issues?
>
>
>
> I have been working on iPad apps by just skinning the components. But
> sometimes there are some UI designs which are difficult to achieve by
> skinning.
>
>
>
> Hence wanted to know if we can extensively use images to build an app in
> flex. Something like these:
>
> http://dribbble.com/shots/172145-Mobile-admin-dashboard-iPad-UI-UX-iOS
>
> http://dribbble.com/shots/722800-Experiment-with-Metro-UI/attachments/68300
>
>
>
> Kindly let me know what can be the best approach.
>
>
>
> Cheers,
>
> Deepak
>
>


Re: More new Mustella failures

2013-06-11 Thread Justin Mclean
Hi,

I'm not seeing this but I am getting another error.

 [java] =
 [java] Failed: 
 [java] =
 [java] LangPacks/Japanese/tests/runtimeErrorTests 
JA_RTE_FlexVersion_VersionAlreadyRead Failed 
AssertMethodValue%20%28method%20cannot%20be%20shown%29%28body%3Astep%201%29%20%20method%20returned%20%u4E92%u63DB%u6027%u306E%u3042%u308B%u30D0%u30FC%u30B8%u30E7%u30F3%u304C%u65E2%u306B%u8A2D%u5B9A%u3055%u308C%u3066%u3044%u307E%u3059%u3002%2C%20expected%20%u4E92%u63DB%u6027%u306E%u3042%u308B%u30D0%u30FC%u30B8%u30E7%u30F3%u304C%u65E2%u306B%u8AAD%u307F%u8FBC%u307E%u308C%u3066%u3044%u307E%u3059%u3002
 
 [java] 
 [java] 
 [java] =
 [java] Passes: 237
 [java] Fails: 1
 [java] =

Justin

Re: Flex - I’m having an AWFUL time getting this website to work in IE10.

2013-06-11 Thread OmPrakash Muppirala
Can't you look at the source code to figure out if it its Flex or not?  If
you don't have access to the source, then this whole discussion is moot,
isn't it? :-)

Thanks,
Om
On Jun 11, 2013 12:43 AM, "Justin Mclean"  wrote:

> Hi,
>
> > I see a fair amount of web service calls and of course getting any sort
> of visibility to the web services would really open a ton of doors for us.
>
> You might want to take a look at Charles (a reverse proxy/debugger at
> http://www.charlesproxy.com), it understand web services and flash
> remoting and should show you what is going on.
>
> Thanks,
> Justin


AW: [DISCUSS] Alerts and dialogs in Flex 4.x / Spark (was: Alerts and dialogs in FlexJS)

2013-06-11 Thread christofer.d...@c-ware.de
Regarding the callback-functionality, I would prefer the event based approach 
over the old one where you provide the callbac functionality.

As far as I understood it, I can still programatically create Alerts and 
addEventListeners for the CloseEvents. I would really like to be able to 
continue to be able to create Alerts programatically.

Regarding the discussion of what Buttons the Allert should have, what about 
implementing an abstract BaseAlert (or something similar that contains a 
command-bar which can be filled with Buttons and a concrete subclass Alert that 
mimics the functionality of the original Alert?

Chris


Von: Maxime Cowez [maxime.co...@gmail.com]
Gesendet: Montag, 10. Juni 2013 22:08
An: dev@flex.apache.org
Betreff: [DISCUSS] Alerts and dialogs in Flex 4.x / Spark (was: Alerts and 
dialogs in FlexJS)

As we were discussing some options in the thread "Alerts and dialogs in
FlexJS", we started to elaborate on dialog implementation in general. This
was carrying us away from the initial question so I started this new thread.

One of the initial topics was the possibility to declare Alerts/Dialogs as
mxml tags instead of using the old static function, something like this:







I mentioned that I had already created such an implementation, which can be
found at https://github.com/RIAstar/SkinnablePopUpFx
There's also a live demo at http://riastar.github.io/SkinnablePopUpFx/

Some people seemed to like the idea and asked some questions, which I'll
try to answer next.

Max

Re: [DISCUSS] Alerts and dialogs in Flex 4.x / Spark (was: Alerts and dialogs in FlexJS)

2013-06-11 Thread Carlos Rovira
Hi Maxime,

I understand the buttons concept and seems ok to me. It's another way to
get to the same.

I was aware of an Alert but for I forgot it until you point it. Ok, I
revised it and seems in a quick read a right implementation of the mx Alert
in spark version. Maybe we could update it to get the benefits in your
implementation to get best of both worlds. So for example we will get the
mxml declaration, the delegate concept, but will maintain the api with
 "show" method and alert traditional buttons...


2013/6/10 Maxime Cowez 

> @Christophe
>
> I'll be replying to your statements from the point of view of my
> Alert/SkinnablePopUp implementation, so maybe you'll have to read the
> previous mails in this thread to understand what I mean.
>
> > Regarding the buttons, I would find the following interesting:
>
> > - option to define the order in which the buttons appear (e.g. Mac vs
> Windows). The flags approach doesn't work for this, so perhaps replace
> this by an array.
>
> Agreed. For now the only way to do this in my implementation is by creating
> a custom skin. For the Mac vs. Windows case this might be sufficient (or
> perhaps even appropriate), but it sure wouldn't hurt if there were an
> easier way to just change the order through an attribute. I'll have a look
> at it.
>
> > - extra buttons: Yes, No, Cancel, OK, Retry, Ignore, Abort, ...
>
> As I've described in my response to Carlos: I believe you can get - almost
> - anywhere you want with three buttons as long as you can customize their
> labels.
> Yes/No, Ok/Cancel, Retry/Ignore/Abort all fit into the
> commit/cancel/discard functional threesome I described.
>
> > - custom buttons: you can localize the built-in ones, but what if you
> want
> another semantic meaning for a button. A question here is how you handle
> the click/selection of a custom button.
>
> That's exactly why I think there should be only three and not 9+. As long
> as the semantic meaning of the buttons is sufficiently generic, I believe
> most use cases will fit in there. Feel free to prove me wrong ;)
> If you have the odd case where you really can't fit it in, you can still
> extend SkinnablePopUp.
>
> > - have predefined combinations of buttons, similar to .NET's
> MessageBoxButtons
>
> Again, I think this approach is actually more limiting. I looked at the
> list of possible combinations in the .NET docs and I'm already missing
> some.
>
> > I agree that things should be simple though and that Alert might be a
> very
> specific type of user prompt with limited/no modification possibilities.
>
> That's why I created Alert to be 'committable'-only by default (not
> 'cancelable' or 'discardable'). This results in a simple message box with
> an OK/Commit/Yes button.
>
> Max
>
>
> On Mon, Jun 10, 2013 at 10:57 PM, Maxime Cowez  >wrote:
>
> > @alex
> >
> > > Interesting.  Makes me wonder if Alert should be a container for a set
> of
> > buttons of your choosing.
> >
> > As I've described in my response to Carlos: I believe you can get -
> almost
> > - anywhere you want with three buttons as long as you can customize their
> > labels.
> >
> > > I'm not quite sure what is a "delegate" about this version of Alert.as.
> > Also, it still gets instantiated at startup if it is in the
> > fx:Declarations as Carlos pointed out, doesn't it?
> >
> > The delegate I created as an experiment following Carlos' idea (
> >
> https://github.com/RIAstar/SkinnablePopUpFx/blob/delegate/skinnable-popup-fx/src/main/actionscript/net/riastar/components/AlertDelegate.as
> )
> > is not a UIComponent; it's just a simple class which will hold the values
> > of the Alert's properties, styles and event handlers until the real Alert
> > component is instantiated with these values and added to the displayList.
> > So yes it is instantiated, but it's more lightweight than the UI
> component
> > itself. Or at least it was supposed to be: my conclusion from the
> > experiment was that it was not really worth the effort, unfortunately.
> >
> > Max
> >
> >
> > On Mon, Jun 10, 2013 at 10:43 PM, Maxime Cowez  >wrote:
> >
> >> @Carlos
> >>
> >> > very cool alert spark implementation. I was navigating the source code
> >> and
> >> have mainly a question about buttons. The eligible buttons in your
> version
> >> are 3 (commit, discard and cancel). In mx alert we have different
> options
> >> (Ok, Cancel, Yes, No). I Think is the only point I miss.
> >>
> >> I look at it like this: OK/Cancel and Yes/No and possible some other
> >> options are all functionally equivalent; they are just different labels
> for
> >> the same function. Also one would never combine Cancel with No. So I
> tried
> >> to analyze what were the basic actions one could take after reading a
> >> simple message and how they would affect the application flow; I came to
> >> these three generic functionalities:
> >> - the user wants to commit the stuff he was just working on and he wants
> >> to move on with the flow of the application: Ok/Yes/Co

Re: Thoughts about CSS and Flex

2013-06-11 Thread Justin Mclean
Hi,

> In CSS3 you can do it by simply having a comma delimited list of gradients 
> assigned to the
> background attribute, and then control the repetition, positioning, and
> scaling of each in the same fashion, by having those values in a
> comma-delimited list on the corresponding attribute.
Can you raise a JIRA for this issue and include some sample code for how you 
think you specify these attributes.

 It's probably not that hard to add as there's a few existing CSS styles that 
support arrays.

> Also, if you are using SASS or LESS you can create variables within the
> stylesheet that correspond to a particular RGBA color value.
Flex can support some of this by using PropertyReference but it probably just 
as easy to use setStyle in ActionsScript.


[Bindable]
private var myColour:int = 0x00; 



@namespace s "library://ns.adobe.com/flex/spark";
s|Button {
color: PropertyReference("myColour");
} 


Thanks,
Justin

Re: Flex - I’m having an AWFUL time getting this website to work in IE10.

2013-06-11 Thread Justin Mclean
Hi,

> I see a fair amount of web service calls and of course getting any sort of 
> visibility to the web services would really open a ton of doors for us.

You might want to take a look at Charles (a reverse proxy/debugger at 
http://www.charlesproxy.com), it understand web services and flash remoting and 
should show you what is going on.

Thanks,
Justin