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


On 10/04/13 15:40, Bjoern Michaelsen wrote:
Hi Eike,

On Wed, Apr 10, 2013 at 03:05:50PM +0200, Eike Rathke wrote:
It's not only Writer, Calc and Draw do the same with some headers, and
it serves a purpose, for example core or filters are not supposed to
access anything UI or view specific.

That is right ... and wrong. The separation e.g. between libsw and libswui is a
Good Thing(tm). Doing so with a half-complete new concept below the module is
wrong, and was likely only done because modules had some magic meaning in the
old CWS/CVS voodoo making it a pain to work across them.

the problem is that the splitting of sw into 3 libraries is essentially
a hack to get better startup performance; there is not really a clean
separation there; for starters there are a lot of dependencies from core
code to SwDocShell which is in the sw/source/ui directory but not the
"swui" library.

actually the sw library links in almost 200 objects from sw/source/ui.

If swui is a proper lib on top of sw, it should either:
- be a toplevel module on its own

before this can happen a lot of work has to be done to clean up this
mess.  the current situation makes it at least obvious that there _is_ a
mess :)



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.