Apache OpenOffice (AOO) Bugzilla – Issue 35758
visibility attribute work
Last modified: 2005-02-02 13:49:59 UTC
The source needs annotating with the symbol visibility attributes to improve performance.
Just a little book-keeping... Adding dependency to issue 20269 (startup performance), inheriting priority (P2) and target (OOo 2.0) from there. As this issue is against the 'graphics' project, it should probably be scoped to apply to the 'svx' library as the only / primary target. Matthias
Hi Nicel, I've just commited a couple of files as symbol visibility preparation: svx/inc/svx/svxdllapi.h (new file; to be used as #include "svx/svxdllapi.h") svx/util/makefile.pmk (new version; defining SVX_DLLIMPLEMENTATION; preparing visibility=hidden) svx/util/makefile.mk (new version; cleanup to build single 'svx' library on all platforms) svx/source/dialog/<cui> (multiple new versions; #undef SVX_DLLIMPLEMENTATION for 'cui' objects) Hope that helps, Matthias
Hi Matthias, Thanks. I had created these in my local workspace and also progressed with quite a few of the headers marking up the interfaces. Once Michael come back after vacation this week, will commit since I don't have access to commit myself. thanks, -Nicel.
Infact I had put svxdllapi.h under svx/inc/ itself and included it as #include "svxdllapi.h". Should I be changing these references to reflect the location svx/svxdllapi.h or is it ok to have the new header to be put under svx/inc/ itself? thanks, -Nicel.
Hi Nicel, Somehow, I already feared my work could conflict with yours. Hopefully the conflicts are still small, and I promise not to touch any of the header files you're working on. Regarding "svxdllapi.h", I would prefer my "svx/svxapidll.h" approach (if it doesn't cause too much pain for you), as this is consistent between usage within the svx module and from outside. Remember that all public headers, including the new svxdllapi.h, are "delivered" into the <global output tree>/inc/ svx/ directory (which is not so in sw, sc, sd which don't publish any headers). Sorry for any inconvinience that my interference might cause for you, Matthias
Absolutely no problem. I'll make the changes as per "svx/svxapidll.h". Good that we got to fix this early so that the rework is minimal. Appreciate your help. thanks, -Nicel.
svx marking is completed and committed to visibility01
Module 'svx' has indeed been successfully marked, and smoketests on linux/x86, solaris/sparc, and windows do successfully pass => resolving issue as fixed.
As this is a developer issue, marking myself as verified...
Integrated into milestone m74 => closing...