Re: [VOTE] Release Apache Flex SDK 4.16.1 - RC2

2017-11-20 Thread Peter Ent
+1

The problem on my part which caused the failure of the installation. Once
corrected the install completed and I was able to verify it.

Regards,
Peter

On 11/20/17, 1:40 PM, "Peter Ent"  wrote:

>-1
>
>ApproveSDK.xml
>I used both Java 1.8 and Java 1.7. The script fails on the osmf.xml
>download again.
>macOS 10.12.6
>
>Peter Ent
>
>On 11/15/17, 4:15 AM, "Piotr Zarzycki"  wrote:
>
>>Hi Folks,
>>
>>This is a Apache Flex SDK 4.16.1 release candidate 2 Please see the
>>RELEASE_NOTES and the README.
>>
>>Changes:
>>- Sources has been prepared using JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
>>- Sources from the git repository has been checkout without line change
>>with option core.autocrlf=input which helps to resolve issue with launch
>>*.sh scripts on Mac
>>
>>The release candidate can be found here:
>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.ap
>>a
>>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Fsdk%2F4.16.1%2Frc2%2F&data=02%7C01%
>>7
>>C%7Ce24b18e0f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2c178decee1%7
>>C
>>0%7C0%7C636463341455363318&sdata=WGgqV5J62c7YlxD6Tm%2FkOdgSG5N5F530cSXVat
>>J
>>USW0%3D&reserved=0
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.ap
>>a
>>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Fsdk%2F4.16.1%2Frc2%2F&data=02%7C01%
>>7
>>C%7Ce24b18e0f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2c178decee1%7
>>C
>>0%7C0%7C636463341455363318&sdata=WGgqV5J62c7YlxD6Tm%2FkOdgSG5N5F530cSXVat
>>J
>>USW0%3D&reserved=0>*
>>
>>The binary distributions as a convenience for the respective platforms,
>>are
>>available here:
>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.ap
>>a
>>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Fsdk%2F4.16.1%2Frc2%2Fbinaries%2F&da
>>t
>>a=02%7C01%7C%7Ce24b18e0f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2c
>>1
>>78decee1%7C0%7C0%7C636463341455363318&sdata=ZJtyyozOB5yYTVQiVbRsXBqRPO6OT
>>A
>>z%2FruDBYJ4mN9o%3D&reserved=0
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.ap
>>a
>>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Fsdk%2F4.16.1%2Frc2%2Fbinaries%2F&da
>>t
>>a=02%7C01%7C%7Ce24b18e0f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2c
>>1
>>78decee1%7C0%7C0%7C636463341455363318&sdata=ZJtyyozOB5yYTVQiVbRsXBqRPO6OT
>>A
>>z%2FruDBYJ4mN9o%3D&reserved=0>*
>>
>>The most convenient way to use the binary package is to install it via
>>Ant
>>or the Installer. To use an Installer you should use Apache Flex SDK
>>Installer 3.3 RC2:
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apa
>>c
>>he.org%2Frepos%2Fdist%2Fdev%2Fflex%2Finstaller%2F3.3%2Frc2%2Fbinaries%2F&
>>d
>>ata=02%7C01%7C%7Ce24b18e0f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed
>>2
>>c178decee1%7C0%7C0%7C636463341455363318&sdata=D0GWoQFlmeku0qPwrfYrI1WlU6D
>>d
>>w6nw1ReVgJitnFc%3D&reserved=0
>>
>>Before voting please review the section, 'What are the ASF requirements
>>on
>>approving a release?', at:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apach
>>e
>>.org%2Fdev%2Frelease.html%23approving-a-release&data=02%7C01%7C%7Ce24b18e
>>0
>>f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636
>>4
>>63341455363318&sdata=KU8ZMDcxPm06ptkGv601ov1ddoBpnJV2r4Ojs3HiKdY%3D&reser
>>v
>>ed=0
>>
>>At a minimum you would be expected to check that:
>>- MD5 and signed packages are correct
>>- README, RELEASE_NOTES, NOTICE and LICENSE files are all fine
>>- That you can compile from source package
>>- That the SDK can be used in your IDE of choice
>>- That the SDK can be used to make a mobile, desktop and browser
>>application
>>
>>When testing please check the md5 and asc files and make sure that the
>>source can be compiled.
>>
>>Please vote to approve this release:
>>+1 Approve the release
>>-1 Veto the release (please provide specific comments to why)
>>
>>This vote will be open for 72 hours or until a result can be called.
>>
>>The vote passes if there is:
>>- At least 3 +1 votes from the PMC
>>- More positive votes than negative votes
>>
>>If you find an issue with the release that's a 'show stopper' please
>>don't
>>hold off voting -1. If someone votes -1 please continue testi

Re: [DISCUSS] Release Apache Flex SDK 4.16.1 - RC2*

2017-11-20 Thread Peter Ent
That was the problem. I guess I forgot to install that; lots of parts to
get Apache Royale going, that's for sure.

‹peter

On 11/20/17, 1:54 PM, "Alex Harui"  wrote:

>Peter and others, if you are going to test this release, you will probably
>need the JCE upgrade.  Piotr already mentioned it in the RC1 discussion.
>
>Java 8:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.oracle
>.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjce8-download-21331&data=
>02%7C01%7C%7Cb634ed95d2194df0f14908d530481daf%7Cfa7b1b5a7b34438794aed2c178
>decee1%7C0%7C0%7C636468008649778290&sdata=psFORwac70PRCy616onb1dwvMxsiJ1cx
>QAPSUmk0ucI%3D&reserved=0
>66.html
>Java 7:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.oracle
>.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjce-7-download-4321&data=
>02%7C01%7C%7Cb634ed95d2194df0f14908d530481daf%7Cfa7b1b5a7b34438794aed2c178
>decee1%7C0%7C0%7C636468008649778290&sdata=L%2F6K3EOBVbicEkpZYrqu803RUrjbSB
>l174bCcQX0OdA%3D&reserved=0
>24.html
>
>There was some internet posts that Java 1.8.0_101 had the JCE upgrade
>built in, but that seems to no longer be the case.  I had to apply the
>upgrade to get OSMF to download properly.
>
>-Alex
>
>
>On 11/20/17, 10:45 AM, "Piotr Zarzycki"  wrote:
>
>>Hi Peter,
>>
>>Too bad! I will take a look into that. It seems that this release is
>>going
>>to take much longer.
>>I'm wondering why Alex didn't have such problems...
>>
>>Happy Thanksgiving!
>>Piotr
>>
>>
>>2017-11-20 19:41 GMT+01:00 Peter Ent :
>>
>>> The osmf download still fails for me. I tried Java 1.8 and Java 1.7
>>>since
>>> someone in an email thread said that seemed to be the issue.
>>>
>>> I am going on vacation for the US Thanksgiving holiday and will be back
>>> next week.
>>> Regards,
>>> Peter
>>>
>>> On 11/15/17, 4:16 AM, "Piotr Zarzycki" 
>>>wrote:
>>>
>>> >Hi Folks,
>>> >
>>> >Please discuss here any related issue to release candidate 2.
>>> >
>>> >Thanks,
>>> >--
>>> >
>>> >Piotr Zarzycki
>>> >
>>> >Patreon:
>>> >*https://na01.safelinks.protection.outlook.com/?url=
>>> https%3A%2F%2Fwww.patr
>>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7Cd5ebdc74850744840d2908d52c09
>>> 9968
>>> >%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>> 7C636463342107239711&sdata=gie
>>> >sBlVrgOERza%2FjiN8xMU8E1Rw59ztQcsrc8ZtMJ38%3D&reserved=0
>>> ><https://na01.safelinks.protection.outlook.com/?url=
>>> https%3A%2F%2Fwww.patr
>>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7Cd5ebdc74850744840d2908d52c09
>>> 9968
>>> >%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>> 7C636463342107239711&sdata=gie
>>> >sBlVrgOERza%2FjiN8xMU8E1Rw59ztQcsrc8ZtMJ38%3D&reserved=0>*
>>>
>>>
>>
>>
>>-- 
>>
>>Piotr Zarzycki
>>
>>Patreon: 
>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>r
>>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7C4fe8688ba0c249441f7f08d53046e13
>>e
>>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636468003336775690&sdata=mL
>>X
>>UE13WLtjdWWUxKL3kfbNxQH1%2B5id4FiTyW7wYhOU%3D&reserved=0
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>r
>>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7C4fe8688ba0c249441f7f08d53046e13
>>e
>>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636468003336775690&sdata=mL
>>X
>>UE13WLtjdWWUxKL3kfbNxQH1%2B5id4FiTyW7wYhOU%3D&reserved=0>*
>



Re: [DISCUSS] Release Apache Flex SDK 4.16.1 - RC2*

2017-11-20 Thread Peter Ent
The osmf download still fails for me. I tried Java 1.8 and Java 1.7 since
someone in an email thread said that seemed to be the issue.

I am going on vacation for the US Thanksgiving holiday and will be back
next week.
Regards,
Peter

On 11/15/17, 4:16 AM, "Piotr Zarzycki"  wrote:

>Hi Folks,
>
>Please discuss here any related issue to release candidate 2.
>
>Thanks,
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7Cd5ebdc74850744840d2908d52c099968
>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636463342107239711&sdata=gie
>sBlVrgOERza%2FjiN8xMU8E1Rw59ztQcsrc8ZtMJ38%3D&reserved=0
>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7Cd5ebdc74850744840d2908d52c099968
>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636463342107239711&sdata=gie
>sBlVrgOERza%2FjiN8xMU8E1Rw59ztQcsrc8ZtMJ38%3D&reserved=0>*



Re: [VOTE] Release Apache Flex SDK 4.16.1 - RC2

2017-11-20 Thread Peter Ent
-1

ApproveSDK.xml
I used both Java 1.8 and Java 1.7. The script fails on the osmf.xml
download again.
macOS 10.12.6

Peter Ent

On 11/15/17, 4:15 AM, "Piotr Zarzycki"  wrote:

>Hi Folks,
>
>This is a Apache Flex SDK 4.16.1 release candidate 2 Please see the
>RELEASE_NOTES and the README.
>
>Changes:
>- Sources has been prepared using JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
>- Sources from the git repository has been checkout without line change
>with option core.autocrlf=input which helps to resolve issue with launch
>*.sh scripts on Mac
>
>The release candidate can be found here:
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apa
>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Fsdk%2F4.16.1%2Frc2%2F&data=02%7C01%7
>C%7Ce24b18e0f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2c178decee1%7C
>0%7C0%7C636463341455363318&sdata=WGgqV5J62c7YlxD6Tm%2FkOdgSG5N5F530cSXVatJ
>USW0%3D&reserved=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apa
>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Fsdk%2F4.16.1%2Frc2%2F&data=02%7C01%7
>C%7Ce24b18e0f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2c178decee1%7C
>0%7C0%7C636463341455363318&sdata=WGgqV5J62c7YlxD6Tm%2FkOdgSG5N5F530cSXVatJ
>USW0%3D&reserved=0>*
>
>The binary distributions as a convenience for the respective platforms,
>are
>available here:
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apa
>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Fsdk%2F4.16.1%2Frc2%2Fbinaries%2F&dat
>a=02%7C01%7C%7Ce24b18e0f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2c1
>78decee1%7C0%7C0%7C636463341455363318&sdata=ZJtyyozOB5yYTVQiVbRsXBqRPO6OTA
>z%2FruDBYJ4mN9o%3D&reserved=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apa
>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Fsdk%2F4.16.1%2Frc2%2Fbinaries%2F&dat
>a=02%7C01%7C%7Ce24b18e0f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2c1
>78decee1%7C0%7C0%7C636463341455363318&sdata=ZJtyyozOB5yYTVQiVbRsXBqRPO6OTA
>z%2FruDBYJ4mN9o%3D&reserved=0>*
>
>The most convenient way to use the binary package is to install it via Ant
>or the Installer. To use an Installer you should use Apache Flex SDK
>Installer 3.3 RC2:
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apac
>he.org%2Frepos%2Fdist%2Fdev%2Fflex%2Finstaller%2F3.3%2Frc2%2Fbinaries%2F&d
>ata=02%7C01%7C%7Ce24b18e0f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2
>c178decee1%7C0%7C0%7C636463341455363318&sdata=D0GWoQFlmeku0qPwrfYrI1WlU6Dd
>w6nw1ReVgJitnFc%3D&reserved=0
>
>Before voting please review the section, 'What are the ASF requirements on
>approving a release?', at:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apache
>.org%2Fdev%2Frelease.html%23approving-a-release&data=02%7C01%7C%7Ce24b18e0
>f6cd4520811a08d52c09726c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364
>63341455363318&sdata=KU8ZMDcxPm06ptkGv601ov1ddoBpnJV2r4Ojs3HiKdY%3D&reserv
>ed=0
>
>At a minimum you would be expected to check that:
>- MD5 and signed packages are correct
>- README, RELEASE_NOTES, NOTICE and LICENSE files are all fine
>- That you can compile from source package
>- That the SDK can be used in your IDE of choice
>- That the SDK can be used to make a mobile, desktop and browser
>application
>
>When testing please check the md5 and asc files and make sure that the
>source can be compiled.
>
>Please vote to approve this release:
>+1 Approve the release
>-1 Veto the release (please provide specific comments to why)
>
>This vote will be open for 72 hours or until a result can be called.
>
>The vote passes if there is:
>- At least 3 +1 votes from the PMC
>- More positive votes than negative votes
>
>If you find an issue with the release that's a 'show stopper' please don't
>hold off voting -1. If someone votes -1 please continue testing as we want
>to try and catch as many issues as we can and cut down on the number of
>release candidates. Remember existing voters can change their vote during
>the voting process.
>
>People who are not in PMC are also encouraged to test out the release and
>vote, although their votes will not be binding, they can influence how the
>PMC votes.
>
>When voting please indicate what OS, IDE, Flash Player version and AIR
>version you tested the SDK with.
>
>Please put all discussion about this release in the DISCUSSION thread not
>this VOTE thread.
>
>For your convenience, there issues an Ant script in the RC folder that
>automates the checks a voter should perform on the RC.  It will:
>- download the default source package for your OS (use

Re: [DISCUSS] Release Apache Flex SDK 4.16.1 - RC2*

2017-11-16 Thread Peter Ent
Hi Piotr,

Looks like a similar issue is happening to the royale-asjs executables.
What did you do to fix this for the release?

Thanks,
‹peter

On 11/15/17, 9:28 AM, "Piotr Zarzycki"  wrote:

>Hi Maxim,
>
>Thank you for checking! :)
>
>Piotr
>
>2017-11-15 15:26 GMT+01:00 Maxim Solodovnik :
>
>> Both previously broken files are OK :)
>> *nix scripts has executable bit set :)
>>
>> On Wed, Nov 15, 2017 at 4:16 PM, Piotr Zarzycki
>>> >
>> wrote:
>>
>> > Hi Folks,
>> >
>> > Please discuss here any related issue to release candidate 2.
>> >
>> > Thanks,
>> > --
>> >
>> > Piotr Zarzycki
>> >
>> > Patreon: 
>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat
>>reon.com%2Fpiotrzarzycki&data=02%7C01%7C%7Cc4a8b32ee9644933a2af08d52c3535
>>8d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636463529410104318&sdata=
>>kfTprTFFkle5yXSWdCRH0yEPd4hZfsI1%2FbI5SFor9IA%3D&reserved=0
>> > 
>>>reon.com%2Fpiotrzarzycki&data=02%7C01%7C%7Cc4a8b32ee9644933a2af08d52c3535
>>8d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636463529410104318&sdata=
>>kfTprTFFkle5yXSWdCRH0yEPd4hZfsI1%2FbI5SFor9IA%3D&reserved=0>*
>> >
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7Cc4a8b32ee9644933a2af08d52c35358d
>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636463529410104318&sdata=kfT
>prTFFkle5yXSWdCRH0yEPd4hZfsI1%2FbI5SFor9IA%3D&reserved=0
>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7Cc4a8b32ee9644933a2af08d52c35358d
>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636463529410104318&sdata=kfT
>prTFFkle5yXSWdCRH0yEPd4hZfsI1%2FbI5SFor9IA%3D&reserved=0>*



Re: [DISCUSS] Release Apache Flex SDK 4.16.1 - RC1*

2017-11-10 Thread Peter Ent
After getting the Approval script running and going through the license
files, etc., the whole thing ended with:

osmf-check:


osmf-download:


download-osmf-swc:
  [get] Getting:
https://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/frameworks/libs/
OSMF2_0.swc?format=raw
  [get] To: 
/Users/pent/Downloads/apache-flex-sdk-4.16.1-src/in/osmf.swc
  [get] Error getting
https://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/frameworks/libs/
OSMF2_0.swc?format=raw to
/Users/pent/Downloads/apache-flex-sdk-4.16.1-src/in/osmf.swc


double-check-file:
 [echo] Need file: ${still_no_file}


get-from-cache-if-needed:


fail-if-not-found:


BUILD FAILED
/Users/pent/Downloads/ApproveSDK.xml:1186: The following error occurred
while executing this line:
/Users/pent/Downloads/apache-flex-sdk-4.16.1-src/build.xml:157: The
following error occurred while executing this line:
/Users/pent/Downloads/apache-flex-sdk-4.16.1-src/frameworks/build.xml:100:
The following error occurred while executing this line:
/Users/pent/Downloads/apache-flex-sdk-4.16.1-src/frameworks/downloads.xml:1
05: The following error occurred while executing this line:
/Users/pent/Downloads/apache-flex-sdk-4.16.1-src/frameworks/downloads.xml:1
17: The following error occurred while executing this line:
/Users/pent/Downloads/apache-flex-sdk-4.16.1-src/frameworks/downloads.xml:4
22: osmf.swc could not be downloaded or found in cache


I can get to the file in the browser and even download it, so I don't know
what could be wrong.

‹peter

On 11/9/17, 6:14 PM, "Piotr Zarzycki"  wrote:

>Hi Folks,
>
>This is discussion thread for Apache Flex SDK 4.16.1 RC1.
>
>Thanks,
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7C8060e3b76f3048bb1b8108d527c7ac38
>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636458660901245879&sdata=NX8
>9oJVmd4jS2lhmhu%2FL4syVTaYa2MLJ%2BSeXsDJ5AhY%3D&reserved=0
>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7C8060e3b76f3048bb1b8108d527c7ac38
>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636458660901245879&sdata=NX8
>9oJVmd4jS2lhmhu%2FL4syVTaYa2MLJ%2BSeXsDJ5AhY%3D&reserved=0>*



Re: [DISCUSS] Release Apache Flex SDK 4.16.1 - RC1*

2017-11-10 Thread Peter Ent
I had actually tried the -Drc=1, but I mistakenly set the release.version
to 4.16

So close. Script is running.

—peter

On 11/10/17, 11:34 AM, "Piotr Zarzycki"  wrote:

>Alex,
>
>In the VOTE thread I see the right command. I've checked many times that
>email.
>
>Peter,
>
>Thanks for looking into that. I hope now it will work with Alex's
>suggestion.
>
>Piotr
>
>On Fri, Nov 10, 2017, 17:26 Alex Harui  wrote:
>
>> Peter, looks like you are missing the -Drc=1 parameter.
>>
>> I guess Piotr was unable to use the releasecandidate.xml scripts because
>> they would have put the right command-line in the vote thread emails.
>> IMO, it would be better to get these scripts working so they save
>> everybody time and hassle.
>>
>> -Alex
>>
>> On 11/10/17, 8:22 AM, "Peter Ent"  wrote:
>>
>> >I'm trying the AppoveSDK.xml script. When I do:
>> >
>> >ant -f ApproveSDK.xml -Drelease.version=4.16.1
>> >
>> >I get the following:
>> >
>> >Buildfile: /Users/pent/Downloads/ApproveSDK.xml
>> >
>> >write-out-jars-list:
>> >   [delete] Deleting: /Users/pent/Downloads/jars.txt
>> >
>> >install-rat.jar:
>> >
>> >install-rat.tasks.jar:
>> >
>> >install-rat:
>> >
>> >download:
>> >  [get] Getting:
>> >
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapachefle
>>x
>> >build.cloudapp.net
>> %3A8080%2Fjob%2Fflex-sdk_release-candidate%2Flas&data=02
>> 
>>>%7C01%7C%7C8ff3fb4edd424693413508d5285739e9%7Cfa7b1b5a7b34438794aed2c178
>>>de
>> 
>>>cee1%7C0%7C0%7C636459277456439905&sdata=S1jrEyHCZKbH5O%2BZMGoi%2B9UjJPiQ
>>>oT
>> >gpNB6pbnrUkDw%3D&reserved=0
>> >tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz
>> >  [get] To: /Users/pent/Downloads/apache-flex-sdk-4.16.1-src.tar.gz
>> >  [get] Error opening connection java.io.FileNotFoundException:
>> >
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapachefle
>>x
>> >build.cloudapp.net
>> %3A8080%2Fjob%2Fflex-sdk_release-candidate%2Flas&data=02
>> 
>>>%7C01%7C%7C8ff3fb4edd424693413508d5285739e9%7Cfa7b1b5a7b34438794aed2c178
>>>de
>> 
>>>cee1%7C0%7C0%7C636459277456439905&sdata=S1jrEyHCZKbH5O%2BZMGoi%2B9UjJPiQ
>>>oT
>> >gpNB6pbnrUkDw%3D&reserved=0
>> >tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz
>> >  [get] Error opening connection java.io.FileNotFoundException:
>> >
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapachefle
>>x
>> >build.cloudapp.net
>> %3A8080%2Fjob%2Fflex-sdk_release-candidate%2Flas&data=02
>> 
>>>%7C01%7C%7C8ff3fb4edd424693413508d5285739e9%7Cfa7b1b5a7b34438794aed2c178
>>>de
>> 
>>>cee1%7C0%7C0%7C636459277456439905&sdata=S1jrEyHCZKbH5O%2BZMGoi%2B9UjJPiQ
>>>oT
>> >gpNB6pbnrUkDw%3D&reserved=0
>> >tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz
>> >  [get] Error opening connection java.io.FileNotFoundException:
>> >
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapachefle
>>x
>> >build.cloudapp.net
>> %3A8080%2Fjob%2Fflex-sdk_release-candidate%2Flas&data=02
>> 
>>>%7C01%7C%7C8ff3fb4edd424693413508d5285739e9%7Cfa7b1b5a7b34438794aed2c178
>>>de
>> 
>>>cee1%7C0%7C0%7C636459277456439905&sdata=S1jrEyHCZKbH5O%2BZMGoi%2B9UjJPiQ
>>>oT
>> >gpNB6pbnrUkDw%3D&reserved=0
>> >tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz
>> >  [get] Can't get
>> >
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapachefle
>>x
>> >build.cloudapp.net
>> %3A8080%2Fjob%2Fflex-sdk_release-candidate%2Flas&data=02
>> 
>>>%7C01%7C%7C8ff3fb4edd424693413508d5285739e9%7Cfa7b1b5a7b34438794aed2c178
>>>de
>> 
>>>cee1%7C0%7C0%7C636459277456439905&sdata=S1jrEyHCZKbH5O%2BZMGoi%2B9UjJPiQ
>>>oT
>> >gpNB6pbnrUkDw%3D&reserved=0
>> >tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz to
>> >/Users/pent/Downloads/apache-flex-sdk-4.16.1-src.tar.gz
>> >
>> >BUILD FAILED
>> >/Users/pent/Downloads/ApproveSDK.xml:222: Can't get
>> >
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%

Re: [DISCUSS] Release Apache Flex SDK 4.16.1 - RC1*

2017-11-10 Thread Peter Ent
I'm trying the AppoveSDK.xml script. When I do:

ant -f ApproveSDK.xml -Drelease.version=4.16.1

I get the following:

Buildfile: /Users/pent/Downloads/ApproveSDK.xml

write-out-jars-list:
   [delete] Deleting: /Users/pent/Downloads/jars.txt

install-rat.jar:

install-rat.tasks.jar:

install-rat:

download:
  [get] Getting:
http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/las
tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz
  [get] To: /Users/pent/Downloads/apache-flex-sdk-4.16.1-src.tar.gz
  [get] Error opening connection java.io.FileNotFoundException:
http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/las
tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz
  [get] Error opening connection java.io.FileNotFoundException:
http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/las
tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz
  [get] Error opening connection java.io.FileNotFoundException:
http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/las
tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz
  [get] Can't get
http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/las
tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz to
/Users/pent/Downloads/apache-flex-sdk-4.16.1-src.tar.gz

BUILD FAILED
/Users/pent/Downloads/ApproveSDK.xml:222: Can't get
http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/las
tSuccessfulBuild/artifact/out/apache-flex-sdk-4.16.1-src.tar.gz to
/Users/pent/Downloads/apache-flex-sdk-4.16.1-src.tar.gz


I can download the 4.16.1-src.tar.gz manually and will test that way.


I tried ant -f ApproveSDK.xml -Drelease.version=4.16.0 and that works, but
its not the correct release.

‹peter


On 11/9/17, 6:14 PM, "Piotr Zarzycki"  wrote:

>Hi Folks,
>
>This is discussion thread for Apache Flex SDK 4.16.1 RC1.
>
>Thanks,
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7C8060e3b76f3048bb1b8108d527c7ac38
>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636458660901245879&sdata=NX8
>9oJVmd4jS2lhmhu%2FL4syVTaYa2MLJ%2BSeXsDJ5AhY%3D&reserved=0
>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7C8060e3b76f3048bb1b8108d527c7ac38
>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636458660901245879&sdata=NX8
>9oJVmd4jS2lhmhu%2FL4syVTaYa2MLJ%2BSeXsDJ5AhY%3D&reserved=0>*



Re: [VOTE] Release Apache Flex SDK Installer 3.3 - RC2

2017-11-09 Thread Peter Ent
+1 I had no trouble at all following the instructions, launching the
installer, and building the SDK. Running macOS Sierra.

‹peter

On 11/8/17, 2:57 PM, "Piotr Zarzycki"  wrote:

>Hi Folks,
>
>This is official thread for Vote to approve Apache Flex SDK Installer
>version 3.3 to be released.
>
>It's Release Candidate 2. Changes:
>- Update CONTRIBUTORS file
>- Built installer with proper source code, previous one had some unwanted
>source code which causes problem reported by Om
>
>This version address fix for one major issue:
>- Unable to download Apache Flex SDK with Air greater than 23 - Windows
>[1]
>
>In order to test issue [1] you have to use Nightly Build of SDK, cause
>during work on fix I have discovered that script in SDK which installer is
>using was broken [2]. Release process for SDK has been started.
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.ap
>ache.org%2Fjira%2Fbrowse%2FFLEX-35295&data=02%7C01%7C%7C042b689be0a54e06a9
>7508d526e2e843%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63645767836058
>0316&sdata=2UxSV5NhfYp8BipN1bW3ievyGbjNWTndW67P7LL6whQ%3D&reserved=0
>[2] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.ap
>ache.org%2Fjira%2Fbrowse%2FFLEX-35364&data=02%7C01%7C%7C042b689be0a54e06a9
>7508d526e2e843%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63645767836073
>6564&sdata=oFvRR%2BKI%2FDMwhSY9W9Q5P1mliLLT4li7kqvL8580BE8%3D&reserved=0
>
>Sources can be found:
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apa
>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Finstaller%2F3.3%2Frc2%2F&data=02%7C0
>1%7C%7C042b689be0a54e06a97508d526e2e843%7Cfa7b1b5a7b34438794aed2c178decee1
>%7C0%7C0%7C636457678360736564&sdata=kaJyooKJtZhLlSfnNhxHh64pX%2FO%2F8eTHki
>CPmsaMSVU%3D&reserved=0
>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Finstaller%2F3.3%2Frc2%2F&data=02%7C0
>1%7C%7C042b689be0a54e06a97508d526e2e843%7Cfa7b1b5a7b34438794aed2c178decee1
>%7C0%7C0%7C636457678360736564&sdata=kaJyooKJtZhLlSfnNhxHh64pX%2FO%2F8eTHki
>CPmsaMSVU%3D&reserved=0>*
>
>Binary distributions for Windows and Mac:
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apa
>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Finstaller%2F3.3%2Frc2%2Fbinaries%2F&
>data=02%7C01%7C%7C042b689be0a54e06a97508d526e2e843%7Cfa7b1b5a7b34438794aed
>2c178decee1%7C0%7C0%7C636457678360736564&sdata=1AIDQ1m%2BKtzFpzQl1YnOxawkJ
>JudIkNJouo99mZGeD8%3D&reserved=0
>che.org%2Frepos%2Fdist%2Fdev%2Fflex%2Finstaller%2F3.3%2Frc2%2Fbinaries%2F&
>data=02%7C01%7C%7C042b689be0a54e06a97508d526e2e843%7Cfa7b1b5a7b34438794aed
>2c178decee1%7C0%7C0%7C636457678360736564&sdata=1AIDQ1m%2BKtzFpzQl1YnOxawkJ
>JudIkNJouo99mZGeD8%3D&reserved=0>*
>
>Before voting review ASF requirements:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apache
>.org%2Fdev%2F&data=02%7C01%7C%7C042b689be0a54e06a97508d526e2e843%7Cfa7b1b5
>a7b34438794aed2c178decee1%7C0%7C0%7C636457678360736564&sdata=vFy6ucZ3HBznp
>spf9F6QQv1PKLDT85dvuYMhDgVGjb4%3D&reserved=0
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apache
>.org%2Flegal%2Frelease-policy.html%23approving-a-release&data=02%7C01%7C%7
>C042b689be0a54e06a97508d526e2e843%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7
>C0%7C636457678360736564&sdata=g8GdzVCzOXosccYEt1yaWuFmDZIA7RtWUGq9PATVELU%
>3D&reserved=0
>
>Vote
>[ ] +1 Approve the release
>[ ] -1 Veto the release (please provide specific comments)
>
>This vote will be open for at least 72 hours.
>
>Thanks,
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7C042b689be0a54e06a97508d526e2e843
>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636457678360736564&sdata=xC7
>KkOj99Vxpdvw9NwzPOsz55rkPM7djcjm27PLDpxM%3D&reserved=0
>eon.com%2Fpiotrzarzycki&data=02%7C01%7C%7C042b689be0a54e06a97508d526e2e843
>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636457678360736564&sdata=xC7
>KkOj99Vxpdvw9NwzPOsz55rkPM7djcjm27PLDpxM%3D&reserved=0>*



Re: git commit: [flex-utilities] [refs/heads/develop] - Fix path to ant flexTasks.jar

2017-10-25 Thread Peter Ent
That's weird that this email just appeared. I had sent it off yesterday
and it has been resolved. Please disregard. The issue was that when I
built royale-asjs it had not copied over the tasks from the compiler. I
re-built royale-asjs and the copy happened; probably due to a git sync on
my part.

‹peter

On 10/25/17, 10:33 AM, "Peter Ent"  wrote:

>Have you been able to build any of the examples in
>royale-asjs/examples/royale? When I try to build DataBindingExample, it
>fails because it cannot find flexTasks.tasks.
>
>The build.xml is setting FLEX_HOME to ROYALE_HOME which it sets to the
>royale-asjs directory. There is no flexTasks.tasks in royale-asjs/lib. At
>least not on my machine.
>
>On 10/24/17, 11:28 AM, "Piotr Zarzycki"  wrote:
>
>>I just reverted it. I'm looking into the option to fix Apache Installer
>>which is failing on big Adobe Air zip.Have  Josh did fix that by using
>>for
>>unzipping PowerShell on windows, so I will try to also modify some things
>>to check whether it is fix installer.
>>
>>As Josh pointed me out it looks like ant on air is the right place to
>>start
>>?
>>
>>What do you think about that work ?
>>
>>Thanks, Piotr
>>
>>
>>2017-10-24 17:22 GMT+02:00 Alex Harui :
>>
>>> It is failing because MD5Checker and many other utilities expect to be
>>> built against a repo/working-copy instead of an IDE-compatible Flex
>>>SDK.
>>> Unfortunately, flexTasks is placed in a different place in the repo
>>>build
>>> vs an IDE-compatible SDK.
>>>
>>> I guess it should be possible to test for which flexTasks.jar folder is
>>> being referenced so the build can run against either configuration, or
>>> tweak the repo builds and packaging builds to put flexTasks.jar in the
>>> same place as the IDE SDKs.
>>>
>>> But is it worth it?  Why are you tweaking these builds now after all
>>>these
>>> years?
>>>
>>> -Alex
>>>
>>>
>>> On 10/24/17, 6:45 AM, "Piotr Zarzycki" 
>>>wrote:
>>>
>>> >Hi Alex,
>>> >
>>> >I did change path to flexTasks.jar in build.xml - It is placed locally
>>>in
>>> >the folder ant/lib why it is failing on the jenkins ? I have Flex
>>>4.16.
>>> >
>>> >Piotr
>>> >
>>> >
>>> >2017-10-24 14:04 GMT+02:00 :
>>> >
>>> >> Repository: flex-utilities
>>> >> Updated Branches:
>>> >>   refs/heads/develop b1a013c96 -> 8d8150922
>>> >>
>>> >>
>>> >> Fix path to ant flexTasks.jar
>>> >>
>>> >>
>>> >> Project:
>>> >>https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fgit-wip-u
>>> >>s.apache.org%2Frepos%2Fasf%2Fflex-utilities%2Frepo&data=
>>> 02%7C01%7C%7Ce840
>>> >>912743274fa1d25108d51ae58922%7Cfa7b1b5a7b34438794aed2c178de
>>> cee1%7C0%7C0%7
>>> >>C63695514894159&sdata=7aEA2UTl62kdbiwJSjiEi6uku26d61
>>> HIfVUcI9g56Bs%3D&
>>> >>reserved=0
>>> >> Commit:
>>> >>https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fgit-wip-u
>>> >>s.apache.org%2Frepos%2Fasf%2Fflex-utilities%2F&data=02%
>>> 7C01%7C%7Ce8409127
>>> >>43274fa1d25108d51ae58922%7Cfa7b1b5a7b34438794aed2c178de
>>> cee1%7C0%7C0%7C636
>>> >>95514894159&sdata=zqhlWmGgj057Eytw6xXnfQ27M4lDWV
>>> zWrYvMz5R6XHo%3D&rese
>>> >>rved=0
>>> >> commit/8d815092
>>> >> Tree:
>>> >>https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fgit-wip-u
>>> >>s.apache.org%2Frepos%2Fasf%2Fflex-utilities%2Ftree%
>>> 2F8d815092&data=02%7C0
>>> 
>>>>>1%7C%7Ce840912743274fa1d25108d51ae58922%7Cfa7b1b5a7b34438794aed2c178de
>>> cee
>>> >>1%7C0%7C0%7C63695514894159&sdata=NMwoRYFfNXqBJZQn%2FwVcCiOH%
>>> 2F20emowJ
>>> >>hJGsbSRp0x4%3D&reserved=0
>>> >> Diff:
>>> >>https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fgit-wip-u
>>> >>s.apache.org%2Frepos%2Fasf%2Fflex-utilities%2Fdiff%
>>> 2F8d815092&data=02%7C0
>>> 
>>>>>1%7C%7Ce840912743274fa1d25108d51ae58922%7Cfa7b1b5a7b34438794aed2c178de
>>> cee
>>> >>1%7C0%7C0%7C63695514894159&

Re: git commit: [flex-utilities] [refs/heads/develop] - Fix path to ant flexTasks.jar

2017-10-25 Thread Peter Ent
Have you been able to build any of the examples in
royale-asjs/examples/royale? When I try to build DataBindingExample, it
fails because it cannot find flexTasks.tasks.

The build.xml is setting FLEX_HOME to ROYALE_HOME which it sets to the
royale-asjs directory. There is no flexTasks.tasks in royale-asjs/lib. At
least not on my machine.

On 10/24/17, 11:28 AM, "Piotr Zarzycki"  wrote:

>I just reverted it. I'm looking into the option to fix Apache Installer
>which is failing on big Adobe Air zip.Have  Josh did fix that by using for
>unzipping PowerShell on windows, so I will try to also modify some things
>to check whether it is fix installer.
>
>As Josh pointed me out it looks like ant on air is the right place to
>start
>?
>
>What do you think about that work ?
>
>Thanks, Piotr
>
>
>2017-10-24 17:22 GMT+02:00 Alex Harui :
>
>> It is failing because MD5Checker and many other utilities expect to be
>> built against a repo/working-copy instead of an IDE-compatible Flex SDK.
>> Unfortunately, flexTasks is placed in a different place in the repo
>>build
>> vs an IDE-compatible SDK.
>>
>> I guess it should be possible to test for which flexTasks.jar folder is
>> being referenced so the build can run against either configuration, or
>> tweak the repo builds and packaging builds to put flexTasks.jar in the
>> same place as the IDE SDKs.
>>
>> But is it worth it?  Why are you tweaking these builds now after all
>>these
>> years?
>>
>> -Alex
>>
>>
>> On 10/24/17, 6:45 AM, "Piotr Zarzycki" 
>>wrote:
>>
>> >Hi Alex,
>> >
>> >I did change path to flexTasks.jar in build.xml - It is placed locally
>>in
>> >the folder ant/lib why it is failing on the jenkins ? I have Flex 4.16.
>> >
>> >Piotr
>> >
>> >
>> >2017-10-24 14:04 GMT+02:00 :
>> >
>> >> Repository: flex-utilities
>> >> Updated Branches:
>> >>   refs/heads/develop b1a013c96 -> 8d8150922
>> >>
>> >>
>> >> Fix path to ant flexTasks.jar
>> >>
>> >>
>> >> Project:
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fgit-wip-u
>> >>s.apache.org%2Frepos%2Fasf%2Fflex-utilities%2Frepo&data=
>> 02%7C01%7C%7Ce840
>> >>912743274fa1d25108d51ae58922%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7
>> >>C63695514894159&sdata=7aEA2UTl62kdbiwJSjiEi6uku26d61
>> HIfVUcI9g56Bs%3D&
>> >>reserved=0
>> >> Commit:
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fgit-wip-u
>> >>s.apache.org%2Frepos%2Fasf%2Fflex-utilities%2F&data=02%
>> 7C01%7C%7Ce8409127
>> >>43274fa1d25108d51ae58922%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C0%7C636
>> >>95514894159&sdata=zqhlWmGgj057Eytw6xXnfQ27M4lDWV
>> zWrYvMz5R6XHo%3D&rese
>> >>rved=0
>> >> commit/8d815092
>> >> Tree:
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fgit-wip-u
>> >>s.apache.org%2Frepos%2Fasf%2Fflex-utilities%2Ftree%
>> 2F8d815092&data=02%7C0
>> >>1%7C%7Ce840912743274fa1d25108d51ae58922%7Cfa7b1b5a7b34438794aed2c178de
>> cee
>> >>1%7C0%7C0%7C63695514894159&sdata=NMwoRYFfNXqBJZQn%2FwVcCiOH%
>> 2F20emowJ
>> >>hJGsbSRp0x4%3D&reserved=0
>> >> Diff:
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fgit-wip-u
>> >>s.apache.org%2Frepos%2Fasf%2Fflex-utilities%2Fdiff%
>> 2F8d815092&data=02%7C0
>> >>1%7C%7Ce840912743274fa1d25108d51ae58922%7Cfa7b1b5a7b34438794aed2c178de
>> cee
>> >>1%7C0%7C0%7C63695514894159&sdata=MiBtD53lPMYpomlAztqFmUGoJPGEvt
>> ODjzRi
>> >>q6AOtVQ%3D&reserved=0
>> >>
>> >> Branch: refs/heads/develop
>> >> Commit: 8d81509221baf627d3b37c8db72a2cdf8fb4ed2c
>> >> Parents: b1a013c
>> >> Author: Piotr Zarzycki 
>> >> Authored: Tue Oct 24 14:04:46 2017 +0200
>> >> Committer: Piotr Zarzycki 
>> >> Committed: Tue Oct 24 14:04:46 2017 +0200
>> >>
>> >> 
>>--
>> >>  MD5Checker/build.xml | 2 +-
>> >>  1 file changed, 1 insertion(+), 1 deletion(-)
>> >> 
>>--
>> >>
>> >>
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fgit-wip-u
>> >>s.apache.org%2Frepos%2Fasf%2Fflex-utilities%2Fblob%2F&
>> data=02%7C01%7C%7Ce
>> >>840912743274fa1d25108d51ae58922%7Cfa7b1b5a7b34438794aed2c178de
>> cee1%7C0%7C
>> >>0%7C63695514894159&sdata=U%2FMD8Hc4N7OMilyGSNaXR7J6Apednt
>> v%2FeDOFzLof
>> >>9Dc%3D&reserved=0
>> >> 8d815092/MD5Checker/build.xml
>> >> 
>>--
>> >> diff --git a/MD5Checker/build.xml b/MD5Checker/build.xml
>> >> index 90b1021..f51e847 100644
>> >> --- a/MD5Checker/build.xml
>> >> +++ b/MD5Checker/build.xml
>> >> @@ -78,7 +78,7 @@
>> >>  
>> >>  
>> >>  
>> >> -> >>classpath="${FLEX_HOME}/lib/
>> >> flexTasks.jar"/>
>> >> +> >>classpath="${FLEX_HOME}/ant/
>> >> lib/flexTasks.jar"/>
>> >>  
>> >>
>> >>  
>> >>
>> >>
>> >
>> >
>> >--
>> >
>> >Piotr Zarzycki
>> >
>> >mobile: +48 880 859 557
>> >skype: zarzycki10
>> >
>> >LinkedIn:
>> >https://na01.safelinks.prote

[Royale] Flex2Royale Migration App

2017-10-17 Thread Peter Ent
I have made a change the royale compiler (not committed yet) to produce a 
migration commendation JSON file. This file is then used by the Flex2Royale 
example app (also not committed).

You can see the result at: http://home.apache.org/~pent/Flex2RoyaleApp/

This is pretty much the same thing as before, example this time the information 
is coming directory from the Royale source files. For example, in 
org.apache.royale.express.Application you would find:

/**
 * This class extends the standard Application and sets up the
 * SimpleCSSValuesImpl (implementation) for convenience.
 *
 * @flexcomponent spark.components.Application
 * @flexdocurl https://flex.apache.org/asdoc/spark/components/Application.html
 * @commentary Unlike Flex Application, Royale Application does not provide a 
user interface container. Instead, you create an instance of 
org.apache.royale.express.View as the Application's initialView property.
 * @commentary The Express version of Application pre-packages some additional 
beads.
 * @example 
 * @example   
 * @example 
 * @example   
 * @example 
 */

I will be cleaning up code and expanding the documentation. I used some pretty 
simple CSS to style the output and would welcome ideas for how this should look.

Thanks,
Peter



Re: FlexJS element setter

2017-09-26 Thread Peter Ent
@Harbs: yes on get positioner returning element. This way someone could
override the getter and return something else if it suited their needs.

—peter

On 9/26/17, 9:25 AM, "Harbs"  wrote:

>I looked at MDL and I don’t see any problem there.
>
>I’m talking about simplifying things across the board. I don’t see how it
>could effect anything.
>
>@Peter I think removing positioner might not be a bad idea, but keeping
>it and using it as a pointer to element is basically just as cheap.
>
>> On Sep 26, 2017, at 4:12 PM, Piotr Zarzycki 
>>wrote:
>> 
>> Hi Harbs,
>> 
>> If you will do such changes like moving to set flexjs_wrapper in the
>>setter
>> of element - please make it on the separate branch. Let me test with my
>>app
>> whether MDL will not breaking up. I hope that we could avoid this one,
>>even
>> if I think that it seems to be quite reasonable to do that.
>> 
>> Can you for example do this only for your custom component not for the
>> global IUIBase class ?
>> 
>> Let see what Peter say.
>> 
>> Thanks, Piotr
>> 
>> 
>> 2017-09-26 15:02 GMT+02:00 Harbs :
>> 
>>> Yishay and I were working on drag/drop today and we were modifying one
>>>of
>>> the classes you wrote for generating the drag image.
>>> 
>>> The code can be simplified by using cloneNode() and stuffing the
>>>results
>>> into the element. The thing is, it does not work until you assign the
>>> flexjs_wrapper to the element. IMO, calling the element setter should
>>>do
>>> that automatically.
>>> 
>>> On a similar note, Every IUIBase object has a positioner set. I don’t
>>>know
>>> of a single class which has a different positioner than the element. It
>>> seems to me that positioner should be a getter (which normally returns
>>>the
>>> element) that’s overridden for classes which need a different one. That
>>> will save memory for every IUIBase created.
>>> 
>>> Harbs
>>> 
>>>> On Sep 26, 2017, at 3:23 PM, Peter Ent  wrote:
>>>> 
>>>> The setter for element is in HTMLElementWrapper, the super class for
>>>> UIBase. The setter for flexes_wrapper is in UIBase. So if the element
>>>> setter were to also set the flexjs_wrapper, it would have to be an
>>>> override in UIBase to do it. At least that¹s how I understand it.
>>>> 
>>>> Could you elaborate a little more on the issue that is raising this
>>>> concern?
>>>> 
>>>> Your question made me scan through these classes. Looking at this code
>>> now
>>>> makes me think we can do a better and more consistent job organizing
>>>>it
>>>> for Royale. After all, having code that can be quickly understood and
>>>> modified is important.
>>>> 
>>>> ‹peter
>>>> 
>>>> On 9/26/17, 7:13 AM, "Harbs"  wrote:
>>>> 
>>>>> Currently, setting the element of a IUIBase will not work correctly
>>>>> because the flexjs_wrapper is not set. This makes it error prone when
>>>>> there¹s a need to work with the underlying DOM elements for HTML
>>>>>output.
>>>>> 
>>>>> I cannot think of a reason why the wrapper should not be set when
>>> calling
>>>>> the element setter. Instead of setting the flexjs_wrapper in
>>>>> createElement(), it seems to me that it should be set in the element
>>>>> setter in HTMLElementWrapper.
>>>>> 
>>>>> Anyone have a reason not to do this?
>>>>> 
>>>>> Harbs
>>>> 
>>> 
>>> 
>> 
>> 
>> -- 
>> 
>> Piotr Zarzycki
>> 
>> mobile: +48 880 859 557
>> skype: zarzycki10
>> 
>> LinkedIn: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linke
>>din.com%2Fpiotrzarzycki&data=02%7C01%7C%7C6716901213624a0e804708d504e2039
>>f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636420291136295544&sdata=f
>>Q1CjLGkCpNKxSQBmZn%2BnKZEplQpGl25XACOqq0gO2o%3D&reserved=0
>> 
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpl.link
>>edin.com%2Fin%2Fpiotr-zarzycki-92a53552&data=02%7C01%7C%7C6716901213624a0
>>e804708d504e2039f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364202911
>>36295544&sdata=LzIej2n6WVnm9AG1Hi4NqIZjOQS%2Byo4w%2BPYTX0Rq8Gc%3D&reserve
>>d=0>
>> 
>> GitHub: 
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.c
>>om%2Fpiotrzarzycki21&data=02%7C01%7C%7C6716901213624a0e804708d504e2039f%7
>>Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636420291136295544&sdata=WeIl
>>LzVsJzRKniD1r9F2xb%2BwljhCLHnurBnl03kBM9E%3D&reserved=0
>



Re: FlexJS element setter

2017-09-26 Thread Peter Ent
I should also have addressed "cloneNode". I keep operating in the twilight
world between SWF and HTML/JS. The main guiding principle is to make it
work for HTML/JS as simply as possible and then replicate it for SWF. I
think since the Flash announcement, this should really be the defining
principle of RoyaleJS. If we have to make the SWF side pay a bit more,
then so be it. Again, my opinion.

So if cloneNode is more helpful, then do that.

—peter

On 9/26/17, 9:02 AM, "Harbs"  wrote:

>Yishay and I were working on drag/drop today and we were modifying one of
>the classes you wrote for generating the drag image.
>
>The code can be simplified by using cloneNode() and stuffing the results
>into the element. The thing is, it does not work until you assign the
>flexjs_wrapper to the element. IMO, calling the element setter should do
>that automatically.
>
>On a similar note, Every IUIBase object has a positioner set. I don’t
>know of a single class which has a different positioner than the element.
>It seems to me that positioner should be a getter (which normally returns
>the element) that’s overridden for classes which need a different one.
>That will save memory for every IUIBase created.
>
>Harbs
>
>> On Sep 26, 2017, at 3:23 PM, Peter Ent  wrote:
>> 
>> The setter for element is in HTMLElementWrapper, the super class for
>> UIBase. The setter for flexes_wrapper is in UIBase. So if the element
>> setter were to also set the flexjs_wrapper, it would have to be an
>> override in UIBase to do it. At least that¹s how I understand it.
>> 
>> Could you elaborate a little more on the issue that is raising this
>> concern?   
>> 
>> Your question made me scan through these classes. Looking at this code
>>now
>> makes me think we can do a better and more consistent job organizing it
>> for Royale. After all, having code that can be quickly understood and
>> modified is important.
>> 
>> ‹peter
>> 
>> On 9/26/17, 7:13 AM, "Harbs"  wrote:
>> 
>>> Currently, setting the element of a IUIBase will not work correctly
>>> because the flexjs_wrapper is not set. This makes it error prone when
>>> there¹s a need to work with the underlying DOM elements for HTML
>>>output.
>>> 
>>> I cannot think of a reason why the wrapper should not be set when
>>>calling
>>> the element setter. Instead of setting the flexjs_wrapper in
>>> createElement(), it seems to me that it should be set in the element
>>> setter in HTMLElementWrapper.
>>> 
>>> Anyone have a reason not to do this?
>>> 
>>> Harbs
>> 
>



Re: FlexJS element setter

2017-09-26 Thread Peter Ent
The original intent of positioner was to allow the element to be
different. The NumericStepper was the use case. The positioner was to be
the enclosing div or DisplayObjectContainer. The element was to be the
input or TextField. We thought there might be more complex components that
would benefit from that treatment.

The problem is, I think most developers would access element for
everything and simply forget the positioner. Also, element and positioner
should really be hidden from app developers are they are platform
dependent (or should be IMO). So a component like NumericStepper might let
you do: stepper.inputField by that itself is a FlexJS component,
TextInput, so that would be safe. Likewise for the buttons.

At this point, I'm not sure positioner is valuable enough to even keep.
And element/flexjs_wrapper are closely paired.

—peter

On 9/26/17, 9:02 AM, "Harbs"  wrote:

>Yishay and I were working on drag/drop today and we were modifying one of
>the classes you wrote for generating the drag image.
>
>The code can be simplified by using cloneNode() and stuffing the results
>into the element. The thing is, it does not work until you assign the
>flexjs_wrapper to the element. IMO, calling the element setter should do
>that automatically.
>
>On a similar note, Every IUIBase object has a positioner set. I don’t
>know of a single class which has a different positioner than the element.
>It seems to me that positioner should be a getter (which normally returns
>the element) that’s overridden for classes which need a different one.
>That will save memory for every IUIBase created.
>
>Harbs
>
>> On Sep 26, 2017, at 3:23 PM, Peter Ent  wrote:
>> 
>> The setter for element is in HTMLElementWrapper, the super class for
>> UIBase. The setter for flexes_wrapper is in UIBase. So if the element
>> setter were to also set the flexjs_wrapper, it would have to be an
>> override in UIBase to do it. At least that¹s how I understand it.
>> 
>> Could you elaborate a little more on the issue that is raising this
>> concern?   
>> 
>> Your question made me scan through these classes. Looking at this code
>>now
>> makes me think we can do a better and more consistent job organizing it
>> for Royale. After all, having code that can be quickly understood and
>> modified is important.
>> 
>> ‹peter
>> 
>> On 9/26/17, 7:13 AM, "Harbs"  wrote:
>> 
>>> Currently, setting the element of a IUIBase will not work correctly
>>> because the flexjs_wrapper is not set. This makes it error prone when
>>> there¹s a need to work with the underlying DOM elements for HTML
>>>output.
>>> 
>>> I cannot think of a reason why the wrapper should not be set when
>>>calling
>>> the element setter. Instead of setting the flexjs_wrapper in
>>> createElement(), it seems to me that it should be set in the element
>>> setter in HTMLElementWrapper.
>>> 
>>> Anyone have a reason not to do this?
>>> 
>>> Harbs
>> 
>



Re: FlexJS element setter

2017-09-26 Thread Peter Ent
The setter for element is in HTMLElementWrapper, the super class for
UIBase. The setter for flexes_wrapper is in UIBase. So if the element
setter were to also set the flexjs_wrapper, it would have to be an
override in UIBase to do it. At least that¹s how I understand it.

Could you elaborate a little more on the issue that is raising this
concern?   

Your question made me scan through these classes. Looking at this code now
makes me think we can do a better and more consistent job organizing it
for Royale. After all, having code that can be quickly understood and
modified is important.

‹peter

On 9/26/17, 7:13 AM, "Harbs"  wrote:

>Currently, setting the element of a IUIBase will not work correctly
>because the flexjs_wrapper is not set. This makes it error prone when
>there¹s a need to work with the underlying DOM elements for HTML output.
>
>I cannot think of a reason why the wrapper should not be set when calling
>the element setter. Instead of setting the flexjs_wrapper in
>createElement(), it seems to me that it should be set in the element
>setter in HTMLElementWrapper.
>
>Anyone have a reason not to do this?
>
>Harbs



Re: Royale is now an Apache Project

2017-09-21 Thread Peter Ent
1) royale-asjs just so we can expand later if needed. I like
royale-compiler.
2) Let's get off of SVN!
‹peter

On 9/21/17, 11:42 AM, "Alex Harui"  wrote:

>We have to decide a few more things for setup:
>
>1) our current repos are named flex-asjs, flex-typedefs, etc.  I assume we
>want them renamed to royale-asjs, royale-typedefs, royale-tourjs,
>royale-falcon?
>
>Or do we want to change the "last names" as well?
>
>royale-framework, royale-typedefs, royale-tourjs, royale-compiler
>
>2) The flex.apache.org website is still on SVN.  Do we want to use Git for
>Royale?  I think yes.
>
>3) Do we want a Confluence Wiki or are there wiki-equivalents in GitHub?
>
>-Alex
>
>On 9/21/17, 2:27 AM, "Piotr Zarzycki"  wrote:
>
>>Let's wait for their response.
>>
>>Thank you!
>>
>>On Thu, Sep 21, 2017, 11:17 Alex Harui  wrote:
>>
>>> In the sub task I asked if we "must" use JIRA or can use GH Issues.
>>>
>>> Thanks,
>>> -Alex
>>>
>>> On 9/21/17, 2:14 AM, "Erik de Bruin"  wrote:
>>>
>>> >>
>>> >> Maybe we should have discussion whether we need Jira for new
>>>project?
>>> >> Maybe we should use Github only?
>>> >>
>>> >
>>> >That sound like a plan. KISS [1] all the way ;-)
>>> >
>>> >EdB
>>> >
>>> >1:
>>> >
>>> 
>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fen.wiki
>>>p
>>>e
>>> >dia.org
>>> %2Fwiki%2FKISS_principle&data=02%7C01%7C%7C9bf9ee2d27d84511b11508d5
>>> 
00d155c2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63641582144717182
2
&s
>>> >data=J3se5Id4dPrOLITxNfk0hKOCKeTwtl3KIhhablawMwU%3D&reserved=0
>>> >
>>> >
>>> >
>>> >--
>>> >Ix Multimedia Software
>>> >
>>> >Jan Luykenstraat 27
>>> >3521 VB Utrecht
>>> >
>>> >T. 06-51952295 <06%2051952295>
>>> >I.
>>> >
>>> 
>>>https://na01.safelinks.protection.outlook.com/?url=www.ixsoftware.nl&dat
>>>a
>>>=
>>> 
02%7C01%7C%7C9bf9ee2d27d84511b11508d500d155c2%7Cfa7b1b5a7b34438794aed2c
1
78
>>> 
decee1%7C0%7C0%7C636415821447171822&sdata=0RA5xX24wJ%2Bf1HdGZE6vOjoRHNC
i
SA
>>> >zNtyrgiSrTOOY%3D&reserved=0
>>>
>>>
>



Re: [DISCUSS] Name of the FlexJS Fork

2017-09-19 Thread Peter Ent
I swear all the good names are already taken. I think we just need to
throw letters into a box and shake them at this point.
‹peter

On 9/19/17, 3:48 PM, "Harbs"  wrote:

>Helix is nice.
>
>Possible conflict:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.helixs
>dk.org%2F&data=02%7C01%7C%7C035543dca81c4819f48408d4ff976d6e%7Cfa7b1b5a7b3
>4438794aed2c178decee1%7C0%7C0%7C636414473216014007&sdata=50CnTkqOULTC01jAt
>uA2i2vcB6aW0jlKyPZsS%2BfJnaQ%3D&reserved=0
>sdk.org%2F&data=02%7C01%7C%7C035543dca81c4819f48408d4ff976d6e%7Cfa7b1b5a7b
>34438794aed2c178decee1%7C0%7C0%7C636414473216014007&sdata=50CnTkqOULTC01jA
>tuA2i2vcB6aW0jlKyPZsS%2BfJnaQ%3D&reserved=0>
>
>> On Sep 19, 2017, at 10:40 PM, OmPrakash Muppirala
>> wrote:
>> 
>>> 
>>> 
>> 
>> "Braid" also brings to mind "Helix". I haven't looked to see if
>>there
 are
>> any projects that use "Helix" which I'm sure there are. And if so,
 maybe
>> "Felix" to give a nod back to Flex along with the helix.
>> 
>> ‹peter
 
>>> 
>> I love Helix.  It actually describes the shape:
>> 
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fen.wikip
>>edia.org%2Fwiki%2FHelix&data=02%7C01%7C%7C035543dca81c4819f48408d4ff976d6
>>e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636414473216014007&sdata=9
>>RKN1g881XvPn6H6ffBvMGPSwagSyfePAhzrQ3nqBxc%3D&reserved=0
>> 
>> DNA is in the shape of a double Helix, guess what DNA is made of?
>>Strands!
>> 
>> The name has a good ring to it as well.
>



Re: [DISCUSS] Name of the FlexJS Fork

2017-09-19 Thread Peter Ent
I'm inclined to favor "Braid" over Limber (however you want to spell it)
because I can think of too many puns associated with Limber and the first
thing that comes to mind, for me, is cheese that smells.

I don't remember how to pronounce "Borja" and while English always seems
to dominate, English-speaks will most likely pronounce it Boar-JA and a
few will go with Boar-YA or Boar-HA. So there will probably always be a
need for correction.

While "Apache Royale" has a nice ring to it for me, I think "Braid" has
the right feel. You get things intertwined for a purpose, things in a
pattern, strands woven together, that sort of thing.

"Braid" also brings to mind "Helix". I haven't looked to see if there are
any projects that use "Helix" which I'm sure there are. And if so, maybe
"Felix" to give a nod back to Flex along with the helix.

—peter



On 9/19/17, 2:59 PM, "Alex Harui"  wrote:

>I am not an expert, but AIUI, trademarks are intended to avoid confusion
>in a marketplace.  There are lots of products named Flex, such as cars,
>diabetes testing kits, and more.  There are even other software products
>called Flex and we need to consider whether it confuses potential
>customers about what Flex is being talked about.
>
>Mostly, we will use the term "Apache " instead of just
> when publishing things, but later in those documents we'll
>probably just refer to it as .
>
>So, IMO, having other projects on GitHub called Braids isn't a deal killer
>and your link [1] probably won't cause confusion.  I was more concerned
>about the Braids project related to Tensor-flow as Tensor-flow might
>become the new hot thing in software in general and if that Braids took
>off lots of mentions of Braids would be about that.  There is also a
>Braids "static staging compiler" for TypeScript.
>
>That's why I'm concerned about Royale when there is a GitHub project
>called Royale that is a "A React-esque framework for Javascript".  Think
>of it this way.  If you did a search on GitHub for our project name and
>didn't realize we were associated with Apache, would you click on one of
>these other project instead, and how long would it take you to realize it
>wasn't the right one?  If you go try to sell writing an app in Royale and
>a competitor has proposed writing it in React with the other GitHub
>Royale, will that be confusing to your client?
>
>I wrote to trademarks@ to see if they are similarly concerned.  They don't
>always respond right away.  If they are not concerned, I will probably
>vote for Royale just so we have a name for tomorrow.
>
>HTH,
>-Alex
>
>On 9/19/17, 11:43 AM, "Piotr Zarzycki"  wrote:
>
>>I checked Braid on github and found [1]. It was quite popular - can we
>>just
>>grab that name - I still do not understand fully those trademarks
>>implications.
>>
>>[1] 
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.c
>>o
>>m%2Fcristibalan%2Fbraid&data=02%7C01%7C%7C5ebf232812004352ad0108d4ff8e4f1
>>7
>>%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636414434060882785&sdata=A6
>>I
>>IL4SNYWP2XFTvOife92gA1t8Km4E%2Fr7QpvQ3B3mI%3D&reserved=0
>>
>>2017-09-19 20:38 GMT+02:00 Kessler CTR Mark J
>>:
>>
>>> Apache Bob...
>>>
>>>
>>> -Original Message-
>>> From: Harbs [mailto:harbs.li...@gmail.com]
>>> Sent: Tuesday, September 19, 2017 2:20 PM
>>> To: dev@flex.apache.org
>>> Subject: [Non-DoD Source] Re: [DISCUSS] Name of the FlexJS Fork
>>>
>>> Ick…
>>>
>>> Why do these things have to be so complicated? ;-)
>>>
>>> Harbs
>>>
>>> > On Sep 19, 2017, at 8:58 PM, Dave Fisher 
>>>wrote:
>>> >
>>> > There are any number of meanings for boja in many languages with and
>>> without diacritics.
>>> >
>>> > 
>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fen.m.wi
>>>k
>>>tionary.org%2Fwiki%2Fboja&data=02%7C01%7C%7C5ebf232812004352ad0108d4ff8e
>>>4
>>>f17%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636414434060882785&sdat
>>>a
>>>=IObJoB2mvH3y8iHRBlUvDSDBXiTXitc2FPR1tPHKQ1o%3D&reserved=0
>>> >
>>> > Sent from my iPhone
>>> >
>>> >> On Sep 19, 2017, at 1:45 PM, Andrew Wetmore 
>>> wrote:
>>> >>
>>> >> I can think of three ways* to pronounce "bo-ja" without even
>>>resorting
>>> to a
>>> >> South African "click" language. This makes it a challenge to refer
>>>to
>>> the
>>> >> product to anyone who does not already use it.
>>> >>
>>> >> *bodja, booya, boha.
>>> >>
>>> >> On Tue, Sep 19, 2017 at 2:42 PM, Piotr Zarzycki <
>>> piotrzarzyck...@gmail.com>
>>> >> wrote:
>>> >>
>>> >>> Om,
>>> >>>
>>> >>> No offend :) That is why it is so hard to choose ;) I think "bo-ja"
>>>is
>>> the
>>> >>> closes to how I pronounce it. :)
>>> >>>
>>> >>> Piotr
>>> >>>
>>> >>> 2017-09-19 19:31 GMT+02:00 OmPrakash Muppirala
>>>:
>>> >>>
>>>  Boja is one name I really dislike.  Sorry Piotr😕
>>> 
>>>  Also I dont know how to pronounce it. Is it Bo-ha, or boo-ha or
>>>bo-ja,
>>> >>> etc?
>>> 
>>>  On Sep 19, 2017 10:09 AM, "Piotr Zarzycki"
> >
>>>  wrote:
>>> 
>>> > Reading Alex

Re: [VOTE] What should be the new Project Name for Proposed fork of FlexJS?

2017-09-18 Thread Peter Ent
1) Royale (binding)
2) Braid

‹peter ent

On 9/17/17, 3:19 PM, "Piotr Zarzycki"  wrote:

>Hi,
>
>In this thread I've gathered list of names proposition for fork of FlexJS
>project.
>
>LIST:
>
>Royale
>Boja
>Strand
>Bead
>Limber
>Boinga
>Braid
>Arise
>
>HOW DO WE VOTE:
>1) Pick up 3 names from the list and order them from the most favorite
>2) We will give points for each items in the list which you have choose
>3) In your list you can propose your own name - others can follow it in
>their lists
>
>EXAMPLE:
>1) Name1 - 3 points
>2) Name2 - 2 points
>3) Name3 - 1 point
>
>WINNER:
>We will pickup winner based on gathered points by one of the name.
>
>The vote will be open until Tuesday September 19, 23:00 UTC
>
>Thanks,
>
>Piotr



Re: [DISCUSS] Name of the FlexJS Fork

2017-09-14 Thread Peter Ent
If the project name were to be "Apache Royale" and produced FlexJS, and
the Apache Royale web page/wiki referenced FlexJS and made it available
for Google searches, then anyone who was interested in or heard about
FlexJS and searched for "FlexJS" (or "Flex" or "Adobe Flex" or "Apache
Flex" or "ActionScript Flex" or ), they should get a link to Apache
Royale in their search results. The blurb that accompanies the search
result should mention FlexJS. I think that would be enough to pique
interest and get a click.

Substitute "Royale" for whatever name you'd like the project to be called.

‹peter

On 9/14/17, 5:16 PM, "Harbs"  wrote:

>It¹s great to have another perspective on this.
>
>Some of these issues can be addressed by SEO.
>
>It could be that we should be careful about changing names, and / or
>timing of changing names.
>
>Alex does make a good point that the project name does not need to be the
>same as the product name. It might make sense to keep the product as
>FlexJS for now at least and just pick a different project name. The
>product name is easier to change than the project name and a project can
>have more than one product.
>
>If I would pick a reference to a product which did a major rebranding to
>drop associations to old technology it would be Xojo. I¹m not sure how
>many here are familiar with it, but it used to be call REALBasic. A few
>years back they rebranded as Xojo. I don¹t think it made much of a
>difference to the folks using it. I have no idea if it helped them or not.
>
>Harbs
>
>> On Sep 14, 2017, at 11:07 PM, Justin M. Hill 
>>wrote:
>> 
>> 
>> Hi everyone,
>> 
>> I am not someone with an official vote, but I wanted to express my
>>concern
>> about ditching the FlexJS name.
>> 
>> The largest possible market for adoption of a new "javascript" solution
>>is
>> to go after those who have stuck with Flex.   There are FAR too many
>> javascript solutions on the market right now.
>> 
>> If the vote is to change the name, this will:
>> 
>> -- confuse the people who have been patiently waiting for FlexJS to get
>>to
>> 1.0 so they can dive in.
>> 
>> -- get lost in the noise of all of the other far more well popularized
>> javascript frameworks like Angular, React, etc.
>> 
>> -- lose the feeling, however small it may be, that those who came from
>>the
>> Flex background can expect to have some of their knowledge recycled.
>> 
>> 
>> These are 3 critical aspects in terms of raising awareness and having a
>> potentially devoted following of one technology (Flex) star to
>>transition
>> and champion to a new one (FlexJS).
>> 
>> If we lose that, then we effectively have to target against ALL
>>javascript
>> frameworks, most notably ones that are heavily entrenched already and
>> supported by giant company resources like Google and Facebook.
>> 
>> 
>> I am strongly opposed to a name change.  I think this would be a huge
>> mistake.
>> 
>> On top of that, picking a new name and gaining awareness of it is HARD.
>> 
>> It should be reason enough for the Apache powers-that-be to approve a
>> project change to avoid being stuck with a huge legacy Flex bugbase that
>> Adobe donated, and instead start fresh with our 1.0 name.
>> 
>> If that cannot be achieved, then at a bare minimum we should seek to
>>keep
>> the name FlexJS.
>> 
>> 
>> Regarding targeting something other than Javascript -- like SWF or AIR
>>-- I
>> realize the debug aspect benefits are important, but all this is going
>>to
>> do is confuse people.
>> 
>> I have read about HaXe a dozen times, and I never understand what it
>>does
>> because apparently it does too much.   A swiss army knife is a lot more
>> confusing to use then a fixed head screwdriver.
>> 
>> Please, we have spent SO much time trying to get to 1.0 -- lets get
>>FOCUSED
>> on delivering what everyone outside of the community of active
>>participants
>> here has been waiting on, which is a future direction for their Flex
>> efforts.
>> 
>> Thank you,
>> 
>> Justin Hill
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2FProminic.
>>NET&data=02%7C01%7C%7Ce3d4e33b77f840be8d2b08d4fbb5d605%7Cfa7b1b5a7b344387
>>94aed2c178decee1%7C0%7C0%7C636410205784877857&sdata=cw5LAiH6bOvULqdsdx4NL
>>GWNUawI58dy%2F4fqTI5aCaM%3D&reserved=0 | Skype: JustinProminic
>> 
>> My Apache Flex community contribution is working on the open
>> source Moonshine-IDE.com for FlexJS.
>



Re: [VOTE] Should the Project Name of the Proposed Fork be FlexJS?

2017-09-14 Thread Peter Ent
No (binding)

On 9/14/17, 11:37 AM, "Dave Fisher"  wrote:

>VOTE Should the Project Name of the Proposed Fork be FlexJS?
>
>[ ] Yes - The forked project should be Apache FlexJS.
>[ ] No - The forked project should have another name which will be
>discussed.
>[ ] Abstain - Don¹t care what the forked project is called.
>
>The vote will be open for 72 hours until Sunday September 17, 16:00 UT.
>



Re: home.apache.org

2017-09-13 Thread Peter Ent
Success! Thanks for clarifying that.
—peter

On 9/13/17, 4:12 PM, "Mark Thomas"  wrote:

>On 13/09/17 21:00, Peter Ent wrote:
>> My LDAP entry at id.apache.org has a OpenPGP Public Key Primary
>> Fingerprint set. I assume when I do sftp p...@home.apache.org it looks
>>up
>> 'pent' and sees the OpenPGP fingerprint, goes out to some key server and
>> fetches whatever it needs.
>> 
>> And after all this time I still get Permission denied. Maybe that's not
>>a
>> real PGP key. I looked up PGP for the Mac and found GPG Keychain which
>>it
>> says makes OpenPGP keys. Just very confused.
>
>OK. You are mixing up key types.
>
>The OpenPGP is typically used for signing releases and encrypting
>e-mail. It isn't used for SSH.
>
>Separately, you should also see in id.apache.org one or more "SSH Key
>(authorized keys)" line.
>
>This is the SSH public key that corresponds to your SSH private key that
>you would typically store in ~/.ssh/id_rsa
>(you can be more descriptive with the filename if you want to be)
>
>If you only have one SSH key is should 'just work'. If you have more
>than one you'll need to do some additional configuration via
>~/.ssh/config
>
>Did you remember to copy across your SSH private key from you old
>computer to your newer one? If not, you can either copy it now or create
>a new one and replace the public SSH key stored at id.a.o
>
>HTH,
>
>Mark
>
>
>> 
>> —peter
>> 
>> On 9/13/17, 3:15 PM, "Mark Thomas"  wrote:
>> 
>>> On 13/09/17 19:27, Peter Ent wrote:
>>>> Thanks, Mark.
>>>>
>>>> I think I've done all the right stuff. As I started to do it, I began
>>>>to
>>>> remember doing it once before for SSH. I've been waiting awhile and
>>>> still
>>>> get permission denied, so I'll just keep waiting. I'm pretty sure I
>>>>sent
>>>> my key to a public key server. I'll go out for coffee and I hope it
>>>> works
>>>> when I get back.
>>>
>>> That sounds like you might be mixing up OpenPGP release keys and SSH
>>> keys. Anyway...
>>>
>>> I've checked your LDAP record and you do have a public SSH key
>>> configured. If it doesn't work when you try again let me know the time
>>> (UTC) and IP address (send it privately if you have privacy concerns)
>>> and I'll check the logs.
>>>
>>> Mark
>>>
>>>
>>>>
>>>> —peter
>>>>
>>>> On 9/13/17, 1:22 PM, "Mark Thomas"  wrote:
>>>>
>>>>> On 13/09/2017 18:05, Peter Ent wrote:
>>>>>> I get permission denied (public key). I remember having to set up
>>>>>> something for the old people site (I think) and have been trying to
>>>>>> hunt
>>>>>> down the instructions.
>>>>>
>>>>> You should be able to set up your key through id.apache.org
>>>>>
>>>>> You then need to allow enough time (I think it is about an hour) for
>>>>> the
>>>>> public key to sync to the servers you have access to. Then you should
>>>>> be
>>>>> able to sftp to home.a.o.
>>>>>
>>>>> Mark
>>>>>
>>>>>
>>>>>>
>>>>>> ‹peter
>>>>>>
>>>>>> On 9/13/17, 12:49 PM, "Alex Harui"  wrote:
>>>>>>
>>>>>>> Should just be:
>>>>>>>  sftp home.apache.org
>>>>>>>
>>>>>>> Hope you remember your passphrase.
>>>>>>>
>>>>>>> -Alex
>>>>>>>
>>>>>>> On 9/13/17, 9:16 AM, "Peter Ent"  wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Does anyone have the instructions on how to set up access to your
>>>>>>>> home.apache.org space? I've looked on the apache.org site and all
>>>>>>>>I
>>>>>>>> can
>>>>>>>> find are instructions about the old people.apache.org. I guess I
>>>>>>>> haven't
>>>>>>>> accessed my home.apache.org since I set up my newer computer.
>>>>>>>>
>>>>>>>> I'm going to update my ASDocs info to point to our FlexJS ASDocs
>>>>>>>>app
>>>>>>>> page
>>>>>>>> since Google is pointing to my old ASDoc and it needs to be more
>>>>>>>> current.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>> Peter
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>> 
>



Re: home.apache.org

2017-09-13 Thread Peter Ent
Ah, OK. Somewhere I mixed up SSH with SFTP and thinking that SFTP required
PGP. I'll delete the PGP and redo the SSH private key.
—peter

On 9/13/17, 4:12 PM, "Mark Thomas"  wrote:

>On 13/09/17 21:00, Peter Ent wrote:
>> My LDAP entry at id.apache.org has a OpenPGP Public Key Primary
>> Fingerprint set. I assume when I do sftp p...@home.apache.org it looks
>>up
>> 'pent' and sees the OpenPGP fingerprint, goes out to some key server and
>> fetches whatever it needs.
>> 
>> And after all this time I still get Permission denied. Maybe that's not
>>a
>> real PGP key. I looked up PGP for the Mac and found GPG Keychain which
>>it
>> says makes OpenPGP keys. Just very confused.
>
>OK. You are mixing up key types.
>
>The OpenPGP is typically used for signing releases and encrypting
>e-mail. It isn't used for SSH.
>
>Separately, you should also see in id.apache.org one or more "SSH Key
>(authorized keys)" line.
>
>This is the SSH public key that corresponds to your SSH private key that
>you would typically store in ~/.ssh/id_rsa
>(you can be more descriptive with the filename if you want to be)
>
>If you only have one SSH key is should 'just work'. If you have more
>than one you'll need to do some additional configuration via
>~/.ssh/config
>
>Did you remember to copy across your SSH private key from you old
>computer to your newer one? If not, you can either copy it now or create
>a new one and replace the public SSH key stored at id.a.o
>
>HTH,
>
>Mark
>
>
>> 
>> —peter
>> 
>> On 9/13/17, 3:15 PM, "Mark Thomas"  wrote:
>> 
>>> On 13/09/17 19:27, Peter Ent wrote:
>>>> Thanks, Mark.
>>>>
>>>> I think I've done all the right stuff. As I started to do it, I began
>>>>to
>>>> remember doing it once before for SSH. I've been waiting awhile and
>>>> still
>>>> get permission denied, so I'll just keep waiting. I'm pretty sure I
>>>>sent
>>>> my key to a public key server. I'll go out for coffee and I hope it
>>>> works
>>>> when I get back.
>>>
>>> That sounds like you might be mixing up OpenPGP release keys and SSH
>>> keys. Anyway...
>>>
>>> I've checked your LDAP record and you do have a public SSH key
>>> configured. If it doesn't work when you try again let me know the time
>>> (UTC) and IP address (send it privately if you have privacy concerns)
>>> and I'll check the logs.
>>>
>>> Mark
>>>
>>>
>>>>
>>>> —peter
>>>>
>>>> On 9/13/17, 1:22 PM, "Mark Thomas"  wrote:
>>>>
>>>>> On 13/09/2017 18:05, Peter Ent wrote:
>>>>>> I get permission denied (public key). I remember having to set up
>>>>>> something for the old people site (I think) and have been trying to
>>>>>> hunt
>>>>>> down the instructions.
>>>>>
>>>>> You should be able to set up your key through id.apache.org
>>>>>
>>>>> You then need to allow enough time (I think it is about an hour) for
>>>>> the
>>>>> public key to sync to the servers you have access to. Then you should
>>>>> be
>>>>> able to sftp to home.a.o.
>>>>>
>>>>> Mark
>>>>>
>>>>>
>>>>>>
>>>>>> ‹peter
>>>>>>
>>>>>> On 9/13/17, 12:49 PM, "Alex Harui"  wrote:
>>>>>>
>>>>>>> Should just be:
>>>>>>>  sftp home.apache.org
>>>>>>>
>>>>>>> Hope you remember your passphrase.
>>>>>>>
>>>>>>> -Alex
>>>>>>>
>>>>>>> On 9/13/17, 9:16 AM, "Peter Ent"  wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Does anyone have the instructions on how to set up access to your
>>>>>>>> home.apache.org space? I've looked on the apache.org site and all
>>>>>>>>I
>>>>>>>> can
>>>>>>>> find are instructions about the old people.apache.org. I guess I
>>>>>>>> haven't
>>>>>>>> accessed my home.apache.org since I set up my newer computer.
>>>>>>>>
>>>>>>>> I'm going to update my ASDocs info to point to our FlexJS ASDocs
>>>>>>>>app
>>>>>>>> page
>>>>>>>> since Google is pointing to my old ASDoc and it needs to be more
>>>>>>>> current.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>> Peter
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>> 
>



Re: [DISCUSS] Name of the FlexJS Fork

2017-09-13 Thread Peter Ent
Let's say we change the Apache PROJECT name to something else that's a bit
more generic and without the JS.

I think its important that people who have Flex apps be able to do a
Google search and find our new project and on that project's main page we
have a statement about Apache Flex and the purpose of this new project.

Then I don't think we need to continue with "Flex" in the name as long as
the project is findable using "Flex" as a search key.

‹peter

On 9/13/17, 3:40 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
 wrote:

>On Wed, Sep 13, 2017 at 11:30 AM, Alex Harui 
>wrote:
>
>> I believe those who say that trying to sell Flex or FlexJS to a client
>>is
>> difficult.
>>
>
>Not just to a client, but also for example, co-workers or managers.
>
>
>>
>> I don't have hard data to back this, but I've always felt that there are
>> two kinds of Flex customers.  One set builds their own applications and
>> thus can choose their own development technologies.  Another set builds
>> applications for other people and have to complete against other
>> candidates wanting to build those same applications.
>>
>> I believe the first set have Flex apps that need to migrate to something
>> else by 2020.  I'm surprised there isn't more noise on our lists, but I
>> think I'm seeing an increase in interest on our lists.  IMO, these are
>>the
>> customers it will be easier for us to win over since they have an
>>existing
>> code base in ActionScript and already buy into the fundamentals of Flex.
>> I think there will be enough of these customers to keep us busy
>>polishing
>> the components.
>>
>
>Unless these customers have never heard about FlexJS.  Or they heard about
>it and assumed it was just some Flex-something that is Flash based.
>Or folks have already started to move to React or Angular.  Anything that
>is called Flex-something gets filtered out in discussions.
>
>
>
>>
>> But I think the only question we want answered before the board meeting
>>is
>> whether the project name FlexJS is going to make it hard to build a
>>brand
>> with a different name to considered against the other JS frameworks.  I
>> think it won't.  Carlos and Om, I feel like you haven't answered the
>> question about PROJECT name.  I don't think there is anybody saying we
>> shouldn't build a different brand on a different PRODUCT name later.  Do
>> you feel like the PROJECT name of FlexJS is going to be a hindrance, and
>> why?
>>
>
>Yes, because to people not in the know, if we say we are Apache FlexJS
>Bend
>for example, they hear Flex-something and will get confused.
>
>Unless we market it as Apache Bend.  Is that what you mean?
>
>Thanks,
>Om
>
>
>>
>> Thanks,
>> -Alex
>>
>> On 9/13/17, 10:57 AM, "omup...@gmail.com on behalf of OmPrakash
>>Muppirala"
>>  wrote:
>>
>> >On Sep 13, 2017 9:39 AM, "Yishay Weiss"  wrote:
>> >
>> >My main concern was with the JS suffix. If we can create new products
>> >without the JS suffix that¹s fine with me.
>> >
>> >On the other hand, if Carlos or someone else feels passionate about a
>>name
>> >change and volunteers to deal with the overhead I wouldn¹t go against
>>it.
>> >
>> >
>> >I agree with Carlos.  Bringing in the word Flex-something into a
>> >conversation with peers is proving to be hard.
>> >
>> >If anything, a new name would bring a fresh perspective on this
>>wonderful
>> >technology.
>> >
>> >I volunteer to help out with the branding as much as I can.
>> >
>> >Thanks,
>> >Om
>> >
>> >
>> >
>> >From: Alex Harui
>> >Sent: Wednesday, September 13, 2017 6:33 PM
>> >To: dev@flex.apache.org
>> >Subject: Re: [DISCUSS] Name of the FlexJS Fork
>> >
>> >Actually, my question was whether the PROJECT name is more or less
>> >important than the PRODUCT name.  Mostly, the board/infra doesn't want
>>us
>> >to change the PROJECT name.  Infra replied that we can create PRODUCTs
>> >with names that do not match the PROJECT name.
>> >
>> >So, could we live with the PROJECT being called FlexJS forever?  If we
>> >think we can target a different group of customers with a different
>> >PRODUCT name we can discuss what that name is later.  Now AIUI, if we
>>do
>> >stick with FlexJS as the PROJECT, and later decide to create a PRODUCT
>> >called Foo, I think somewhere on web pages for Foo it will link back
>> >eventually to our source repositories and other pages that have the
>> >PROJECT name "FlexJS" on it and people might go "Huh, I didn't know
>>that
>> >Foo was based on FlexJS".  But will they run away?
>> >
>> >I buy lots of foods with brand names that I have no idea who the actual
>> >manufacturer is.  In the US, a fancy brand of cookies (Pepperidge
>>Farm) is
>> >manufactured by the same company that makes cheap condensed soup
>> >(Campbells).  A popular salad dressing is made by a well-known bleach
>> >company (Clorox).  So, I agree with Carlos that it might be worth
>>building
>> >a whole new brand without the word Flex in it, but I th

Re: home.apache.org

2017-09-13 Thread Peter Ent
My LDAP entry at id.apache.org has a OpenPGP Public Key Primary
Fingerprint set. I assume when I do sftp p...@home.apache.org it looks up
'pent' and sees the OpenPGP fingerprint, goes out to some key server and
fetches whatever it needs.

And after all this time I still get Permission denied. Maybe that's not a
real PGP key. I looked up PGP for the Mac and found GPG Keychain which it
says makes OpenPGP keys. Just very confused.

—peter

On 9/13/17, 3:15 PM, "Mark Thomas"  wrote:

>On 13/09/17 19:27, Peter Ent wrote:
>> Thanks, Mark.
>> 
>> I think I've done all the right stuff. As I started to do it, I began to
>> remember doing it once before for SSH. I've been waiting awhile and
>>still
>> get permission denied, so I'll just keep waiting. I'm pretty sure I sent
>> my key to a public key server. I'll go out for coffee and I hope it
>>works
>> when I get back.
>
>That sounds like you might be mixing up OpenPGP release keys and SSH
>keys. Anyway...
>
>I've checked your LDAP record and you do have a public SSH key
>configured. If it doesn't work when you try again let me know the time
>(UTC) and IP address (send it privately if you have privacy concerns)
>and I'll check the logs.
>
>Mark
>
>
>> 
>> —peter
>> 
>> On 9/13/17, 1:22 PM, "Mark Thomas"  wrote:
>> 
>>> On 13/09/2017 18:05, Peter Ent wrote:
>>>> I get permission denied (public key). I remember having to set up
>>>> something for the old people site (I think) and have been trying to
>>>>hunt
>>>> down the instructions.
>>>
>>> You should be able to set up your key through id.apache.org
>>>
>>> You then need to allow enough time (I think it is about an hour) for
>>>the
>>> public key to sync to the servers you have access to. Then you should
>>>be
>>> able to sftp to home.a.o.
>>>
>>> Mark
>>>
>>>
>>>>
>>>> ‹peter
>>>>
>>>> On 9/13/17, 12:49 PM, "Alex Harui"  wrote:
>>>>
>>>>> Should just be:
>>>>>  sftp home.apache.org
>>>>>
>>>>> Hope you remember your passphrase.
>>>>>
>>>>> -Alex
>>>>>
>>>>> On 9/13/17, 9:16 AM, "Peter Ent"  wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Does anyone have the instructions on how to set up access to your
>>>>>> home.apache.org space? I've looked on the apache.org site and all I
>>>>>> can
>>>>>> find are instructions about the old people.apache.org. I guess I
>>>>>> haven't
>>>>>> accessed my home.apache.org since I set up my newer computer.
>>>>>>
>>>>>> I'm going to update my ASDocs info to point to our FlexJS ASDocs app
>>>>>> page
>>>>>> since Google is pointing to my old ASDoc and it needs to be more
>>>>>> current.
>>>>>>
>>>>>> Thanks.
>>>>>> Peter
>>>>>
>>>>
>>>
>> 
>



Re: home.apache.org

2017-09-13 Thread Peter Ent
Thanks, Mark.

I think I've done all the right stuff. As I started to do it, I began to
remember doing it once before for SSH. I've been waiting awhile and still
get permission denied, so I'll just keep waiting. I'm pretty sure I sent
my key to a public key server. I'll go out for coffee and I hope it works
when I get back.

—peter

On 9/13/17, 1:22 PM, "Mark Thomas"  wrote:

>On 13/09/2017 18:05, Peter Ent wrote:
>> I get permission denied (public key). I remember having to set up
>> something for the old people site (I think) and have been trying to hunt
>> down the instructions.
>
>You should be able to set up your key through id.apache.org
>
>You then need to allow enough time (I think it is about an hour) for the
>public key to sync to the servers you have access to. Then you should be
>able to sftp to home.a.o.
>
>Mark
>
>
>> 
>> ‹peter
>> 
>> On 9/13/17, 12:49 PM, "Alex Harui"  wrote:
>> 
>>> Should just be:
>>>  sftp home.apache.org
>>>
>>> Hope you remember your passphrase.
>>>
>>> -Alex
>>>
>>> On 9/13/17, 9:16 AM, "Peter Ent"  wrote:
>>>
>>>> Hi,
>>>>
>>>> Does anyone have the instructions on how to set up access to your
>>>> home.apache.org space? I've looked on the apache.org site and all I
>>>>can
>>>> find are instructions about the old people.apache.org. I guess I
>>>>haven't
>>>> accessed my home.apache.org since I set up my newer computer.
>>>>
>>>> I'm going to update my ASDocs info to point to our FlexJS ASDocs app
>>>>page
>>>> since Google is pointing to my old ASDoc and it needs to be more
>>>>current.
>>>>
>>>> Thanks.
>>>> Peter
>>>
>> 
>



Re: home.apache.org

2017-09-13 Thread Peter Ent
I get permission denied (public key). I remember having to set up
something for the old people site (I think) and have been trying to hunt
down the instructions.

‹peter

On 9/13/17, 12:49 PM, "Alex Harui"  wrote:

>Should just be:
>  sftp home.apache.org
>
>Hope you remember your passphrase.
>
>-Alex
>
>On 9/13/17, 9:16 AM, "Peter Ent"  wrote:
>
>>Hi,
>>
>>Does anyone have the instructions on how to set up access to your
>>home.apache.org space? I've looked on the apache.org site and all I can
>>find are instructions about the old people.apache.org. I guess I haven't
>>accessed my home.apache.org since I set up my newer computer.
>>
>>I'm going to update my ASDocs info to point to our FlexJS ASDocs app page
>>since Google is pointing to my old ASDoc and it needs to be more current.
>>
>>Thanks.
>>Peter
>



home.apache.org

2017-09-13 Thread Peter Ent
Hi,

Does anyone have the instructions on how to set up access to your 
home.apache.org space? I've looked on the apache.org site and all I can find 
are instructions about the old people.apache.org. I guess I haven't accessed my 
home.apache.org since I set up my newer computer.

I'm going to update my ASDocs info to point to our FlexJS ASDocs app page since 
Google is pointing to my old ASDoc and it needs to be more current.

Thanks.
Peter


Re: Build failed in Jenkins: flex-asjs #2539

2017-09-03 Thread Peter Ent
Ah - I completely missed setting that one up. I was so absorbed with the
SWF side and its config that I forget that I also had to set the JS side
dependency.

Thanks so much, Harbs!
—peter

On 9/3/17, 8:00 AM, "Harbs"  wrote:

>There was a missing dependency on DragDropJS.
>
>I just committed a fix for that.
>
>Harbs
>
>> On Sep 3, 2017, at 2:55 PM, Peter Ent  wrote:
>> 
>> Thanks for helping me. I don't see anything wrong on my end. The problem
>> seems to be with the JS side building ExpessJS but I don't see there is
>> anything in the DragDrop project that prevents DragDropJS.swc from
>>having
>> the right things in it.
>> 
>> Maybe I just just pull the drag-drop stuff I added to Express and try
>>and
>> sort this out.
>> 
>> Thank you so much.
>> —peter
>> 
>> 
>> On 9/3/17, 7:16 AM, "Piotr Zarzycki"  wrote:
>> 
>>> This stack trace [1] seems to be related to Drag and Drop, but If I
>>>miss
>>> something sorry about that.
>>> 
>>> [1] 
>>> 
>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.a
>>>pa
>>> 
>>>che.org%2FllyY&data=02%7C01%7C%7C440bfe3a1e55479f3b5008d4f2bd5a06%7Cfa7b
>>>1b
>>> 
>>>5a7b34438794aed2c178decee1%7C0%7C0%7C636400342465482556&sdata=BqK2avxwMl
>>>mN
>>> WXKd4foDK4X9DGZGA%2F8omG90%2FlTPEJY%3D&reserved=0
>>> 
>>> Thanks, Piotr
>>> 
>>> 2017-09-03 13:11 GMT+02:00 Peter Ent :
>>> 
>>>> As far as I can tell I merged it. I'm not seeing anything missing from
>>>> my
>>>> end. Does it look like I messed up the merge?
>>>> ‹peter
>>>> 
>>>> On 9/3/17, 6:58 AM, "Piotr Zarzycki" 
>>>>wrote:
>>>> 
>>>>> Hi Peter,
>>>>> 
>>>>> Does Drag and Drop branch was merged into develop ?
>>>>> 
>>>>> Thanks,
>>>>> Piotr
>>>>> 
>>>>> 2017-09-03 11:55 GMT+02:00 :
>>>>> 
>>>>>> See
>>>>>> <https://na01.safelinks.protection.outlook.com/?url=
>>>> http%3A%2F%2Fapachefl
>>>>>> exbuild.cloudapp.net%3A8080%2Fjob%2Fflex-asjs%2F2539%
>>>> 2Fchanges&data=02%7C
>>>> 
>>>>>> 
>>>>>>01%7C%7Cc724a3bb6d9e4e09c1c208d4f2bac556%7Cfa7b1b5a7b34438794aed2c178
>>>>>>de
>>>> ce
>>>>>> e1%7C0%7C0%7C636400331377443703&sdata=D58FAYDKNEzmG4EV1%
>>>> 2FBjeV8d4YXnAd%2B
>>>>>> ZZ0wD1ekktfA%3D&reserved=0>
>>>>>> 
>>>>>> Changes:
>>>>>> 
>>>>>> [harbs] ClippingViewport was deprecated
>>>>>> 
>>>>>> --
>>>>>> [...truncated 8423 lines...]
>>>>>> [echo] FALCONJX_HOME: <http://apacheflexbuild.
>>>>>> cloudapp.net:8080/job/flex-asjs/ws/../flex-falcon/compiler-jx>
>>>>>>[mkdir] Created dir: <http://apacheflexbuild.
>>>>>> cloudapp.net:8080/job/flex-asjs/ws/frameworks/js/FlexJS/
>>>>>> projects/FontAwesomeJS/target/generated-sources/flexjs>
>>>>>> [java] args:
>>>>>> [java]
>>>> 
>>>>>> 
>>>>>>+flexlib=<https://na01.safelinks.protection.outlook.com/?url=https%3A
>>>>>>%2
>>>>>> 
>>>>>>F%2Fna01.safelinks.protection.outlook&data=02%7C01%7C%7C440bfe3a1e554
>>>>>>79
>>>>>> 
>>>>>>f3b5008d4f2bd5a06%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636400
>>>>>>34
>>>>>> 
>>>>>>2465482556&sdata=k6u4mI0IbQpp0vQooGBQmPCE%2BDt8BzbaWt9GSux5RT0%3D&res
>>>>>>er
>>>>>> ved=0.
>>>> com/?url=http%3A%2F%2
>>>>>> Fapacheflexbuild.cloudapp.net&data=02%7C01%7C%
>>>> 7Cc724a3bb6d9e4e09c1c208d4f
>>>>>> 2bac556%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>>> 7C636400331377443703&s
>>>>>> data=b6sQLyDUQ0tluuqdNEFyROaZ%2B2zlPqvgowtlQtbsgMc%3D&reserved=0:
>>>>>> 8080/job/flex-asjs/ws/frameworks>
>>>>>> [java] -compiler.strict-xml=true
>>>>>> [java] -compiler.targets=SWF,JSFlex
>>>>>> [java]
&g

Re: Build failed in Jenkins: flex-asjs #2539

2017-09-03 Thread Peter Ent
Thanks for helping me. I don't see anything wrong on my end. The problem
seems to be with the JS side building ExpessJS but I don't see there is
anything in the DragDrop project that prevents DragDropJS.swc from having
the right things in it.

Maybe I just just pull the drag-drop stuff I added to Express and try and
sort this out.

Thank you so much.
—peter


On 9/3/17, 7:16 AM, "Piotr Zarzycki"  wrote:

>This stack trace [1] seems to be related to Drag and Drop, but If I miss
>something sorry about that.
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FllyY&data=02%7C01%7C%7C440bfe3a1e55479f3b5008d4f2bd5a06%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636400342465482556&sdata=BqK2avxwMlmN
>WXKd4foDK4X9DGZGA%2F8omG90%2FlTPEJY%3D&reserved=0
>
>Thanks, Piotr
>
>2017-09-03 13:11 GMT+02:00 Peter Ent :
>
>> As far as I can tell I merged it. I'm not seeing anything missing from
>>my
>> end. Does it look like I messed up the merge?
>> ‹peter
>>
>> On 9/3/17, 6:58 AM, "Piotr Zarzycki"  wrote:
>>
>> >Hi Peter,
>> >
>> >Does Drag and Drop branch was merged into develop ?
>> >
>> >Thanks,
>> >Piotr
>> >
>> >2017-09-03 11:55 GMT+02:00 :
>> >
>> >> See
>> >><https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapachefl
>> >>exbuild.cloudapp.net%3A8080%2Fjob%2Fflex-asjs%2F2539%
>> 2Fchanges&data=02%7C
>> 
>>>>01%7C%7Cc724a3bb6d9e4e09c1c208d4f2bac556%7Cfa7b1b5a7b34438794aed2c178de
>> ce
>> >>e1%7C0%7C0%7C636400331377443703&sdata=D58FAYDKNEzmG4EV1%
>> 2FBjeV8d4YXnAd%2B
>> >>ZZ0wD1ekktfA%3D&reserved=0>
>> >>
>> >> Changes:
>> >>
>> >> [harbs] ClippingViewport was deprecated
>> >>
>> >> --
>> >> [...truncated 8423 lines...]
>> >>  [echo] FALCONJX_HOME: <http://apacheflexbuild.
>> >> cloudapp.net:8080/job/flex-asjs/ws/../flex-falcon/compiler-jx>
>> >> [mkdir] Created dir: <http://apacheflexbuild.
>> >> cloudapp.net:8080/job/flex-asjs/ws/frameworks/js/FlexJS/
>> >> projects/FontAwesomeJS/target/generated-sources/flexjs>
>> >>  [java] args:
>> >>  [java]
>> 
>>>>+flexlib=<https://na01.safelinks.protection.outlook.com/?url=https%3A%2
>>>>F%2Fna01.safelinks.protection.outlook&data=02%7C01%7C%7C440bfe3a1e55479
>>>>f3b5008d4f2bd5a06%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63640034
>>>>2465482556&sdata=k6u4mI0IbQpp0vQooGBQmPCE%2BDt8BzbaWt9GSux5RT0%3D&reser
>>>>ved=0.
>> com/?url=http%3A%2F%2
>> >>Fapacheflexbuild.cloudapp.net&data=02%7C01%7C%
>> 7Cc724a3bb6d9e4e09c1c208d4f
>> >>2bac556%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> 7C636400331377443703&s
>> >>data=b6sQLyDUQ0tluuqdNEFyROaZ%2B2zlPqvgowtlQtbsgMc%3D&reserved=0:
>> >> 8080/job/flex-asjs/ws/frameworks>
>> >>  [java] -compiler.strict-xml=true
>> >>  [java] -compiler.targets=SWF,JSFlex
>> >>  [java]
>> 
>>>>-output=<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F
>>>>%2Fna01.safelinks.protection.outlook&data=02%7C01%7C%7C440bfe3a1e55479f
>>>>3b5008d4f2bd5a06%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636400342
>>>>465482556&sdata=k6u4mI0IbQpp0vQooGBQmPCE%2BDt8BzbaWt9GSux5RT0%3D&reserv
>>>>ed=0.
>> com/?url=http%3A%2F%2F
>> >>apacheflexbuild.cloudapp.net&data=02%7C01%7C%
>> 7Cc724a3bb6d9e4e09c1c208d4f2
>> >>bac556%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> 7C636400331377443703&sd
>> >>ata=b6sQLyDUQ0tluuqdNEFyROaZ%2B2zlPqvgowtlQtbsgMc%3D&reserved=0:
>> >>
>> >>8080/job/flex-asjs/ws/frameworks/js/FlexJS/projects/
>> FontAwesomeJS/target/
>> >> FontAwesomeJS.swc>
>> >>  [java]
>> 
>>>>-load-config=<https://na01.safelinks.protection.outlook.com/?url=https%
>>>>3A%2F%2Fna01.safelinks.protection.outlook&data=02%7C01%7C%7C440bfe3a1e5
>>>>5479f3b5008d4f2bd5a06%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364
>>>>00342465482556&sdata=k6u4mI0IbQpp0vQooGBQmPCE%2BDt8BzbaWt9GSux5RT0%3D&r
>>>>eserved=0.
>> com/?url=http%3A%
>> >>2F%2Fapacheflexbuild.cloudapp.net&data=02%7C01%7C%
>> 7Cc724a3bb6d9e4e09c1c20
>> >&g

Re: Build failed in Jenkins: flex-asjs #2539

2017-09-03 Thread Peter Ent
As far as I can tell I merged it. I'm not seeing anything missing from my
end. Does it look like I messed up the merge?
‹peter

On 9/3/17, 6:58 AM, "Piotr Zarzycki"  wrote:

>Hi Peter,
>
>Does Drag and Drop branch was merged into develop ?
>
>Thanks,
>Piotr
>
>2017-09-03 11:55 GMT+02:00 :
>
>> See 
>>>exbuild.cloudapp.net%3A8080%2Fjob%2Fflex-asjs%2F2539%2Fchanges&data=02%7C
>>01%7C%7Cc724a3bb6d9e4e09c1c208d4f2bac556%7Cfa7b1b5a7b34438794aed2c178dece
>>e1%7C0%7C0%7C636400331377443703&sdata=D58FAYDKNEzmG4EV1%2FBjeV8d4YXnAd%2B
>>ZZ0wD1ekktfA%3D&reserved=0>
>>
>> Changes:
>>
>> [harbs] ClippingViewport was deprecated
>>
>> --
>> [...truncated 8423 lines...]
>>  [echo] FALCONJX_HOME: > cloudapp.net:8080/job/flex-asjs/ws/../flex-falcon/compiler-jx>
>> [mkdir] Created dir: > cloudapp.net:8080/job/flex-asjs/ws/frameworks/js/FlexJS/
>> projects/FontAwesomeJS/target/generated-sources/flexjs>
>>  [java] args:
>>  [java] 
>>+flexlib=>Fapacheflexbuild.cloudapp.net&data=02%7C01%7C%7Cc724a3bb6d9e4e09c1c208d4f
>>2bac556%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636400331377443703&s
>>data=b6sQLyDUQ0tluuqdNEFyROaZ%2B2zlPqvgowtlQtbsgMc%3D&reserved=0:
>> 8080/job/flex-asjs/ws/frameworks>
>>  [java] -compiler.strict-xml=true
>>  [java] -compiler.targets=SWF,JSFlex
>>  [java] 
>>-output=>apacheflexbuild.cloudapp.net&data=02%7C01%7C%7Cc724a3bb6d9e4e09c1c208d4f2
>>bac556%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636400331377443703&sd
>>ata=b6sQLyDUQ0tluuqdNEFyROaZ%2B2zlPqvgowtlQtbsgMc%3D&reserved=0:
>> 
>>8080/job/flex-asjs/ws/frameworks/js/FlexJS/projects/FontAwesomeJS/target/
>> FontAwesomeJS.swc>
>>  [java] 
>>-load-config=>2F%2Fapacheflexbuild.cloudapp.net&data=02%7C01%7C%7Cc724a3bb6d9e4e09c1c20
>>8d4f2bac556%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364003313774437
>>03&sdata=b6sQLyDUQ0tluuqdNEFyROaZ%2B2zlPqvgowtlQtbsgMc%3D&reserved=0:
>> 8080/job/flex-asjs/ws/frameworks/js-config.xml>
>>  [java] 
>>-load-config+=>%2F%2Fapacheflexbuild.cloudapp.net&data=02%7C01%7C%7Cc724a3bb6d9e4e09c1c2
>>08d4f2bac556%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636400331377443
>>703&sdata=b6sQLyDUQ0tluuqdNEFyROaZ%2B2zlPqvgowtlQtbsgMc%3D&reserved=0:
>> 8080/job/flex-asjs/ws/frameworks/js/FlexJS/projects/
>> FontAwesomeJS/src/main/config/compile-js-config.xml>
>>  [java] target:SWF
>>  [java] target:JSFlex
>>  [java] COMPC
>>  [java] Loading configuration: > cloudapp.net:8080/job/flex-asjs/ws/frameworks/js-config.xml>
>>  [java] Loading configuration: > cloudapp.net:8080/job/flex-asjs/ws/frameworks/js/FlexJS/
>> projects/FontAwesomeJS/src/main/config/compile-js-config.xml>
>>  [java]
>>  [java] 79146 bytes written to C:\Jenkins\workspace\flex-
>> 
>>asjs\frameworks\js\FlexJS\projects\FontAwesomeJS\target\FontAwesomeJS.swc
>> in 16.566 seconds
>>  [java] COMPCJSCFlex
>>  [java] Copy library.swf
>>  [java] Copy defaults.css
>>  [java] Compiling file: org.apache.flex.fa.FontAwesomeIconRotation
>>  [java] Writing file: js\out\org\apache\flex\fa\
>> FontAwesomeIconRotation.js
>>  [java] Compiling file: org.apache.flex.fa.beads.Animate
>>  [java] Writing file: js\out\org\apache\flex\fa\beads\Animate.js
>>  [java] Compiling file: org.apache.flex.fa.FontAwesomeIconSize
>>  [java] Writing file:
>>js\out\org\apache\flex\fa\FontAwesomeIconSize.js
>>  [java] Compiling file: org.apache.flex.fa.FontAwesomeIcon
>>  [java] Writing file: js\out\org\apache\flex\fa\FontAwesomeIcon.js
>>  [java] Compiling file: FAClasses
>>  [java] Writing file: js\out\FAClasses.js
>>  [java] Compiling file: org.apache.flex.fa.FontAwesomeIconType
>>  [java] Writing file:
>>js\out\org\apache\flex\fa\FontAwesomeIconType.js
>>  [java] 33.1862789 seconds
>>  [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>  [copy] Copying 1 file to > cloudapp.net:8080/job/flex-asjs/ws/frameworks/js/FlexJS/libs>
>>
>> main:
>>
>> copy-swc:
>>  [copy] Copying 1 file to > cloudapp.net:8080/job/flex-asjs/ws/frameworks/libs>
>>
>> check-for-tests:
>>
>> test:
>>
>> main:
>>
>> Express:
>>
>> clean:
>>
>> check-for-tests:
>>
>> clean-tests:
>>
>> check-falcon-home:
>>
>> check-falconjx-home:
>>
>> check-compiler:
>>
>> compile:
>>  [echo] Compiling libs/Express.swc
>>  [echo] FLEX_HOME:
>>>exbuild.cloudapp.net%3A8080%2Fjob%2Fflex-&data=02%7C01%7C%7C

Re: [VOTE] Fork FlexJS from Apache Flex

2017-09-01 Thread Peter Ent
+1 (Binding)

Peter Ent
Adobe Systems

On 9/1/17, 6:08 AM, "Christofer Dutz"  wrote:

>-1 (Binding)
>
>As I mentioned, I cannot support this proposal as is as I was excluded
>from the PMC of the Fork.
>
>Chris
>
>On 2017-09-01 08:28, Alex Harui  wrote:
>> Hi folks,
>> 
>> Here is the vote thread.  Please vote on whether to submit the proposal
>> below to the board.  Please use +1 for yes, -1 for no, and if you want,
>> any number in-between per [1].  Only PMC member votes will be used to
>> determine the results, but we are more than happy to hear from non-PMC
>> members as well.
>> 
>> [1] 
>> 
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.apac
>>he.org%2Ffoundation%2Fvoting.html%23expressing-votes-1-0-1-and-fr&data=02
>>%7C01%7C%7C5dd4777434ed403611ee08d4f1216a59%7Cfa7b1b5a7b34438794aed2c178d
>>ecee1%7C0%7C0%7C636398573211692953&sdata=mXv73ODe8jVAjKrcVT6n%2FVgBBJWUcx
>>%2F%2FVSMpia%2B5DUw%3D&reserved=0
>> actions
>> 
>> Thanks,
>> -Alex
>> 
>>  Proposal ---
>> 
>> Apache FlexJS for Apache Top-Level Project
>> 
>> Abstract
>> 
>> Apache FlexJS is a new implementation of the principles of Apache Flex
>>but
>> designed for JavaScript runtimes instead of Adobe Flash/AIR runtimes.
>> Apache FlexJS was created and released as part of the Apache Flex
>>project
>> and the UI framework is a full rewrite and does not leverage the code
>> bases donated by Adobe.  Only the FlexJS compiler source was donated by
>> Adobe.
>> 
>> Over time, the set of Apache Flex committers who are working on Apache
>> Flex releases have become distinct from those working on FlexJS.  Add to
>> that the Adobe announcement of the end-of-life for Flash in the browser,
>> it makes sense to separate FlexJS from Flex so that followers of one
>>side
>> or the other don't have to filter out emails, bugs, web pages, etc, that
>> they don't need.
>> 
>> The proposal is to form an Apache FlexJS top-level project instead of
>> creating a new Incubator Podling.   That is because all but one of the
>> folks being proposed to the new Apache FlexJS PMC below have been on the
>> Apache Flex PMC for months, if not years, and understand how to
>> participate productively in an Apache project.  Plus, Apache FlexJS has
>> already been released by the top-level Apache Flex project.
>> 
>> Overview of FlexJS
>> 
>> Apache FlexJS is designed to improve developer productivity in creating
>> applications for wherever Javascript runs, including browsers as well as
>> Apache Cordova applications, Node, etc.  FlexJS already has an ecosystem
>> of folks creating IDEs for FlexJS, and some folks are at various points
>>in
>> the process of migrating existing Flex applications to FlexJS.
>> 
>> Current Status
>> 
>> Meritocracy
>> 
>> Within Apache Flex, the FlexJS development has been conducted as a
>> meritocracy.  No existing FlexJS developers came with the compiler code
>> base donated by Adobe nor were they on the initial committers list for
>> Apache Flex other than Alex Harui.  Everyone else has earned their way
>>in
>> by contributing and earning merit.
>> 
>> Community
>> 
>> Many FlexJS users are trying to migrate an existing Apache Flex app off
>>of
>> Adobe Flash.  As their migration progresses they will become less and
>>less
>> interested in Apache Flex releases and activity.  However, the Apache
>>Flex
>> JIRA project contains some  30,000 Flex issues migrated from Adobe's bug
>> base, and the team page for Flex makes it hard to determine which
>> committers are active on FlexJS, and it is frequently hard to determine
>>if
>> a user's question is about regular Flex or FlexJS.   We are seeing an
>> increase in user interest with the Flash end-of-life announcement and
>> having separate mailing lists, web pages, and JIRA projects will help
>>save
>> everyone time and energy.
>> 
>> Alignment
>> 
>> Apache FlexJS is already being released by Apache.
>> 
>> Known Risks
>> 
>> Code Extraction
>> 
>> The flex-asjs, flex-tours, flex-typedefs, and flex-falcon Git repos
>>would
>> be migrated to GitBox.  Other Apache Flex repos would be treated as
>> external dependencies.  This includes flex-utilities and the Apache Flex
>> Installer.
>> 
>> Orphaned Projects
>> 
>> Most FlexJS PMC members are planning to remain on the Apache Flex PMC t

Re: [FlexJS] Finding (x,y) position

2017-08-30 Thread Peter Ent
I'm trying to draw a drop indicator above the row in the DataGrid where
new data would be inserted if the user releases the mouse button at that
point.

The drop indicator is being drawn in a layer (added by a new bead) that is
floating above the  containing the DataGrid's column lists.

As the mouse is detected over an itemRenderer, I need to know the
itemRenderer's position within its list so I can translate that into
global space and then into the space of the layer.

However, what you just wrote gave me another idea that might just work.

Thanks!
—peter

On 8/30/17, 10:30 AM, "Yishay Weiss"  wrote:

>Strike that. I don’t see what you’re saying. Why not just use 0,0? Why do
>you need x,y? Or you could add w/2, h/2 if you want to center the drop
>target.
>
>Looking at PointUtils.localToGlobal() it just calls
>element.getBoundingClientRect() (as you suggested) and adds the given x,y
>to the result.
>
>From: Yishay Weiss<mailto:yishayj...@hotmail.com>
>Sent: Wednesday, August 30, 2017 5:11 PM
>To: dev@flex.apache.org<mailto:dev@flex.apache.org>
>Subject: RE: [FlexJS] Finding (x,y) position
>
>I see what you’re saying. I think we worked around that issue in our app
>by relying on MouseEvent.clientX, MouseEvent.clientY. But let’s hear
>other ideas for a more complete solution.
>
>From: Peter Ent<mailto:p...@adobe.com.INVALID>
>Sent: Wednesday, August 30, 2017 4:48 PM
>To: dev@flex.apache.org<mailto:dev@flex.apache.org>
>Subject: Re: [FlexJS] Finding (x,y) position
>
>PointUtils works when it has the correct data. For example, if you are
>over an itemRenderer, say the first one, and want to get its global
>location, you might do:
>
>var pt0:Point = new Point(itemRenderer.x, itemRenderer.y)
>
>and use pt0 in PointUtils.localToGlobal function. The problem is,
>itemRenderer.x/y are not correct at all times. Because this itemRenderer
>is the first itemRenderer and in the upper-left corner of its List, you
>would expect it to be (0,0) but instead it is (0,30) for example where 30
>is the height of the ButtonBar used for the header.
>
>Further, the itemRenderer's parent, a , also has location (0,30) and
>its parent, again a  is (0,30).
>
>This happens because the layout used to place everything is just relying
>on display:block and none of the s have position set to anything; the
>only  with position is the one representing the DataGrid itself.
>
>The .x and .y functions look at the "left" and "top" styles first. Finding
>these are not set, the functions then return offsetLeft and offsetTop,
>which are the offsets from the ancestor with position set. That's the
> for the DataGrid. Hence they are at (0,30).
>
>I see two choices: use getClientBoundingRect or change the layouts to set
>position:relative on their contentView but this might break something else
>at some point.
>
>I was wondering if anyone had experience trying to figure out screen
>positions when using the offset properties.
>
>
>‹peter
>
>On 8/30/17, 3:02 AM, "Yishay Weiss"  wrote:
>
>>Peter,
>>
>>Is PointUtils.localToGlobal() not working for you? From what I understand
>>it takes approach (1).
>>
>>From: Peter Ent<mailto:p...@adobe.com.INVALID>
>>Sent: Tuesday, August 29, 2017 11:29 PM
>>To: dev@flex.apache.org<mailto:dev@flex.apache.org>
>>Subject: [FlexJS] Finding (x,y) position
>>
>>Hi,
>>
>>While working on drag-and-drop, I've made an "interesting" discovery
>>having to do with the HTML-side's x and y getter functions.
>>
>>Let's say you have a nesting of s:
>>
>>
>>   Š
>>
>>
>> Š
>>
>>
>>
>>
>>(this structure is similar to what is generated for DataGrid).
>>
>>If you attempt to get the y location of "first" itemRenderer, you will
>>get 30 back as the answer. That happens because the y getter first looks
>>to see if the object has a "top" style value and, finding none, returns
>>its offsetTop. In this case, offsetTop is 30 and offsetParent is "outer".
>>If you get the y value of "inner" you will also get 30 as the answer for
>>the same reason.
>>
>>If each of the s had position:relative (or absolute), then offsetTop
>>would be as you would expect with each offsetParent being the  above
>>it.
>>
>>Our layout functions (and x and y setters) do not normally set the
>>position style on element. I removed this a good while ago. Now I am
>>trying to place a drop target indicator and to do that I need accurate
>>(x,y) locations.

Re: [FlexJS] Finding (x,y) position

2017-08-30 Thread Peter Ent
PointUtils works when it has the correct data. For example, if you are
over an itemRenderer, say the first one, and want to get its global
location, you might do:

var pt0:Point = new Point(itemRenderer.x, itemRenderer.y)

and use pt0 in PointUtils.localToGlobal function. The problem is,
itemRenderer.x/y are not correct at all times. Because this itemRenderer
is the first itemRenderer and in the upper-left corner of its List, you
would expect it to be (0,0) but instead it is (0,30) for example where 30
is the height of the ButtonBar used for the header.

Further, the itemRenderer's parent, a , also has location (0,30) and
its parent, again a  is (0,30).

This happens because the layout used to place everything is just relying
on display:block and none of the s have position set to anything; the
only  with position is the one representing the DataGrid itself.

The .x and .y functions look at the "left" and "top" styles first. Finding
these are not set, the functions then return offsetLeft and offsetTop,
which are the offsets from the ancestor with position set. That's the
 for the DataGrid. Hence they are at (0,30).

I see two choices: use getClientBoundingRect or change the layouts to set
position:relative on their contentView but this might break something else
at some point.

I was wondering if anyone had experience trying to figure out screen
positions when using the offset properties.


‹peter

On 8/30/17, 3:02 AM, "Yishay Weiss"  wrote:

>Peter,
>
>Is PointUtils.localToGlobal() not working for you? From what I understand
>it takes approach (1).
>
>From: Peter Ent<mailto:p...@adobe.com.INVALID>
>Sent: Tuesday, August 29, 2017 11:29 PM
>To: dev@flex.apache.org<mailto:dev@flex.apache.org>
>Subject: [FlexJS] Finding (x,y) position
>
>Hi,
>
>While working on drag-and-drop, I've made an "interesting" discovery
>having to do with the HTML-side's x and y getter functions.
>
>Let's say you have a nesting of s:
>
>
>   Š
>
>
> Š
>
>
>
>
>(this structure is similar to what is generated for DataGrid).
>
>If you attempt to get the y location of "first" itemRenderer, you will
>get 30 back as the answer. That happens because the y getter first looks
>to see if the object has a "top" style value and, finding none, returns
>its offsetTop. In this case, offsetTop is 30 and offsetParent is "outer".
>If you get the y value of "inner" you will also get 30 as the answer for
>the same reason.
>
>If each of the s had position:relative (or absolute), then offsetTop
>would be as you would expect with each offsetParent being the  above
>it.
>
>Our layout functions (and x and y setters) do not normally set the
>position style on element. I removed this a good while ago. Now I am
>trying to place a drop target indicator and to do that I need accurate
>(x,y) locations.
>
>I have a couple of solutions:
>
>
>  1.  For any element, look at its getBoundingClientRect and compare with
>its elementParent.getBoundingClientRect. The difference between then
>gives the child's position relative to the parent. This seems reliable.
>  2.  Attempt to divine a child's position using the offset information.
>I can't make this work.
>  3.  Modify the layouts to check the contentView's value of position and
>if not set already, set it to "relative". This makes the x and y getters
>return the right thing but may have unintended consequences.
>
>Any advice from seasoned JavaScript developers is greatly appreciated!
>
>Thanks,
>Peter
>



[FlexJS] Finding (x,y) position

2017-08-29 Thread Peter Ent
Hi,

While working on drag-and-drop, I've made an "interesting" discovery having to 
do with the HTML-side's x and y getter functions.

Let's say you have a nesting of s:


   …


 …




(this structure is similar to what is generated for DataGrid).

If you attempt to get the y location of "first" itemRenderer, you will get 30 
back as the answer. That happens because the y getter first looks to see if the 
object has a "top" style value and, finding none, returns its offsetTop. In 
this case, offsetTop is 30 and offsetParent is "outer". If you get the y value 
of "inner" you will also get 30 as the answer for the same reason.

If each of the s had position:relative (or absolute), then offsetTop would 
be as you would expect with each offsetParent being the  above it.

Our layout functions (and x and y setters) do not normally set the position 
style on element. I removed this a good while ago. Now I am trying to place a 
drop target indicator and to do that I need accurate (x,y) locations.

I have a couple of solutions:


  1.  For any element, look at its getBoundingClientRect and compare with its 
elementParent.getBoundingClientRect. The difference between then gives the 
child's position relative to the parent. This seems reliable.
  2.  Attempt to divine a child's position using the offset information. I 
can't make this work.
  3.  Modify the layouts to check the contentView's value of position and if 
not set already, set it to "relative". This makes the x and y getters return 
the right thing but may have unintended consequences.

Any advice from seasoned JavaScript developers is greatly appreciated!

Thanks,
Peter



Re: [DISCUSS} Fork FlexJS from Apache Flex

2017-08-29 Thread Peter Ent
Hi,

As an employee of Adobe and a contributor to Apache FlexJS, I think this
new project fork is a good idea. Companies with investment in Flex
applications that rely on the Flash Player to deliver their applications
to their users will have to look for alternatives in the next couple of
years. 

Apache FlexJS provides this opportunity. With continued support from the
community, we can chart a path to make the transition easier in a number
of ways. For example, wiki articles that provide guidance for migration or
new FlexJS framework kits that help bridge the gap between Apache Flex and
FlexJS. And many other ideas will come from this.

I feel the opportunity to turn a negative into a positive is a huge one
and doing this now is the best time.

Regards,
Peter Ent
Adobe Systems/Apache Flex(JS) Project


>



Re: FlexJS Express Components

2017-08-07 Thread Peter Ent
You make good points.

The Express package is in its infancy. I packaged things together that
were, I felt, the most common combinations, such as all Views and
Container classes have data binding. This also means Containers have
scrolling with the idea that you would use Group if you did not want
scrolling. But Group does not support background and border.

I agree that more options on the Express components could be presented as
well as allowing scrolling to be removed for a specific Express container
or all Express containers.

‹peter

On 8/6/17, 4:36 PM, "Harbs"  wrote:

>I¹m looking at the Express components for the first time, and I have some
>observations/questions.
>
>1. Container adds a ScrollingViewport bead. I was kind of expecting the
>bead to be added via CSS so it could be overridden in an app. What is an
>express app client supposed to do if they don¹t want scrolling?
>
>2. ScrollingViewport does not have a way to specify horizontal/vertical
>scrolling. I¹m wondering if there shouldn¹t be a more do-it-all bead
>which has options to turn on and off horizontal and vertical scrolling
>separately.
>
>3. The Express components do not have convenience methods for setting
>bead properties. It would seem to me that convenience methods would be
>very helpful.
>
>4. I seems like there¹s lots of additional compound components which
>would be useful. I¹m going to try and add someŠ
>
>Harbs



Re: [FlexJS] ClippingViewport

2017-07-30 Thread Peter Ent
I must have forgotten to delete that. 

Peter 


> On Jul 30, 2017, at 7:20 AM, Harbs  wrote:
> 
> Is anyone using ClippingViewport?
> 
> It seems to be extraneous at this point. Viewport does clipping by default.
> 
> Thanks,
> Harbs


Re: [FlexJS] MouseEvent

2017-07-25 Thread Peter Ent
I feel like I'm not grasping some concept. Seems to be that

a) you would want at least two points in a MouseEvent: the screen position
and the local position that is relative to the event.target. You could
derive one from the other but why go through that hassle when both
platforms provide that, as far as I can tell.
b) you would want to know other conditions such as which button is used,
if it is up, down, or moved (either with or without a button pressed), if
any keyboard key was also pressed at the same time.

I don't see why computations need to be made unless some value in one
platform is unavailable and needs to be calculated, but I don't see any
that fall into this category.

Having FlexJS MouseEvent extend a platform event class seems to have it
drawbacks, but it also makes the event work in the current system, so I
would let that go. 

What's disturbing is that events like Mouse and Keyboard and pretty
fundamental and it seems very late in the game that we are discussing
this. I can probably do what I need to do with DnD with what's there, but
it is just exposing a fundamental issue to me.

‹peter

On 7/25/17, 3:08 PM, "Harbs"  wrote:

>I¹m personally not sure that MouseEvent actually works. Any case of
>MouseEvents in the Framework actually dispatch BrowserEvents. The only
>exception to this case that you will currently find is in TLF where there
>is code which generates MouseEvents from points.
>
>Check out my browser-event branch for my attempt to make MouseEvents and
>KeyboardEvents behave the way you¹d expect.
>
>I¹m currently struggling with figuring out how to make artificially
>created MouseEvents behave properly. Maybe we should compare notesŠ
>
>Harbs
>
>> On Jul 25, 2017, at 9:49 PM, Peter Ent  wrote:
>> 
>> I've been doing work with Drag and Drop and that involves mouse events.
>>I'm wondering if someone could give me a history on the Apache FlexJS
>>MouseEvent? Specially, its use of localX/Y and screenX/Y.
>> 
>> I'm wondering why the platform implements do not simply assign their
>>version of screenX/Y as the screenX/Y values instead of the screenX/Y
>>being getter functions?
>> 
>> I've run into cases where the localX/Y == screenX/Y in the FlexJS
>>MouseEvent but the original event had different values.
>> 
>> Why would we not want the FlexJS MouseEvent to reflect the platform's
>>mouse event values?
>> 
>> SWF: flexJSMouseEvent.screenX = swfMouseEvent.stageX;
>> JS: flexJSMouseEvent.screenX = jsMouseEvent.pageX;
>> 
>> Thanks.
>> Peter Ent
>> Adobe Systems/Apache Flex Project
>



[FlexJS] MouseEvent

2017-07-25 Thread Peter Ent
I've been doing work with Drag and Drop and that involves mouse events. I'm 
wondering if someone could give me a history on the Apache FlexJS MouseEvent? 
Specially, its use of localX/Y and screenX/Y.

I'm wondering why the platform implements do not simply assign their version of 
screenX/Y as the screenX/Y values instead of the screenX/Y being getter 
functions?

I've run into cases where the localX/Y == screenX/Y in the FlexJS MouseEvent 
but the original event had different values.

Why would we not want the FlexJS MouseEvent to reflect the platform's mouse 
event values?

SWF: flexJSMouseEvent.screenX = swfMouseEvent.stageX;
JS: flexJSMouseEvent.screenX = jsMouseEvent.pageX;

Thanks.
Peter Ent
Adobe Systems/Apache Flex Project


Re: [FlexJS]TileLayout

2017-07-24 Thread Peter Ent
I just left things as open as possible as I recall. Thanks Harbs.

On 7/23/17, 6:06 AM, "Harbs"  wrote:

>Agreed, but I think the defaults should match Flash between and HTML.
>
>He did not set stretch. Nothing was set. ³stretch² is the default css.
>
>> On Jul 23, 2017, at 12:23 PM, Alex Harui 
>>wrote:
>> 
>> There doesn't have to be one TileLayout.  There can be
>> TileLayoutWithFlexStart, TileLayoutWithStretch, and
>> TileLayoutWithAlignContent with a property that allows you to set it.
>> 
>> Peter may remember why he chose "stretch".
>> 
>> -Alex
>> 
>> On 7/23/17, 1:28 AM, "Harbs"  wrote:
>> 
>>> I just discovered something which is worth bringing up:
>>> 
>>> The default for css flex layouts is align-content: stretch This adds
>>> space between elements if the total height (or width) of the elements
>>>are
>>> less than the parent. I don¹t think that¹s an appropriate default for a
>>> tile layout. The layout should be packed from the top left and only add
>>> space if there is padding/margins in the itemRenderers.
>>> 
>>> I believe the correct default css is align-content: flex-start which
>>>has
>>> the behavior that I would expect from a tile layout.
>>> 
>>> Of course, it might be interesting to have a tile layout which offers
>>> different spacing options. That could be alternate layouts, or even
>>>beads
>>> attached to the layout beads.
>>> 
>>> I fixed this issue in my app by just adding some align-content:
>>> flex-start css to my TileLayout component. This works because I don¹t
>>> need swf rendering, but I think it¹s something that should be addressed
>>> in the TileLayout.
>>> 
>>> Let me checkŠ
>>> 
>>> I just (fixed and) ran ContainerTest, and the swf behavior is in fact
>>> different than the HTML behavior. I think we can classify this as a
>>>bug.
>>> I¹m committing this change.
>>> 
>>> FWIW, there¹s lots of other differences between the swf output and the
>>>JS
>>> output in ContainerTest. It¹s probably worth looking into the rest of
>>> those issues as wellŠ
>>> 
>>> Harbs
>> 
>



Re: [FlexJS] findPopupHost issue

2017-07-21 Thread Peter Ent
I needed events to bubble for the drag and drop work. While that was fine
for the Flash Player, the FlexJS/Google/Browser event mix didn't work.
Alex suggested I used setParentTarget on the event to work up the tree and
then the event would be dispatched at each level, thus mimicking bubbling.
I did this exclusively for drag events (see DragEvent class).

Rather than putting that in as the solution for this, I took a simpler
approach. 

‹peter

On 7/21/17, 2:35 AM, "Harbs"  wrote:

>Bubbling does not work very well in FlexJS in general.
>
>When you can rely on native browser event bubbling, it usually works
>okay, but custom events don¹t bubble.
>
>> On Jul 21, 2017, at 1:49 AM, Justin Mclean 
>>wrote:
>> 
>> Hi,
>> 
>>> The issue was that the TitleBar was dispatching "close" with
>>>bubbles=true.
>>> This works fine on SWF but not on the HTML platform without some extra
>>> work. So I just had PanelView intercept the event and dispatch one from
>>> its strand. 
>> 
>> Out of interest is this because of a missing cloneEvent method or that
>>it wasn¹t listening on a parent of the item that dispatched the bubbling
>>event or something else?
>> 
>> Thanks,
>> Justin
>



Re: [FlexJS] findPopupHost issue

2017-07-20 Thread Peter Ent
I fixed this and committed/pushed it on the develop branch.

The issue was that the TitleBar was dispatching "close" with bubbles=true.
This works fine on SWF but not on the HTML platform without some extra
work. So I just had PanelView intercept the event and dispatch one from
its strand. 

—peter

On 7/20/17, 1:45 PM, "Peter Ent"  wrote:

>I'm taking a look at this. Would you mind filing a JIRA on this?
>
>Thanks,
>Peter
>
>On 7/19/17, 1:23 PM, "PKumar"  wrote:
>
>>​Panel , close event not firing on JS side. swf side it is working fine.
>>This may  be an issue.​
>>
>>On Wed, Jul 19, 2017 at 11:00 PM, Prashant Kumar 
>>wrote:
>>
>>> ​I am having a gird  with one view column. On clicking view link , i
>>>want
>>> to open a popup to view information. I was unaware  about actual use of
>>> findPopupHost so i pass this. I was thinking it will work same as
>>> PopupManager works.
>>>
>>>
>>>
>>> On Tue, Jul 18, 2017 at 8:02 PM, Alex Harui-2 [via Apache Flex
>>> Development]  wrote:
>>>
>>>> I guess I should have been more clear.  FlexJS supports multiple
>>>> component
>>>> sets and runtimes.  An Application class is probably always going to
>>>>be
>>>> the entry point of an application, but there is no guarantee in any
>>>> application that the Application class will be a display object or
>>>>even
>>>> the correct display object in the case of a multi-window desktop
>>>> application.
>>>>
>>>> IPopUpHost is an API for a good place to hang popups, but it is only a
>>>> coincidence that in the currently supported runtimes and most popular
>>>> component sets that the Application is mapped to a display object and
>>>> thus
>>>> an IPopUpHost.  We should not presume that will always be the case.
>>>>
>>>> If you are looking for a good place to hang a popup you probably want
>>>>it
>>>> to popup over some UI component.  So, it is best to start with that
>>>>known
>>>> IUIBase and find an IPopUpHost that will display the popup over that
>>>> IUIBase.  That way, your code will work in a multi-window app someday,
>>>> and
>>>> other future runtime environments as well.  And that's why
>>>>findPopUpHost
>>>> takes an IUIBase.  And in other future runtimes, it should be
>>>>implemented
>>>> to return a useful thing, but that thing may not be the Application
>>>> instance.
>>>>
>>>> So, the recommended practice is to use UIUtils.findPopupHost and pass
>>>>it
>>>> an IUIBase that you want the popup to float over.
>>>>
>>>> HTH,
>>>> -Alex
>>>>
>>>> On 7/17/17, 10:48 PM, "Yishay Weiss" <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=63395&i=0>> wrote:
>>>>
>>>> >Even if the Application instance isn’t an IPopUpHost the method will
>>>> just
>>>> >return null, so the effect is the same as just doing (appInstance as
>>>> >IPopUpHost). I suspect the method is being misused rather than there
>>>> >being a problem with the method.
>>>> >
>>>> >From: Alex Harui<mailto:[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=63395&i=1>>
>>>> >Sent: Tuesday, July 18, 2017 8:33 AM
>>>> >To: [hidden email]
>>>><http:///user/SendEmail.jtp?type=node&node=63395&i=2>
>>>> <mailto:[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=63395&i=3>>
>>>> >Subject: Re: [FlexJS] findPopupHost issue
>>>> >
>>>> >FWIW, it may not be safe to assume that Application will always be an
>>>> >IPopUpHost, hence the utility function.
>>>> >
>>>> >Thanks,
>>>> >-Alex
>>>> >
>>>> >On 7/17/17, 9:59 PM, "piotrz" <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=63395&i=4>> wrote:
>>>> >
>>>> >>Hi Yishay,
>>>> >>
>>>> >>That's a good point - Application is itself an IPopupHost. I've
>>>>asked
>>>> him
>>>> >>what is the use case for his host popup search.
>>>> >>
>>>>

Re: [FlexJS] findPopupHost issue

2017-07-20 Thread Peter Ent
I'm taking a look at this. Would you mind filing a JIRA on this?

Thanks,
Peter

On 7/19/17, 1:23 PM, "PKumar"  wrote:

>​Panel , close event not firing on JS side. swf side it is working fine.
>This may  be an issue.​
>
>On Wed, Jul 19, 2017 at 11:00 PM, Prashant Kumar 
>wrote:
>
>> ​I am having a gird  with one view column. On clicking view link , i
>>want
>> to open a popup to view information. I was unaware  about actual use of
>> findPopupHost so i pass this. I was thinking it will work same as
>> PopupManager works.
>>
>>
>>
>> On Tue, Jul 18, 2017 at 8:02 PM, Alex Harui-2 [via Apache Flex
>> Development]  wrote:
>>
>>> I guess I should have been more clear.  FlexJS supports multiple
>>> component
>>> sets and runtimes.  An Application class is probably always going to be
>>> the entry point of an application, but there is no guarantee in any
>>> application that the Application class will be a display object or even
>>> the correct display object in the case of a multi-window desktop
>>> application.
>>>
>>> IPopUpHost is an API for a good place to hang popups, but it is only a
>>> coincidence that in the currently supported runtimes and most popular
>>> component sets that the Application is mapped to a display object and
>>> thus
>>> an IPopUpHost.  We should not presume that will always be the case.
>>>
>>> If you are looking for a good place to hang a popup you probably want
>>>it
>>> to popup over some UI component.  So, it is best to start with that
>>>known
>>> IUIBase and find an IPopUpHost that will display the popup over that
>>> IUIBase.  That way, your code will work in a multi-window app someday,
>>> and
>>> other future runtime environments as well.  And that's why
>>>findPopUpHost
>>> takes an IUIBase.  And in other future runtimes, it should be
>>>implemented
>>> to return a useful thing, but that thing may not be the Application
>>> instance.
>>>
>>> So, the recommended practice is to use UIUtils.findPopupHost and pass
>>>it
>>> an IUIBase that you want the popup to float over.
>>>
>>> HTH,
>>> -Alex
>>>
>>> On 7/17/17, 10:48 PM, "Yishay Weiss" <[hidden email]
>>> > wrote:
>>>
>>> >Even if the Application instance isn’t an IPopUpHost the method will
>>> just
>>> >return null, so the effect is the same as just doing (appInstance as
>>> >IPopUpHost). I suspect the method is being misused rather than there
>>> >being a problem with the method.
>>> >
>>> >From: Alex Harui>> >
>>> >Sent: Tuesday, July 18, 2017 8:33 AM
>>> >To: [hidden email]
>>>
>>> >> >
>>> >Subject: Re: [FlexJS] findPopupHost issue
>>> >
>>> >FWIW, it may not be safe to assume that Application will always be an
>>> >IPopUpHost, hence the utility function.
>>> >
>>> >Thanks,
>>> >-Alex
>>> >
>>> >On 7/17/17, 9:59 PM, "piotrz" <[hidden email]
>>> > wrote:
>>> >
>>> >>Hi Yishay,
>>> >>
>>> >>That's a good point - Application is itself an IPopupHost. I've asked
>>> him
>>> >>what is the use case for his host popup search.
>>> >>
>>> >>Thanks,
>>> >>Piotr
>>> >>
>>> >>
>>> >>
>>> >>-
>>> >>Apache Flex PMC
>>> >>[hidden email] 
>>> >>--
>>> >>View this message in context:
>>> >>https://na01.safelinks.protection.outlook.com/?url=http%
>>> 3A%2F%2Fapache-fl
>>> >>e
>>> 
>x-development.247.n4.nabble.com%2FFlexJS-findPopupHost-issue-tp633
>62p
>>>
>>> >>6
>>> 
>3366.html&data=02%7C01%7C%7Cbfd19d2deba646c64df208d4cd9c9798%7Cfa7b1b5
>a7b
>>>
>>> >>3
>>> 
>4438794aed2c178decee1%7C0%7C0%7C636359519816386890&sdata=CyeQuoJ0gVVl2
>UHU
>>>
>>> >>B
>>> >>W%2B6hbyDNw%2FOSFuswfzeLTqUf3c%3D&reserved=0
>>> >>Sent from the Apache Flex Development mailing list archive at
>>> Nabble.com.
>>> >
>>>
>>>
>>>
>>> --
>>> If you reply to this email, your message will be added to the
>>>discussion
>>> below:
>>> 
>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>>lex-development.247.n4.nabble.com%2FFlexJS-&data=02%7C01%7C%7Cdbbe7d
>>>adabb14873df6408d4cecda439%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C
>>>636360830010202344&sdata=oGGZq5DF8kfi%2BpWLjJj75rbtkq7hz1hie9A2jQp3s5I%3
>>>D&reserved=0
>>> findPopupHost-issue-tp63362p63395.html
>>> To start a new topic under Apache Flex Development, email
>>> ml+s247n1...@n4.nabble.com
>>> To unsubscribe from Apache Flex Development, click here
>>> 
>>>>>flex-development.247.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fma
>>>cro%3Dunsubscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY2
>>>9tfDF8LTU0MTcyMzE2NA&data=02%7C01%7C%7Cdbbe7dadabb14873df6408d4cecda439%
>>>7Cfa

Re: [FLEXJS] ASDoc Issues

2017-06-30 Thread Peter Ent
Ah, I misunderstood which asdoc-config file.

On 6/30/17, 1:31 PM, "Alex Harui"  wrote:

>The asdoc target doesn't work because we've extended ActionScript for
>FlexJS.  We only care about the ASDoc Example.  I guess we should comment
>out the asdoc target for now.  Also, it looks like the ASDoc example uses
>its own asdic-config.xml file in its src/main/config folder.
>
>-Alex
>
>On 6/30/17, 10:25 AM, "Peter Ent"  wrote:
>
>>I'm running the asdoc target in flex-asjs and it has rejected a couple of
>>things in Core/main/flex/Promise.as such as:
>>
>>[asdoc] 
>>/Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/Promise.
>>a
>>s(270): col: 19 Error: Syntax error: expecting identifier before catch.
>>[asdoc]
>>[asdoc] public function catch(onRejected:Function = null):IThenable
>>
>>Since "catch" is a keyword I'm surprised this compiles at all. Should
>>Promise.as be excluded from ASDoc for now?
>>
>>‹peter
>



[FLEXJS] ASDoc Issues

2017-06-30 Thread Peter Ent
I'm running the asdoc target in flex-asjs and it has rejected a couple of 
things in Core/main/flex/Promise.as such as:

[asdoc] 
/Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/Promise.as(270):
 col: 19 Error: Syntax error: expecting identifier before catch.
[asdoc]
[asdoc] public function catch(onRejected:Function = null):IThenable

Since "catch" is a keyword I'm surprised this compiles at all. Should 
Promise.as be excluded from ASDoc for now?

—peter


Re: [FlexJS,TLF] Tlf branch and Maven build

2017-06-27 Thread Peter Ent
I just added something to TLF branch, in the DragDrop project. There is
now a dependency on Collections; does a pom file need to be changed to
reflect that or is the compile-swf-config file enough?

‹peter

On 6/27/17, 4:41 PM, "Alex Harui"  wrote:

>I had to update some poms.
>
>-Alex
>
>On 6/27/17, 12:15 PM, "piotrz"  wrote:
>
>>I think it is related to his changes. I just tried build Basic locally
>>and
>>it's failed with same stacktrace. I got update of falcon beforehand.
>>
>>Maybe Alex will have some thoughts on that.
>>
>>Thanks,
>>Piotr
>>
>>
>>
>>-
>>Apache Flex PMC
>>piotrzarzyck...@gmail.com
>>--
>>View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>e
>>x-development.247.n4.nabble.com%2FFlexJS-TLF-Tlf-branch-and-Maven-bui
>>l
>>d-tp62452p62645.html&data=02%7C01%7C%7C18001132a7cf490a9d0308d4bd94f8de%7
>>C
>>fa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636341894903818427&sdata=SIN%2
>>F
>>zvPD4WV65%2FRFAuixK%2B2vEJjDSFtjRUwwfgDgUnE%3D&reserved=0
>>Sent from the Apache Flex Development mailing list archive at Nabble.com.
>



Re: [FlexJS] TileLayout

2017-06-22 Thread Peter Ent
You could write a new TileLayoutWithGapAndPadding to handle that specific
situation. On the JS side, TileLayout uses Flexbox and perhaps you need
more control.

‹peter

On 6/22/17, 10:14 AM, "yishayw"  wrote:

>Adding margins adds a gutter on the right side of the host. This is
>probably
>because each child's width is calculated according to the parent's width
>divided by the number of children, disregarding the margins. I'm using
>padding instead, but that has the drawback that in a tiled list, for
>example, there are no non-selectable gaps.
>
>I think the fix is to take margins into account, but there might be
>performance implications.
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-TileLayout-tp62568p62570.html
>&data=02%7C01%7C%7C1256d4c11ee54c60a90e08d4b97b6725%7Cfa7b1b5a7b34438794ae
>d2c178decee1%7C0%7C0%7C636337387035370705&sdata=Lt0zEPpqPr2Hj7eng2EIwehxJ2
>sdhoTLinXT3qBZ6lE%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] getElementIndex()

2017-06-22 Thread Peter Ent
I was wondering why React keeps its own DOM and why it is so fast. Perhaps
this is the reason.

On 6/22/17, 10:56 AM, "Alex Harui"  wrote:

>Feel free to test your theory.  It sounds like duplication of work to me
>as in: The DOM does have some sort of list so why keep our own?  Making
>and manipulation Array is supposedly also not very performant.
>
>Regarding text nodes, I haven't looked to see when text nodes are
>intentionally children of a UIBase.  Maybe the elements should be allowed
>to be text nodes.
>
>-Alex
>
>On 6/22/17, 4:11 AM, "Harbs"  wrote:
>
>>Is there a reason we are using the underlying node lists for our
>>collection of elements?
>>
>>I would think that it would be more performant (at the possible cost of
>>some extra memory) to keep a list of FlexJS elements.
>>
>>childNodes are live collections which need to constantly be resolved so
>>they should not be very performant. They also contain text nodes, so I¹m
>>not sure that the index will always be correct.
>



Re: [FlexJS] TileLayout

2017-06-22 Thread Peter Ent
Hi,

Use margins on the items.

‹peter

On 6/22/17, 9:48 AM, "yishayw"  wrote:

>What is the preferred way to set gaps between columns and between rows?
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-TileLayout-tp62568.html&data=
>02%7C01%7C%7Ca0c719ba202142b1722c08d4b977c8a7%7Cfa7b1b5a7b34438794aed2c178
>decee1%7C0%7C0%7C636337371492919591&sdata=DyQk9yp6FLBacjJp1orJR5OugwUbqGGm
>7qyC8lBIXsA%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] more on undefined / non initialised values

2017-06-12 Thread Peter Ent
Perhaps we can look to other languages for guidance. For example, in Swift:

var val:Boolean

is illegal. It MUST be initialized or declared to be optional:

var val:Boolean = false
var val:Boolean?

The Swift people felt that leaving variables uninitialized and defaulted
caused too many issues and so force values to be given. If you don't have
a value then you must declare it to be optional, in which case its value
is nil until it is assigned a value.

Neither AS nor JS has the luxury of syntax that enforces this, but perhaps
we could have the compiler issue a warning (at least) that scalar values
are uninitialized. 

‹peter

On 6/11/17, 4:21 AM, "Harbs"  wrote:

>It seems like the general case is better to have the initialization.
>Thanks for implementing that.
>
>It would probably be nice for the compiler to be intelligent and only
>initialize if the code does not initialize too.
>
>So:
>
>var val:Boolean;
>// further down before val is actually accessed
>val = true;// or val = false;
>
>should not initialize val, but:
>
>var val:Boolean;
>// further down 
>if(val == someotherval){
>// do something
>}
>should initialize it.
>
>But I don¹t see this as critical for now.
>
>Harbs
>
>> On Jun 11, 2017, at 10:56 AM, Justin Mclean 
>>wrote:
>> 
>> Hi,
>> 
>>> The changes you made look fine.
>> 
>> Do you want them as the default and an option to turn them off? I¹m
>>assuming you will you at some later point add other switches to turn
>>other optimisations (whatever they may be) on?
>> 
>>> Seems like eventually we'll have to initialize other types as well.
>> 
>> I¹d guestimate there would be a performance boost for string and for
>>object as well / but the size cost may be different. Won't know until I
>>or someone tries it.
>> 
>>> Safe, but inefficient at times.
>> 
>> So far I not seen any inefficiency in fact the opposite. But sure there
>>may be specific cases that perform better, please post any you find to
>>the list.
>> 
>> Thanks,
>> Justin
>



Re: [VOTE] Release Apache FlexJS 0.8.0 RC1

2017-06-12 Thread Peter Ent
I tried the approval XML script.

+1
Package 
https://dist.apache.org/repos/dist/dev/flex/flexjs/0.8.0/rc1/apache-flex-fl
exjs-0.8.0-src.tar.gz
Java 1.7
OS: Mac OS X x86_64 10.12.5
Source kit signatures match: y
Source kit builds: y
README is ok: y
RELEASE_NOTES is ok: y
NOTICE is ok: y
LICENSE is ok: y
No unapproved licenses or archives: y
No unapproved binaries: y


Package 
https://dist.apache.org/repos/dist/dev/flex/flexjs/0.8.0/rc1/binaries/apach
e-flex-flexjs-0.8.0-bin.tar.gz
Binary kit signatures match: y
NOTICE is ok: y
LICENSE is ok: y
No unapproved licenses or archives in binary package: y
No unapproved binaries in binary package: y

‹peter


On 6/9/17, 6:00 PM, "Alex Harui"  wrote:

>Hi,
>
>This is vote for the 0.8.0 release of Apache FlexJS.
>
>The release candidate can be found here;
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apac
>he.org%2Frepos%2Fdist%2Fdev%2Fflex%2Fflexjs%2F0.8.0%2Frc1%2F&data=02%7C01%
>7C%7C96fe96b29b154e53fd4808d4af83054a%7Cfa7b1b5a7b34438794aed2c178decee1%7
>C0%7C0%7C636326424639372231&sdata=jnXSXIgt8ffpDyOng8JaDka42IGnQwwuD%2FGWsW
>PL5To%3D&reserved=0
>
>Before voting please review the section,'What are the ASF requirements on
>approving a release?', at:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apache
>.org%2Fdev%2Frelease.html%23approving-a-release&data=02%7C01%7C%7C96fe96b2
>9b154e53fd4808d4af83054a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363
>26424639372231&sdata=0mocrXOP%2BmX0%2B%2BhM58iaXG3Ql8BHzPyVJhZUTOxhcMA%3D&
>reserved=0
>
>At a minimum you would be expected to check that:
>- MD5 and signed packages are correct
>- README, RELEASE_NOTES, NOTICE and LICENSE files are all fine
>- That the build script completes successfully
>- That you can compile and cross-compile a simple example using the SDK.
>
>The source package is set up the same way as the repo.  This means that
>the results of the build are not the same as an IDE-compatible SDK.  The
>compiled source package can be used in combination with the FalconJX
>source package to compile some of the sample applications.
>
>The most convenient way to use the binary package is to install it via Ant
>or the Installer.  To use an Installer you must use InstallApacheFlex
>version 3.1 or later.  You can get InstallApacheFlex here:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apache
>.org%2Fdyn%2Fcloser.cgi%3Fpath%3D%2Fflex%2Finstaller%2F3.1%2Fbinaries%2F&d
>ata=02%7C01%7C%7C96fe96b29b154e53fd4808d4af83054a%7Cfa7b1b5a7b34438794aed2
>c178decee1%7C0%7C0%7C636326424639372231&sdata=CnaAfc%2Bs9YlqNJiL%2FQpXjeQr
>1tVv49JYHXuRS8sGW8c%3D&reserved=0
>
>Please vote to approve this release:
>+1 Approve the release
>-1 Veto the release (please provide specific comments to why)
>
>This vote will be open for 72 hours or until a result can be called.
>
>The vote passes if there is:
>- At least 3 +1 votes from the PMC
>- More positive votes than negative votes
>
>Remember that this is a 'beta-quality' release so I expect there
>will be many bugs found.  IMO the goal is not to try to find and fix bugs
>in the RC, but to make sure we have the packaging right, and enough
>functionality that folks will have some success trying to use it.
>
>People who are not in PMC are also encouraged to test out the release and
>vote, although their votes will not be binding, they can influence how the
>PMC votes.
>
>When voting please indicate what OS, IDE, Flash Player version and AIR
>version you tested with.
>
>For your convenience, there is an ant script that automates the common
>steps to validate a release.  Instead of individually downloading the
>package and signature files, unzipping, etc, you can instead:
>1) create an empty folder,
>2) download into that folder this file:
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apac
>he.org%2Frepos%2Fdist%2Fdev%2Fflex%2Fflexjs%2F0.8.0%2Frc1%2FApproveFlexJS&
>data=02%7C01%7C%7C96fe96b29b154e53fd4808d4af83054a%7Cfa7b1b5a7b34438794aed
>2c178decee1%7C0%7C0%7C636326424639372231&sdata=0DOjbbNMaRurOLPrMzyPZKR5a4G
>poqm1QfJBsoR9IVc%3D&reserved=0.
>xml
>3) run the script: ant -e -f ApproveFlexJS.xml -Drelease.version=0.8.0
>-Drc=1
>
>You are not required to use this script, and more testing of the packages
>and build results are always encouraged.
>
>
>Please put all discussion about this release in the DISCUSSION thread not
>this VOTE thread.
>
>Thanks,
>Alex Harui
>



Re: [2/4] git commit: [flex-asjs] [refs/heads/develop] - LayoutBase Fix for strand set to null in remove bead, plus performance improvements in js

2017-06-12 Thread Peter Ent
Maybe I'm misunderstanding again.


   
  

This is what a developer should do so that the contents of the panel are
laid out horizontally.

I constructed Panel as a subclass of Group so that I could take advantage
of VerticalFlexLayout so that Container content area of the Panel would
grow to fit the Panel's vertical space; any TitleBar or ControlBar would
then remain fixed in size and place.

But making Panel be a sub-class of Group meant that adding a layout
in-line in MXML would cause that layout to supersede the Panel's
VerticalFlexLayout. So Panel moves any layout bead supplied by the user
and puts it onto its Container content area.

Panel could have been constructed in another way and given the issues that
we seem to be having with it, I suggest a re-write in version 0.9.0.

Panel also suffers from having to re-parent any children given to it and
place them into the Container (this happens for JS and SWF platforms).
Container then re-parents those children, but only on the SWF platform, to
its content view.

‹peter

On 6/9/17, 11:59 PM, "Alex Harui"  wrote:

>Yes, thanks for removing unnecessary coercions.
>
>While debugging examples, I also noted the removal of Layout in Panel.
>Makes me wonder if we our container architecture/lifecycle is designed
>properly.  The base classes may need to have a pattern for "proxies" and
>"wrappers", which may be the essence of what Panels and Scrolling
>Containers do (along with exposing instead of hiding the
>addElement/removeElement APIs).
>
>Looking at the code for bead removal, it seems so heavy it makes you want
>to avoid it all together.  For the password input bead, for example, we
>know there can be a version of the bead with a flag to enable/disable the
>password characters.  How heavy is that implementation vs the one that
>requires removal?  For Panel, maybe the lifecycle should just not assume
>that the Container has a layout bead so there isn't one to replace.
>
>Food for thought,
>-Alex
>
>On 6/9/17, 4:00 PM, "Greg Dove"  wrote:
>
>>I happened to be testing against FlexJSStore at the time I discovered the
>>need for this, and there is some removing going on.
>>
>>I think I improved performance compared to how it was originally by
>>removing coercion in js and using local references for some of the repeat
>>listener references/avoiding repeat closure lookups on js, so it is
>>probably 'less' PAYG than it was before, with more safety, but I get the
>>point.
>>
>>I'm not sure about injection, but I will come back to this and add a
>>removable layout subclass for the FlexJSStore demo (not sure if the
>>PanelView or whatever seems to be doing this is also used in other
>>examples, I have not checked).
>>
>>
>>
>>
>>On Sat, Jun 10, 2017 at 10:45 AM, Alex Harui  wrote:
>>
>>> I guess I don't believe that removing beads is so common that every app
>>> needs to carry this code around.  I wonder if there is a way to inject
>>> removability as needed.
>>>
>>> Having a RemovableXXXLayout could override the strand setter and remove
>>> listeners if the handlers are protected.
>>>
>>> Thoughts?
>>> -Alex
>>>
>>> On 6/8/17, 3:22 PM, "gregd...@apache.org"  wrote:
>>>
>>> >LayoutBase Fix for strand set to null in remove bead, plus performance
>>> >improvements in js
>>> >
>>> >
>>> >Project:
>>> >https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fgit-wip-us
>>> >.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Frepo&data=02%
>>> 7C01%7C%7Cb863f5cff77
>>> >e41e305b708d4aebcd62e%7Cfa7b1b5a7b34438794aed2c178de
>>> cee1%7C0%7C0%7C6363255
>>> >73442866659&sdata=NsSQs6LJBQaYIJ36tZ%2FgMmMyuffAlo7pAuwtopOok2g%3D&
>>> reserve
>>> >d=0
>>> >Commit:
>>> >https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fgit-wip-us
>>> >.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fcommit%
>>> 2F08af60c7&data=02%7C01%7C%
>>> >7Cb863f5cff77e41e305b708d4aebcd62e%7Cfa7b1b5a7b34438794aed2c178de
>>> cee1%7C0%
>>> >7C0%7C636325573442866659&sdata=a8HJuqkEEii03BRyFH6lMcvkLFirlc
>>> lo6HwG%2F6w4J
>>> >kA%3D&reserved=0
>>> >Tree:
>>> >https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fgit-wip-us
>>> >.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Ftree%2F08af60c7&
>>> data=02%7C01%7C%7C
>>> >b863f5cff77e41e305b708d4aebcd62e%7Cfa7b1b5a7b34438794aed2c178de
>>> cee1%7C0%7C
>>> >0%7C636325573442866659&sdata=CcHeFSf6IMQ75kKXSE%
>>> 2BWY23J7VrbJauoxO1TvG%2BHS
>>> >Yk%3D&reserved=0
>>> >Diff:
>>> >https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fgit-wip-us
>>> >.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fdiff%2F08af60c7&
>>> data=02%7C01%7C%7C
>>> >b863f5cff77e41e305b708d4aebcd62e%7Cfa7b1b5a7b34438794aed2c178de
>>> cee1%7C0%7C
>>> >0%7C636325573442866659&sdata=E%2B6iEUFqZB3%2BO15%
>>> 2BK3sHlnaiuIkWgm8DvWVcmUm
>>> >nnIk%3D&reserved=0
>>> >
>>> >Branch: refs/heads/develop
>>> >Commit: 08af60c7755a9c7dd64ab62cbfff97443841bda7
>>> >Parents: b0f7013
>>> >Author: greg-dove 
>>> >Authored: Fri Jun 9 10:07:20 2017 +1200
>>> >Committer: greg-dove 
>>> >Committed: Fri J

Re: Beads and DRY (was Re: [FlexJS] Removing PasswordInputBead has no effect)

2017-06-07 Thread Peter Ent
We have never really discussed the use of delegates. Its not something
that ties in that well with FlexJS I think. But using a delegate to
off-load some of the work, just when that work is needed, might be another
solution.

‹peter

On 6/7/17, 2:36 AM, "Harbs"  wrote:

>That¹s not what I¹m suggesting at all.
>
>If utility classes (or utility functions) are bloated with lots of
>functionality then they are not done right.
>
>Utilities should be reserved for well defined functionality. A good
>example of this is AnimationUtil. Imagine you have two animation beads
>which do different things, they would both use AnimationUtil for
>requestFrame and cancelFrame.
>
>The same goes for SolidBorderUtil (which should really be split into
>two). Any bead which needs to apply a border just calls the utility.
>
>So:
>Bead A supports feature X
>Bead B needs to support feature X and Y
>
>feature x used functionality a and b
>feature y uses functionality c and d
>Create a Util classes a, b, c and d which beads a and b use as needed.
>
>This is obviously not a pattern useful everywhere, but where applicable,
>has many advantages.
>
>Harbs
>
>
>> On Jun 7, 2017, at 4:08 AM, OmPrakash Muppirala 
>>wrote:
>> 
>> *Utils approach:*
>> 
>> Bead A supports feature X
>> Bead B needs to support feature X and Y
>> 
>> Create a Util class called FeatureXAndY
>



Re: Beads and DRY (was Re: [FlexJS] Removing PasswordInputBead has no effect)

2017-06-07 Thread Peter Ent
If you look at the layouts, you can see these questions for real. Take
VerticalLayout. The idea is to stack children of some component
vertically. Those children can be given a) no explicit size, b) an
explicit size as pixel values, c) a percentage size. You know what the
VerticalLayout is supposed to do, but how it does it depends on the
platform. Plus there are some questions:

Do you provide an option to space them (a gap) or is that
VerticalLayoutWithGap?
Do you provide an option to horizontally align them or is that
VerticalLayoutWithHorizontalAlignment?
What if you want both a gap and an alignment? Is that
VerticalLayoutWithGapAndHorizontalAlignment?

Achieving a gap and alignment is pretty easy and I believe can be done
within the same loop pass as stacking the elements.

We circumvented the gap issue by saying you achieving by giving the
children being stacked margin style values. So that eliminates two of the
variations. But that comes at a cost on the SWF side (JS side handles
margins in the browser) since it is way more complex to account for those
margins and it might rightly be put into its own layout bead.

And when you make these altered versions, its hard to subclass since you
have the layout algorithm that you've have to tap into from the subclass
and then call out or use a delegate.

‹peter

On 6/6/17, 9:08 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
 wrote:

>On Tue, Jun 6, 2017 at 5:29 PM, Justin Mclean 
>wrote:
>
>> Hi,
>>
>> > In FlexJS we have a preference towards utility classes.
>>
>> So say we have existing bead A and we want to add some functionality to
>> to. In order to use utility classes we would need to modify bead A and
>>pull
>> out some of the code into a utility class so bead B can use it.
>>
>> This will increase the size/runtime cost to existing people using bead
>>A.
>> Is this accectable?
>>
>
>Yes, there will be a size cost, which is why the inheritance approach is
>better than Utils approach for Beads.
>
>*Utils approach:*
>
>Bead A supports feature X
>Bead B needs to support feature X and Y
>
>Create a Util class called FeatureXAndY
>
>Bead A calls util:FeatureXAndY (Now Bead A loads code for unnecessary
>feature Y)
>Bead B calls util:FeatureXAndY
>
>*Inheritance approach:*
>
>Bead A supports feature X
>Bead B needs to support feature X and Y
>
>Bead A has code for feature X alone (no extra code)
>Bead B extends Bead A and adds code for feature Y (no extra code)
>Moreover, no extra util class to maintain.



Re: [2/2] git commit: [flex-asjs] [refs/heads/release0.8.0] - fix event types for valuechange. Otherwise Binding would break. Events are global and should be compatible for any given event type

2017-06-07 Thread Peter Ent
I don't think PAYG is always obvious and I continue to struggle with the
question. Some examples:

a. Anything that can be expressed as a style probably does not need a
bead, unless the style is not native to the platform. Border and
backgroundColor are good examples. These are built into HTML, but not the
Flash Player. So the border and background styles are implemented as beads
but they are only available on the Flash Player platform. Width, height,
x, y, etc. are also styles in HTML but properties in Flash, so they don't
need beads either. Plus they are pretty fundamental to UI systems.

b. Completeness also gives me pangs. You would think that a slider's basic
properties of a minimum value, maximum value, and a current value would
not need to be questioned. And that's true, as properties they are
necessary to define a slider. But should a slider emit an event whenever
its min, max, or value changes? Many apps will just go get the current
value when they need it. The slider's mouse controller observes the
dynamic changes in the thumb position and emits an event for each movement
- but not everyone needs that so such a controller could be optional, but
without a controller, you can't actually change the thumb with the mouse
so you need the controller regardless, but do you need to emit the event
when the thumb is being moved?

c. When you do have to have something, like a slider mouse controller, to
make the component work at its basic level, do you make an option as to
whether or not to emit the event or do you have one controller that emits
events as the thumb moves and one controller that does not emit the event?
Is one controller a subclass of the other or a duplicate version?

d. Its often difficult to tell if something should be present just because
it always has been present (in Flex). When you have a set of properties
and events, we need to ask if those are essential to making the component
work. Or rather, what is the component's default behavior. For a text
input component, the default because is accepting keyboard input, without
filtering. Making it a secure input with a mask, is extra work/behavior
and thus becomes a bead. Beads enhance and augment the default behavior as
a rule of thumb.

PAYG for me, raises lots of questions about programming practices and
patterns. Do you make it easier on developers by packaging common
properties/events/options even if some are not used that often, or do you
break them down into many versions?

One way to handle this is by looking at the Express project. There, the
most commonly used patterns are put together. For instance, data binding
is in everything. Or you might have the slider always emit every event it
can. 

The Basic project should be the bare-bones components with lots of options
as beads. Then package them into common use cases and put that into
another project, like Express, to make it more palatable.

I would argue (just a little) that more complex components, like DataGrid,
and perhaps even NumericStepper, should be in a project that lives between
Basic and Express. This would leave Basic being very, well, basic (label,
button, text input, group and container for instance).

I hope that helps a little.

‹peter

On 6/7/17, 1:27 AM, "Justin Mclean"  wrote:

>Hi,
>
>> I agree that there could be a even smaller bead that doesn't track
>>changes
>> as you move the thumb.  Something to do in the next release, IMO.
>
>Could be or must be? Again just trying to understand why PAYG wasn¹t
>followed in this case.
>
>Was this just an accidental design omission that no body picked up on it
>OR is it sometimes OK to have optional feature code in beads?
>
>Thanks,
>Justin



Re: [FlexJS] Layout of NumericStepper is broken

2017-06-06 Thread Peter Ent
I found the problem: the NumericStepper's sizeChange handler was not being
called when the NS appears in this simpler test case. It is being called
when it is displayed in the FlexJSStore, for example. The more complex app
with nested containers and layouts is setting the right conditions so the
size change handler runs.

If I remove the test and always call the size change handler, both this
simple test and the FlexJSStore work fine. But there are some minor
alignment issues which I can also correct.

I don't want to check in my changes without having Alex think about why
those changes were put in place since there may be consequences of
returning the NS to a more simpler form.

‹peter

On 6/6/17, 3:17 AM, "piotrz"  wrote:

>Peter,
>
>I just raised jira ->
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.ap
>ache.org%2Fjira%2Fbrowse%2FFLEX-35322&data=02%7C01%7C%7Cafd0984b2a2d4a2643
>d308d4acae46fd%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63632331191193
>2511&sdata=6aA%2FoP%2BRTmEXaHh0aU2pRgufprYkfmGw7tmkipKsFMM%3D&reserved=0
>
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layout-of-NumericStepper-is-b
>roken-tp62108p62149.html&data=02%7C01%7C%7Cafd0984b2a2d4a2643d308d4acae46f
>d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636323311911932511&sdata=io
>xNCT03PcPjwOIytCr2%2FUjst9mGuqx2b%2BCTLqBJ7Kw%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Layout of NumericStepper is broken

2017-06-06 Thread Peter Ent
OK, thanks. I'm looking at this now (as soon as my sync of Alex's changes
completes).
‹peter

On 6/6/17, 3:17 AM, "piotrz"  wrote:

>Peter,
>
>I just raised jira ->
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.ap
>ache.org%2Fjira%2Fbrowse%2FFLEX-35322&data=02%7C01%7C%7Cafd0984b2a2d4a2643
>d308d4acae46fd%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63632331191193
>2511&sdata=6aA%2FoP%2BRTmEXaHh0aU2pRgufprYkfmGw7tmkipKsFMM%3D&reserved=0
>
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layout-of-NumericStepper-is-b
>roken-tp62108p62149.html&data=02%7C01%7C%7Cafd0984b2a2d4a2643d308d4acae46f
>d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636323311911932511&sdata=io
>xNCT03PcPjwOIytCr2%2FUjst9mGuqx2b%2BCTLqBJ7Kw%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] List

2017-06-05 Thread Peter Ent
Yes. I think people expect lists to scroll by default. Sorry I missed that
when I made those changes.
—peter

On 6/5/17, 1:43 PM, "Harbs"  wrote:

>That’s what I did for my app css. Changing it to ScrollingViewport fixed
>it.
>
>I did not know whether I should change defaults.css in Basic. It sounds
>like you are saying yes.
>
>> On Jun 5, 2017, at 5:25 PM, Peter Ent  wrote:
>> 
>> That had to be accidental. I see in defaults.css that List has a
>>Viewport
>> rather than ScrollingViewport. Just change that and lists should default
>> to scrolling.
>> 
>> Need to watch the DataGrid because its lists should not scroll - they
>>just
>> grow and the enclosing container scrolls them all together.
>> 
>> ‹peter
>> 
>> On 6/5/17, 3:01 AM, "Harbs"  wrote:
>> 
>>> It looks like List defaults to overflow: hidden while it used to allow
>>> scrolling by default.
>>> 
>>> Was this an intentional change?
>> 
>



Re: [FlexJS] Layout of NumericStepper is broken

2017-06-05 Thread Peter Ent
I'm looking into it. The SWF and JS versions are different. There's a
border around it, which is specified in the defaults.css. I'm not sure why
that is there; maybe I put it there awhile ago I just don't remember. It
looks better without it.

The SWF version, for me, has some extra graphics in the incrementing
button and the JS version has the buttons just slightly misaligned with
the input field. Running this on macOS Sierra, Safari 10.1.1, Firefox
50.0.3, and Chrome 58.0.3.

on which OS(es) and browser(s) are you seeing this?

‹peter

On 6/5/17, 10:31 AM, "piotrz"  wrote:

>Hi,
>
>I just tried NumericStepper on our release branch and it looks horrible. I
>have following code [1], can someone look into that ? I will raise jira
>later.
>
>ex-development.247.n4.nabble.com%2Ffile%2Fn62108%2Fbroken_numeric_step
>per.png&data=02%7C01%7C%7Cccc8644d5a054e8cd1e508d4ac21a197%7Cfa7b1b5a7b344
>38794aed2c178decee1%7C0%7C0%7C636322707827257340&sdata=uLxglwUpmvJYZRzMtXF
>iAi0W65ytuPaVL1DxfVYBCUo%3D&reserved=0>
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FwbLN&data=02%7C01%7C%7Cccc8644d5a054e8cd1e508d4ac21a197%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636322707827257340&sdata=8wSGQeRReell
>5enJgXlniYVCvf9Jq0OQazKyfksWBdI%3D&reserved=0
>
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layout-of-NumericStepper-is-b
>roken-tp62108.html&data=02%7C01%7C%7Cccc8644d5a054e8cd1e508d4ac21a197%7Cfa
>7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636322707827257340&sdata=VESRAJBK
>DR%2FiSQd6M3xC7tB78jqMEgq%2Bh%2BPPMfj7f%2FM%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] List

2017-06-05 Thread Peter Ent
That had to be accidental. I see in defaults.css that List has a Viewport
rather than ScrollingViewport. Just change that and lists should default
to scrolling.

Need to watch the DataGrid because its lists should not scroll - they just
grow and the enclosing container scrolls them all together.

‹peter

On 6/5/17, 3:01 AM, "Harbs"  wrote:

>It looks like List defaults to overflow: hidden while it used to allow
>scrolling by default.
>
>Was this an intentional change?



Re: [FlexJS] Accordion broken

2017-06-05 Thread Peter Ent
I haven't sync'd anything since Friday, but I don't seem to be having the
measurement problem you are talking about.

I changed the Accordion children to VContainer and added the
TitleBarModel. Now I see the TitleBar (although it is blank) and the
segment contents. When I expose or hide the segments, I see all of the
bars stacked above and below the opened segment.

On SWF, the title bars are blank; on HTML the title bars are "undefined"
(as expected and noted in another thread on null vs undefined).

—peter

On 6/4/17, 5:57 AM, "Harbs"  wrote:

>1. Seems to be a data binding problem. (See other thread.) Yishay
>committed a temporary work-around, but we don’t think that’s the right
>way to fix the problem.
>2. seems to be a measurement problem. The titleBar height is not being
>measured correctly. This is a workaround (in a custom item renderer)
>
>override public function get collapsedHeight():Number{
>return 30;
>}
>
>
>> On Jun 4, 2017, at 12:41 AM, Harbs  wrote:
>> 
>> I worked around the Promise issue (by copying js.swc to my project and
>>not using the one in the SDK).
>> 
>> There’s at least 2 issues still:
>> 1. The title property from the model is not being applied to the view
>>of the item renderer.
>> 2. The collapsed height of the collapsed items are 0 instead of the
>>title bar height.
>> 
>>> On Jun 4, 2017, at 12:10 AM, Harbs  wrote:
>>> 
>>> Yishay did the implementation of this so I was a bit shaky on the
>>>details.
>>> 
>>> I just looked at our code, and it appears that we did not actually use
>>>panels for the children.
>>> 
>>> It turns out the children are actually Containers which have a
>>>TitleBarModel bead. Sorry about the confusion. It might make sense to
>>>have an interface for an accordion-compatible container.
>>> 
>>> We will put together an example which should work better in the
>>>morning.
>>> 
>>> I cannot test my app which uses the Accordion right now because
>>>Promise is currently broken (like I wrote in my other email).
>>> 
>>> Harbs
>>> 
>>>> On Jun 2, 2017, at 7:01 PM, Peter Ent  wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> It looks like this is the last thing to be resolved before we can make
>>>> FlexJS 0.8 release.
>>>> 
>>>> I'm seeing two title bars per item in the Accordion. Any suggestions
>>>>for
>>>> how to resolve this, based on the information I've given below?
>>>> 
>>>> Thanks,
>>>> Peter
>>>> 
>>>> On 6/1/17, 3:49 PM, "Peter Ent"  wrote:
>>>> 
>>>>> I've checked in my changes to the Accordion components. It still is
>>>>>not
>>>>> working correctly and I cannot figure out what is happening. The
>>>>>  used as the data to the Accordion are being placed as
>>>>>children
>>>>> of AccordionItemRenderers which are themselves Panels. So there are
>>>>>two
>>>>> TitleBars present per Accordion section.
>>>>> 
>>>>> The layout mechanism changed so that the GroupView (the base view
>>>>>bead for
>>>>> all container-type view beads) no longer controls when layouts run;
>>>>>that
>>>>> is done by the layouts themselves. GroupView et al has a
>>>>>beforeLayout()
>>>>> and afterLayout() functions called by the layout classes which might
>>>>>be
>>>>> helpful, I'm not sure.
>>>>> 
>>>>> Panel also changed quite a bit. A Panel is now a Group with its own
>>>>>layout
>>>>> that controls the placement of the TitleBar and Container which is
>>>>>its
>>>>> content area. When you specify a layout bead on a Panel, the Panel
>>>>> actually moves it to the content area Container. Perhaps this has
>>>>> something to do with the behavior we are now seeing.
>>>>> 
>>>>> Please let me know if you have any suggestions on how to handle the
>>>>> Accordion as it now sits and I'll be happy to answer any questions
>>>>>about
>>>>> how the current view/layout system works now.
>>>>> 
>>>>> If I may, perhaps Accordion could be changed as follows:
>>>>> 
>>>>> 
>>>>> 
>>>>>
&g

Re: [FlexJS] Accordion broken

2017-06-04 Thread Peter Ent
Thanks. I'll look into this today if I get a chance and definitely tomorrow. 

Peter 


> On Jun 4, 2017, at 6:05 AM, yishayw  wrote:
> 
> Here's [1] an example app.
> 
> The 2 problems I see:
> 
> 1) DataBinding problems [2] cause titles to be undefined. I hacked a fix on
> TLF branch, but this should probably addressed differently.
> 2) TitleBar.height returns 0, even though the measured height is 30. I think
> this is a bug, am I wrong?
> 
> Thanks.
> 
> [1] 
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FQUj1&data=02%7C01%7C%7Cb335b9934ee44b3faf9d08d4ab3143ce%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636321675477479646&sdata=0qp76vTwMIdyOnFnuFZh1CPn62T3ALjIvYV47j3Aqvs%3D&reserved=0
> [2]
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-development.247.n4.nabble.com%2FFlexJS-DataBinding-Problem-td62073.html&data=02%7C01%7C%7Cb335b9934ee44b3faf9d08d4ab3143ce%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636321675477489658&sdata=1y0o9R2qZWimrsFH%2FTyU%2B5061RVbnFQgpRsQ5CKtmfc%3D&reserved=0
> 
> 
> 
> 
> --
> View this message in context: 
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-development.247.n4.nabble.com%2FFlexJS-Accordion-broken-tp61937p62080.html&data=02%7C01%7C%7Cb335b9934ee44b3faf9d08d4ab3143ce%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636321675477489658&sdata=s3BPfklP65X5fXGknNX0ZB%2FfREeToXzsiGhKV%2BSpSJo%3D&reserved=0
> Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Accordion broken

2017-06-02 Thread Peter Ent
Hi,

It looks like this is the last thing to be resolved before we can make
FlexJS 0.8 release.

I'm seeing two title bars per item in the Accordion. Any suggestions for
how to resolve this, based on the information I've given below?

Thanks,
Peter

On 6/1/17, 3:49 PM, "Peter Ent"  wrote:

>I've checked in my changes to the Accordion components. It still is not
>working correctly and I cannot figure out what is happening. The
> used as the data to the Accordion are being placed as children
>of AccordionItemRenderers which are themselves Panels. So there are two
>TitleBars present per Accordion section.
>
>The layout mechanism changed so that the GroupView (the base view bead for
>all container-type view beads) no longer controls when layouts run; that
>is done by the layouts themselves. GroupView et al has a beforeLayout()
>and afterLayout() functions called by the layout classes which might be
>helpful, I'm not sure.
>
>Panel also changed quite a bit. A Panel is now a Group with its own layout
>that controls the placement of the TitleBar and Container which is its
>content area. When you specify a layout bead on a Panel, the Panel
>actually moves it to the content area Container. Perhaps this has
>something to do with the behavior we are now seeing.
>
>Please let me know if you have any suggestions on how to handle the
>Accordion as it now sits and I'll be happy to answer any questions about
>how the current view/layout system works now.
>
>If I may, perhaps Accordion could be changed as follows:
>
>
>
>   
>
>
>
>
>
>
>The Accordion + AccordionView would create 2 children for each
>AccordionSection in the Accordion's space: an AccordionHeader + child>. 
>
>The model would indicate which  is being viewed and the
>layout, such as OneFlexibleChildVerticalLayout or
>OneFlexibleChildHorizontalLayout, would take care of sizing and
>positioning the AccordionHeader and  elements. The child> elements not visible would simply have visible=false set; the
>layout will then ignore them.
>
>For the HTML side, this example would create a  with four children
>and not have any deep nesting unless that what the 
>produces. The  that's visible would have overflow:auto or
>overflow:hidden while the other  elements would have
>display:none set. 
>
>Merely a suggestion, and could probably use some refinement.
>
>‹peter
>
>
>On 6/1/17, 2:03 PM, "yishayw"  wrote:
>
>>Harbs wrote
>>> \2. The Collapse bead can only infer that it¹s collapsed by the fact
>>>that
>>> the size is the collapsed size ‹ which only makes sense if the size is
>>> set.
>>
>>Shouldn't .height return the measured height, regardless of whether it
>>was
>>explicitly set?
>>
>>
>>
>>
>>--
>>View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>e
>>x-development.247.n4.nabble.com%2FFlexJS-Accordion-broken-tp61937p620
>>0
>>8.html&data=02%7C01%7C%7C9b640697ac694828308808d4a91a8573%7Cfa7b1b5a7b344
>>3
>>8794aed2c178decee1%7C0%7C0%7C636319378749470812&sdata=I%2BJ9TjnMxtY8VD4b4
>>h
>>6ljmTghd1Wy8yG8xo2eR9s6OY%3D&reserved=0
>>Sent from the Apache Flex Development mailing list archive at Nabble.com.
>



Re: [FlexJS] Accordion broken

2017-06-01 Thread Peter Ent
I've checked in my changes to the Accordion components. It still is not
working correctly and I cannot figure out what is happening. The
 used as the data to the Accordion are being placed as children
of AccordionItemRenderers which are themselves Panels. So there are two
TitleBars present per Accordion section.

The layout mechanism changed so that the GroupView (the base view bead for
all container-type view beads) no longer controls when layouts run; that
is done by the layouts themselves. GroupView et al has a beforeLayout()
and afterLayout() functions called by the layout classes which might be
helpful, I'm not sure.

Panel also changed quite a bit. A Panel is now a Group with its own layout
that controls the placement of the TitleBar and Container which is its
content area. When you specify a layout bead on a Panel, the Panel
actually moves it to the content area Container. Perhaps this has
something to do with the behavior we are now seeing.

Please let me know if you have any suggestions on how to handle the
Accordion as it now sits and I'll be happy to answer any questions about
how the current view/layout system works now.

If I may, perhaps Accordion could be changed as follows:



   






The Accordion + AccordionView would create 2 children for each
AccordionSection in the Accordion's space: an AccordionHeader + . 

The model would indicate which  is being viewed and the
layout, such as OneFlexibleChildVerticalLayout or
OneFlexibleChildHorizontalLayout, would take care of sizing and
positioning the AccordionHeader and  elements. The  elements not visible would simply have visible=false set; the
layout will then ignore them.

For the HTML side, this example would create a  with four children
and not have any deep nesting unless that what the 
produces. The  that's visible would have overflow:auto or
overflow:hidden while the other  elements would have
display:none set. 

Merely a suggestion, and could probably use some refinement.

‹peter


On 6/1/17, 2:03 PM, "yishayw"  wrote:

>Harbs wrote
>> \2. The Collapse bead can only infer that it¹s collapsed by the fact
>>that
>> the size is the collapsed size ‹ which only makes sense if the size is
>> set.
>
>Shouldn't .height return the measured height, regardless of whether it was
>explicitly set?
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Accordion-broken-tp61937p6200
>8.html&data=02%7C01%7C%7C9b640697ac694828308808d4a91a8573%7Cfa7b1b5a7b3443
>8794aed2c178decee1%7C0%7C0%7C636319378749470812&sdata=I%2BJ9TjnMxtY8VD4b4h
>6ljmTghd1Wy8yG8xo2eR9s6OY%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Accordion broken

2017-06-01 Thread Peter Ent
With some guidance from Alex, I have the Accordion "working". The problem
now is that it appears as a Panel-in-Panel for each item. For example,
with two Panels in the dataProvider, there are two bars and whichever is
"open" or "selected" shows the Panel from the dataProvider along with its
title bar. I understand using a Panel as the itemRenderer, but I don't see
how there cannot be two title bars. I will continue to sort this out.

—peter

On 5/31/17, 2:47 PM, "Harbs"  wrote:

>Yishay had some code to handle the cases where it’s not set via MXML
>which you removed.
>
>I changed his code to simply intialize the document if it was not set by
>MXML like this:
>
>   //Needed if the layout is not declared using MXML
>   private function 
> initializeDocument(contentView:ILayoutView):void
>   {
>   document = {};
>   for (var i:int = 0; i < contentView.numElements; i++)
>   {
>   var child:IStyleableObject = 
> contentView.getElementAt(i) as
>IStyleableObject;
>   document[child.id] = child;
>   }
>   }
>
>and in layout():
>   if(document == null)
>   initializeDocument(contentView);
>
>An AccordionLayout might make sense though. And switching to selection
>rather than checking collapsed might make sense as well.
>
>Thanks for working on this.
>
>> On May 31, 2017, at 7:47 PM, Peter Ent  wrote:
>> 
>> I'm still working on this and ran into a couple of issues.
>> 
>> The flexible child layouts no longer provide a way to explicitly set a
>> child; instead they rely in the child's id being used to retrieve the
>> child from the document. Unfortunately, a layout that is not referenced
>>in
>> MXML will not get its document set.
>> 
>> Perhaps a better solution is to write "AccordionLayout" that will expand
>> the child selected by the model, but I'm still looking at making use of
>> what is already there.
>> 
>> —peter
>> 
>> 
>> 
>> On 5/30/17, 11:35 AM, "Harbs"  wrote:
>> 
>>> The reasons it’s broken is (at least) thee-fold:
>>> 
>>> 1. Panels contain content and need to be collapsed despite the fact
>>>that
>>> content exists.
>>> 2. The Collapse bead can only infer that it’s collapsed by the fact
>>>that
>>> the size is the collapsed size — which only makes sense if the size is
>>> set.
>>> 3. The title must be measured to set the collapsed height correctly.
>>> 
>>>> On May 30, 2017, at 6:21 PM, Harbs  wrote:
>>>> 
>>>> Something like this:
>>>> 
>>>>   
>>>>   
>>>>   
>>>>   
>>>>   
>>>>       
>>>>   
>>>>   
>>>> 
>>>> This is the markup of an Accordion which used to work, which doesn’t
>>>> anymore.
>>>> 
>>>>
>>>>   
>>>>   
>>>>
>>>>
>>>>
>>>>
>>>>   
>>>>   
>>>>   
>>>> 
>>>> 
>>>>> On May 30, 2017, at 4:54 PM, Peter Ent 
>>>>>wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> Do you have a quick example of how to use the FlexJS Accordion? The
>>>>> ASDoc
>>>>> on it is thin. The children of the Flex SDK Accordion were navigation
>>>>> components that supported things like title so each section could be
>>>>> labeled. I don't see an AccordionChild or something similar that can
>>>>>be
>>>>> used with Accordion. I took a guess and made Container a child of it,
>>>>> but
>>>>> it just blew up.
>>>>> 
>>>>> Thanks,
>>>>> ‹peter
>>>>> 
>>>>> On 5/30/17, 6:39 AM, "Harbs"  wrote:
>>>>> 
>>>>>> It seems like the new layouts totally broke Accordion.
>>>>>> 
>>>>>> Accordion relied on absolute sizing to handle expanding and
>>>>>> collapsing of
>>>>>> content. I tried to add a new layout which is basically a copy of
>>>>>>the
>>>>>> old
>>>>>> OneFlexibleVerticalLayout and use that for accordion, but that does
>>>>>> not
>>>>>> seem to work either due to changes in containers (I think).
>>>>>> 
>>>>>> Peter, do you thin you could look into this?
>>>>>> 
>>>>>> Thanks,
>>>>>> Harbs
>>>>> 
>>>> 
>>> 
>> 
>



Re: [FlexJS] Accordion broken

2017-05-31 Thread Peter Ent
I'm still working on this and ran into a couple of issues.

The flexible child layouts no longer provide a way to explicitly set a
child; instead they rely in the child's id being used to retrieve the
child from the document. Unfortunately, a layout that is not referenced in
MXML will not get its document set.

Perhaps a better solution is to write "AccordionLayout" that will expand
the child selected by the model, but I'm still looking at making use of
what is already there.

—peter



On 5/30/17, 11:35 AM, "Harbs"  wrote:

>The reasons it’s broken is (at least) thee-fold:
>
>1. Panels contain content and need to be collapsed despite the fact that
>content exists.
>2. The Collapse bead can only infer that it’s collapsed by the fact that
>the size is the collapsed size — which only makes sense if the size is
>set.
>3. The title must be measured to set the collapsed height correctly.
>
>> On May 30, 2017, at 6:21 PM, Harbs  wrote:
>> 
>> Something like this:
>> 
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>> This is the markup of an Accordion which used to work, which doesn’t
>>anymore.
>> 
>>  
>>
>>
>>  
>>  
>>      
>>  
>>
>>
>>
>> 
>> 
>>> On May 30, 2017, at 4:54 PM, Peter Ent  wrote:
>>> 
>>> Hi,
>>> 
>>> Do you have a quick example of how to use the FlexJS Accordion? The
>>>ASDoc
>>> on it is thin. The children of the Flex SDK Accordion were navigation
>>> components that supported things like title so each section could be
>>> labeled. I don't see an AccordionChild or something similar that can be
>>> used with Accordion. I took a guess and made Container a child of it,
>>>but
>>> it just blew up.
>>> 
>>> Thanks,
>>> ‹peter
>>> 
>>> On 5/30/17, 6:39 AM, "Harbs"  wrote:
>>> 
>>>> It seems like the new layouts totally broke Accordion.
>>>> 
>>>> Accordion relied on absolute sizing to handle expanding and
>>>>collapsing of
>>>> content. I tried to add a new layout which is basically a copy of the
>>>>old
>>>> OneFlexibleVerticalLayout and use that for accordion, but that does
>>>>not
>>>> seem to work either due to changes in containers (I think).
>>>> 
>>>> Peter, do you thin you could look into this?
>>>> 
>>>> Thanks,
>>>> Harbs
>>> 
>> 
>



Re: [FlexJS] Accordion broken

2017-05-30 Thread Peter Ent
OK, thanks. Alex some alternative layouts I can try.
—peter

On 5/30/17, 11:35 AM, "Harbs"  wrote:

>The reasons it’s broken is (at least) thee-fold:
>
>1. Panels contain content and need to be collapsed despite the fact that
>content exists.
>2. The Collapse bead can only infer that it’s collapsed by the fact that
>the size is the collapsed size — which only makes sense if the size is
>set.
>3. The title must be measured to set the collapsed height correctly.
>
>> On May 30, 2017, at 6:21 PM, Harbs  wrote:
>> 
>> Something like this:
>> 
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>> This is the markup of an Accordion which used to work, which doesn’t
>>anymore.
>> 
>>  
>>
>>
>>  
>>  
>>      
>>  
>>
>>
>>
>> 
>> 
>>> On May 30, 2017, at 4:54 PM, Peter Ent  wrote:
>>> 
>>> Hi,
>>> 
>>> Do you have a quick example of how to use the FlexJS Accordion? The
>>>ASDoc
>>> on it is thin. The children of the Flex SDK Accordion were navigation
>>> components that supported things like title so each section could be
>>> labeled. I don't see an AccordionChild or something similar that can be
>>> used with Accordion. I took a guess and made Container a child of it,
>>>but
>>> it just blew up.
>>> 
>>> Thanks,
>>> ‹peter
>>> 
>>> On 5/30/17, 6:39 AM, "Harbs"  wrote:
>>> 
>>>> It seems like the new layouts totally broke Accordion.
>>>> 
>>>> Accordion relied on absolute sizing to handle expanding and
>>>>collapsing of
>>>> content. I tried to add a new layout which is basically a copy of the
>>>>old
>>>> OneFlexibleVerticalLayout and use that for accordion, but that does
>>>>not
>>>> seem to work either due to changes in containers (I think).
>>>> 
>>>> Peter, do you thin you could look into this?
>>>> 
>>>> Thanks,
>>>> Harbs
>>> 
>> 
>



Re: [FlexJS] Accordion broken

2017-05-30 Thread Peter Ent
Hi,

Do you have a quick example of how to use the FlexJS Accordion? The ASDoc
on it is thin. The children of the Flex SDK Accordion were navigation
components that supported things like title so each section could be
labeled. I don't see an AccordionChild or something similar that can be
used with Accordion. I took a guess and made Container a child of it, but
it just blew up. 

Thanks,
‹peter

On 5/30/17, 6:39 AM, "Harbs"  wrote:

>It seems like the new layouts totally broke Accordion.
>
>Accordion relied on absolute sizing to handle expanding and collapsing of
>content. I tried to add a new layout which is basically a copy of the old
>OneFlexibleVerticalLayout and use that for accordion, but that does not
>seem to work either due to changes in containers (I think).
>
>Peter, do you thin you could look into this?
>
>Thanks,
>Harbs



Re: [FlexJS] Accordion broken

2017-05-30 Thread Peter Ent
I am looking into it. I will also create an example for Accordion so it
will be easier to test it in the future.
‹peter

On 5/30/17, 6:39 AM, "Harbs"  wrote:

>It seems like the new layouts totally broke Accordion.
>
>Accordion relied on absolute sizing to handle expanding and collapsing of
>content. I tried to add a new layout which is basically a copy of the old
>OneFlexibleVerticalLayout and use that for accordion, but that does not
>seem to work either due to changes in containers (I think).
>
>Peter, do you thin you could look into this?
>
>Thanks,
>Harbs



Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-26 Thread Peter Ent
Just an FYI:

I'm trying to fix a bug in Mobile project with the Camera class. I am
hoping to wrap it up today.

Regards,
Peter
>



Re: [ApacheCon/FlexJS Summit] FlexJS 1.0 Discussion Round - Summary

2017-05-25 Thread Peter Ent
Looks like you got some good advice about being a contributor/committer.

As for the file system/storage issue. The FlexJS Storage project seems
like a good place for all of storage/repository/file system functions to
go. We can give them different package names within the project, too, of
course.

The key is providing functionality across the platforms which are: the
browser, the Flash Player, Cordova, and Air. From an application
developer's point of view, they should have a generic way to access
storage that works on all the platform, or at least, does not crash on any
particular platform if the platform does not support the feature. For
example, if you want to make the device's file system available, that's
really only available when run in Air and on mobile using Cordova; the
browser environment prevents direct access to the underlying file system
for security reasons. In this case, any file system classes or functions
should compile for browser and Flash Player, even if they won't do
anything (e.g., saving a file).

Here's an example: The HTML  element provides the UI for selecting
a file to upload. That needs to have Flash Player, equivalence
(FileReference API), Air has a richer API for this, and I believe Cordova
does as well. But the FlexJS class(es) that a developer would use should
be generic:

  

or something like that.

I hope that helps.
—peter

On 5/25/17, 1:42 AM, "PKumar"  wrote:

>Peter,
>
>If u can give me few pointers then I am willing to work on this.
>
>One more point, right now I am not a flexjs contributer. Since one year I
>am using flexjs and creating demos so that I can get good grip on it.
>Now I am having free time and want to contribute to FlexJS. So What are
>the
>process to become official FlexJS contributer? Please suggest.
>
>
>On 22-May-2017 5:50 PM, "Peter Ent-2 [via Apache Flex Development]" <
>ml+s247n61737...@n4.nabble.com> wrote:
>
>> The Storage package is definitely incomplete. We should address access
>> from browser (JS & SWF) air, and Cordova.
>>
>> Peter
>>
>>
>> > On May 21, 2017, at 10:44 AM, PKumar <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=61737&i=0>> wrote:
>> >
>> > Peter,
>> >
>> > As compare to regular FlexSDK , there is no way to select any file
>>from
>> > file system and adding file type filter on selection. Also no way to
>> open
>> > FileSave dialogue box.
>> >
>> > On 21-May-2017 7:18 PM, "Peter Ent-2 [via Apache Flex Development]" <
>> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=61737&i=1>>
>> wrote:
>> >
>> >> The FlexJS Storage package address some storage concerns. It provides
>> file
>> >> handling when run via AIR and on mobile devices via Cordova. Since
>> there
>> >> are sandboxing issues with the Flash Player, I'm not sure what else
>>we
>> can
>> >> do there besides local storage.
>> >>
>> >> ‹peter
>> >>
>> >> On 5/21/17, 7:25 AM, "PKumar" <[hidden email]
>> >> <http:///user/SendEmail.jtp?type=node&node=61714&i=0>> wrote:
>> >>
>> >>> FileHandling  can also be a option in the list. Right now FlexJS not
>> >>> having
>> >>> any file handling capabilities.
>> >>>
>> >>> On 20-May-2017 5:45 PM, "yishayw [via Apache Flex Development]" <
>> >>> [hidden email]
>><http:///user/SendEmail.jtp?type=node&node=61714&i=1>>
>> >> wrote:
>> >>>
>> >>>> Items 1-9 were considered musts.
>> >>>>
>> >>>> Fontkit library port (item 7) made it to the list because it was
>> >>>> blocking
>> >>>> Maven builds. I think Chris has found a workaround, so maybe we can
>> >>>> strike
>> >>>> that off.
>> >>>>
>> >>>> Post meeting there was some agreement that a better looking default
>> >>>> theme
>> >>>> was also a must. Leonidas said he would provide us with the
>>graphics.
>> >>>> That
>> >>>> would be very helpful in my opinion.
>> >>>>
>> >>>>
>> >>>> --
>> >>>> If you reply to this email, your message will be added to the
>> >> discussion
>> >>>> below:
>> >>>>
>> >>>> http

Re: [ApacheCon/FlexJS Summit] FlexJS 1.0 Discussion Round - Summary

2017-05-22 Thread Peter Ent
The Storage package is definitely incomplete. We should address access from 
browser (JS & SWF) air, and Cordova. 

Peter 


> On May 21, 2017, at 10:44 AM, PKumar  wrote:
> 
> Peter,
> 
> As compare to regular FlexSDK , there is no way to select any file from
> file system and adding file type filter on selection. Also no way to open
> FileSave dialogue box.
> 
> On 21-May-2017 7:18 PM, "Peter Ent-2 [via Apache Flex Development]" <
> ml+s247n61714...@n4.nabble.com> wrote:
> 
>> The FlexJS Storage package address some storage concerns. It provides file
>> handling when run via AIR and on mobile devices via Cordova. Since there
>> are sandboxing issues with the Flash Player, I'm not sure what else we can
>> do there besides local storage.
>> 
>> ‹peter
>> 
>> On 5/21/17, 7:25 AM, "PKumar" <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=61714&i=0>> wrote:
>> 
>>> FileHandling  can also be a option in the list. Right now FlexJS not
>>> having
>>> any file handling capabilities.
>>> 
>>> On 20-May-2017 5:45 PM, "yishayw [via Apache Flex Development]" <
>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=61714&i=1>>
>> wrote:
>>> 
>>>> Items 1-9 were considered musts.
>>>> 
>>>> Fontkit library port (item 7) made it to the list because it was
>>>> blocking
>>>> Maven builds. I think Chris has found a workaround, so maybe we can
>>>> strike
>>>> that off.
>>>> 
>>>> Post meeting there was some agreement that a better looking default
>>>> theme
>>>> was also a must. Leonidas said he would provide us with the graphics.
>>>> That
>>>> would be very helpful in my opinion.
>>>> 
>>>> 
>>>> --
>>>> If you reply to this email, your message will be added to the
>> discussion
>>>> below:
>>>> 
>>>> https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-fl
>>>> ex-development.247.n4.nabble&data=02%7C01%7C%7C9e768268022a4555dcd008
>> 
>>>> d4a03dfbb9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63630963545957906
>> 
>>>> 9&sdata=D4m8GDMEUC5WcEpHcxKSDOGHnc4MXZx3fhT4ksecVw0%3D&reserved=0.
>>>> com/ApacheCon-FlexJS-Summit-FlexJS-1-0-Discussion-Round-
>>>> Summary-tp61700p61703.html
>>>> To start a new topic under Apache Flex Development, email
>>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=61714&i=2>
>>>> To unsubscribe from Apache Flex Development, click here
>>>> 
>>>> <https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-f
>>>> lex-development.247.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacr
>> 
>>>> o%3Dunsubscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tf
>> 
>>>> DF8LTU0MTcyMzE2NA&data=02%7C01%7C%7C9e768268022a4555dcd008d4a03dfbb9%7Cfa
>> 
>>>> 7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636309635459579069&sdata=FGQ9vpd
>> 
>>>> yMvICZ4dTpGxOsYF0hWp%2FMPg6x%2FwB3thsayM%3D&reserved=0==>
>>>> .
>>>> NAML
>>>> 
>>>> <https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-f
>>>> lex-development.247.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacr
>> 
>>>> o%3Dmacro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dn
>> 
>>>> abble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNames
>> 
>>>> pace-nabble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscr
>> 
>>>> ibers%2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-
>> 
>>>> send_instant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7C9e76826802
>> 
>>>> 2a4555dcd008d4a03dfbb9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63630
>> 
>>>> 9635459579069&sdata=VVuCGtlA2uJ2eu4LI9uKVYKFElfHNdBz0uQpNe%2F%2BBGY%3D&re
>> 
>>>> served=0>
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> View this message in context:
>>> https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-fle
>>> x-development.247.n4.nabble.com%2FApacheCon-FlexJS-Summit-FlexJS-1-0-D
>> 
>>> iscussion-Round-S

Re: [ApacheCon/FlexJS Summit] FlexJS 1.0 Discussion Round - Summary

2017-05-21 Thread Peter Ent
The FlexJS Storage package address some storage concerns. It provides file
handling when run via AIR and on mobile devices via Cordova. Since there
are sandboxing issues with the Flash Player, I'm not sure what else we can
do there besides local storage.

‹peter

On 5/21/17, 7:25 AM, "PKumar"  wrote:

>FileHandling  can also be a option in the list. Right now FlexJS not
>having
>any file handling capabilities.
>
>On 20-May-2017 5:45 PM, "yishayw [via Apache Flex Development]" <
>ml+s247n6170...@n4.nabble.com> wrote:
>
>> Items 1-9 were considered musts.
>>
>> Fontkit library port (item 7) made it to the list because it was
>>blocking
>> Maven builds. I think Chris has found a workaround, so maybe we can
>>strike
>> that off.
>>
>> Post meeting there was some agreement that a better looking default
>>theme
>> was also a must. Leonidas said he would provide us with the graphics.
>>That
>> would be very helpful in my opinion.
>>
>>
>> --
>> If you reply to this email, your message will be added to the discussion
>> below:
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>ex-development.247.n4.nabble&data=02%7C01%7C%7C9e768268022a4555dcd008
>>d4a03dfbb9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63630963545957906
>>9&sdata=D4m8GDMEUC5WcEpHcxKSDOGHnc4MXZx3fhT4ksecVw0%3D&reserved=0.
>> com/ApacheCon-FlexJS-Summit-FlexJS-1-0-Discussion-Round-
>> Summary-tp61700p61703.html
>> To start a new topic under Apache Flex Development, email
>> ml+s247n1...@n4.nabble.com
>> To unsubscribe from Apache Flex Development, click here
>> 
>>>lex-development.247.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacr
>>o%3Dunsubscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tf
>>DF8LTU0MTcyMzE2NA&data=02%7C01%7C%7C9e768268022a4555dcd008d4a03dfbb9%7Cfa
>>7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636309635459579069&sdata=FGQ9vpd
>>yMvICZ4dTpGxOsYF0hWp%2FMPg6x%2FwB3thsayM%3D&reserved=0==>
>> .
>> NAML
>> 
>>>lex-development.247.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacr
>>o%3Dmacro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dn
>>abble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNames
>>pace-nabble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscr
>>ibers%2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-
>>send_instant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7C9e76826802
>>2a4555dcd008d4a03dfbb9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63630
>>9635459579069&sdata=VVuCGtlA2uJ2eu4LI9uKVYKFElfHNdBz0uQpNe%2F%2BBGY%3D&re
>>served=0>
>>
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FApacheCon-FlexJS-Summit-FlexJS-1-0-D
>iscussion-Round-Summary-tp61700p61713.html&data=02%7C01%7C%7C9e768268022a4
>555dcd008d4a03dfbb9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636309635
>459579069&sdata=BTZ1%2FXsfjGT7XLQEFFvVz5L%2F1F0XIqB5BzxxaVT0%2Fb0%3D&reser
>ved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: Moonshine 1.4.0 Release

2017-05-16 Thread Peter Ent
On Mac macOS Sierra: When I start this new version of Moonshine, I get a
dialog that tells me that due to an Apple sandbox issue, my Apache Flex
and Apache FlexJS SDKs must be located in the Downloads folder. OK, fine,
so I click on the button that takes me to a Moonshine downloads page, but
there is only a download for Moonshine
(http://moonshine-ide.com/moonshine-app-store-helper/) Helper. Thinking
that is probably it (I was actually expecting to do to the Apache
Flex/FlexJS page to get the SDKs), I downloaded the package and launched
it.

That did "something" (not sure what) and then offered to delete itself,
which I did. This left my Downloads folder in its original condition
(which is currently empty).

So I'm not really sure this part of the set up worked.

Regards,
Peter Ent
Adobe Systems/Apache Flex Project

On 5/15/17, 4:30 PM, "JoelProminic"  wrote:

>I am pleased to announce that Moonshine 1.4.0 has been released at
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmoonshine-
>ide.com%2F&data=02%7C01%7C%7Cf4c257aead604dcde0ad08d49bd320ee%7Cfa7b1b5a7b
>34438794aed2c178decee1%7C0%7C0%7C636304778468882690&sdata=wMoLsDsaRFuRc6wa
>ahe84LzbdNBl%2F598mEJykwg5w5E%3D&reserved=0 and on the App Store.
>
>This release was focused mostly on adding some more common IDE features,
>including:
>- Command-Click to go to the definition for a variable, function, or class
>- View code problems in a list or by in-line highlighting
>- Find all references for a variable, function, or class.
>- List and search all definitions in a file or project
>
>
>We also added code-completion support for FlexJS 0.8.0 nightly builds.
>
>Let us know if you encounter any issues with the update.
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FMoonshine-1-4-0-Release-tp61632.html
>&data=02%7C01%7C%7Cf4c257aead604dcde0ad08d49bd320ee%7Cfa7b1b5a7b34438794ae
>d2c178decee1%7C0%7C0%7C636304778468882690&sdata=P3PuvUqVioWi6R6q%2B0pTIOWm
>XEX1%2B2HtyKotoain41Y%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] CSS Pruning

2017-05-15 Thread Peter Ent
The reason for .DataGridListArea is that the SWF side does not recognize a 
selector of:

DataGrid Container { ... }

So I gave the Container used for the list area a class name. Perhaps I can try 
to change it to a type name and see if that's more helpful and if so look at 
replacing as many specialty class names with type selectors. 

Peter 


> On May 15, 2017, at 11:46 AM, Alex Harui  wrote:
> 
> Hi,
> 
> While waiting for more folks to examine the release branch packages, I try
> find time to find easy ways to make HelloWorld smaller.  Currently, it is
> 62K of minified JS.  IMO, that's too big!
> 
> I think I can get some classes to drop away via more
> @flexjsignorecoercions.  The list of interfaces in the output is pretty
> large and I'll bet most are not needed at runtime.
> 
> But another sore spot for me is the CSS output.  This is true even for
> regular Flex:  the CSS output contains EVERY class selector.  The compiler
> knows how to prune out unused type selectors, but it always keeps every
> class selector.  IOW, if you look at the CSS and see ".DataGridListArea",
> that's a class selector.  But if you see "DataGrid" (no starting '.')
> that’s a type selector and for HelloWorld, which has just a Label, the
> DataGrid type selector is not in the output and any dependencies it brings
> it are not in the output either.
> 
> But in HelloWorld today, ".DataGridListArea" is in the output for
> HelloWorld.  In looking at the compiler code, we could somehow mark our
> class selectors in a way that they will be removed if the type related to
> the name isn't in the output.  IOW, we need to know to keep class
> selectors like ".myClassSelector", but know to get rid of
> .DataGridListArea if DataGrid is not in the output.
> 
> I've worked around this in the past by creating new classes.  In this
> case, if .DataGridListArea is applied to a Group, then make a subclass of
> Group called DataGridListArea and change the class selector to a type
> selector.  The problem is that the definition of the DataGridListArea
> class takes up room in the output, so it would be slightly better to find
> a way to prune class selectors.
> 
> Maybe class selectors we want to prune should start with the type name
> surrounded by '$", so .$DataGrid$ListArea.  Then the compiler could easily
> check for two '$' and see if the class in-between is being kept in the
> output or not.
> 
> Thoughts?
> -Alex
> 


Re: [FlexJS] Layouts

2017-05-05 Thread Peter Ent
Well, the LayoutBase assume's the host/strand implements ILayoutParent and
provides the ILayoutHost. The ILayoutHost then provides the ILayoutView.
These can all be the same thing.

The layouts in Basic assume the items being laid out are ILayoutChild
compliant. So if MDL components followed that pattern things should work
out.

‹peter



On 5/5/17, 10:58 AM, "piotrz"  wrote:

>Well maybe that's not bad idea - to make similar set of layouts, but, what
>would be the difference ?
> 
>In general MDL should be like our Basic set of components, should be able
>to
>use such beads.
>
>Maybe I should implement to the containers View parts and move there
>appropriate logic. - In that case all layouts will be working.
>
>Any thoughts from others ?
>
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layouts-tp61120p61501.html&da
>ta=02%7C01%7C%7Cb742d8c1f6d44087f65f08d493c8dce3%7Cfa7b1b5a7b34438794aed2c
>178decee1%7C0%7C0%7C636295938289099392&sdata=Kt0Qd5IA1PEdNjvRF0SQN87vjYl0D
>hWjLOBlPGHaeIo%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Layouts

2017-05-05 Thread Peter Ent
Maybe MDL should have its own set of layouts and layout-compliant
interfaces. Opinions?
‹peter

On 5/5/17, 2:15 AM, "piotrz"  wrote:

>Hi Peter,
>
>I have found one scenario where there is a null pointer exception, but I'm
>not sure whether even we should cover such case. Let me know what do you
>think.
>
>If I have in MDL Grid with GridCell and I add to it HorizontalFlexLayout
>bead [1] I will get NPE [2], cause GridCell do not have View.
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FoQRi&data=02%7C01%7C%7C247c58abd1ef48ae7de608d4937fbd81%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636295624251898329&sdata=s6R8lLuDcUjf
>x%2FSoGYvLeaBLd2a7iFtYFZMzSw2DF48%3D&reserved=0
>[2] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FHn3G&data=02%7C01%7C%7C247c58abd1ef48ae7de608d4937fbd81%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636295624251898329&sdata=dUrANaUf5Kd6
>yAmaf7NAssyRHj2clQFjfhecHxYrXJo%3D&reserved=0
>
>Thanks,
>Piotr
>
>
>
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layouts-tp61120p61494.html&da
>ta=02%7C01%7C%7C247c58abd1ef48ae7de608d4937fbd81%7Cfa7b1b5a7b34438794aed2c
>178decee1%7C0%7C0%7C636295624251898329&sdata=Ezju83uKcTRx4n748WEIz9zKf8C4Z
>Qq5M1rbNuVnObY%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: git commit: [flex-asjs] [refs/heads/develop] - Added AbsolutePositioningViewBeadBase so control components can position their sub-elements using absolute positioning.

2017-05-03 Thread Peter Ent
Hi,

This is the finished bead. We put "base" on it to indicate it is a class
you can use as the basis for control view beads. But feel free to change
it now before it gets too much use.


‹peter

On 5/3/17, 1:17 PM, "Piotr Zarzycki"  wrote:

>Hi Peter,
>
>Is this finished bead which I can use straight in my components ? If this
>is not class which should be extended - I think better would be name
>without "Base".
>
>Just my feeling when I look without going into the code.
>
>Piotr
>
>
>
>2017-05-03 19:08 GMT+02:00 :
>
>> Repository: flex-asjs
>> Updated Branches:
>>   refs/heads/develop 7965c6de2 -> 88f0bcbe0
>>
>>
>> Added AbsolutePositioningViewBeadBase so control components can position
>> their sub-elements using absolute positioning.
>>
>>
>> Project: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Frepo&data=02%7C01%7C%7Cb4705bba1
>>ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6362
>>94286433550282&sdata=76h%2FPdcpqBabnqn%2BJlZpiP4Vp5XzSizXlHTS5EUNd%2BY%3D
>>&reserved=0
>> Commit: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fcommit%2F88f0bcbe&data=02%7C01%7
>>C%7Cb4705bba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7
>>C0%7C0%7C636294286433550282&sdata=oM9XL7xk139jn12ioIful8YwO%2BNgKoqCWVvPg
>>BLpE20%3D&reserved=0
>> Tree: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Ftree%2F88f0bcbe&data=02%7C01%7C%
>>7Cb4705bba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>>%7C0%7C636294286433550282&sdata=YHG%2FTeTBVMccD%2FCzVNUZO9e74fT9gjAqXv7k2
>>rW94uw%3D&reserved=0
>> Diff: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fdiff%2F88f0bcbe&data=02%7C01%7C%
>>7Cb4705bba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>>%7C0%7C636294286433550282&sdata=KH7zotCmcVuj7GLuKHa20cUYCxh189IeobJk%2FLK
>>d1Js%3D&reserved=0
>>
>> Branch: refs/heads/develop
>> Commit: 88f0bcbe0728e2831e097a1b9593f835cf3c564d
>> Parents: 7965c6d
>> Author: Peter Ent 
>> Authored: Wed May 3 13:08:08 2017 -0400
>> Committer: Peter Ent 
>> Committed: Wed May 3 13:08:08 2017 -0400
>>
>> --
>>  .../Basic/src/main/flex/BasicClasses.as |   1 +
>>  .../beads/AbsolutePositioningViewBeadBase.as| 113
>>+++
>>  2 files changed, 114 insertions(+)
>> --
>>
>>
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fblob%2F&data=02%7C01%7C%7Cb4705b
>>ba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>>36294286433550282&sdata=kVtfAYLBRzSsOY4OWt4F1UGCg1gZbrCrYsDaoH5RpOo%3D&re
>>served=0
>> 88f0bcbe/frameworks/projects/Basic/src/main/flex/BasicClasses.as
>> --
>> diff --git a/frameworks/projects/Basic/src/main/flex/BasicClasses.as
>> b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
>> index 4436e43..c7655cc 100644
>> --- a/frameworks/projects/Basic/src/main/flex/BasicClasses.as
>> +++ b/frameworks/projects/Basic/src/main/flex/BasicClasses.as
>> @@ -32,6 +32,7 @@ internal class BasicClasses
>>  import org.apache.flex.html.beads.DispatchInputFinishedBead;
>> DispatchInputFinishedBead;
>> import org.apache.flex.html.accessories.PasswordInputBead;
>> PasswordInputBead;
>> import org.apache.flex.html.accessories.TextPromptBead;
>> TextPromptBead;
>> +   import 
>>org.apache.flex.html.beads.AbsolutePositioningViewBeadBase;
>> AbsolutePositioningViewBeadBase;
>>  import org.apache.flex.html.beads.AlertView; AlertView;
>>  import org.apache.flex.html.beads.models.AlertModel; AlertModel;
>> COMPILE::SWF
>>
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fblob%2F&data=02%7C01%7C%7Cb4705b
>>ba1ccf4c8d0bfa08d492484269%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>>36294286433550282&sdata=kVtfAYLBRzSsOY4OWt4F1UGCg1gZbrCrYsDaoH5RpOo%3D&re
&g

Re: [FlexJS] Layouts

2017-05-03 Thread Peter Ent
Hi,

I've just pushed an update to flex-asjs develop branch with
AbsolutePositioningViewBeadBase as described below. This should make it
much easier to build control component which do not need to use layout
beads and can handle resizing events on their own.

—peter

On 4/26/17, 9:05 AM, "Peter Ent"  wrote:

>Let's do this then, after the merge of dual into develop:
>
>AbsolutePositioningViewBeadBase will be the view bead to use for controls.
>On the HTML platform, this bead will set its strand's style position to
>"relative" if it is not set to either "absolute" or "relative" already. In
>addition, this bead will have a setAbsolutePosition(child, x, y) function
>that on Flash, just sets x and y while on HTML, sets left and top styles
>as well as setting position:absolute style.
>
>You could use it like this: Create a view bead class that extends this
>class and set your custom view bead class in CSS for your control or add
>it programmatically. The super.strand setter will take care of setting the
>strand's position style. After you have created any elements required for
>your control, position them using setAbsolutePosition() and do so in
>response to changes in your control's size.
>
>—peter
>
>
>
>On 4/25/17, 4:47 PM, "Alex Harui"  wrote:
>
>>
>>
>>On 4/25/17, 12:35 PM, "Peter Ent"  wrote:
>>
>>>Perhaps I am not understanding this.
>>>
>>>You create a control component extending UIBase. You create your view
>>>bead
>>>extending AbsolutePositioningViewBase. This bead makes sure that the
>>>strand/host has position:relative set.
>>>
>>>So how do you set position:absolute on each of the control's parts?
>>>Setting part.x and part.y won't be enough. You still need set
>>>part.style.position = "absolute". I don't think that will translate over
>>>to the HTML side and will not be useful to Flash.
>>
>>Well, you are right that there is more to it than just the ViewBase.
>>
>>However, we are in the business of encapsulating patterns.  We could do
>>any combination of the following:
>>
>>1) have setter for x and y set position="absolute" but it won't change
>>the
>>parent's position style.  AbsolutePositioningViewBase would still do
>>that.
>>2) add a setChildPosition method on AbsolutePositioningViewBase.
>>3) add xChanged,yChanged listeners to children
>>4) add childAdded listener to parent and check the child's x,y value
>>
>>Thoughts?
>>-Alex
>>
>>>
>>>‹peter
>>>
>>>On 4/25/17, 2:08 PM, "Alex Harui"  wrote:
>>>
>>>>
>>>>
>>>>On 4/25/17, 10:55 AM, "yishayw"  wrote:
>>>>
>>>>>App devs may want to write custom controls and would expect flash and
>>>>>js
>>>>>behaviour to be the same. I think we should strive to eliminate use of
>>>>>conditional compilation for app devs. If that's so we don't want them
>>>>>changing an HTML only style (position).
>>>>
>>>>Agreed, which is why we'd offer different base classes for views, one
>>>>of
>>>>which assigns the position style.
>>>>
>>>>-Alex
>>>>
>>>
>>
>



Re: git commit: [flex-asjs] [refs/heads/develop] - Added example of building a Table from a data source to the TableExample example.

2017-05-03 Thread Peter Ent
Hi,

Yes - you are right about getting "initComplete" twice. I wrote the code
and forgot about it! The DataTable should probably dispatch
"dataTableComplete" so that the data mapper can detect that as the
all-finished event.

Thanks,
‹peter

On 5/2/17, 5:39 PM, "Piotr Zarzycki"  wrote:

>Hi Peter,
>
>I was going through the DataTable class code and I see that you are adding
>mapper bead in addedToParent.
>
>override public function addedToParent():void
>{
>   super.addedToParent();
>
>   addBead(new DataTableMapperForArrayListData());
>
>   dispatchEvent( new Event("initComplete") );
>}
>
> If I add event listener to DataTable class I will get "initComplete"
>two times.
>
>You will not have issue with added bead, but developer who will get
>this class and use it could have.
>
>Piotr
>
>
>2017-05-02 22:34 GMT+02:00 :
>
>> Repository: flex-asjs
>> Updated Branches:
>>   refs/heads/develop 82ff1840e -> 336fac64c
>>
>>
>> Added example of building a Table from a data source to the TableExample
>> example.
>>
>>
>> Project: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Frepo&data=02%7C01%7C%7C973eb1da4
>>7de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6362
>>93580155655469&sdata=lugSmNuyjCCVZ%2BPoSqlfac2LM4%2BwoALMml9%2FWJ12nMM%3D
>>&reserved=0
>> Commit: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fcommit%2F336fac64&data=02%7C01%7
>>C%7C973eb1da47de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7
>>C0%7C0%7C636293580155655469&sdata=N4yb6S%2Ftiq2Bmy3dYMzB6DWOcnUbhCmHlIfqp
>>48%2FE%2Bk%3D&reserved=0
>> Tree: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Ftree%2F336fac64&data=02%7C01%7C%
>>7C973eb1da47de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>>%7C0%7C636293580155655469&sdata=Od4twsqmJ%2BiQLJjGV7W5Lv%2F48N16La6zNvIBp
>>Rzxrf8%3D&reserved=0
>> Diff: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fdiff%2F336fac64&data=02%7C01%7C%
>>7C973eb1da47de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>>%7C0%7C636293580155655469&sdata=cemmUkVwsZERSGDQVIUoxnIcJAtm8AetP4cTbcyOj
>>FE%3D&reserved=0
>>
>> Branch: refs/heads/develop
>> Commit: 336fac64c0eed8b063213a72899f658e9d490cea
>> Parents: 82ff184
>> Author: Peter Ent 
>> Authored: Tue May 2 16:33:57 2017 -0400
>> Committer: Peter Ent 
>> Committed: Tue May 2 16:33:57 2017 -0400
>>
>> --
>>  .../src/main/flex/MyInitialView.mxml|  31 -
>>  .../src/main/flex/TableExample.mxml |   3 +
>>  .../src/main/flex/dataTable/DataColumn.as   |  33 ++
>>  .../src/main/flex/dataTable/DataTable.as|  69 
>>  .../mapper/DataTableMapperForArrayListData.as   | 112
>>+++
>>  .../main/flex/dataTable/model/DataTableModel.as |  40 +++
>>  .../src/main/flex/models/ProductsModel.as   |  47 
>>  7 files changed, 334 insertions(+), 1 deletion(-)
>> --
>>
>>
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-u
>>s.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fblob%2F&data=02%7C01%7C%7C973eb1
>>da47de43ee8ff308d491a3d089%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>>36293580155665477&sdata=lKg4ES5s2EUHsYKZqLX2ADXkVYodqZxqmtbLE6443yM%3D&re
>>served=0
>> 336fac64/examples/flexjs/TableExample/src/main/flex/MyInitialView.mxml
>> --
>> diff --git 
>>a/examples/flexjs/TableExample/src/main/flex/MyInitialView.mxml
>> b/examples/flexjs/TableExample/src/main/flex/MyInitialView.mxml
>> index c2f81dd..11d2e29 100644
>> --- a/examples/flexjs/TableExample/src/main/flex/MyInitialView.mxml
>> +++ b/examples/flexjs/TableExample/src/main/flex/MyInitialView.mxml
>> @@ -18,7 +18,9 @@ limitations under the License.
>>
>>  -->
>>  >xmlns:fx="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2
>>Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7C%7C973eb1da47de43ee8ff308d491a
>>3d089%7Cfa7b1b5a7b34438794aed2c1

Re: [FlexJS] Layout Issue/Change

2017-05-02 Thread Peter Ent
I'm trying to find the balance between PAYG and mimicking the HTML/JS/CSS
side on the SWF side.

Take HorizontalLayout for example. On the JS side, this layout waits for
"childrenAdded" and then changes each child's display style to
"inline-block". If you then programmatically change one child's width, the
browser automatically pushes the children apart to make room. Since the
Flash Player does not have that capability, the HorizontalLayout, SWF
version, must watch for changes in the size of the children and re-run the
layout. This is the mimicking part.

I put the children size watching into the LayoutBase, thinking it was a
common enough, frequent enough process that it could be done in the base
class. But that really is not the case. Each layout is different.

Plus, there is no provision in the base layout for watching for new
children or removed children. In the PAYG world, those feature would be
part of other layouts:

HorizontalLayoutWatchForAddChild
HorizontalLayoutWatchForRemoveChild
HorizontalLayoutWatchForAddAndRemoveChild

Here's the catch: going back to the HorizontalLayout, if you remove a
child, the browser will automatically reposition the children to close the
space left by the child removed. You do not need to write a specialty
layout to do. So for HorizontalLayout, do we including watching for
children added and removed because it mimics the browser or is it really a
specialty? 

Right now, the event listeners watching for changes in the children are
multi-platform. A better, more PAYG approach (I think), is to make those
event listeners SWF-side only and they should be part of the layouts that
actually need them to mimic what the browser can do.

So perhaps that best thing to do now is wait for FlexJS 0.9 and try this
out an another branch to determine what the procedure should be.

‹peter


On 5/2/17, 2:52 AM, "piotrz"  wrote:

>Understand. It is not bad changes in terms of complex layout.
>I think this changes need to be done on feature branch. I would like to
>test
>it and see how it affects current examples.
>
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layout-Issue-Change-tp61440p6
>1459.html&data=02%7C01%7C%7Ce012b30ad5354126a6a908d491297b5e%7Cfa7b1b5a7b3
>4438794aed2c178decee1%7C0%7C0%7C636293054727198273&sdata=2NhFc2LDt8sTFE17K
>Ylnjms1oE6YvbWo6lFVcolThHk%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS, MDL] Null Pointer Exception in HorizontalFlexLayout

2017-05-01 Thread Peter Ent
OK. I will look at the other layouts and probably do the same for them
where it makes sense.

On 5/1/17, 10:06 AM, "piotrz"  wrote:

>Thank you Peter. That helped. I was thinking about such solution, but
>wasn't
>sure whether it won't break anything. If I'm thinking more about that it
>makes sense do not bother non UIBase component here.
>
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-MDL-Null-Pointer-Exception-in
>-HorizontalFlexLayout-tp61437p61441.html&data=02%7C01%7C%7C61b665f8d3134b4
>d5cf708d4909cf543%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63629245119
>9825874&sdata=7%2Bpqd%2FKFt%2FRaA%2Bvml%2BcTIspcY2r9iuxYRUcdKegANRg%3D&res
>erved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Layout Issue/Change

2017-05-01 Thread Peter Ent
The current listeners in LayoutBase (Basic Project) are for the children
of a component. Right now, if you have a Group with 10 buttons and
VerticalLayout, and you resize one of those buttons,
LayoutBase/VerticalLayout will detect that and automatically re-run the
VerticalLayout algorithm.

What I propose is to eliminate those event listeners on the children. So
if you resize one of the buttons you will have dispatch "layoutNeeded" on
the Group to get the VerticalLayout to reformat the Group.

If you resize the Group, that will continue to re-run the layout.

Another example is FirstFlexibleChildHorizontalLayout (or whatever that's
called). If you delete that first child, the layout will not run. My
change will not affect this situation - you must still dispatch
"layoutNeeded" to get the layout to recalculate the next child as the
flexible item. On the JS side, this is crucial because this layout sets
flex-grow:1 on the first child and flex-grow:0 on the rest. When you
remove the first child, all children have flex-grow:0, so you must re-run
the layout.

This is the inconsistency: sometimes you need to dispatch "layoutNeeded"
and sometimes you do not. I propose you always dispatch "layoutNeeded"
whenever you add a child, remove a child, resize a child, or do anything
that would require the layout to run.

‹peter

On 5/1/17, 10:27 AM, "piotrz"  wrote:

>Hi Peter,
>
>It look like we have partially implemented "layoutNeeded".
>
>Your suggestion in #1 - is to completely remove current listeners which
>are
>dispatch "layoutNeeded". - Am I understand correctly ? - So if I will add
>children later - those will resize itself, but in order to correct parent
>resizing it will need to dispatch "layoutNeeded" ? Am I understand
>correctly
>?
>
>In case of #2 and #3 - I think both cases are good for express components,
>but Option #3 seems to me to complicated in case of later usage.
>
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layout-Issue-Change-tp61440p6
>1442.html&data=02%7C01%7C%7C3f4bcd255fbb43120cbc08d4909fcd58%7Cfa7b1b5a7b3
>4438794aed2c178decee1%7C0%7C0%7C636292463395237341&sdata=stp%2Fct7tHsUCkn8
>X5ZeFclHxbyIal3vC%2F5KUoRYin4Y%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



[FlexJS] Layout Issue/Change

2017-05-01 Thread Peter Ent
Hi,

My main goal of the recent set of changes to containers and layouts was to make 
the HTML/CSS/JS side as minimal as possible, letting the browser and friends 
take care of things as much as possible. For the most part, I think it works.  
But there is an issue that has been bothering me.

Right now, the LayoutBase class sets up event listeners on the layout host to 
automatically re-run the layout under certain conditions. The more I think 
about this the less PAYG it is and it is also inconsistent how things are 
handled.

The layout code is set up to recognize changes in the layout host's size. When 
that happens the layout is re-run. That, to me, is a good thing.

The layout code also waits for the initial "childrenAdded" event and if it sees 
it, the layout code will set event listeners for size changes on the children. 
If you later add children, those new children may not have listeners attached 
(this is an inconsistency). It is the responsibility of the app developer to 
dispatch a "layoutNeeded" event on the layout host to trigger the layout. 
Again, this is inconsistent as a component could dispatch "childrenAdded" while 
another component may not.

I see three possibilities here:


  1.  Do nothing with children (PAYG). The layout code would listen for size 
changes to the layout host, but it would not set up listeners on the children. 
An application that changes an items size or adds or removes an item will have 
to dispatch "layoutNeeded" on the item's (or items') parent. This way you can 
change a component frequently and only trigger its layout when the changes are 
complete.
  2.  Do everything (Pay Heavily). The layout code would really try to listen 
for all sorts of events on the layout host and respond to them.  The cost would 
be high however, if a large number of items were being changed inside of a 
loop: the layout code would be run for each pass of the loop.
  3.  Do everything, but wait (Partial Payment). The layout code would do the 
same as #2, but allow for updating loops. A number of systems have this: 
host.beginUpdate(); /* do a bunch of things */ host.endUpdate(). While the loop 
is running the layout would ask the host if it is OK to update and if not, the 
layout would not run. Once the endUpdate() was executed, the host would 
dispatch a final "layoutNeeded" and the layout would run once.

I am in favor of #1. It is in the spirit of PAYG and if you decided you needed 
either #2 or #3, you could extend a layout and build that yourself. Or we could 
add it to the Express package or something like that.

In choice 1, changing an item's size trigger's its own layout. If you have a 
Group with 100 elements, all of which are Groups themselves, and you were to 
resize each sub-Group in a loop, the resize of a sub-Group would trigger its 
layout. This is desired behavior. Once that loop has completed, the outer Group 
would also need its layout run to account of the newly resized children and 
that's where you do: outer.dispatchEvent(new Event("layoutNeeded")); In choice 
2 or choice 3, each time a sub-Group was resized, the outer Group's layout 
would run for a total of 100 times, which may even cause some of the 
sub-Group's layouts to run again, depending on the layout algorithm.

If I were to remove the child event listeners in the layout code, any place 
your app or example that counted on the layout running, you would need to add a 
dispatch event for "layoutNeeded" if you did not resize the component.

I hope that made sense.
Peter



Re: [FlexJS, MDL] Null Pointer Exception in HorizontalFlexLayout

2017-05-01 Thread Peter Ent
Hi Piotr,

I mostly understand. It seems like the child is not UIBase so it is null,
at least in one of the cases. The layout code should be changed to check
for null and skip that child.  Can you see if that helps?

‹peter

On 5/1/17, 8:35 AM, "piotrz"  wrote:

>Hi Peter,
>
>During creation of DropDownList component in MDL I have experienced Null
>Pointer Exception in HorizontalFlexLayout. [1]
>
>Issue:
>My DropDownList contains 3 elements: Div with selected text, Material icon
>(i) and Menu.
>
>Case 1: If I create DropDownList in MXML - MDL library handle properly
>upgrading. 
>
>Menu is a simple ul, but once upgrade is done MDL library surround it by
>additional div [2] "mdl-menu__container".
>
>HorizontalFlexLayout is going through the children of View in function
>"layout". Array contains 3 elements from my DropDownList - the last one is
>menu - in moment of layout perform it contains "ul" not
>"mdl-menu__container".
>
>ex-development.247.n4.nabble.com%2Ffile%2Fn61437%2Fhorizontalflex_layo
>ut.png&data=02%7C01%7C%7C92f8ef48e030413571a708d490902c50%7Cfa7b1b5a7b3443
>8794aed2c178decee1%7C0%7C0%7C636292396295241298&sdata=TTsjYE1G7SohYeujGKKB
>DvIAC7JYha3fPcUbkF4TbaY%3D&reserved=0>
>
>This "ul" has been created by FlexJS and has element.flexjs_wrapper. and
>function getElementAt returns child one by one.
>
>Case 2 - ISSUE:
>
>I would like to create DropDownList dynamically:
>
>var dropDown:DropDownList = new DropDownList();
>addElement(dropDown);
>
>In order to do this Menu inside DropDownList need to be "upgraded"
>manually
>- I need to tell MDL library that I've created Menu component - I have
>bead
>for that purpose which doing his job: UpgradeElement.
>
>Upgrade is completed successfully and MDL is surrounding "ul" by
>"mdl-menu__container".
>
>Now HorizontalFlexLayout is doing "layout" and trying to go through the
>children. In array for some reason there is no "ul" MDL Menu, but this
>"mdl-menu__container" which wasn't created by FlexJS. In that case it
>doesn't have element.flexjs_wrapper, so getElementAt returns null. And we
>are getting NPE.
>
>It look like everything what HorizontalFlexLayout is doing in Case 1
>happened before upgrading - in case 2 I'm doing upgrade during whole life
>cycle performance.
>
>I hope this long explanation help you understand issue and provide some
>feedback. I'm attaching simple project where you can reproduce this issue
>[3]
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2F9oRP&data=02%7C01%7C%7C92f8ef48e030413571a708d490902c50%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636292396295241298&sdata=O3iz6XdYaDIO
>6408JrznUhIN%2BU3oiBC2U4eqj4rMTsE%3D&reserved=0
>[2] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FiN4K&data=02%7C01%7C%7C92f8ef48e030413571a708d490902c50%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636292396295241298&sdata=6ur7OO4g%2Fi
>Sj1IFmWpfJDMwNvQk6PfbuEM2yfackVlE%3D&reserved=0
>[3] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2
>Fu%2Fs!ApVpLyjpHDC2zTehS-kv_1g0cgSY&data=02%7C01%7C%7C92f8ef48e030413571a7
>08d490902c50%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6362923962952412
>98&sdata=wnCIo8EFiKQLZFZVLRMcj%2Fnqg1G1Kwb%2BMJPhN6x1ltE%3D&reserved=0
>
>Piotr
>
> 
>
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-MDL-Null-Pointer-Exception-in
>-HorizontalFlexLayout-tp61437.html&data=02%7C01%7C%7C92f8ef48e030413571a70
>8d490902c50%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63629239629524129
>8&sdata=FMk2TnkFIbtdFUEg0ifVD3X%2FmDZq%2BmMoQe2o4RyIi1Y%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Status of Slider and NumericStepper?

2017-04-29 Thread Peter Ent
NumericStepper must not have been finished for some reason. Or perhaps the
view bead was operating (at some point in time) on both the JS and SWF
sides. The NumericStepperView bead is now in a COMPILE::SWF block.

This is one of those cases where there *may be* enough overlap with the
SWF and JS sides that perhaps both platforms should use a view bead.

Josh's changes work, of course, so I guess we are good here.

‹peter

On 4/28/17, 7:11 PM, "Josh Tynjala"  wrote:

>I updated NumericStepper to fix this issue on the dual branch.
>
>- Josh
>
>On Thu, Apr 27, 2017 at 5:11 PM, Josh Tynjala 
>wrote:
>
>> I'm trying to use NumericStepper or Slider with the latest nightly
>>(tried
>> both develop and dual), but they don't seem to be working.
>>
>> The initial values are not displayed, and while I can change the value
>> with NumericStepper, Slider doesn't seem to be interactive.
>>
>> 
>> 
>>
>> Are they currently in a bad state?
>>
>> - Josh
>>



Re: [FlexJS] Layouts

2017-04-26 Thread Peter Ent
Let's do this then, after the merge of dual into develop:

AbsolutePositioningViewBeadBase will be the view bead to use for controls.
On the HTML platform, this bead will set its strand's style position to
"relative" if it is not set to either "absolute" or "relative" already. In
addition, this bead will have a setAbsolutePosition(child, x, y) function
that on Flash, just sets x and y while on HTML, sets left and top styles
as well as setting position:absolute style.

You could use it like this: Create a view bead class that extends this
class and set your custom view bead class in CSS for your control or add
it programmatically. The super.strand setter will take care of setting the
strand's position style. After you have created any elements required for
your control, position them using setAbsolutePosition() and do so in
response to changes in your control's size.

—peter



On 4/25/17, 4:47 PM, "Alex Harui"  wrote:

>
>
>On 4/25/17, 12:35 PM, "Peter Ent"  wrote:
>
>>Perhaps I am not understanding this.
>>
>>You create a control component extending UIBase. You create your view
>>bead
>>extending AbsolutePositioningViewBase. This bead makes sure that the
>>strand/host has position:relative set.
>>
>>So how do you set position:absolute on each of the control's parts?
>>Setting part.x and part.y won't be enough. You still need set
>>part.style.position = "absolute". I don't think that will translate over
>>to the HTML side and will not be useful to Flash.
>
>Well, you are right that there is more to it than just the ViewBase.
>
>However, we are in the business of encapsulating patterns.  We could do
>any combination of the following:
>
>1) have setter for x and y set position="absolute" but it won't change the
>parent's position style.  AbsolutePositioningViewBase would still do that.
>2) add a setChildPosition method on AbsolutePositioningViewBase.
>3) add xChanged,yChanged listeners to children
>4) add childAdded listener to parent and check the child's x,y value
>
>Thoughts?
>-Alex
>
>>
>>‹peter
>>
>>On 4/25/17, 2:08 PM, "Alex Harui"  wrote:
>>
>>>
>>>
>>>On 4/25/17, 10:55 AM, "yishayw"  wrote:
>>>
>>>>App devs may want to write custom controls and would expect flash and
>>>>js
>>>>behaviour to be the same. I think we should strive to eliminate use of
>>>>conditional compilation for app devs. If that's so we don't want them
>>>>changing an HTML only style (position).
>>>
>>>Agreed, which is why we'd offer different base classes for views, one of
>>>which assigns the position style.
>>>
>>>-Alex
>>>
>>
>



Re: [FlexJS] Layouts

2017-04-25 Thread Peter Ent
Perhaps I am not understanding this.

You create a control component extending UIBase. You create your view bead
extending AbsolutePositioningViewBase. This bead makes sure that the
strand/host has position:relative set.

So how do you set position:absolute on each of the control's parts?
Setting part.x and part.y won't be enough. You still need set
part.style.position = "absolute". I don't think that will translate over
to the HTML side and will not be useful to Flash.

‹peter

On 4/25/17, 2:08 PM, "Alex Harui"  wrote:

>
>
>On 4/25/17, 10:55 AM, "yishayw"  wrote:
>
>>App devs may want to write custom controls and would expect flash and js
>>behaviour to be the same. I think we should strive to eliminate use of
>>conditional compilation for app devs. If that's so we don't want them
>>changing an HTML only style (position).
>
>Agreed, which is why we'd offer different base classes for views, one of
>which assigns the position style.
>
>-Alex
>



Re: [FlexJS] Layouts

2017-04-25 Thread Peter Ent
The x and y properties in Flash are always relative to their parent
container. The browser world is, well I'll just say "complex" and leave it
at that.

If you do position:relative then x (left) and y (top) become positions
relative to the nearest element in the "flow" the browser lays down. That
is probably only partially accurate as I always have to run a half dozen
experiments to understand the differences. We don't have anything like
that in Flash. Eventually I want to a ConstraintLayout that makes use of
that, but probably next release.

Anyway, back to your original question. If component-specific code (i.e.,
COMPILE::JS) is not available to component authors outside the framework
space, then you are left with CSS.

If you were to give all of your sub-elements a common class name, then you
could do:

.MyComponent .commonName {
position:absolute;
}

And still programmatically position them using .x and .y properties. The
Flash side will work as intended and now the JS side should as well.

‹peter

On 4/25/17, 9:06 AM, "yishayw"  wrote:

>Peter Ent wrote
>> I first encourage you to base any new components on Group and then add
>>in
>> BasicLayout. Nothing will happen until you dispatch a layout needed
>>event.
>> You should be able to add multiple children and then dispatch the event.
>
>That's what I'm doing right now.
>
>
>> We could also make a specialized Group subclass that has a
>> positionElement(element, x, y) function that will also set
>> position:absolute. Perhaps we could call it "BasicGroup" that would
>>also 
>> make BasicLayout its default but you would not necessarily need to run
>>the 
>> layout every time.
>
>That's not a bad idea, but again I'm curious about what we'll do for
>components that are not based off group or container. Also, what would the
>flash behavior be? AFAIK x and y in flash act like absolute in HTML, even
>without layout.
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layouts-tp61120p61332.html&da
>ta=02%7C01%7C%7C15aa43a0230b4d7e725c08d48bdd724c%7Cfa7b1b5a7b34438794aed2c
>178decee1%7C0%7C0%7C636287230601148452&sdata=OPPvWFPqY4d44ZyVe0OH7Cz5LOThR
>CIo1LuXZMnUBws%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Layouts

2017-04-25 Thread Peter Ent
This is still a little bit of a conundrum. Automatically setting
position:absolute when setting x and y (effectively left and top styles)
runs into several problems as you can imagine.

One issue is that you have to make sure the parent container's position is
either relative or absolute, otherwise the element is positioned on the
first item in the parent chain that has position relative or absolute.
This is why BasicLayout sets the host component's position if it isn't
already set.

I first encourage you to base any new components on Group and then add in
BasicLayout. Nothing will happen until you dispatch a layout needed event.
You should be able to add multiple children and then dispatch the event.

We could also make a specialized Group subclass that has a
positionElement(element, x, y) function that will also set
position:absolute. Perhaps we could call it "BasicGroup" that would also
make BasicLayout its default but you would not necessarily need to run the
layout every time.

Maybe there are some other ideas?

‹peter

On 4/25/17, 5:41 AM, "yishayw"  wrote:

>Also, what if I'm adding elements to a UIBase (no layout)? Shouldn't I be
>able to set the absolute x and y on the added element?
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layouts-tp61120p61330.html&da
>ta=02%7C01%7C%7Ce0b936af7e38411d815a08d48bc0c368%7Cfa7b1b5a7b34438794aed2c
>178decee1%7C0%7C0%7C636287107406338981&sdata=iY0A2%2FsLf%2BCVgWsNlxZl%2BBR
>C20YTFTjPuX3%2BulkUBss%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] FlexJS Wiki Update

2017-04-24 Thread Peter Ent
I've run MDLExample and it looks like to works to me. Give it a run with
the latest from develop branch and let us know. I tried to make sure the
MDL project was updated to reflect the changes I made to the Core and HTML
projects.

‹peter

On 4/24/17, 8:25 AM, "yishayw"  wrote:

>Peter Ent wrote
>>>4) 
>>>Could we compose/use the container and layout classes with any FlexJS
>>>component set, including MDL?
>> 
>> A number of the MDL "container" classes are based on the HTML Group (I
>> don't think any use Container since, for reason #1 above, it isn't
>>useful
>> to HTML-only code). It is probably safe to mix them, but I am not an MDL
>> expert and I do not know the ramifications of doing that.
>
>We've been wrapping mdl elements in DIV fexjs components to integrate them
>in layouts. Hope that still works...
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-FlexJS-Wiki-Update-tp61292p61
>307.html&data=02%7C01%7C%7Cb1eb1f5332c24bcca97b08d48b0e8a09%7Cfa7b1b5a7b34
>438794aed2c178decee1%7C0%7C0%7C636286341942886874&sdata=HokbLXfdHwUh0cJIsn
>EFqddxh9G0xPYX24%2BS9IosZUE%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] FlexJS Wiki Update

2017-04-24 Thread Peter Ent
Hi,

I've placed my answers in-line.

On 4/24/17, 4:17 AM, "OK"  wrote:

>Hi Peter,
>thanks for this!
>I probably not yet understand the whole story but it's a great entry
>point.
>
>Would be great if you could answer some questions that come to my mind:
>
>1)
>Group vs Container:
>Does it mean that if we need a scrollable container and would like to
>target
>HTML only it's recommended to use Group instead of Container and if we'd
>like to target Flash and HTML we always have to use Container?

If you are targeting HTML only, then you can use Group and just add
overflow:auto to its style and you will have scrolling. If you use
Container with a ScrollingViewport it will do the exact same thing; all
ScrollingView does on the HTML side is add overflow:auto to the DIV's
style.
>
>2)
>Does it make sense to introduce HGroup and VGroup as Express beads?

I think it does make sense to do that.
>
>3)
>There are two implementations of e.g. HorizontalLayout (Basic and HTML):
>-
>frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/layouts
>/HorizontalLayout.as
>[1]
>-
>frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/
>HorizontalLayout.as
>[2]
>
>What is the difference and when we have to use the one or the other?

I have been ignoring Basic project for now. We should discuss what is to
become of it. Personally, I would keep the HTML-specific components in the
HTML project and move the others into Basic, replacing what's already
there. But I'm not sure how safe or practical that is right now. I believe
we should resolve this for the Flex 0.8 release.

The HorizontalLayout in the Basic project is completely incompatible with
the HTML version. The protocols for ILayoutHost etc have been changed. The
layout algorithm is probably close to identical, however.
>
>4) 
>Could we compose/use the container and layout classes with any FlexJS
>component set, including MDL?

A number of the MDL "container" classes are based on the HTML Group (I
don't think any use Container since, for reason #1 above, it isn't useful
to HTML-only code). It is probably safe to mix them, but I am not an MDL
expert and I do not know the ramifications of doing that.
>
>Thank you!
>
>Olaf
>
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co
>m%2Fapache%2Fflex-asjs%2Fblob%2Fdevelop%2Fframeworks%2Fprojects%2FBasic%2F
>src%2Fmain%2Fflex%2Forg%2Fapache%2Fflex%2Fhtml%2Fbeads%2Flayouts%2FHorizon
>talLayout.as&data=02%7C01%7C%7C6ef80b5dc46a4c66852008d48aec69e8%7Cfa7b1b5a
>7b34438794aed2c178decee1%7C0%7C0%7C636286195376443487&sdata=BBvguzdClc1PuV
>V0LUIgAeyTZznmTG%2FCYxA38EA3vag%3D&reserved=0
>
>[2]
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co
>m%2Fapache%2Fflex-asjs%2Fblob%2Fdevelop%2Fframeworks%2Fprojects%2FHTML%2Fs
>rc%2Fmain%2Fflex%2Forg%2Fapache%2Fflex%2Fhtml%2Fbeads%2Flayouts%2FHorizont
>alLayout.as&data=02%7C01%7C%7C6ef80b5dc46a4c66852008d48aec69e8%7Cfa7b1b5a7
>b34438794aed2c178decee1%7C0%7C0%7C636286195376443487&sdata=0ZXB5qAlXETXae9
>Zlpj74bn0D1Qdvb4ce%2FevosJgmzI%3D&reserved=0
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-FlexJS-Wiki-Update-tp61292p61
>304.html&data=02%7C01%7C%7C6ef80b5dc46a4c66852008d48aec69e8%7Cfa7b1b5a7b34
>438794aed2c178decee1%7C0%7C0%7C636286195376443487&sdata=k7rIxjyzhY1inSIdkR
>IZwN5lh1fcqVnyUV7jneJQ%2BNY%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Table

2017-04-23 Thread Peter Ent
I would imagine a DataTable would be what you are suggesting. 

Peter 


> On Apr 22, 2017, at 6:09 AM, piotrz  wrote:
> 
> Hi Carlos!
> 
> +1 for this :)
> 
> Piotr
> 
> 
> 
> -
> Apache Flex PMC
> piotrzarzyck...@gmail.com
> --
> View this message in context: 
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-development.247.n4.nabble.com%2FRe-FlexJS-Table-tp61274p61283.html&data=02%7C01%7C%7Cd10ec7063e224c5e08d008d48967b7c4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636284525944460193&sdata=bH19Fviywf2N%2Fikg6PnLgcLFKjMkemL9uLXxPjwktsY%3D&reserved=0
> Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] FlexJS Wiki Update

2017-04-23 Thread Peter Ent
Hi,

I've added a new page to the FlexJS Wiki[1] and updated a few other pages to 
reflect the changes I've made over the last couple of weeks.

—peter

[1] 
https://cwiki.apache.org/confluence/display/FLEX/FlexJS+Container+Classes+and+Layouts





[FlexJS] Table

2017-04-21 Thread Peter Ent
Hi,

I've just committed/pushed a new FlexJS component (and its helpers) to the HTML 
project. It is the  component. I saw that there were JS-only 
fragments of Table present and decided to make an official SWF/JS version.

The idea is to create a clean  HTML structure and mimic it in the Flash 
Player. For a first-pass, it does a pretty good job.

It works something like this:



 
   
 
 



 






You can place nearly anything inside of a cell (I tried it with another Table 
and Groups). If you need it to scroll, place it within  and add a 
 bead to the Container.

Regards,
Peter


Re: [FlexJS] Examples

2017-04-21 Thread Peter Ent
Thanks. I'll take a look.
—peter

On 4/21/17, 12:36 PM, "Alex Harui"  wrote:

>It appears the format changed.  I got it working for DataBindingExample in
>the dual branch.
>
>-Alex
>
>On 4/17/17, 9:47 AM, "Alex Harui"  wrote:
>
>>I think the service may have been temporarily down or the format changed.
>>See this, for example:
>>
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fquery.ya
>>h
>>ooapis.com%2Fv1%2Fpublic%2Fyql%3Fq%3Dselect%2520*%2520from%2520yahoo.fina
>>n
>>&data=02%7C01%7C%7Ca55b41534c114adcef4808d485b18254%7Cfa7b1b5a7b34438794a
>>e
>>d2c178decee1%7C0%7C0%7C636280444823641555&sdata=PSX2eoGfTUEG4Uhag8Cheala7
>>a
>>tUJquzmxnt1jPygo8%3D&reserved=0
>>ce.quotes%20where%20symbol%20in%20(%22YHOO%22)&format=json&env=store%3A%2
>>F
>>%
>>2Fdatatables.org%2Falltableswithkeys&callback=
>>
>>
>>-Alex
>>
>>On 4/17/17, 6:07 AM, "Peter Ent"  wrote:
>>
>>>Thanks for the note about the US Census data. Census data, coupled with
>>>maps, always provides interesting information. It does however, take a
>>>bit
>>>of time to figure out what to query, how to query it, and how to present
>>>it. I think we could work this into a very nice example at some point.
>>>
>>>Does anyone know of something more real-time?
>>>
>>>‹peter
>>>
>>>On 4/15/17, 10:48 AM, "1600...@gmail.com on behalf of Douglas McCarroll"
>>><1600...@gmail.com on behalf of list.apache-flex@brightworks.com>
>>>wrote:
>>>
>>>>IIRC, James Ward's benchmarking app...
>>>>
>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ja
>>>>m
>>>>e
>>>>s
>>>>ward.com%2F2007%2F04%2F30%2Fajax-and-flex-data-loading-benchmarks%2F&da
>>>>t
>>>>a
>>>>=
>>>>02%7C01%7C%7C685b06dde1ce4c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c
>>>>1
>>>>7
>>>>8
>>>>decee1%7C0%7C0%7C636278945430535468&sdata=jAuct%2B8oS4FnFAX9WC3xFvxZFpG
>>>>C
>>>>L
>>>>G
>>>>UvWvKgzJMPe2s%3D&reserved=0
>>>>
>>>>... used US Census data.
>>>>
>>>>Sadly, the benchmark app doesn't seem to work any more, but I found
>>>>this
>>>>via google:
>>>>
>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ce
>>>>n
>>>>s
>>>>u
>>>>s.gov%2Fdata%2Fdevelopers%2Fdata-sets.html&data=02%7C01%7C%7C685b06dde1
>>>>c
>>>>e
>>>>4
>>>>c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636278
>>>>9
>>>>4
>>>>5
>>>>430535468&sdata=S1AMDnRVAKtdy0QGfKv24JZ%2FEj5CghHZvx991%2Ff1UxE%3D&rese
>>>>r
>>>>v
>>>>e
>>>>d=0
>>>>
>>>>Douglas
>>>>
>>>>On Sat, Apr 15, 2017 at 9:30 AM, Christofer Dutz
>>>>
>>>>wrote:
>>>>
>>>>> We should ask Apache Infra Š they have several streams of publically
>>>>> available data. Not financial data, but stuff we could display.
>>>>>
>>>>> Chris
>>>>>
>>>>> Am 15.04.17, 14:36 schrieb "Peter Ent" :
>>>>>
>>>>> Hi,
>>>>>
>>>>> A couple of examples no longer work: DataBinding et al and
>>>>> MobileTrader et al. These examples depend on an API URL from Yahoo
>>>>> Financial which seems to no longer be working.
>>>>>
>>>>> Does anyone know of a free, Apache license compatible, API to
>>>>>query
>>>>> financial data? This data does not have to be current, just something
>>>>>we
>>>>> can use for examples of HTTPService.
>>>>>
>>>>> Barring that, if anyone knows another source of data (Apache
>>>>>license
>>>>> compatible) that would be interesting in an example, please share and
>>>>> perhaps we can make an example around it.
>>>>>
>>>>> Thanks,
>>>>> Peter Ent
>>>>> Adobe Systems/Apache Flex Project.
>>>>>
>>>>>
>>>>>
>>>
>>
>



Re: [4/6] git commit: [flex-asjs] [refs/heads/develop] - replace existing format bead if it exists

2017-04-18 Thread Peter Ent
It is supposed to work like this:

A: You may have zero or more beads defined inline in MXML for your
component using  property.

B: You may have zero or more beads defined in CSS for your component.

When addElement is called on your component, it will add the underlying
element to the display list and then call addedToParent() on the component
and process the inline beads first (situation A).

Once the inline beads are added (and their strand setters are called), the
"standard" set of beads may be added: model, view, and controller. This
done by first seeing if one is already on the beads list (e.g. added
inline). If it is not present, then the CSS (situation B) is examined
using ValuesManager. If a bead class is found, it is instantiated and then
added to the strand's beads list (the bead's strand setter is called).

When the "standard" beads have been added, addedToParent() finished by
dispatching "beadsAdded" on the strand.

C: Any beads in CSS that are non-standard are not automatically added.

If your component class overrides addedToParent() it should call
super.addedToParent() right away to load the inline and standard beads.

After calling super.addedToParent(), your component can then load custom
beads (e.g., a date formatter) by following the same pattern
addedToParent() follows: Using an interface type, does the bead already
exist on the strand (added inline)? If not, is there a class for it in CSS
via ValuesManager? If so, create a new instance and add it to the bead
list.

The reason for this sequence is to allow inline beads to override default
beads (default beads being added in addedToParent()). So if your component
loads the ABCBead in its addedToParent() override, I can use your
component and put in my custom DEFBead which either extends ABCBead or
implements IMyCustomBead interface (which ABCBead should also implement).
This bead will be loaded early (in super.addedToParent()) and will not get
replaced by the default later.

Since "beadsAdded" was already dispatched, your component might want to
either dispatch "initComplete" or some custom event. Note that the
container classes (GroupBase/Group, ContainerBase/Container, etc.) all
dispatch "initComplete" so if your basing your component on a container
type, you don't have to dispatch "initComplete" but you can dispatch a
custom event.

I hope that helps.
‹peter

On 4/18/17, 4:41 AM, "jus...@classsoftware.com" 
wrote:

>Hi,
>
>> It looks to related to a bug in getBeadByType.
>
>And the reason for that is the addBead call to add DateFormatDDMMBead
>is called after DateField addedToParent is called Or if you prefer at the
>time addedToParent is called the beads have not been added so it will add
>the one defined in the CSS. Only the first iFormat bead will have an
>effect.
>
>Thanks,
>Justin



Re: [FlexJS] Examples

2017-04-17 Thread Peter Ent
Thanks for the note about the US Census data. Census data, coupled with
maps, always provides interesting information. It does however, take a bit
of time to figure out what to query, how to query it, and how to present
it. I think we could work this into a very nice example at some point.

Does anyone know of something more real-time?

‹peter

On 4/15/17, 10:48 AM, "1600...@gmail.com on behalf of Douglas McCarroll"
<1600...@gmail.com on behalf of list.apache-flex@brightworks.com>
wrote:

>IIRC, James Ward's benchmarking app...
>
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.james
>ward.com%2F2007%2F04%2F30%2Fajax-and-flex-data-loading-benchmarks%2F&data=
>02%7C01%7C%7C685b06dde1ce4c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c178
>decee1%7C0%7C0%7C636278945430535468&sdata=jAuct%2B8oS4FnFAX9WC3xFvxZFpGCLG
>UvWvKgzJMPe2s%3D&reserved=0
>
>... used US Census data.
>
>Sadly, the benchmark app doesn't seem to work any more, but I found this
>via google:
>
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.censu
>s.gov%2Fdata%2Fdevelopers%2Fdata-sets.html&data=02%7C01%7C%7C685b06dde1ce4
>c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636278945
>430535468&sdata=S1AMDnRVAKtdy0QGfKv24JZ%2FEj5CghHZvx991%2Ff1UxE%3D&reserve
>d=0
>
>Douglas
>
>On Sat, Apr 15, 2017 at 9:30 AM, Christofer Dutz
>
>wrote:
>
>> We should ask Apache Infra Š they have several streams of publically
>> available data. Not financial data, but stuff we could display.
>>
>> Chris
>>
>> Am 15.04.17, 14:36 schrieb "Peter Ent" :
>>
>> Hi,
>>
>> A couple of examples no longer work: DataBinding et al and
>> MobileTrader et al. These examples depend on an API URL from Yahoo
>> Financial which seems to no longer be working.
>>
>> Does anyone know of a free, Apache license compatible, API to query
>> financial data? This data does not have to be current, just something we
>> can use for examples of HTTPService.
>>
>> Barring that, if anyone knows another source of data (Apache license
>> compatible) that would be interesting in an example, please share and
>> perhaps we can make an example around it.
>>
>> Thanks,
>> Peter Ent
>> Adobe Systems/Apache Flex Project.
>>
>>
>>



  1   2   3   4   5   6   7   >