Re: [Mentor] [PPMC] FlexUnit

2013-04-13 Thread Alex Harui
I would vote for flex-flexunit


On 4/12/13 5:43 PM, Cyrill Zadra cyrill.za...@gmail.com wrote:

 Ok ..I'll try to :-).
 
 Where is FlexUnit supposed to land? In utilities repo or in a own repo named
 flex-flexunit or just flex-unit?
 
 Cyrill
 
 On 13.04.2013, at 02:19, Michael A. Labriola labri...@digitalprimates.net
 wrote:
 
 OK, do you want Cyrill's help or do you have the cycles to make this happen?
 
 Help please.
 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui



Re: New feature test

2013-04-13 Thread Justin Mclean
HI,

Where the code?

Justin


Re: New feature test

2013-04-13 Thread Alex Harui
Hi Mark,

Looks interesting.  However, given that this is Apache, I think you should
be making the source available as well, like in the whiteboard, although I
don't think we've made that writable yet.  Can you enable view source on the
swfs on your site?

Thanks,

-Alex


On 4/12/13 5:24 PM, Mark Kessler kesslerconsult...@gmail.com wrote:

 I wanted to alternate a bit between fixing existing issues and add new
 features.  Right now I've put together an easier enhancement for spark
 components that utilize dataProviders and selectedIndex.  I've also started
 a class to house RegEx patterns and methods to assemble them.
 
 I've worked up a rough HTML5 page to house my experiments [1] and the
 test for this example can be accessed directly [2] in case I'm fiddling
 with my html index file again.
 
 The goal for these were to provide a standard set of convenience
 features and add more complex ones over time. Current components supporting
 these new methods in the example are combobox, dropdownlist, list,
 buttonbar, tabbar, datagrid, grid. Should also work with SpinnerList.
 
 Included in the example is basic navigation, and slightly more advanced
 find with regex patterns, and the new RegeEx pattern class.
 
 
 Let me know any changes, ideas, issues with these starter methods.
 I'll make any needed modifications and then jira/commit them when there is
 enough acceptance.
 
 
 [1] http://people.apache.org/~mkessler/
 [2] http://people.apache.org/~mkessler/examples/DataProviderEnhance/app.swf
 
 
 -Mark

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui



RE: Meet 'marmotinni', an ASJS testing framework

2013-04-13 Thread Tigran Najaryan
Guys, if you intend to do functional GUI testing my company will be happy to
donate a few licenses of RIATest (http://www.cogitek.com/riatest.html) to
Apache Flex. It can test both Flex and HTML in a browser, works on Windows
and Mac. It is a commercial tool but I think we can make it free for Flex
SDK testing.

Adobe Professional Services were using RIATest internally so there must be
something good in the tool. :-)

I have lots of experience with this stuff and will be happy to personally
lead the efforts initially and help anyone interested to get up to speed
with RIATest.

Let me know if this is interesting and I will look further into what can be
done with licenses.

Tigran.




Re: Meet 'marmotinni', an ASJS testing framework

2013-04-13 Thread Erik de Bruin
Tigran,

Awesome! We'd have to figure out how to manage a licence for an entire
project. We can't have 'a few' licences to specific people, as anyone
who is interested should be able to run the tests. We'd have to have
an 'eternal licence' of some sort that would ensure that if we commit
to using RIATest, the licensing would never become an issue.

Maybe you can prepare some examples specific to ASJS so we can better
evaluate what it could do for this project. Would you be interested in
providing those?

EdB



On Sat, Apr 13, 2013 at 8:37 AM, Tigran Najaryan tig...@gmail.com wrote:
 Guys, if you intend to do functional GUI testing my company will be happy to
 donate a few licenses of RIATest (http://www.cogitek.com/riatest.html) to
 Apache Flex. It can test both Flex and HTML in a browser, works on Windows
 and Mac. It is a commercial tool but I think we can make it free for Flex
 SDK testing.

 Adobe Professional Services were using RIATest internally so there must be
 something good in the tool. :-)

 I have lots of experience with this stuff and will be happy to personally
 lead the efforts initially and help anyone interested to get up to speed
 with RIATest.

 Let me know if this is interesting and I will look further into what can be
 done with licenses.

 Tigran.





-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

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


Re: Meet 'marmotinni', an ASJS testing framework

2013-04-13 Thread Erik de Bruin
 It isn't obvious to me that a compiler test suite needs to execute code in a
 runtime.  But certainly, after changing the compiler and passing its Junit
 tests, it would be good to re-run whatever test suite we create for testing
 changes to the ASJS code.

Ok, once more, as a one-liner: marmotinni is not a compiler test
suite, it's an JS SDK test suite. That's why I put it in the ASJS
repo, not in the Falcon repo...

EdB



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

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


RE: Meet 'marmotinni', an ASJS testing framework

2013-04-13 Thread Tigran Najaryan
 Awesome! We'd have to figure out how to manage a licence for an entire
 project. We can't have 'a few' licences to specific people, as anyone who
is
 interested should be able to run the tests. We'd have to have an 'eternal
 licence' of some sort that would ensure that if we commit to using
RIATest,
 the licensing would never become an issue.
Yes, I realize that. We'd probably need to provide a permanent non-expiring
special license to any Apache Flex user to run the tests. A kind of
perpetual non-named Runner license would do this. We already have Runner
licenses which only allow to run the tests. 

The Runner licenses we currently sell are named (licensed to a particular
person or organization). However I think we can do a special license type
for Apache Flex project so that any person running the Flex SDK build is
licensed to run RIATest tests that are part of the SDK Build procedure. That
should cover the legal aspects.

In additional to that we could donate several Professional edition licenses.
These allow for full usage of RIATest including developing the tests. These
licenses will be only needed by people who are actually developing tests, so
there won't be needed a lot of this type. 


 Maybe you can prepare some examples specific to ASJS so we can better
 evaluate what it could do for this project. Would you be interested in
 providing those?
Sure, why not. How about I prepare a sample test for FlexJSTest_again
example?

Tigran.



Re: [Mentor] [PPMC] FlexUnit

2013-04-13 Thread Cyrill Zadra
Hi Mike

Beside the source code there is also documentation wiki, asdoc, open
issues (are there open issues? :)) we might bring over to apache. Did
you plan to donate those too to Apache.

Cyrill

On Sat, Apr 13, 2013 at 2:03 PM, Alex Harui aha...@adobe.com wrote:
 I would vote for flex-flexunit


 On 4/12/13 5:43 PM, Cyrill Zadra cyrill.za...@gmail.com wrote:

 Ok ..I'll try to :-).

 Where is FlexUnit supposed to land? In utilities repo or in a own repo named
 flex-flexunit or just flex-unit?

 Cyrill

 On 13.04.2013, at 02:19, Michael A. Labriola labri...@digitalprimates.net
 wrote:

 OK, do you want Cyrill's help or do you have the cycles to make this 
 happen?

 Help please.


 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui



[jira] [Created] (FLEX-33488) FlexUnit

2013-04-13 Thread Cyrill Zadra (JIRA)
Cyrill Zadra created FLEX-33488:
---

 Summary: FlexUnit
 Key: FLEX-33488
 URL: https://issues.apache.org/jira/browse/FLEX-33488
 Project: Apache Flex
  Issue Type: Task
Reporter: Cyrill Zadra
Assignee: Cyrill Zadra




--
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 feature test

2013-04-13 Thread Mark Kessler
I was waiting for the whiteboard discussions to be decided on to host it.



On Sat, Apr 13, 2013 at 2:06 AM, Justin Mclean jus...@classsoftware.comwrote:

 HI,

 Where the code?

 Justin



Re: New feature test

2013-04-13 Thread Mark Kessler
I'll try the source view thing here in a few mins. That could work.  Did we
agree to GIT whiteboards or using GITHub for the whiteboards?


On Sat, Apr 13, 2013 at 2:11 AM, Alex Harui aha...@adobe.com wrote:

 Hi Mark,

 Looks interesting.  However, given that this is Apache, I think you should
 be making the source available as well, like in the whiteboard, although I
 don't think we've made that writable yet.  Can you enable view source on
 the
 swfs on your site?

 Thanks,

 -Alex


 On 4/12/13 5:24 PM, Mark Kessler kesslerconsult...@gmail.com wrote:

  I wanted to alternate a bit between fixing existing issues and add
 new
  features.  Right now I've put together an easier enhancement for spark
  components that utilize dataProviders and selectedIndex.  I've also
 started
  a class to house RegEx patterns and methods to assemble them.
 
  I've worked up a rough HTML5 page to house my experiments [1] and the
  test for this example can be accessed directly [2] in case I'm fiddling
  with my html index file again.
 
  The goal for these were to provide a standard set of convenience
  features and add more complex ones over time. Current components
 supporting
  these new methods in the example are combobox, dropdownlist, list,
  buttonbar, tabbar, datagrid, grid. Should also work with SpinnerList.
 
  Included in the example is basic navigation, and slightly more
 advanced
  find with regex patterns, and the new RegeEx pattern class.
 
 
  Let me know any changes, ideas, issues with these starter methods.
  I'll make any needed modifications and then jira/commit them when there
 is
  enough acceptance.
 
 
  [1] http://people.apache.org/~mkessler/
  [2]
 http://people.apache.org/~mkessler/examples/DataProviderEnhance/app.swf
 
 
  -Mark

 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui




Re: New feature test

2013-04-13 Thread Mark Kessler
Ok, so I posted the two new files and I've extracted the code used into the
components.  They are hosted off the main site [1], or you can go directly
to the interface [2], Code implemented in the components [3], and the regex
patterns [4].

[1] http://people.apache.org/~mkessler/
[2]
http://people.apache.org/~mkessler/examples/DataProviderEnhance/IDataProviderEnhance.as
[3]
http://people.apache.org/~mkessler/examples/DataProviderEnhance/ComponentCode.txt
[4]
http://people.apache.org/~mkessler/examples/DataProviderEnhance/RegExPatterns.as

-Mark



On Sat, Apr 13, 2013 at 2:11 AM, Alex Harui aha...@adobe.com wrote:

 Hi Mark,

 Looks interesting.  However, given that this is Apache, I think you should
 be making the source available as well, like in the whiteboard, although I
 don't think we've made that writable yet.  Can you enable view source on
 the
 swfs on your site?

 Thanks,

 -Alex


 On 4/12/13 5:24 PM, Mark Kessler kesslerconsult...@gmail.com wrote:

  I wanted to alternate a bit between fixing existing issues and add
 new
  features.  Right now I've put together an easier enhancement for spark
  components that utilize dataProviders and selectedIndex.  I've also
 started
  a class to house RegEx patterns and methods to assemble them.
 
  I've worked up a rough HTML5 page to house my experiments [1] and the
  test for this example can be accessed directly [2] in case I'm fiddling
  with my html index file again.
 
  The goal for these were to provide a standard set of convenience
  features and add more complex ones over time. Current components
 supporting
  these new methods in the example are combobox, dropdownlist, list,
  buttonbar, tabbar, datagrid, grid. Should also work with SpinnerList.
 
  Included in the example is basic navigation, and slightly more
 advanced
  find with regex patterns, and the new RegeEx pattern class.
 
 
  Let me know any changes, ideas, issues with these starter methods.
  I'll make any needed modifications and then jira/commit them when there
 is
  enough acceptance.
 
 
  [1] http://people.apache.org/~mkessler/
  [2]
 http://people.apache.org/~mkessler/examples/DataProviderEnhance/app.swf
 
 
  -Mark

 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui




Re: New feature test

2013-04-13 Thread Mark Kessler
I plan on using the new regex features as a base for more feature
enhancements.  These are good start to adding some ease of use for new
developers and to make the method names explain themselves.

Convenience Getters
function get isFirstRow():Boolean;
function get isLastRow():Boolean;


Convenience methods
function moveIndexFirstRow():void;
function moveIndexLastRow():void;
function moveIndexNextRow():void;
function moveIndexPreviousRow():void;


RegEx Search Methods.
function findRowIndex(field:String, value:String, startingIndex:int
= 0, patternType:String = RegExPatterns.EXACT):int;
function moveIndexFindRow(field:String, value:String,
startingIndex:int = 0, patternType:String = RegExPatterns.EXACT):Boolean;



Regex patterns class
public static const CONTAINS:String = contains;
public static const ENDS_WITH:String = endsWith;
public static const EXACT:String = exact;
public static const NOT:String = not;
public static const NOT_EMPTY:String = notEmpty;
public static const STARTS_WITH:String = startsWith;

static public function createRegExp(patternValue:String,
patternType:String = CONTAINS):RegExp
static public function createPatternString(patternValue:String,
patternType:String = CONTAINS):String


[jira] [Created] (FLEX-33489) Functional UI test for FlexJSTest_again example

2013-04-13 Thread Tigran Najaryan (JIRA)
Tigran Najaryan created FLEX-33489:
--

 Summary: Functional UI test for FlexJSTest_again example
 Key: FLEX-33489
 URL: https://issues.apache.org/jira/browse/FLEX-33489
 Project: Apache Flex
  Issue Type: Test
  Components: .Unspecified - Compiler
Reporter: Tigran Najaryan
 Attachments: FlexJSTest_again_tests.zip

This is a sample RIATest project that shows how to test the functionality of 
FlexJSTest_again JS output.

The contents of this directory must be located in a folder that is sibling to 
src directory of FlexJSTest_again example, 
e.g. assuming this directory is named tests the tree should be as follows:

FlexJSTest_again
  |- bin
  |- src
  |- tests
  |- FlexJSTest_again.rtp
  |- *.rts files


Please follow these steps to execute the tests:

1. Download and install RIATest from 
http://www.cogitek.com/riatest/download.html

2. Make sure Google Chrome is installed on your system.

3. Run RIATest and open FlexJSTest_again.rtp project.

4. Select Run|Run Tests menu (or press F5).

5. Chrome browser must be opened and UI tests performed, then the browser will 
close.

6. RIATest will now show the execution results.


To run the tests from the command line do this:

Windows: %RIATEST5%\riatest.exe -b -r -p FlexJSTest_again.rtp
Mac: /Applications/RIATest 5/RIATest.app/Contents/MacOS/RIATest -b -r -p 
FlexJSTest_again.rtp


To use a different browser use command line option -l, e.g. to use Firefox 
instead of Chrome do this:

%RIATEST5%\riatest.exe -b -r -p FlexJSTest_again.rtp -l firefox

Note: FlexJSTest_again example currently (13 Apr 2013) works incorrect under 
Firefox so the tests WILL fail.


Calling from Ant:

You can use Ant's built-in exec task to call RIATest from your ant projects. 
For example:

target name=test description=test the project  
  property environment=env/  
exec dir=. executable=${env.RIATEST5}\riatest.exe failonerror=true  
  arg line=-b -r -p FlexJSTest_again.rtp/  
/exec  
/target  


--
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: Meet 'marmotinni', an ASJS testing framework

2013-04-13 Thread Tigran Najaryan
 Maybe you can prepare some examples specific to ASJS so we can better
 evaluate what it could do for this project. Would you be interested in
 providing those?

I posted a small sample RIATest project that tests FlexJSTest_again example
on Jira: https://issues.apache.org/jira/browse/FLEX-33489

Please see the README file in the zip.


An additional note:

Currently generated HTML DOM is not ideal from test automation point of
view. It would be great if FalconJS could emit additional information such
id from the MXML (the id could go to the id of HTML element or to
data-automation-id). This will help with automation and will earn you a lot
of bonus points from test engineers.

If you have any questions feel free to email to this list or directly to my
email.

Tigran.



Re: Meet 'marmotinni', an ASJS testing framework

2013-04-13 Thread Erik de Bruin
Yes, I encountered this myself when writing marmotinni. FlexJS needs
to add some ID to the nodes it creates in the DOM.

EdB



On Sat, Apr 13, 2013 at 2:19 PM, Tigran Najaryan tig...@gmail.com wrote:
 Maybe you can prepare some examples specific to ASJS so we can better
 evaluate what it could do for this project. Would you be interested in
 providing those?

 I posted a small sample RIATest project that tests FlexJSTest_again example
 on Jira: https://issues.apache.org/jira/browse/FLEX-33489

 Please see the README file in the zip.


 An additional note:

 Currently generated HTML DOM is not ideal from test automation point of
 view. It would be great if FalconJS could emit additional information such
 id from the MXML (the id could go to the id of HTML element or to
 data-automation-id). This will help with automation and will earn you a lot
 of bonus points from test engineers.

 If you have any questions feel free to email to this list or directly to my
 email.

 Tigran.




-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

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


[jira] [Updated] (FLEX-33120) Please check support for ExactValue initializer

2013-04-13 Thread Cyrill Zadra (JIRA)

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

Cyrill Zadra updated FLEX-33120:


Attachment: workiingExample.jpg

Adding compiler option -keep-generated-actionscript=true solves the problem.

 Please check support for ExactValue initializer
 ---

 Key: FLEX-33120
 URL: https://issues.apache.org/jira/browse/FLEX-33120
 Project: Apache Flex
  Issue Type: Improvement
Reporter: Alex Harui
Priority: Minor
  Labels: easyfix
 Attachments: exactValue.patch, screenshot-1.jpg, workiingExample.jpg


 I've done my own improvement for MXML to support any values for property 
 initializer WITHOUT bindings, for example:
 Was:
 TextField xmlns=flash.text.* autoSize={TextFieldAutoSize.CENTER} /
 is generated into:
 private function _MyOwnFlexFrameworkTest_TextField1_i() : flash.text.TextField
 {
 var temp : flash.text.TextField = new flash.text.TextField();
 _MyOwnFlexFrameworkTest_TextField1 = temp;
 mx.binding.BindingManager.executeBindings(this, 
 _MyOwnFlexFrameworkTest_TextField1, _MyOwnFlexFrameworkTest_TextField1);
 return temp;
 }
 //  binding mgmt
 private function _MyOwnFlexFrameworkTest_bindingsSetup():Array
 {
 var result:Array = [];
 result[0] = new mx.binding.Binding(this,
 function():String
 {
 var result:* = (TextFieldAutoSize.CENTER);
 return (result == undefined ? null : String(result));
 },
 null,
 _MyOwnFlexFrameworkTest_TextField1.autoSize
 );
 return result;
 }
 now:
 TextField xmlns=flash.text.* autoSize=${TextFieldAutoSize.CENTER} /
 give us such result:
 private function _MyOwnFlexFrameworkTest_TextField1_i() : flash.text.TextField
 {
 var temp : flash.text.TextField = new flash.text.TextField();
 temp.autoSize = TextFieldAutoSize.CENTER;
 _MyOwnFlexFrameworkTest_TextField1 = temp;
 mx.binding.BindingManager.executeBindings(this, 
 _MyOwnFlexFrameworkTest_TextField1, _MyOwnFlexFrameworkTest_TextField1);
 return temp;
 }
 this implementation is similar to twoWay bindings and written in the same way.
 btw, sorry for my English, I'm Russian.
 Thanks

--
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-33120) Please check support for ExactValue initializer

2013-04-13 Thread Cyrill Zadra (JIRA)

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

Cyrill Zadra updated FLEX-33120:


Component/s: MXML Compiler

 Please check support for ExactValue initializer
 ---

 Key: FLEX-33120
 URL: https://issues.apache.org/jira/browse/FLEX-33120
 Project: Apache Flex
  Issue Type: Improvement
  Components: MXML Compiler
Reporter: Alex Harui
Priority: Minor
  Labels: easyfix
 Attachments: exactValue.patch, screenshot-1.jpg, workiingExample.jpg


 I've done my own improvement for MXML to support any values for property 
 initializer WITHOUT bindings, for example:
 Was:
 TextField xmlns=flash.text.* autoSize={TextFieldAutoSize.CENTER} /
 is generated into:
 private function _MyOwnFlexFrameworkTest_TextField1_i() : flash.text.TextField
 {
 var temp : flash.text.TextField = new flash.text.TextField();
 _MyOwnFlexFrameworkTest_TextField1 = temp;
 mx.binding.BindingManager.executeBindings(this, 
 _MyOwnFlexFrameworkTest_TextField1, _MyOwnFlexFrameworkTest_TextField1);
 return temp;
 }
 //  binding mgmt
 private function _MyOwnFlexFrameworkTest_bindingsSetup():Array
 {
 var result:Array = [];
 result[0] = new mx.binding.Binding(this,
 function():String
 {
 var result:* = (TextFieldAutoSize.CENTER);
 return (result == undefined ? null : String(result));
 },
 null,
 _MyOwnFlexFrameworkTest_TextField1.autoSize
 );
 return result;
 }
 now:
 TextField xmlns=flash.text.* autoSize=${TextFieldAutoSize.CENTER} /
 give us such result:
 private function _MyOwnFlexFrameworkTest_TextField1_i() : flash.text.TextField
 {
 var temp : flash.text.TextField = new flash.text.TextField();
 temp.autoSize = TextFieldAutoSize.CENTER;
 _MyOwnFlexFrameworkTest_TextField1 = temp;
 mx.binding.BindingManager.executeBindings(this, 
 _MyOwnFlexFrameworkTest_TextField1, _MyOwnFlexFrameworkTest_TextField1);
 return temp;
 }
 this implementation is similar to twoWay bindings and written in the same way.
 btw, sorry for my English, I'm Russian.
 Thanks

--
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-33120) Please check support for ExactValue initializer

2013-04-13 Thread Cyrill Zadra (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13631116#comment-13631116
 ] 

Cyrill Zadra commented on FLEX-33120:
-

In dev list ( http://markmail.org/thread/ajtd7wg7uszs5fwc) I've found a large 
discussion about it .. and as far as I could understand there was no consensus 
found. 

There were following suggestions:

s:TextInput text=@Once{initial} /
s:TextInput text=${initial}/




 Please check support for ExactValue initializer
 ---

 Key: FLEX-33120
 URL: https://issues.apache.org/jira/browse/FLEX-33120
 Project: Apache Flex
  Issue Type: Improvement
  Components: MXML Compiler
Reporter: Alex Harui
Priority: Minor
  Labels: easyfix
 Attachments: exactValue.patch, screenshot-1.jpg, workiingExample.jpg


 I've done my own improvement for MXML to support any values for property 
 initializer WITHOUT bindings, for example:
 Was:
 TextField xmlns=flash.text.* autoSize={TextFieldAutoSize.CENTER} /
 is generated into:
 private function _MyOwnFlexFrameworkTest_TextField1_i() : flash.text.TextField
 {
 var temp : flash.text.TextField = new flash.text.TextField();
 _MyOwnFlexFrameworkTest_TextField1 = temp;
 mx.binding.BindingManager.executeBindings(this, 
 _MyOwnFlexFrameworkTest_TextField1, _MyOwnFlexFrameworkTest_TextField1);
 return temp;
 }
 //  binding mgmt
 private function _MyOwnFlexFrameworkTest_bindingsSetup():Array
 {
 var result:Array = [];
 result[0] = new mx.binding.Binding(this,
 function():String
 {
 var result:* = (TextFieldAutoSize.CENTER);
 return (result == undefined ? null : String(result));
 },
 null,
 _MyOwnFlexFrameworkTest_TextField1.autoSize
 );
 return result;
 }
 now:
 TextField xmlns=flash.text.* autoSize=${TextFieldAutoSize.CENTER} /
 give us such result:
 private function _MyOwnFlexFrameworkTest_TextField1_i() : flash.text.TextField
 {
 var temp : flash.text.TextField = new flash.text.TextField();
 temp.autoSize = TextFieldAutoSize.CENTER;
 _MyOwnFlexFrameworkTest_TextField1 = temp;
 mx.binding.BindingManager.executeBindings(this, 
 _MyOwnFlexFrameworkTest_TextField1, _MyOwnFlexFrameworkTest_TextField1);
 return temp;
 }
 this implementation is similar to twoWay bindings and written in the same way.
 btw, sorry for my English, I'm Russian.
 Thanks

--
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: How to get a clean working tree for flex-sdk

2013-04-13 Thread Gordon Smith
I can't run that target because I don't understand how to set 
ADOBE_EXTENSION_MANAGER. These instructions from the README are incorrect:

The Adobe Extension Manager for Windows can be downloaded from:

http://download.macromedia.com/pub/dw_exchange/extension_manager/win/AdobeExtensionManager5All.zip

On Windows, set ADOBE_EXTENSION_MANAGER to the absolute path of Adobe 
Extension Manager CS5.exe

There is no file named Adobe Extension Manager CS5.exe inside 
AdobeExtensionManager5All.zip.

- Gordon

-Original Message-
From: Justin Mclean [mailto:jus...@classsoftware.com] 
Sent: Friday, April 12, 2013 11:09 PM
To: dev@flex.apache.org
Subject: Re: How to get a clean working tree for flex-sdk

Hi,

 After you do 'ant clean main checkintests' in flex-sdk, 'git status' now says
 
nothing to commit (working directory clean)

And what does ant release give?

Thanks,
Justin


RE: [FALCON] Jenkins job

2013-04-13 Thread Gordon Smith
What part is Windows-only?

- Gordon

-Original Message-
From: Cyrill Zadra [mailto:cyrill.za...@gmail.com] 
Sent: Saturday, April 13, 2013 3:36 AM
To: dev@flex.apache.org
Subject: [FALCON] Jenkins job

Hi

Jenkins job for falcon is currently quite massiv and runs only on windows1 node.

1) Checkout  tlf(master), sdk(develop), falcon(develop) from git
2) Copy tlf to sdk
3) Download dependencies like playerglobal, air, JFlex
4) Build SDK
5) Build compiler
6) Execute compiler Tests
  6a) unit-tests
  6b) functional-tests
  6c) feature-tests
7) Build compiler.jx
8) Execute compiler.jx.test

My goal is to have two Falcon Jenkins. One which depends on Flex SDK, Flash 
Player and Air Runtime and one that has no flex, flash and air dependency.  
Jenkins job would contain following steps.

1) falcon(develop) from git
2) Build compiler
3) Execute compiler Tests
  3a) unit-tests
4) Build compiler.jx
5) Execute compiler.jx.test

The main advantage would be that this job would run on any os not just windows. 
Any thought about it?

Cyrill


RE: [Mentor] [PPMC] FlexUnit

2013-04-13 Thread Michael A. Labriola
http://flexunit.org/
http://tutorials.digitalprimates.net/

There are some open pull requests in gtihub that I haven't applied as I wasn't 
sure how to handle post donation. There were only a few open issues. We will 
need to recreate as they were apparently lost when Adobe's jira moved.

Mike


-Original Message-
From: Cyrill Zadra [mailto:cyrill.za...@gmail.com] 
Sent: Saturday, April 13, 2013 4:49 AM
To: dev@flex.apache.org
Subject: Re: [Mentor]  [PPMC] FlexUnit

Hi Mike

Beside the source code there is also documentation wiki, asdoc, open issues 
(are there open issues? :)) we might bring over to apache. Did you plan to 
donate those too to Apache.

Cyrill

On Sat, Apr 13, 2013 at 2:03 PM, Alex Harui aha...@adobe.com wrote:
 I would vote for flex-flexunit


 On 4/12/13 5:43 PM, Cyrill Zadra cyrill.za...@gmail.com wrote:

 Ok ..I'll try to :-).

 Where is FlexUnit supposed to land? In utilities repo or in a own 
 repo named flex-flexunit or just flex-unit?

 Cyrill

 On 13.04.2013, at 02:19, Michael A. Labriola 
 labri...@digitalprimates.net
 wrote:

 OK, do you want Cyrill's help or do you have the cycles to make this 
 happen?

 Help please.


 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui



RE: [Mentor] [PPMC] FlexUnit

2013-04-13 Thread Michael A. Labriola
Beside the source code there is also documentation wiki, asdoc, open issues 
(are there open issues? :)) we might bring over to apache. Did you plan to 
donate those too to Apache.

Yes in all cases. Much of it is already checked into git. I sent links to the 
few things that can also come over that were not.

Mike



[jira] [Commented] (FLEX-33120) Please check support for ExactValue initializer

2013-04-13 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-33120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13631219#comment-13631219
 ] 

Justin Mclean commented on FLEX-33120:
--

I'd suggest @Once and add support for @TwoWay (for current @{}) as it fit with 
existing style.

 Please check support for ExactValue initializer
 ---

 Key: FLEX-33120
 URL: https://issues.apache.org/jira/browse/FLEX-33120
 Project: Apache Flex
  Issue Type: Improvement
  Components: MXML Compiler
Reporter: Alex Harui
Priority: Minor
  Labels: easyfix
 Attachments: exactValue.patch, screenshot-1.jpg, workiingExample.jpg


 I've done my own improvement for MXML to support any values for property 
 initializer WITHOUT bindings, for example:
 Was:
 TextField xmlns=flash.text.* autoSize={TextFieldAutoSize.CENTER} /
 is generated into:
 private function _MyOwnFlexFrameworkTest_TextField1_i() : flash.text.TextField
 {
 var temp : flash.text.TextField = new flash.text.TextField();
 _MyOwnFlexFrameworkTest_TextField1 = temp;
 mx.binding.BindingManager.executeBindings(this, 
 _MyOwnFlexFrameworkTest_TextField1, _MyOwnFlexFrameworkTest_TextField1);
 return temp;
 }
 //  binding mgmt
 private function _MyOwnFlexFrameworkTest_bindingsSetup():Array
 {
 var result:Array = [];
 result[0] = new mx.binding.Binding(this,
 function():String
 {
 var result:* = (TextFieldAutoSize.CENTER);
 return (result == undefined ? null : String(result));
 },
 null,
 _MyOwnFlexFrameworkTest_TextField1.autoSize
 );
 return result;
 }
 now:
 TextField xmlns=flash.text.* autoSize=${TextFieldAutoSize.CENTER} /
 give us such result:
 private function _MyOwnFlexFrameworkTest_TextField1_i() : flash.text.TextField
 {
 var temp : flash.text.TextField = new flash.text.TextField();
 temp.autoSize = TextFieldAutoSize.CENTER;
 _MyOwnFlexFrameworkTest_TextField1 = temp;
 mx.binding.BindingManager.executeBindings(this, 
 _MyOwnFlexFrameworkTest_TextField1, _MyOwnFlexFrameworkTest_TextField1);
 return temp;
 }
 this implementation is similar to twoWay bindings and written in the same way.
 btw, sorry for my English, I'm Russian.
 Thanks

--
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: How to get a clean working tree for flex-sdk

2013-04-13 Thread Justin Mclean
Hi,

The Adobe Extension Manager for Windows can be downloaded from:

 http://download.macromedia.com/pub/dw_exchange/extension_manager/win/AdobeExtensionManager5All.zip
 
On Windows, set ADOBE_EXTENSION_MANAGER to the absolute path of Adobe 
 Extension Manager CS5.exe

I think you need to run the set-up.exe in that zip.

Justin

Re: [FALCON] Jenkins job

2013-04-13 Thread Cyrill Zadra
Well maybe I should have said windows and mac os x?  I thought it's
not possible to build a sdk on linux.

Cyrill

On Sun, Apr 14, 2013 at 3:15 AM, Gordon Smith gosm...@adobe.com wrote:
 What part is Windows-only?

 - Gordon

 -Original Message-
 From: Cyrill Zadra [mailto:cyrill.za...@gmail.com]
 Sent: Saturday, April 13, 2013 3:36 AM
 To: dev@flex.apache.org
 Subject: [FALCON] Jenkins job

 Hi

 Jenkins job for falcon is currently quite massiv and runs only on windows1 
 node.

 1) Checkout  tlf(master), sdk(develop), falcon(develop) from git
 2) Copy tlf to sdk
 3) Download dependencies like playerglobal, air, JFlex
 4) Build SDK
 5) Build compiler
 6) Execute compiler Tests
   6a) unit-tests
   6b) functional-tests
   6c) feature-tests
 7) Build compiler.jx
 8) Execute compiler.jx.test

 My goal is to have two Falcon Jenkins. One which depends on Flex SDK, Flash 
 Player and Air Runtime and one that has no flex, flash and air dependency.  
 Jenkins job would contain following steps.

 1) falcon(develop) from git
 2) Build compiler
 3) Execute compiler Tests
   3a) unit-tests
 4) Build compiler.jx
 5) Execute compiler.jx.test

 The main advantage would be that this job would run on any os not just 
 windows. Any thought about it?

 Cyrill


[jira] [Created] (FLEX-33490) FlexUnit Tutorials

2013-04-13 Thread Cyrill Zadra (JIRA)
Cyrill Zadra created FLEX-33490:
---

 Summary: FlexUnit Tutorials
 Key: FLEX-33490
 URL: https://issues.apache.org/jira/browse/FLEX-33490
 Project: Apache Flex
  Issue Type: Sub-task
Reporter: Cyrill Zadra


http://tutorials.digitalprimates.net/

--
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] [Created] (FLEX-33491) FlexUnit Wiki

2013-04-13 Thread Cyrill Zadra (JIRA)
Cyrill Zadra created FLEX-33491:
---

 Summary: FlexUnit Wiki
 Key: FLEX-33491
 URL: https://issues.apache.org/jira/browse/FLEX-33491
 Project: Apache Flex
  Issue Type: Sub-task
Reporter: Cyrill Zadra


http://docs.flexunit.org/index.php?title=Main_Page

--
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: [Mentor] [PPMC] FlexUnit

2013-04-13 Thread Michael A. Labriola
Just to double check: The sources on
https://github.com/flexunit/flexunit are the most up-to-date?

Yes, those are the most current now getting back into this, we do have a 
bit of complexity. Sorry, its been a while since I thought about this.

Right now the version in git references the FlexUnit .9 swc and the 
hamcrest.swc. Adobe hasn't donated FlexUnit .9 so we really can't just include 
that and although there was talk of moving hamcrest here, that hasn't happened. 
A long while ago, I made a version that removed these dependencies. We probably 
need to move that branch as our master however, that brings up a larger 
question.

If we move the entire repo, then that would mean there is a copy of both of 
these binaries in the history of the repo are we violating anything by 
doing this?

Mike




Re: [Mentor] [PPMC] FlexUnit

2013-04-13 Thread Cyrill Zadra
 Right now the version in git references the FlexUnit .9 swc and the 
 hamcrest.swc. Adobe hasn't donated FlexUnit .9 so we really can't just 
 include that and although there was talk of moving hamcrest here, that hasn't 
 happened. A long while ago, I made a version that removed these dependencies. 
 We probably need to move that branch as our master however, that brings 
 up a larger question.

Is that branch (with removed harmcrest dependencies) also in github..
because as far as I can see there is only one branch (master) in
github.

 If we move the entire repo, then that would mean there is a copy of both of 
 these binaries in the history of the repo are we violating anything by 
 doing this?

Good question.. in flex sdk were also a few binaries that have been
removed only after donation.. so it's probably allright but I'm not
sure.

Cyrill


Re: [FALCON] Jenkins job

2013-04-13 Thread OmPrakash Muppirala
On Sat, Apr 13, 2013 at 8:13 PM, Cyrill Zadra cyrill.za...@gmail.comwrote:

 Well maybe I should have said windows and mac os x?  I thought it's
 not possible to build a sdk on linux.

 Cyrill


That is correct.  The SDK needs Pixel Bender to compile some shaders.
 Pixel Bender is not available for Linux.

There as a thread a while ago where it was suggested [1] that we could
perhaps skip that step and maybe get it to work on Linux.

[1] http://markmail.org/message/5363ziasbdsa5ik7



 On Sun, Apr 14, 2013 at 3:15 AM, Gordon Smith gosm...@adobe.com wrote:
  What part is Windows-only?
 
  - Gordon
 
  -Original Message-
  From: Cyrill Zadra [mailto:cyrill.za...@gmail.com]
  Sent: Saturday, April 13, 2013 3:36 AM
  To: dev@flex.apache.org
  Subject: [FALCON] Jenkins job
 
  Hi
 
  Jenkins job for falcon is currently quite massiv and runs only on
 windows1 node.
 
  1) Checkout  tlf(master), sdk(develop), falcon(develop) from git
  2) Copy tlf to sdk
  3) Download dependencies like playerglobal, air, JFlex
  4) Build SDK
  5) Build compiler
  6) Execute compiler Tests
6a) unit-tests
6b) functional-tests
6c) feature-tests
  7) Build compiler.jx
  8) Execute compiler.jx.test
 
  My goal is to have two Falcon Jenkins. One which depends on Flex SDK,
 Flash Player and Air Runtime and one that has no flex, flash and air
 dependency.  Jenkins job would contain following steps.
 
  1) falcon(develop) from git
  2) Build compiler
  3) Execute compiler Tests
3a) unit-tests
  4) Build compiler.jx
  5) Execute compiler.jx.test
 
  The main advantage would be that this job would run on any os not just
 windows. Any thought about it?
 
  Cyrill