Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi,

The past week I've been improving the code generator program and the
code that is generated. Now the Haskell code generator is more like
cppumaker. The generated code doesn't use
"rtl::Reference"/"css::uno::Reference" to keep interface references
any more, and I have taken some steps to have "Sequence< T >" handled
as lists in Haskell (got "Sequence< OUString >" to "[Text]" working).

There still are some issues to solve:
 - A small part of the code that should be generated is still
handmade. This should be fixed this week, as it doesn't require much
work.
 - Some C/C++ pointers are not freed/deleted, while others are handled
by the Haskell run time system (using ForeignPtr). This is also on my
TODO list.
 - The use of interfaces is still a bit tricky. In some places it
requires a "uno2cpp.mapInterface(...)", while in other places this
crashes. I will look into this during this week.

Also, many UNO IDL entities are not yet converted to, or handled in,
Haskell. I'll also try work on this front a bit.

Kind regards,
Jorge

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.