[GSoC] Haskell UNO Language Binding - Weekly Report 13

2015-08-21 Thread Jorge Mendes
Hi, The past week I've written a bit of documentation (a small explanation on how to use the binding) and I also added a new example a bit more complex. This example is functional but not yet finished, and it showed that there is some more work to be done in order to use the binding in bigger prog

[GSoC] Haskell UNO Language Binding - Weekly Report 12

2015-08-18 Thread Jorge Mendes
Hi, The past week I improved the code generation so that all the required code is generated and manual modifications are not needed to make the examples work. Moreover, the issue with UNO interfaces was also fixed, and I made conversion for more UNO types. 'Any' values are handled better (conversi

[GSoC] Haskell UNO Language Binding - Weekly Report 11

2015-08-10 Thread Jorge Mendes
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 "

[GSoC] Haskell UNO Language Binding - Weekly Report 10

2015-08-05 Thread Jorge Mendes
Hi, The past week and the beginning of this one I have been improving the code generation for two purposes: reduce the need of tweaking the generated code, and improve type safety along with better memory management. This is not yet finished. I had to make major changes to the code, and I am test

[GSoC] Haskell UNO Language Binding - Weekly Report 9

2015-07-28 Thread Jorge Mendes
Hi, For the past week I've still been making the document loader example to work in Haskell. The example is working, but still needs some manual work for it to compile and run. An issue that arises is the creation import cycles in Haskell code due to dependencies between some UNO IDL entities. Fo

[GSoC] Haskell UNO Language Binding - Weekly Report 8

2015-07-20 Thread Jorge Mendes
Hi, For the past week I've been trying to make the document loader example to work in Haskell. I had to implement code generation for more UNO IDL entities, and did a bit of testing. I have it working to some point, where I can connect to a LibreOffice process (using the UnoUrlResolver service) a

[GSoC] Haskell UNO Language Binding - Weekly Report 7

2015-07-14 Thread Jorge Mendes
Hi, The past week I've been working on generating more UNO entity types, and testing the result. Some tweaks were needed along the way, and changes will be needed to make the API use more of Haskell's type system, hoping to reduce the amount of work for the user. For this week, most of the code g

[GSoC] Haskell UNO Language Binding - Weekly Report 6

2015-07-06 Thread Jorge Mendes
Hi, The past week I've put the compilation of the example in the repository [1] working. The compilation process is not too complex, and Haskell programmers (and others) should be able to compile and run the example. Having the compilation infrastructure done, I was able to test what I had for th

[GSoC] Haskell UNO Language Binding - Weekly Report 5

2015-06-30 Thread Jorge Mendes
Hi, The past week I've been working a bit more on the generation of code C/C++/Haskell code, and on the compilation of a normal working environment. The idea is, for now, to have: - a package with code that is required for the binding; - an application that generates code from IDL types to use

[GSoC] Haskell UNO Language Binding - Weekly Report 4

2015-06-22 Thread Jorge Mendes
Hi, The past week I've started working on a code generator from IDL files (like cppumaker and javamaker). The idea is to generate some code, like the one that I handmade for my examples, automatically. This is not done yet, and I'll be working on it also during this week. Kind regards, Jorge

[GSoC] Haskell UNO Language Binding - Weekly Report 3

2015-06-16 Thread Jorge Mendes
Hi, The past week I've been working on making objects available to the Haskell code, and how to work with UNO exceptions on the Haskell side. I didn't find a solution yet, having tried two or three different methods. This week, the idea is to choose one of the methods, and try to make a binding t

[GSoC] Haskell UNO Language Binding - Weekly Report 2

2015-06-08 Thread Jorge Mendes
Hi, The past week I've put a simple example working (see previous report [1]). I am now working on more examples that use the UNO API, so I can have a better idea how to structure the binding. Kind regards, Jorge [1] http://lists.freedesktop.org/archives/libreoffice/2015-June/068447.html __

[GSoC] Haskell UNO Language Binding - Weekly Report 1

2015-06-03 Thread Jorge Mendes
Hi, Sorry for the late report. For the first week (and also during the bonding period) I have been looking to LibreOffice code related to UNO bindings (C++, Java, Python) for inspiration, and played a little bit with Haskell's FFI to check how well it works with C++. For this, C wrappers around C

[GSoC 2015] Self presentation

2015-04-30 Thread Jorge Mendes
://www.di.uminho.pt/~jorgemendes [2] https://www.google-melange.com/gsoc/project/details/google/gsoc2015/jorgemendes/5757334940811264 [3] https://wiki.documentfoundation.org/Development/GSoC/Ideas#Haskell_UNO_Language_Binding Best regards, Jorge Mendes

Re: Make test failed

2015-04-06 Thread Jorge Mendes
git pull and try again. This has been already discussed: http://nabble.documentfoundation.org/Test-name-testSectionProtection-Import-Export-Import-equality-assertion-failed-CppunitTest-sw-ooxmle-td4145315.html ___ LibreOffice mailing list LibreOffice@lis

Jorge Mendes license statement

2015-04-02 Thread Jorge Mendes
All of my past & future contributions to LibreOffice may be licensed under the MPLv2/LGPLv3+ dual license. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice