On 01/03/12 22:25, Michael Meeks wrote:
On Thu, 2012-03-01 at 20:47 +0100, Stephan Bergmann wrote:
AA: + l/strace-alike for UNO (Stephan)
On a more constructive note ;) the above already exists, in the form
of <http://wiki.services.openoffice.org/wiki/Uno/Spec/Log_Environment>.
Great - so then, perhaps the GSOC task might be polishing this - making
it easy to use [ in particular tracing ~everything a-la strace by
default and using using grep later is a rather useful thing ].
this page here has an "uno:log:affine" example, but i have no idea what
that does, or whether it even works:
http://wiki.services.openoffice.org/wiki/Uno/Spec/Purpose_Environment
Also - we need a dynamic_cast<> alike that hides the UNO tunnel-ness,
and (hopefully) does it more simply / easily too - otherwise (I guess)
all of that breaks when we start to trace - though some easy way to
implement XTunnel (or preferably the absence of a need to - surely UNO
knows / can do that for us ? ) would be wonderful.
something like sw::UnoTunnelGetImplementation?
http://opengrok.libreoffice.org/xref/core/sw/inc/unobaseclass.hxx#132
wanted to move that out of sw some time...
there's also a method for the implementation, but that could still be
simpler, say with a template base class mix-in that also defines the ID...
http://opengrok.libreoffice.org/xref/core/sw/inc/unobaseclass.hxx#145
Do you think there is enough there to do for a GSOC project ? I guess
we could add a few of the LibreOffice4 UNO migration things into there
otherwise; perhaps the types.rdb replacement idea ?
All the best,
Michael.
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.