Finally got precompiled headers to work.

Now all C++ files need to #include <util/prec.hpp>
 That is why all .cpp files are touched by this commit

Many changes to installers and update checking:
     - the window is now called PackagesWindow, in a new source file
     - update checking is now independent from the PackagesWindow. For update checking only a list of package versions are needed (vector<PackageDependency>). This is much less information to download at each startup.
     - the list of available packages is now a list of available Installers, since an installer can contain multiple packages.
     - moved the logic of dependency checking etc. to data/installer
     - moved the actual installation to util/io/package_manager
     - moved directory iteration/creation logic to util/file_utils
     - added PackageDirectory: the local and global package directory now have their own object (was part of PackageManager)
     - added PackageVersion: for detecting if a package has been modified after it was installed.
     - added PackageDescription: description/header of a package. Basicly the same as what Packaged provides.
     - added DownloadableInstaller: where to find an insaller, what does it contain?
     - added InstallablePackage: brining it all together: installer, package, status, action.

Current status: the insaller is currently broken in a few places, more on that soon.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@792 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-12-29 18:30:41 +00:00
parent 361488b4fe
commit d2196eea09
182 changed files with 2508 additions and 809 deletions
+35 -12
View File
@@ -4,6 +4,7 @@
Version="7.10"
Name="mse"
ProjectGUID="{DB9DCD62-4679-47DD-8BEE-8A0191161A51}"
RootNamespace="mse"
Keyword="Win32Proj">
<Platforms>
<Platform
@@ -26,9 +27,9 @@
RuntimeLibrary="5"
BufferSecurityCheck="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="2"
UsePrecompiledHeader="3"
PrecompiledHeaderThrough="util/prec.hpp"
PrecompiledHeaderFile=""
PrecompiledHeaderFile="$(IntDir)/mse.pch"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(IntDir)/vc70.pdb"
BrowseInformation="1"
@@ -98,9 +99,9 @@
BufferSecurityCheck="FALSE"
EnableFunctionLevelLinking="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
UsePrecompiledHeader="3"
PrecompiledHeaderThrough="util/prec.hpp"
PrecompiledHeaderFile=""
PrecompiledHeaderFile="$(IntDir)/mse.pch"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(IntDir)/vc70.pdb"
WarningLevel="3"
@@ -165,9 +166,9 @@
RuntimeLibrary="3"
BufferSecurityCheck="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="2"
UsePrecompiledHeader="3"
PrecompiledHeaderThrough="util/prec.hpp"
PrecompiledHeaderFile=""
PrecompiledHeaderFile="$(IntDir)/mse.pch"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(IntDir)/vc70.pdb"
BrowseInformation="1"
@@ -239,9 +240,9 @@
EnableFunctionLevelLinking="TRUE"
EnableEnhancedInstructionSet="1"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
UsePrecompiledHeader="3"
PrecompiledHeaderThrough="util/prec.hpp"
PrecompiledHeaderFile=""
PrecompiledHeaderFile="$(IntDir)/mse.pch"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(IntDir)/vc70.pdb"
WarningLevel="3"
@@ -315,9 +316,9 @@
EnableFunctionLevelLinking="TRUE"
EnableEnhancedInstructionSet="1"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
UsePrecompiledHeader="3"
PrecompiledHeaderThrough="util/prec.hpp"
PrecompiledHeaderFile=""
PrecompiledHeaderFile="$(IntDir)/mse.pch"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(IntDir)/vc70.pdb"
WarningLevel="3"
@@ -391,9 +392,9 @@
EnableFunctionLevelLinking="TRUE"
EnableEnhancedInstructionSet="1"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="2"
UsePrecompiledHeader="3"
PrecompiledHeaderThrough="util/prec.hpp"
PrecompiledHeaderFile=""
PrecompiledHeaderFile="$(IntDir)/mse.pch"
AssemblerOutput="4"
AssemblerListingLocation="$(OutDir)/"
ProgramDataBaseFileName="$(IntDir)/vc70.pdb"
@@ -2305,6 +2306,12 @@
<File
RelativePath=".\util\dynamic_arg.hpp">
</File>
<File
RelativePath=".\util\file_utils.cpp">
</File>
<File
RelativePath=".\util\file_utils.hpp">
</File>
<File
RelativePath=".\util\order_cache.hpp">
</File>
@@ -3341,28 +3348,44 @@
</Filter>
<File
RelativePath=".\code_template.cpp">
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32">
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
ObjectFile="$(IntDir)/$(InputName)1.obj"/>
</FileConfiguration>
<FileConfiguration
Name="Debug Unicode|Win32">
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"/>
</FileConfiguration>
<FileConfiguration
Name="Release Unicode|Win32">
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
ObjectFile="$(IntDir)/$(InputName)1.obj"/>
</FileConfiguration>
<FileConfiguration
Name="Release Profile Unicode|Win32">
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
ObjectFile="$(IntDir)/$(InputName)1.obj"/>
</FileConfiguration>
<FileConfiguration
Name="Release Unicode fast build|Win32">
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
ObjectFile="$(IntDir)/$(InputName)1.obj"/>
</FileConfiguration>
</File>