You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Hugo Ferreira <hf...@gmail.com> on 2021/10/24 15:04:15 UTC

Royale Office Add-In avaliable on github

Hi,

I just finished my Royale Office Add-In and put it available on github:
https://github.com/SolidSoft-Lda/Royale-OfficeAddIn

Regards,
Hugo.

Re: Royale Office Add-In avaliable on github

Posted by Harbs <ha...@gmail.com>.
Tzickle looks very interesting. I would love to be able to include .ts files in Royale projects. I wonder if Tsickle can be used to achieve that.

> On Nov 11, 2021, at 10:59 AM, Yishay Weiss <yi...@hotmail.com> wrote:
> 
> Tsickle [1] says it “generates externs.js from TypeScript d.ts (and declare, see below)”
> [1] angular/tsickle: Tsickle — TypeScript to Closure Translator (github.com <http://github.com/>)<https://github.com/angular/tsickle <https://github.com/angular/tsickle>>


RE: Royale Office Add-In avaliable on github

Posted by Maria Jose Esteve <mj...@iest.com>.


-----Mensaje original-----
De: Yishay Weiss <yi...@hotmail.com> 
Enviado el: domingo, 14 de noviembre de 2021 17:00
Para: dev@royale.apache.org
Asunto: RE: Royale Office Add-In avaliable on github

Maria, I couldn’t find a reference to that thread, can you share it? Do you have the externs.js available to share?

From: Yishay Weiss<ma...@hotmail.com>
Sent: Sunday, November 14, 2021 11:09 AM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Royale Office Add-In avaliable on github

Thanks for the reminder, I’ll try to follow it up when I find some time.

From: Maria Jose Esteve<ma...@iest.com>
Sent: Friday, November 12, 2021 1:13 PM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Royale Office Add-In avaliable on github

Yishay, I managed to transform echarts.ts to external from Haxe. "I talked alone on the list for some time with this" 😝



As I commented at the time, I don't have the knowledge to be able to continue from this point.


Hello,
Let me go back to the office and check the test directories.

Hiedra

-----Mensaje original-----
De: Yishay Weiss <yi...@hotmail.com> Enviado el: jueves, 11 de noviembre de 2021 9:59
Para: dev@royale.apache.org
Asunto: RE: Royale Office Add-In avaliable on github



I’m wondering if there’s an easy way to convert d.ts files to externs, and then to typedefs using our compiler.



Tsickle [1] says it “generates externs.js from TypeScript d.ts (and declare, see below)”

DefinitelyTyped [2] has d.ts files for almost anything, including office-js [3].



If I have some time I’ll see if I can figure out a way to do this.



[1] angular/tsickle: Tsickle — TypeScript to Closure Translator (github.com)<https://github.com/angular/tsickle>

[2] DefinitelyTyped/DefinitelyTyped: The repository for high quality TypeScript type definitions. (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped>

[3] DefinitelyTyped/types/office-js at master · DefinitelyTyped/DefinitelyTyped (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js>







From: Harbs<ma...@gmail.com>

Sent: Thursday, November 11, 2021 10:00 AM

To: Apache Royale Development<ma...@royale.apache.org>

Subject: Re: Royale Office Add-In avaliable on github



Hi Hugo,



I’m going to be starting on an Office Addin really soon.



I’mm thinking of adding externs for office types to royale-extras.



Have you done any work on that?



> On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hf...@gmail.com>> wrote:

>

> Hi,

>

> I just finished my Royale Office Add-In and put it available on github:

> https://github.com/SolidSoft-Lda/Royale-OfficeAddIn

>

> Regards,

> Hugo.



RE: Royale Office Add-In avaliable on github

Posted by Maria Jose Esteve <mj...@iest.com>.
Hi,
Let me go back to the office and check the test directories.
Some time ago I had a "little problem" when I was doing "cleaning" and I don't know if I will continue to have it.

Hiedra

-----Mensaje original-----
De: Yishay Weiss <yi...@hotmail.com> 
Enviado el: domingo, 14 de noviembre de 2021 17:00
Para: dev@royale.apache.org
Asunto: RE: Royale Office Add-In avaliable on github

Maria, I couldn’t find a reference to that thread, can you share it? Do you have the externs.js available to share?

From: Yishay Weiss<ma...@hotmail.com>
Sent: Sunday, November 14, 2021 11:09 AM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Royale Office Add-In avaliable on github

Thanks for the reminder, I’ll try to follow it up when I find some time.

From: Maria Jose Esteve<ma...@iest.com>
Sent: Friday, November 12, 2021 1:13 PM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Royale Office Add-In avaliable on github

Yishay, I managed to transform echarts.ts to external from Haxe. "I talked alone on the list for some time with this" 😝



As I commented at the time, I don't have the knowledge to be able to continue from this point.



Hiedra



-----Mensaje original-----
De: Yishay Weiss <yi...@hotmail.com> Enviado el: jueves, 11 de noviembre de 2021 9:59
Para: dev@royale.apache.org
Asunto: RE: Royale Office Add-In avaliable on github



I’m wondering if there’s an easy way to convert d.ts files to externs, and then to typedefs using our compiler.



Tsickle [1] says it “generates externs.js from TypeScript d.ts (and declare, see below)”

DefinitelyTyped [2] has d.ts files for almost anything, including office-js [3].



If I have some time I’ll see if I can figure out a way to do this.



[1] angular/tsickle: Tsickle — TypeScript to Closure Translator (github.com)<https://github.com/angular/tsickle>

[2] DefinitelyTyped/DefinitelyTyped: The repository for high quality TypeScript type definitions. (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped>

[3] DefinitelyTyped/types/office-js at master · DefinitelyTyped/DefinitelyTyped (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js>







From: Harbs<ma...@gmail.com>

Sent: Thursday, November 11, 2021 10:00 AM

To: Apache Royale Development<ma...@royale.apache.org>

Subject: Re: Royale Office Add-In avaliable on github



Hi Hugo,



I’m going to be starting on an Office Addin really soon.



I’mm thinking of adding externs for office types to royale-extras.



Have you done any work on that?



> On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hf...@gmail.com>> wrote:

>

> Hi,

>

> I just finished my Royale Office Add-In and put it available on github:

> https://github.com/SolidSoft-Lda/Royale-OfficeAddIn

>

> Regards,

> Hugo.



RE: Royale Office Add-In avaliable on github

Posted by Yishay Weiss <yi...@hotmail.com>.
Maria, I couldn’t find a reference to that thread, can you share it? Do you have the externs.js available to share?

From: Yishay Weiss<ma...@hotmail.com>
Sent: Sunday, November 14, 2021 11:09 AM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Royale Office Add-In avaliable on github

Thanks for the reminder, I’ll try to follow it up when I find some time.

From: Maria Jose Esteve<ma...@iest.com>
Sent: Friday, November 12, 2021 1:13 PM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Royale Office Add-In avaliable on github

Yishay, I managed to transform echarts.ts to external from Haxe. "I talked alone on the list for some time with this" 😝



As I commented at the time, I don't have the knowledge to be able to continue from this point.



Hiedra



-----Mensaje original-----
De: Yishay Weiss <yi...@hotmail.com>
Enviado el: jueves, 11 de noviembre de 2021 9:59
Para: dev@royale.apache.org
Asunto: RE: Royale Office Add-In avaliable on github



I’m wondering if there’s an easy way to convert d.ts files to externs, and then to typedefs using our compiler.



Tsickle [1] says it “generates externs.js from TypeScript d.ts (and declare, see below)”

DefinitelyTyped [2] has d.ts files for almost anything, including office-js [3].



If I have some time I’ll see if I can figure out a way to do this.



[1] angular/tsickle: Tsickle — TypeScript to Closure Translator (github.com)<https://github.com/angular/tsickle>

[2] DefinitelyTyped/DefinitelyTyped: The repository for high quality TypeScript type definitions. (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped>

[3] DefinitelyTyped/types/office-js at master · DefinitelyTyped/DefinitelyTyped (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js>







From: Harbs<ma...@gmail.com>

Sent: Thursday, November 11, 2021 10:00 AM

To: Apache Royale Development<ma...@royale.apache.org>

Subject: Re: Royale Office Add-In avaliable on github



Hi Hugo,



I’m going to be starting on an Office Addin really soon.



I’mm thinking of adding externs for office types to royale-extras.



Have you done any work on that?



> On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hf...@gmail.com>> wrote:

>

> Hi,

>

> I just finished my Royale Office Add-In and put it available on github:

> https://github.com/SolidSoft-Lda/Royale-OfficeAddIn

>

> Regards,

> Hugo.



RE: Royale Office Add-In avaliable on github

Posted by Yishay Weiss <yi...@hotmail.com>.
Thanks for the reminder, I’ll try to follow it up when I find some time.

From: Maria Jose Esteve<ma...@iest.com>
Sent: Friday, November 12, 2021 1:13 PM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Royale Office Add-In avaliable on github

Yishay, I managed to transform echarts.ts to external from Haxe. "I talked alone on the list for some time with this" 😝



As I commented at the time, I don't have the knowledge to be able to continue from this point.



Hiedra



-----Mensaje original-----
De: Yishay Weiss <yi...@hotmail.com>
Enviado el: jueves, 11 de noviembre de 2021 9:59
Para: dev@royale.apache.org
Asunto: RE: Royale Office Add-In avaliable on github



I’m wondering if there’s an easy way to convert d.ts files to externs, and then to typedefs using our compiler.



Tsickle [1] says it “generates externs.js from TypeScript d.ts (and declare, see below)”

DefinitelyTyped [2] has d.ts files for almost anything, including office-js [3].



If I have some time I’ll see if I can figure out a way to do this.



[1] angular/tsickle: Tsickle — TypeScript to Closure Translator (github.com)<https://github.com/angular/tsickle>

[2] DefinitelyTyped/DefinitelyTyped: The repository for high quality TypeScript type definitions. (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped>

[3] DefinitelyTyped/types/office-js at master · DefinitelyTyped/DefinitelyTyped (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js>







From: Harbs<ma...@gmail.com>

Sent: Thursday, November 11, 2021 10:00 AM

To: Apache Royale Development<ma...@royale.apache.org>

Subject: Re: Royale Office Add-In avaliable on github



Hi Hugo,



I’m going to be starting on an Office Addin really soon.



I’mm thinking of adding externs for office types to royale-extras.



Have you done any work on that?



> On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hf...@gmail.com>> wrote:

>

> Hi,

>

> I just finished my Royale Office Add-In and put it available on github:

> https://github.com/SolidSoft-Lda/Royale-OfficeAddIn

>

> Regards,

> Hugo.



RE: Royale Office Add-In avaliable on github

Posted by Maria Jose Esteve <mj...@iest.com>.
Yishay, I managed to transform echarts.ts to external from Haxe. "I talked alone on the list for some time with this" 😝



As I commented at the time, I don't have the knowledge to be able to continue from this point.



Hiedra



-----Mensaje original-----
De: Yishay Weiss <yi...@hotmail.com>
Enviado el: jueves, 11 de noviembre de 2021 9:59
Para: dev@royale.apache.org
Asunto: RE: Royale Office Add-In avaliable on github



I’m wondering if there’s an easy way to convert d.ts files to externs, and then to typedefs using our compiler.



Tsickle [1] says it “generates externs.js from TypeScript d.ts (and declare, see below)”

DefinitelyTyped [2] has d.ts files for almost anything, including office-js [3].



If I have some time I’ll see if I can figure out a way to do this.



[1] angular/tsickle: Tsickle — TypeScript to Closure Translator (github.com)<https://github.com/angular/tsickle>

[2] DefinitelyTyped/DefinitelyTyped: The repository for high quality TypeScript type definitions. (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped>

[3] DefinitelyTyped/types/office-js at master · DefinitelyTyped/DefinitelyTyped (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js>







From: Harbs<ma...@gmail.com>

Sent: Thursday, November 11, 2021 10:00 AM

To: Apache Royale Development<ma...@royale.apache.org>

Subject: Re: Royale Office Add-In avaliable on github



Hi Hugo,



I’m going to be starting on an Office Addin really soon.



I’mm thinking of adding externs for office types to royale-extras.



Have you done any work on that?



> On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hf...@gmail.com>> wrote:

>

> Hi,

>

> I just finished my Royale Office Add-In and put it available on github:

> https://github.com/SolidSoft-Lda/Royale-OfficeAddIn

>

> Regards,

> Hugo.



Re: Royale Office Add-In avaliable on github

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
Yeah, dts2as is no longer maintained. Even trying to get a small set of
popular libraries consistently converting correctly was too difficult.
TypeScript is constantly evolving, and definitions in the DefinitelyTyped
repo tend to quickly use the latest syntax. The latest syntax is usually to
support more advanced/convoluted JavaScript patterns, so they don't tend to
map very well to the much simpler type system of AS3. Even falling back to
Object/* to bypass the more complex stuff had its own set of pitfalls,
which was most frustrating of all. I just couldn't keep up.

Closure externs being designed specifically for JS makes them more
compatible with TypeScript's type system, so a .d.ts to externs converter
is probably a bit easier for a developer to maintain. The question is, will
.d.ts converted to externs and then converted to .as work better than .d.ts
converted directly to .as? Hard to say.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Nov 11, 2021 at 1:24 AM Harbs <ha...@gmail.com> wrote:

> Josh created a tool some time ago, but I don’t think it still works.
>
> https://github.com/BowlerHatLLC/dts2as
>
> > On Nov 11, 2021, at 10:59 AM, Yishay Weiss <yi...@hotmail.com>
> wrote:
> >
> > I’m wondering if there’s an easy way to convert d.ts files to externs,
> and then to typedefs using our compiler.
> >
> > Tsickle [1] says it “generates externs.js from TypeScript d.ts (and
> declare, see below)”
> > DefinitelyTyped [2] has d.ts files for almost anything, including
> office-js [3].
> >
> > If I have some time I’ll see if I can figure out a way to do this.
> >
> > [1] angular/tsickle: Tsickle — TypeScript to Closure Translator (
> github.com)<https://github.com/angular/tsickle>
> > [2] DefinitelyTyped/DefinitelyTyped: The repository for high quality
> TypeScript type definitions. (github.com)<
> https://github.com/DefinitelyTyped/DefinitelyTyped>
> > [3] DefinitelyTyped/types/office-js at master ·
> DefinitelyTyped/DefinitelyTyped (github.com)<
> https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js
> >
> >
> >
> >
> > From: Harbs<ma...@gmail.com>
> > Sent: Thursday, November 11, 2021 10:00 AM
> > To: Apache Royale Development<ma...@royale.apache.org>
> > Subject: Re: Royale Office Add-In avaliable on github
> >
> > Hi Hugo,
> >
> > I’m going to be starting on an Office Addin really soon.
> >
> > I’mm thinking of adding externs for office types to royale-extras.
> >
> > Have you done any work on that?
> >
> >> On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hf...@gmail.com>
> wrote:
> >>
> >> Hi,
> >>
> >> I just finished my Royale Office Add-In and put it available on github:
> >> https://github.com/SolidSoft-Lda/Royale-OfficeAddIn
> >>
> >> Regards,
> >> Hugo.
> >
>
>

Re: Royale Office Add-In avaliable on github

Posted by Harbs <ha...@gmail.com>.
Josh created a tool some time ago, but I don’t think it still works.

https://github.com/BowlerHatLLC/dts2as

> On Nov 11, 2021, at 10:59 AM, Yishay Weiss <yi...@hotmail.com> wrote:
> 
> I’m wondering if there’s an easy way to convert d.ts files to externs, and then to typedefs using our compiler.
> 
> Tsickle [1] says it “generates externs.js from TypeScript d.ts (and declare, see below)”
> DefinitelyTyped [2] has d.ts files for almost anything, including office-js [3].
> 
> If I have some time I’ll see if I can figure out a way to do this.
> 
> [1] angular/tsickle: Tsickle — TypeScript to Closure Translator (github.com)<https://github.com/angular/tsickle>
> [2] DefinitelyTyped/DefinitelyTyped: The repository for high quality TypeScript type definitions. (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped>
> [3] DefinitelyTyped/types/office-js at master · DefinitelyTyped/DefinitelyTyped (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js>
> 
> 
> 
> From: Harbs<ma...@gmail.com>
> Sent: Thursday, November 11, 2021 10:00 AM
> To: Apache Royale Development<ma...@royale.apache.org>
> Subject: Re: Royale Office Add-In avaliable on github
> 
> Hi Hugo,
> 
> I’m going to be starting on an Office Addin really soon.
> 
> I’mm thinking of adding externs for office types to royale-extras.
> 
> Have you done any work on that?
> 
>> On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hf...@gmail.com> wrote:
>> 
>> Hi,
>> 
>> I just finished my Royale Office Add-In and put it available on github:
>> https://github.com/SolidSoft-Lda/Royale-OfficeAddIn
>> 
>> Regards,
>> Hugo.
> 


RE: Royale Office Add-In avaliable on github

Posted by Yishay Weiss <yi...@hotmail.com>.
I’m wondering if there’s an easy way to convert d.ts files to externs, and then to typedefs using our compiler.

Tsickle [1] says it “generates externs.js from TypeScript d.ts (and declare, see below)”
DefinitelyTyped [2] has d.ts files for almost anything, including office-js [3].

If I have some time I’ll see if I can figure out a way to do this.

[1] angular/tsickle: Tsickle — TypeScript to Closure Translator (github.com)<https://github.com/angular/tsickle>
[2] DefinitelyTyped/DefinitelyTyped: The repository for high quality TypeScript type definitions. (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped>
[3] DefinitelyTyped/types/office-js at master · DefinitelyTyped/DefinitelyTyped (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js>



From: Harbs<ma...@gmail.com>
Sent: Thursday, November 11, 2021 10:00 AM
To: Apache Royale Development<ma...@royale.apache.org>
Subject: Re: Royale Office Add-In avaliable on github

Hi Hugo,

I’m going to be starting on an Office Addin really soon.

I’mm thinking of adding externs for office types to royale-extras.

Have you done any work on that?

> On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hf...@gmail.com> wrote:
>
> Hi,
>
> I just finished my Royale Office Add-In and put it available on github:
> https://github.com/SolidSoft-Lda/Royale-OfficeAddIn
>
> Regards,
> Hugo.


Re: Royale Office Add-In avaliable on github

Posted by Hugo Ferreira <hf...@gmail.com>.
No,

Just recently it came to my attention that possibility.
I don't mind moving the source code of my Add-In to the official
Royale-extras repository.

If you want, you can grab the source code and put it directly on that
repository.
Any future updates I can do directly on that.

Harbs <ha...@gmail.com> escreveu no dia quinta, 11/11/2021 à(s) 08:01:

> Hi Hugo,
>
> I’m going to be starting on an Office Addin really soon.
>
> I’mm thinking of adding externs for office types to royale-extras.
>
> Have you done any work on that?
>
> > On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hf...@gmail.com>
> wrote:
> >
> > Hi,
> >
> > I just finished my Royale Office Add-In and put it available on github:
> > https://github.com/SolidSoft-Lda/Royale-OfficeAddIn
> >
> > Regards,
> > Hugo.
>
>

Re: Royale Office Add-In avaliable on github

Posted by Harbs <ha...@gmail.com>.
Hi Hugo,

I’m going to be starting on an Office Addin really soon.

I’mm thinking of adding externs for office types to royale-extras.

Have you done any work on that?

> On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hf...@gmail.com> wrote:
> 
> Hi,
> 
> I just finished my Royale Office Add-In and put it available on github:
> https://github.com/SolidSoft-Lda/Royale-OfficeAddIn
> 
> Regards,
> Hugo.