CIA.vc
John Layt
aka odysseus or odysseus_nz
Stats » Authors » John Layt
informationsyndicateUTC clock
04:42 on May 28, 2012
event counters
The last message was received 1.36 years ago at 04:11 on Jan 18, 2011
0 messages so far today, 0 messages yesterday
0 messages so far this week, 0 messages last week
0 messages so far this month, 0 messages last month
397 messages since the first one, 4.83 years ago, for an average of 4.44 days between messages
recent messages
dateReversed sort columnprojectcontentlink
04:11 on Jan 18, 2011KDE
Commit by jlayt :: r1215215 runtime/trunk/KDE/kdebase/runtime/kcontrol/locale/kcmlocale.cpp: (link)
Hide the Install Langauges button, only those distros supporting this feature
will need to enable the button.

Forward port of r1215214 from 4.6 branch.

BUG: 262056
#
04:10 on Jan 18, 2011KDE
Commit by jlayt :: r1215214 runtime/branches/KDE/4.6/kdebase/runtime/kcontrol/locale/kcmlocale.cpp: (link)
Hide the Install Langauges button, only those distros supporting this feature
will need to enable the button.

CCBUG: 262056
#
11:31 on Jan 11, 2011KDE
Commit by jlayt :: r1213722 runtime/branches/KDE/4.6/kdebase/runtime/l10n/se/entry.desktop: (link)
Fix SEK not being selected as default currency for SE due to typo in l10n file

CCBUG: 262586
#
11:31 on Jan 11, 2011KDE
Commit by jlayt :: r1213723 runtime/trunk/KDE/kdebase/runtime/l10n/se/entry.desktop: (link)
Fix SEK not being selected as default currency for SE due to typo in l10n file

Forward port from 4.6 of r1213722

CCBUG: 262586
#
11:09 on Jan 11, 2011KDE
Commit by jlayt :: r1213717 runtime/trunk/KDE/kdebase/runtime/kcontrol/locale/kcmlocale.cpp: (link)
Fix locale kcm handling of single space separator.

The l10n and kdeglobals files store a space separator as "$0 $0" which needs to
be converted when reading in and writing out. This seems unnecessary to me but
needs to be kept for backwards compatability.

Forward port from 4.6 of r1213697

BUG: 262586
#
09:51 on Jan 11, 2011KDE
Commit by jlayt :: r1213697 runtime/branches/KDE/4.6/kdebase/runtime/kcontrol/locale/kcmlocale.cpp: (link)
Fix locale kcm handling of single space separator.

The l10n and kdeglobals files store a space separator as "$0 $0" which needs to
be converted when reading in and writing out. This seems unnecessary to me but
needs to be kept for backwards compatability.

CCBUG: 262586
#
00:10 on Dec 31, 2010KDE
Commit by jlayt :: r1210364 kdecore/branches/KDE/4.6/kdelibs/kdecore/ (4 files in 3 dirs): (link)
Remove new private methods from public class to prevent future BIC problems.
#
06:38 on Dec 30, 2010KDE
Commit by jlayt :: r1210246 kholidays/trunk/KDE/kdepimlibs/kholidays/parsers/plan2/holidayparserdriverplan.cpp: (link)
Fix easter calculation which was wrong in some years.

BUG: 255896
#
06:31 on Dec 30, 2010KDE
Commit by jlayt :: r1210243 kholidays/branches/KDE/4.6/kdepimlibs/kholidays/parsers/plan2/holidayparserdriverplan.cpp: (link)
Fix Easter calculation which was wrong for 2011 and many other years, 4.6 branch

CCBUG: 255896
#
06:29 on Dec 30, 2010KDE
Commit by jlayt :: r1210242 kholidays/branches/KDE/4.5/kdepimlibs/kholidays/parsers/plan2/holidayparserdriverplan.cpp: (link)
Fix Easter calculation which was wrong for 2011, 4.5 branch

CCBUG: 255896
#
21:32 on Dec 19, 2010KDE
Commit by jlayt :: r1207824 kdecore/trunk/KDE/kdelibs/kdecore/localization/ (8 files): (link)

Fix KLocale behaviour around persistance of configs and calling their setLocale

Revert parts of my previous 2 changes and add some new stuff to ensure the
behaviour is 100% consistent with the previous behaviour while still keeping
the config available when needed.

Also move all the constructor init into an single explicit function call rather
than relying on side effects spread around the different classes, it's just
easier to follow now.

So now it works as follows:

  • If we're explicity given the global or not given a config at all, then apply the setLocale to the global and use it directly as the config
  • If we're given a shared config we can keep it and use it later as this is the stated behaviour in the apidox.
  • If we're given an un-shared config, we can't rely on it being around later as that's not stipulated in the apidox, so we call setLocale on it then take a copy to use later. Also fix KCurrencyCode constructor which was referring to the global locale which led to an infinite loop when the global locale was being created.
#
11:54 on Dec 15, 2010KDE
Commit by jlayt :: r1206679 kdecore/trunk/KDE/kdelibs/kdecore/date/ (2 files): (link)
Fix KDateTimeFormatter to not create an en_US locale unless really needed.

Creating the en_US locale is very inefficent as it triggers an updateCatalogs()
every time, so creating the locale every time a date is parsed is horrifically
inefficient. Delaying the creation until it is actually needed and keeping it
around afterwards is a temporary solution to fix the most common use case, but
is not a long term solution when KDateTime starts using it.
#
11:23 on Dec 14, 2010KDE
Commit by jlayt :: r1206435 kdecore/trunk/KDE/kdelibs/kdecore/date/ (kcalendarsystem.h klocalizeddate.h): (link)
Improve dayOfWeek apidox
#
01:22 on Dec 14, 2010KDE
Commit by jlayt :: r1206247 runtime/trunk/KDE/kdebase/runtime/kcontrol/locale/ (kcmlocale.cpp kcmlocale.h): (link)
KCM Locale fix crash when using language other than en_US.

When you pass a KConfig to KLocale it calls setLocale() on the KConfig using
the KLocales current langauge. If this language is different to the KConfig's
language then a reparseConfiguration() is called to change any localized
settings. However, if your KCOnfig is enitrely in memory then you have no file
to reparse and you end up with null settings leading to crashes.

Fix makes sure that the KConfig and KLocale always have the same langauge set
before passing in the KConfig, thus making sure there's no force reparse and
the settings remain intact.

BUG: 259790
#
01:57 on Dec 13, 2010KDE
Commit by jlayt :: r1205932 kdecore/trunk/KDE/kdelibs/kdecore/ (2 files in 2 dirs): (link)
Change algorithm used in calculating Indian National calendar to use the real
formulas defined by the reform comittee rather than a conversion from
Gregorian which should be quicker and more robust.

Tested to confirm match exactly with the old formulas.
#
01:43 on Dec 13, 2010KDE
Commit by jlayt :: r1205926 runtime/trunk/KDE/kdebase/runtime/kcontrol/locale/ (3 files): (link)
Fix KCM Locale setting of AM/PM symbols.

This requires kdelibs r1205924 to work properly, without it you will get
unexpected results.

Yay, last of the new features supported!
#
01:41 on Dec 13, 2010KDE
Commit by jlayt :: r1205924 kdecore/trunk/KDE/kdelibs/kdecore/ (4 files in 2 dirs): (link)
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().

CCMAIL: kde-i18n-doc at kde dot org
#
19:09 on Dec 10, 2010KDE
Commit by jlayt :: r1205288 runtime/trunk/KDE/kdebase/runtime/kcontrol/locale/kcmlocale.cpp: (link)
KCM Locale add Time/Date format options to choose from drop-downs
#
18:26 on Dec 10, 2010KDE
Commit by jlayt :: r1205282 runtime/trunk/KDE/kdebase/runtime/kcontrol/locale/ (kcmlocale.cpp kcmlocalewidget.ui): (link)
KCM Locale rename all the default buttons from Reset to Default to avoid
confusion
#
18:17 on Dec 10, 2010KDE
Commit by jlayt :: r1205281 runtime/trunk/KDE/kdebase/runtime/kcontrol/locale/ (kcmlocale.cpp kcmlocale.h): (link)
KCM Locale fix cursor jump to eol by not overwriting the editText after each
keypress by the user. This lead to some refactoring and renaming as a result.

BUG: 259282
#