Venetia Furtado license statement

2023-06-15 Thread Venetia R Furtado
All of my past and future contributions to LibreOffice may be licensed under MPLv2/LGPLv3+ dual license. Venetia Furtado

GSoC final report: LUA UNO Language binding in LibreOffice

2024-09-17 Thread Venetia R Furtado
Hello, Attached is my final report for the GSoC project: https://gist.github.com/VenetiaFurtado/08c232bfa39cacda134bb0a978bb7398 This experience has been an invaluable learning opportunity. I thank Stephan and Thorsten for their guidance over the past few months. I look forward to continuing my c

GSoC Weekly Update: LUA UNO Language binding in LibreOffice

2024-08-09 Thread Venetia R Furtado
Hello, This week I was able to complete the following: - Complete implementation of passing the in, out and in-out method arguments from LUA to UNO - Support for passing 'Any' container from UNO to LUA as a table and vice-versa. - Identified and resolved issues in last week's imple

GSoC Weekly Update: LUA UNO Language binding in LibreOffice

2024-08-17 Thread Venetia R Furtado
Hello, This week I added support for handling exceptions on both the LUA and UNO side. I have also cleaned up the code and moved it over to https://gerrit.libreoffice.org/c/sdk-examples/+/171940 I am currently working on the README file. Venetia Furtado

GSoC Weekly Update: LUA UNO Language binding in LibreOffice

2024-07-12 Thread Venetia R Furtado
Hi, Continuing last week's work, I implemented a generic struct by using the CoreReflection to get the XIdlClass and create the css.uno.Type from it. I am currently working on writing code for the remaining basic UNO types and using the "/singletons/org.libreoffice.embindtest.Test" Test to valid

GSoC Weekly Update: LUA UNO Language binding in LibreOffice

2024-07-21 Thread Venetia R Furtado
Hi, As mentioned in my last update, I worked on the remaining basic UNO types. Setting up the test environment took some time as I ran into some errors but I was able to successfully set it up using the " /singletons/org.libreoffice.embindtest.Test". I have tested out most of the basic UNO types,

GSoC Weekly Update: LUA UNO Language binding in LibreOffice

2024-08-01 Thread Venetia R Furtado
Hello, This week, I completed all basic 'in' parameters and support for functions that return a 'void'. I am currently working on 'out' and 'in/out' parameters and am using 'getOut' method in the embindtest.cxx file for testing it out. https://gerrit.libreoffice.org/c/core/+/168298 Regards, Ven

GSoC Weekly Update: LUA UNO Language binding in LibreOffice

2024-06-07 Thread Venetia R Furtado
Hello, Over the week, I worked on a rough prototype of the LUA C++ binding and then started working on moving the function XComponentWrapperClass::setString to script.lua. The second part is a work in progress currently, as I have encountered some errors and I am working on fixing it. The patch ca

GSoC Weekly Update: LUA UNO Language binding in LibreOffice

2024-06-14 Thread Venetia R Furtado
Hello, I had initially hard-coded C++ wrapper MyClass around the mxDocText object (SimpleBootstrap_cpp.cxx), and then exported that C++ wrapper to Lua. I then refactored the code (with guidance from Stephan), to map the C++ UNO objects to LUA and have a generic way to call UNO interface methods.

GSoC Weekly Update: LUA UNO Language binding in LibreOffice

2024-06-21 Thread Venetia R Furtado
Hello, Over the past week, I worked on changing the UNO interface methods that were hard-coded as individual C++ functions to a single a C++ method mapped to the __index metamethod. As discussed with Stephan, I used the css.scripting.Invocation interface to find out the number and types of argume

GSoC Weekly Update: LUA UNO Language binding in LibreOffice

2024-06-28 Thread Venetia R Furtado
Hello, This week, I continued to work on developing generic LUA <-> C++ interfaces. I worked on enhancing contructAny method from previously hard-coded values to a generic recursive solution. https://gerrit.libreoffice.org/c/core/+/168298 Regards, Venetia Furtado

GSoC Weekly Update: LUA UNO Language binding in LibreOffice

2024-07-05 Thread Venetia R Furtado
Hello, Last week I had worked on adding support for TypeClass_SEQUENCE but with some hard-coded elements to handle the struct within the Sequence in the function constructAny. contructAny is used to build the input parameter data structures that are passed to the UNO invoke call. As a continuatio

GSoC: LUA UNO Language Binding in LibreOffice

2024-05-16 Thread Venetia R Furtado
Hello, I am Venetia Furtado and I will be working on the project “LUA UNO Language Binding in Libre Office” for GSoC’24. I would like to thank Ilmari for encouraging me to apply to the program, and huge thanks to Stephan and Thorsten for agreeing to mentor me on this project. The goal of this pr

GSoC Week 1 Update: LUA UNO Language Binding in LibreOffice

2024-05-31 Thread Venetia R Furtado
Hello, I started this week spending some time going over the fundamentals of the LUA language. I then wrote a simple program referring to online resources for a LUA C++ language binding which internally used the LUA C API. This gave me a very basic understanding of how language bindings work with