xbmc/xbmc — pull request #2796 by Montellese (2013-05-29 20:20:24+00:00)
Title: settings: initialization fixes

These commits provide some fixes for the initialization routine of the new settings system.
* I mixed up _LINUX and TARGET_LINUX during my refactor. This affects timezone-related settings and the loading of platform-specific settings definition files (e.g. android or rpi which have both TARGET_LINUX and TARGET_XXX defined).
* The initialization of some special visibility conditions and default values in the code AFTER having read all the settings definition files makes it impossible to e.g. change the webserver's port in appliance.xml because it is overwritten in CSettings::InitializeDefaults(). I have moved the execution of InitializeDefaults() and InitializeVisibility() to before loading appliance.xml so that it will always be possible to overwrite anything from there without any C++ code interfering.