One of the rather odder bugs. OOo’s file menu suddenly appears for no good reason (while playing embedded video in Firefox on another workspace). Story is that OOo has the focus while the video is playing in totem-mozplugin, totem-mozplugin seems to want to inhibit the screensaver from kicking in so sends regular Left Alt strokes to the display via XTest. If OOo has the focus, it receives the Alts, and one of its quirks is that the file menu appears on press and release of Left Alt.
In DEV300_m72 filter and desktop are now unused method free. Though additional unused methods in scripting and sc appear. -16 overall
OOO 3.2.0 “vanilla” install sets for minority Linux ports are now available from download.openoffice.org. 3.2.0 rpms for
* PPC (32bit powerpc)
* s390x (64bit z/Series)
* IA64 (64bit Itanium)
and 3.2.0 .debs for
* parisc (32bit HPPA).
DEV300_m71, svx, soltools and accessibility all 0 unused methods now. ucb reportdesign and sal nearly unused free. sc and sw creep up again. Over all count -17
DEV300_m70 callcatcher results show four new unused methods arising out of the (cool) new printing changes.
Down to 864 unused methods, unused svx mostly moved into new cui lib. svtools split into svl happily removed all unused svtools methods, leaving svtools unused-free. (x86_64) bridges also unused methods free as well.
sd now accounts for 25% of all low-hanging fat
DEV300_m66 callcatcher results, 877 unused methods, down 9. Mostly due to examining the jurt ones and re-categorizing them as JNI entry points.
I’ve added a brief overview of porting OOo to the OOo wiki based on the new Linux/HPPA port which is available in today’s DEV300_m66. Written from the perspective of a Linux port where most of the work is already done, good bit more to do for a non-Linux port, but maybe helpful anyway.
With DEV300_m65 unused methods reduces to 886 as hwpfilter drops out of the list.
Some other work ongoing on removing permanent timers which are constantly triggering when we should otherwise be idle. 3.2 will have the clipboard polling removed which makes the bare frame idle without wakeups, while patches for making math idle have been applied for 3.3. The spell checking loop in impress and draw never ends at the moment, patch available to fix that, as well as fix the graphic and ole cache manager loops to not run if unnecessary. I’ve no fixes for the more complicated writer and calc idle loops yet however.
Good bit of progress on making OOo strict aliasing safe as well.
Played around with cppcheck as well, mostly discovered missing checks in various workbench tools and build-time tools, but a few good catches on stl iterators in main-line code, and very good on new/new vs delete/delete. A few false STL positives as well, but upstream is responsive to bug reports, so next version will give a better set.
So, i7 920 + 10k SATA, full vanilla OOo DEV300_m64, no ccache, no nodep, no NOHIDS, straight build from a stock “./configure” (i.e. includes building seamonkey from source and binfilter) through and including packaging with (date && VERBOSE=FALSE build –all –dlv_switch -link -P8 — -P8 -s && date) > /tmp/build.log 2>&1 took 58 minutes.
DEV300_m61 callcatcher report, starmath and forms are now unused method free. A few other incidental reductions with the whitelisting of some dlopen entry points in sw and the mapUCS2 static function in xpdf headers.
m61 also features the linux solenv/inc/.mks unification so all the linux makefiles inherit from a single unxlng.mk generic one, that should help stamp out the copy and paste and overlooking of the non x86/x86_64 .mks when spiffy new gcc features get used
Unix 64bit ODBC stuff should also work in this milestone as well.
The Fedora-style default document language should also be integrated into vanilla in this (or previous milestone) where it’s taken by default from the locale setting at every start, rather than just at first start. This is via a new “default” entry in the dropdowns including some sane defaulting of the remaining two entries of the Western/CTK/CTL trio.
Over unused methods increase by 4 to 889 despite some welcome efforts in framework which drops to 2 and i18npool which now drops to 0 DEV300_m60 results
My vanilla OpenOffice.org 3.1.1 build for Itanium is now available for download from the normal distribution network.
DEV300_m59 callcatcher report gives two extra unused methods in sw and sc, raising the redundant method count to 885.
DEV300_m58 callcatcher report shows framework increasing by 2 unused methods
DEV300_m57 unused symbols now sub 900 as kohei’s latest sc cleanup is integrated
Well, this is somewhat of an unholy mess. I whipped up a quick date format comparator for glibc and icu for glibc’s supported locales and dispiritingly very few locales agree as to the short date format between icu, glibc, etc. To take one off the top, that of af_ZA
glibc: af_ZA.utf8: %x is 03/09/2009
icu 4.2: af_ZA: Short date is 2009-09-03
CLDR: af: date-short is 2009/09/03
OOo: Afrikaans (South Africa) 09/09/03
Default icu rules seem (?) to get generated from CLDR and checked into icu, but these appear to be out of sync with the current CLDR version. e.g. some tools to get regenerate the icu data from CLDR. Need to have a look to see if that’s truly the case.
A mockup I’m played around with that tries to support the normal mortal case of just selecting the right locale, but supporting the apparently common situation of
a) wanting just the UI in US English which leads people to effectively set LANG=en_US and then fighting their applications one at a time to get them to not use Letter paper, not use a baffling date format, getting . vs , in numbers, inches vs cm, and so on
b) wanting dates in ISO format
and at the least letting you know up-front the effect your settings will have on applications.
e.g. X wants everything to be standard German
e.g. X wants UI in English because X finds that more comfortable but normally X will be writing in German and using metric, wants the normal German formatting rules to apply for numbers and currency, except for dates because X wants to use the ISO date format to avoid cross-cultural cockups on dates like the 6th of April and the 4th of June.
What maps to what
callcatcher results for DEV300_m55 now show rdbmaker and basctl as unused method free. Overall unused methods drops to 949. (desktop +1)