Don’t worry, don’t get quickly offended :)

Most of the type of “errors" I got are in one of the following categories:

1) A class defines a method not compatible with one in the interface or base 
class. For example removeListener suddenly returns Element to allow for 
chaining instead of a boolean. I guess this is a balance between usability and 
OO correctness that sometimes doesn’t map well on TypeScript.

2) There are a lot of method parameters not defined optional while in fact they 
are. For example the icon parameter in many of the constructors. The 
declaration file still compiles well, but when I compile a project using these 
constructors I get many warnings about missing parameters.

3) Not always are the types mentioned in the doc fully qualified. Especially 
when a class name appears multiple times in different packages, this can be 
difficult to guess (at least for the parser).

And then there are some smaller things, like I have seen a return type being a 
package name instead of a class or interface. I’ll see if I can make an 
overview of the different findings.


BTW I did put the parser on Github right now for those who want to see it: 
https://github.com/jbaron/qx-parser


— Peter

On 07 Jul 2014, at 22:12, thron7 <thr...@users.sourceforge.net> wrote:

> Wow, interesting.
> 
> Don't be offended when you don't get much feedback from core devs,
> they're usually just too busy. The API issues are immediately
> interesting, so post some examples for them when you find time, and
> maybe open an issue with qooxdoo's bug tracker.
> 
> Post your project progress and your experiences once in a while.
> 
> T.
> 
> 
> On Thu, Jul 3, 2014 at 7:09 PM, Peter Dekkers <pe...@jbaron.com> wrote:
>> In my search for a UI framework that would allow me to build a desktop like
>> application, Qooxdoo seemed one of the most promising ones. However since my
>> project (CATS, an IDE for TypeScript)) is written in TypeScript, I first
>> wanted to make sure it could effectively be used from TypeScript.
>> 
>> So I generated a declaration file for the Qooxdoo ui widgets and its
>> dependencies (I did find one already on github but that was outdated and
>> didn’t provide me the details I needed). I also tried to remove the
>> dependencies on the generate tooling by including all the widgets already in
>> the project. So you can use this project without having to install the
>> Qooxdoo library or tooling.
>> 
>> Still a lot of things can be improved and I want to also evaluate a few
>> things. But I already put this version on Github in case anyone wants to
>> give it a try or find it remotely useful (there is a small demo app included
>> that shows how it can be used).
>> 
>> You can find it at: https://github.com/jbaron/qx-typed
>> 
>> 
>> Things still to be done:
>> 
>> 1) Infer types based on the "var pattern” used by Qooxdoo. A lot of methods
>> refer to a property that is typed. However the method itself is untyped
>> (var) and right now mapped to any
>> 2) Include typed events since TypeScript does support this nicely.
>> 3) Have some more test code, so I can easily see what still has to be
>> manually changed to the qooxdoo.d.ts file for the test code to be compiled
>> correctly. For example Qooxdoo doesn’t always correctly flag parameters as
>> optional (or I am making some mistakes ;)
>> 
>> BTW also planning to put the generator on github that I used to generate
>> this qooxdoo.d.ts file after I cleaned up some of the code. However also
>> found out that there are many cases where the documentation (API) is not
>> 100% correct and some small manual changes are required to make regular code
>> pass TypeScript checks. Not sure if anyone is interested in this or not ?
>> 
>> — Peter
>> 
>> ------------------------------------------------------------------------------
>> Open source business process management suite built on Java and Eclipse
>> Turn processes into business applications with Bonita BPM Community Edition
>> Quickly connect people, data, and systems into organized workflows
>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>> http://p.sf.net/sfu/Bonitasoft
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>> 
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to