Revision 1205924

Go back to digest for 19th December 2010

Bug Fixes in KDE Base

John Layt committed changes in /trunk/KDE/kdelibs/kdecore:

KLocale fixes to make AM/PM symbols work properly

1) Fix spelling Meridian => Meridiem
2) Allow setting of null country meaning system country
3) Make sure Day Period config is read in with millisecond accuracy
4) Rework the saving of the config file, turns out taking a copy is a bad idea
as the existing code has a number of implicit sync() call that write the
config out, but calling markAsClean() is equally as bad, so instead keep a
pointer in the original form provided and operate on the config exactly as
previously to maintain consistant behaviour. Document the implicit sync().

File Changes

Modified 4 files
  • /trunk/KDE/kdelibs/kdecore
  •   /localization/klocale.h
  •   /localization/klocale_kde.cpp
  •   /localization/klocale_p.h
  •   /tests/klocaletest.cpp
4 files changed in total