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


On Tue, 2011-01-18 at 19:38 +0100, Lubos Lunak wrote:
Hello,

 could somebody please review the attached patch? While digging for something 
else I noticed that --version doesn't work without $DISPLAY, recalled seeing 
a bugreport about that somewhere [*] and thought how hard that could be (oh, 
silly me). I swear this is the simplest and safest patch I've managed to come 
up with :-/, but since it still moves around initialization of some stuff, 
I'd like somebody else to check. Thanks.

Ok.  I may not be the most knowledgeable in this area, but I've modified
this area several times recently, so I guess I qualify to review your
patch.

The patch looks good to me, and I pushed it on master.  Now the soffice
feels a bit snappier when --help or --version given at the command line.

I am a bit tempted to make calling of EarlyCommandLineArgsPrepare()
platform independent just so that we can remove that #ifdef UNX guard
around it.  Is there any objection for doing so? :-)  Since the
application service manager must be created at some point during the
startup, I don't think creating it early would impact startup
performance or cause any other issues.  The only thing I may be
concerned about is some weird crash-on-exit bug that depends on the
order of creation of global static objects...

[*] Speaking of the bugreport, does it ring a bell to somebody? I can't find 
it now.

You mean this one?
https://bugzilla.novell.com/show_bug.cgi?id=332222

I marked it fixed recently, but I guess I didn't fix it correctly wrt
the DISPLAY setting. ;-)  Thanks a lot for the right fix.

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida@novell.com>


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.