[mythtv-commits] mythtv commit: r27157 - in trunk/mythtv by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Nov 10 16:19:01 UTC 2010


      Author: stuartm
        Date: 2010-11-10 16:19:01 +0000 (Wed, 10 Nov 2010)
New Revision: 27157
   Changeset: http://svn.mythtv.org/trac/changeset/27157

Log:

Re-order the initialisation of mythtv-setup to match up with mythfrontend fixing multiple bugs relating to bootstrapping and first time installs. If we're starting against an empty database then create the new schema as early as possible and not when we do the schema upgrades as we want to be able to write settings before that point. These changes should ensure that the user is always prompted for language/locale as the first thing we do since under some circumstances that would not happen, it guarentees that all subsequent dialogs are in the chosen language and locale defaults are loaded/written before they might be needed. This code is still a real mess but much of it will be going away or be re-written in the near future.

Modified:

   trunk/mythtv/libs/libmyth/mythcontext.cpp
   trunk/mythtv/libs/libmythtv/dbcheck.cpp
   trunk/mythtv/libs/libmythtv/dbcheck.h
   trunk/mythtv/programs/mythfrontend/main.cpp
   trunk/mythtv/programs/mythtv-setup/main.cpp




More information about the mythtv-commits mailing list