Calc Addin under Linux for QuantLibAddin-1.5.0

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Calc Addin under Linux for QuantLibAddin-1.5.0

Lars Callenbach
Hello,

I have extended the addin code for the LibreOffice calc plugin. Changes:
1) vetor return values (iteration over std::vector results)
2) return type seqseq(ANY) for all addin functions to provide addin access to exceptions (exception messages will be displayed in cells)
3) implementation of default value handling (ANY::hasValue() function)
4) works clean with dynamic libraries (and with static linking)

I have changed a lot of XML config files and some python files for the calc addin and I suggest to include my changes in the official code. How shall we proceed to include these changes in the official version? Who is responsible for the maintenance of the calc code? Can I help maintaining the calc code?

The generated code is available under "https://www.callenbach.eu".


Best regards,
   Lars
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Calc Addin under Linux for QuantLibAddin-1.5.0

japari
Hi,
thank you for the work. I have been playing recently with this but did not get as far as you did.

To build in QuantLibAddin/Addins/Calc I have managed to create the *.urd *rdb and *.idl manually with the UNO tools. Could not use the Makefile.oo in the project. I havent get to the end; I was starting to modify the src files generation which you have done already.
I am very interested in what you did since it is going to save me a lot of time. But can you fork from Erics and make it public in GitHub please? I bet there are a few people interested in it.

Best
Pepe


----- Original Message -----

>
> Hello,
>
> I have extended the addin code for the LibreOffice calc plugin.
> Changes:
> 1) vetor return values (iteration over std::vector results)
> 2) return type seqseq(ANY) for all addin functions to provide addin
> access to exceptions (exception messages will be displayed in cells)
> 3) implementation of default value handling (ANY::hasValue()
> function)
> 4) works clean with dynamic libraries (and with static linking)
>
> I have changed a lot of XML config files and some python files for
> the calc addin and I suggest to include my changes in the official
> code. How shall we proceed to include these changes in the official
> version? Who is responsible for the maintenance of the calc code?
> Can I help maintaining the calc code?
>
> The generated code is available under " https://www.callenbach.eu ".
>
>
> Best regards,
> Lars
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Calc Addin under Linux for QuantLibAddin-1.5.0

Eric Ehlers-3
In reply to this post by Lars Callenbach
Hi Lars,

This is great!

Would it be possible for you to send me a pull request for this?  If
you could do it against my v1.6.x branch then I will include it in the
1.6 release which I am preparing now.  Otherwise if you do it against
my master then it will go in to 1.7.

Kind Regards,
Eric

On Fri, 10 Jul 2015 19:05:55 +0200
Lars Callenbach <[hidden email]> wrote:

> Hello,
>
> I have extended the addin code for the LibreOffice calc plugin.
> Changes: 1) vetor return values (iteration over std::vector results)
> 2) return type seqseq(ANY) for all addin functions to provide addin
> access to exceptions (exception messages will be displayed in cells)
> 3) implementation of default value handling (ANY::hasValue() function)
> 4) works clean with dynamic libraries (and with static linking)
>
> I have changed a lot of XML config files and some python files for the
> calc addin and I suggest to include my changes in the official code.
> How shall we proceed to include these changes in the official
> version? Who is responsible for the maintenance of the calc code? Can
> I help maintaining the calc code?
>
> The generated code is available under "https://www.callenbach.eu".
>
>
> Best regards,
>    Lars


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Calc Addin under Linux for QuantLibAddin-1.5.0

Lars Callenbach
Hi Eric,

set up a pull request against 1.6.

@Pepe: is something missing or does everything work fine for you (I have
written some more xml files for inflation, model calibration etc. which
are not included in this pull request)?


Best regards,
   Lars


Am Sonntag, den 12.07.2015, 12:57 +0300 schrieb Eric Ehlers:

> Hi Lars,
>
> This is great!
>
> Would it be possible for you to send me a pull request for this?  If
> you could do it against my v1.6.x branch then I will include it in the
> 1.6 release which I am preparing now.  Otherwise if you do it against
> my master then it will go in to 1.7.
>
> Kind Regards,
> Eric
>
> On Fri, 10 Jul 2015 19:05:55 +0200
> Lars Callenbach <[hidden email]> wrote:
>
> > Hello,
> >
> > I have extended the addin code for the LibreOffice calc plugin.
> > Changes: 1) vetor return values (iteration over std::vector results)
> > 2) return type seqseq(ANY) for all addin functions to provide addin
> > access to exceptions (exception messages will be displayed in cells)
> > 3) implementation of default value handling (ANY::hasValue() function)
> > 4) works clean with dynamic libraries (and with static linking)
> >
> > I have changed a lot of XML config files and some python files for the
> > calc addin and I suggest to include my changes in the official code.
> > How shall we proceed to include these changes in the official
> > version? Who is responsible for the maintenance of the calc code? Can
> > I help maintaining the calc code?
> >
> > The generated code is available under "https://www.callenbach.eu".
> >
> >
> > Best regards,
> >    Lars
>



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Calc Addin under Linux for QuantLibAddin-1.5.0

japari
Hi,
Let me try; I'll be back.
Thank you
pepe


----- Original Message -----

> Hi Eric,
>
> set up a pull request against 1.6.
>
> @Pepe: is something missing or does everything work fine for you (I
> have
> written some more xml files for inflation, model calibration etc.
> which
> are not included in this pull request)?
>
>
> Best regards,
>    Lars
>
>
> Am Sonntag, den 12.07.2015, 12:57 +0300 schrieb Eric Ehlers:
> > Hi Lars,
> >
> > This is great!
> >
> > Would it be possible for you to send me a pull request for this?
> >  If
> > you could do it against my v1.6.x branch then I will include it in
> > the
> > 1.6 release which I am preparing now.  Otherwise if you do it
> > against
> > my master then it will go in to 1.7.
> >
> > Kind Regards,
> > Eric
> >
> > On Fri, 10 Jul 2015 19:05:55 +0200
> > Lars Callenbach <[hidden email]> wrote:
> >
> > > Hello,
> > >
> > > I have extended the addin code for the LibreOffice calc plugin.
> > > Changes: 1) vetor return values (iteration over std::vector
> > > results)
> > > 2) return type seqseq(ANY) for all addin functions to provide
> > > addin
> > > access to exceptions (exception messages will be displayed in
> > > cells)
> > > 3) implementation of default value handling (ANY::hasValue()
> > > function)
> > > 4) works clean with dynamic libraries (and with static linking)
> > >
> > > I have changed a lot of XML config files and some python files
> > > for the
> > > calc addin and I suggest to include my changes in the official
> > > code.
> > > How shall we proceed to include these changes in the official
> > > version? Who is responsible for the maintenance of the calc code?
> > > Can
> > > I help maintaining the calc code?
> > >
> > > The generated code is available under
> > > "https://www.callenbach.eu".
> > >
> > >
> > > Best regards,
> > >    Lars
> >
>
>
>

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Calc Addin under Linux for QuantLibAddin-1.5.0

japari
In reply to this post by Lars Callenbach
Hi all,
Lars, I have tried your branch and I the AddIn compilation fails at the inflation bonds registration so it looks like I need the xml files you mentioned. Can I have a look at them please? Can you add those to github?
Thank you.
Pepe


----- Original Message -----

> Hi Eric,
>
> set up a pull request against 1.6.
>
> @Pepe: is something missing or does everything work fine for you (I
> have
> written some more xml files for inflation, model calibration etc.
> which
> are not included in this pull request)?
>
>
> Best regards,
>    Lars
>
>
> Am Sonntag, den 12.07.2015, 12:57 +0300 schrieb Eric Ehlers:
> > Hi Lars,
> >
> > This is great!
> >
> > Would it be possible for you to send me a pull request for this?
> >  If
> > you could do it against my v1.6.x branch then I will include it in
> > the
> > 1.6 release which I am preparing now.  Otherwise if you do it
> > against
> > my master then it will go in to 1.7.
> >
> > Kind Regards,
> > Eric
> >
> > On Fri, 10 Jul 2015 19:05:55 +0200
> > Lars Callenbach <[hidden email]> wrote:
> >
> > > Hello,
> > >
> > > I have extended the addin code for the LibreOffice calc plugin.
> > > Changes: 1) vetor return values (iteration over std::vector
> > > results)
> > > 2) return type seqseq(ANY) for all addin functions to provide
> > > addin
> > > access to exceptions (exception messages will be displayed in
> > > cells)
> > > 3) implementation of default value handling (ANY::hasValue()
> > > function)
> > > 4) works clean with dynamic libraries (and with static linking)
> > >
> > > I have changed a lot of XML config files and some python files
> > > for the
> > > calc addin and I suggest to include my changes in the official
> > > code.
> > > How shall we proceed to include these changes in the official
> > > version? Who is responsible for the maintenance of the calc code?
> > > Can
> > > I help maintaining the calc code?
> > >
> > > The generated code is available under
> > > "https://www.callenbach.eu".
> > >
> > >
> > > Best regards,
> > >    Lars
> >
>
>
>

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev