Re: Calendar

2022-03-13 Thread Hugo Ferreira
Hi Maria,

I knew I had read something more recently about someone develop the
calendar here :)
Yes, I just tested and for my use case I will use fullCalendar.
I need a Calendar to fill the background like a agenda.

However the other one can be usefull later for other uses cases.

Thanl you very much.

Maria Jose Esteve  escreveu no dia domingo, 13/03/2022
à(s) 23:49:

> jsCalendar is a tiny Calendar, not like fullCalendar.
> We are now including Mobiscroll[1] with externs. It has a free version,
> you might be interested in it too[2]
>
> [1] https://mobiscroll.com/
> [2] https://github.com/acidb/mobiscroll
>
> Hiedra
>
> -Mensaje original-
> De: Maria Jose Esteve 
> Enviado el: lunes, 14 de marzo de 2022 0:41
> Para: dev@royale.apache.org
> Asunto: RE: Calendar
>
> We have successfully implemented jsCalendar[1]. The Wrapper and the
> examples I included in the examples project [2], you can look at it.
>
> [1] https://gramthanos.github.io/jsCalendar
>
> [2] https://github.com/mjesteve/royale-examples-community/tree/develop
>
> https://github.com/mjesteve/royale-examples-community/tree/develop/royalelibs/royale-jscalendar
>
> Hiedra
>
> -Mensaje original-
> De: Hugo Ferreira  Enviado el: lunes, 14 de marzo
> de 2022 0:13
> Para: Apache Royale Development 
> Asunto: Calendar
>
> Hi,
>
> I will now implement a calendar on my Royale application.
> I started for searching on the mailling list and I found a old thread
> point to this library:
> https://github.com/ajwfrost/royale-playground/tree/master/CalendarProject
> There is something more recent or this is the way to go ?
>
> Regards,
> Hugo.
>


RE: Calendar

2022-03-13 Thread Maria Jose Esteve
jsCalendar is a tiny Calendar, not like fullCalendar.
We are now including Mobiscroll[1] with externs. It has a free version, you 
might be interested in it too[2]

[1] https://mobiscroll.com/
[2] https://github.com/acidb/mobiscroll

Hiedra

-Mensaje original-
De: Maria Jose Esteve  
Enviado el: lunes, 14 de marzo de 2022 0:41
Para: dev@royale.apache.org
Asunto: RE: Calendar

We have successfully implemented jsCalendar[1]. The Wrapper and the examples I 
included in the examples project [2], you can look at it.

[1] https://gramthanos.github.io/jsCalendar

[2] https://github.com/mjesteve/royale-examples-community/tree/develop
https://github.com/mjesteve/royale-examples-community/tree/develop/royalelibs/royale-jscalendar

Hiedra

-Mensaje original-
De: Hugo Ferreira  Enviado el: lunes, 14 de marzo de 
2022 0:13
Para: Apache Royale Development 
Asunto: Calendar

Hi,

I will now implement a calendar on my Royale application.
I started for searching on the mailling list and I found a old thread point to 
this library:
https://github.com/ajwfrost/royale-playground/tree/master/CalendarProject
There is something more recent or this is the way to go ?

Regards,
Hugo.


RE: Calendar

2022-03-13 Thread Maria Jose Esteve
We have successfully implemented jsCalendar[1]. The Wrapper and the examples I 
included in the examples project [2], you can look at it.

[1] https://gramthanos.github.io/jsCalendar

[2] https://github.com/mjesteve/royale-examples-community/tree/develop
https://github.com/mjesteve/royale-examples-community/tree/develop/royalelibs/royale-jscalendar

Hiedra

-Mensaje original-
De: Hugo Ferreira  
Enviado el: lunes, 14 de marzo de 2022 0:13
Para: Apache Royale Development 
Asunto: Calendar

Hi,

I will now implement a calendar on my Royale application.
I started for searching on the mailling list and I found a old thread point to 
this library:
https://github.com/ajwfrost/royale-playground/tree/master/CalendarProject
There is something more recent or this is the way to go ?

Regards,
Hugo.


Calendar

2022-03-13 Thread Hugo Ferreira
Hi,

I will now implement a calendar on my Royale application.
I started for searching on the mailling list and I found a old thread point
to this library:
https://github.com/ajwfrost/royale-playground/tree/master/CalendarProject
There is something more recent or this is the way to go ?

Regards,
Hugo.


Re: Base64 image to ByteArray

2022-03-13 Thread Hugo Ferreira
Thanks.

My problem was that in Flex I always automatically compress ByteArray and
this method does not exists on BinaryData.
I found now that BinaryData is the equivalent of ByteArray and Base64 is
the utility to convert string to and from BinaryData and finally
the CompressionUtils is the tool to compress the BinaryData.

Harbs  escreveu no dia domingo, 13/03/2022 à(s)
16:07:

> Here’s what I personally use:
>
> https://paste.apache.org/fg6sw
>
> > On Mar 13, 2022, at 5:15 PM, Hugo Ferreira 
> wrote:
> >
> > Hi,
> >
> > Seems that my this old function does not work with Royale:
> > var base64Decoder:Base64Decoder = new Base64Decoder();
> > base64Decoder.decode(data);
> > return base64Decoder.toByteArray();
> >
> > I also tried another Royale methods and all failed.
> >
> > For other hand I saw the new BinayData.
> > The BinayData it's the replace for ByteArray with probably better
> > performance ?
> > And how to convert a base64 image to BinaryData or ByteArray with Royale
> ?
>
>


Re: Base64 image to ByteArray

2022-03-13 Thread Harbs
Here’s what I personally use:

https://paste.apache.org/fg6sw

> On Mar 13, 2022, at 5:15 PM, Hugo Ferreira  wrote:
> 
> Hi,
> 
> Seems that my this old function does not work with Royale:
> var base64Decoder:Base64Decoder = new Base64Decoder();
> base64Decoder.decode(data);
> return base64Decoder.toByteArray();
> 
> I also tried another Royale methods and all failed.
> 
> For other hand I saw the new BinayData.
> The BinayData it's the replace for ByteArray with probably better
> performance ?
> And how to convert a base64 image to BinaryData or ByteArray with Royale ?



Release Step 013 Succeeded

2022-03-13 Thread apacheroyaleci
Note: before running these steps make sure that PLAYERGLOBAL_HOME is set and 
that you have PlayerGlobal installed under 
/11.7/playerglobal.swc

>From the royale-asjs repo
1. Run ant -f releasesteps.xml Release_Step_013 -Drelease.version=0.9.9 
-Droyale.swc-date="2/10/22 9:06 -0800" -Dplayerglobal.version=11.7 
-Dflat.donot.ask=true -Drc=3 -DskipTests=true
This will download the artifacts then unzip and compile the source artifact.
2. Validate that the compiled artifacts match the downloaded artifacts.
3. If they do, then run ant -f releasesteps.xml Release_Step_013_Sign 
-Drelease.version=0.9.9
This will PGP sign the source and convenience binary packages
4. Then run ant -f releasesteps.xml Release_Step_013_Upload 
-Drelease.version=0.9.9 -Drc=3
This will upload the signed artifacts to dist.apache.org.

Base64 image to ByteArray

2022-03-13 Thread Hugo Ferreira
Hi,

Seems that my this old function does not work with Royale:
var base64Decoder:Base64Decoder = new Base64Decoder();
base64Decoder.decode(data);
return base64Decoder.toByteArray();

I also tried another Royale methods and all failed.

For other hand I saw the new BinayData.
The BinayData it's the replace for ByteArray with probably better
performance ?
And how to convert a base64 image to BinaryData or ByteArray with Royale ?


Release Step 012 Succeeded

2022-03-13 Thread apacheroyaleci
Folder 0.9.9 already exists.
Continue to next step.

Release Step 011 Succeeded

2022-03-13 Thread apacheroyaleci
Warning: this step requires a secret key, so it should not be performed on the 
CI server. It's probably best to perform it on your PC.

>From the royale-asjs repo:
1. Run ant -f releasesteps.xml Release_Step_011 -Drelease.version=0.9.9 
-DskipTests=true
This will download the artifacts then unzip and compile the source artifact.
2. Validate that the compiled artifacts match the downloaded artifacts.
3. If they do, then run ant -f releasesteps.xml Release_Step_011_Sign 
-Drelease.version=0.9.9
This will PGP sign the source ZIP and compiled JARs
4. Then run ant -f releasesteps.xml Release_Step_011_Upload 
-Drelease.version=0.9.9
This will upload the signed artifacts to Maven Release Staging.  Verify that 
the compiler and typedefs artifacts are there along with the asjs artifacts, 
then hit the close to close the staging repo. (https://repository.apache.org/)

Release Step 010 Succeeded

2022-03-13 Thread apacheroyaleci
Log in to the server, open a command prompt, change directory to 
C:\jenkins\workspace\Royale_Release_Step_010 and run the following commands:
git push
git push origin org.apache.royale.framework-0.9.9-rc3

You will need your Apache/Github username and 2FA token.

Release Step 009 Succeeded

2022-03-13 Thread apacheroyaleci
Log in to the server, open a command prompt, change directory to 
C:\jenkins\workspace\Royale_Release_Step_009 and run the following commands:
git push

You will need your Apache/Github username and 2FA token.

Release Step 008 Succeeded

2022-03-13 Thread apacheroyaleci
Log in to the server, open a command prompt, change directory to 
C:\jenkins\workspace\Royale_Release_Step_008 and run the following commands:
git push
git checkout release/0.9.9
git push -u origin refs/heads/release/0.9.9

You will need your Apache/Github username and 2FA token.

Release Step 009 Succeeded

2022-03-13 Thread apacheroyaleci
Log in to the server, open a command prompt, change directory to 
C:\jenkins\workspace\Royale_Release_Step_009 and run the following commands:
git push

You will need your Apache/Github username and 2FA token.

Release Step 008 Succeeded

2022-03-13 Thread apacheroyaleci
Log in to the server, open a command prompt, change directory to 
C:\jenkins\workspace\Royale_Release_Step_008 and run the following commands:
git push
git checkout release/0.9.9
git push -u origin refs/heads/release/0.9.9

You will need your Apache/Github username and 2FA token.