Some useful scripts:


BuildManualChm.bat
------------------
Batch file for creating HTML help (.chm) manual.


BuildManualWeb.bat
------------------
Batch file for creating manual as separate HTML files.


changelog.py
------------
 Python script creating a changelog from SVN. The script reads a commit log
 from SVN and outputs formatted changelog.

 Usage: python changelog.py [-h] [--help] [-r:n] [--revisions:n]
  Where:
   -h, --help print usage help
   -r:n, --revisions:n output log for last n revisions (default is 100)


CheckMenuResources.vbs
----------------------
Script that checking the menu resources for missing mnemonic chars and description texts.


CheckUnusedResources.vbs
------------------------
Script for creating a list of (hopefully) unused resource IDs.


CheckVCProj.vbs
---------------
Script for checking the file "Merge.vcproj".


CompareProjectFiles.py
----------------------

 This script compares the project files of different versions of VisualStudio
 as well as the list of files on disk and displays the discrepencies.

 Usage: CompareProjectFiles [-h] [-b <basepath>] <from> <to>
  where:
    -h, --help              print this help
    -b, --base-path <ARG>   set the base path to search for files
                            defaults to ../../Src
    <from> and <to>         either of:
                             disk: files on disk
                             2003: VisualStudio 2003 project file
                             2008: VisualStudio 2008 project file


create_release.py
-----------------
 Script for creating a release. Builds WinMerge components, exports sources,
 creates binary zip folder.

 Run from root folder (Src, Filters etc are subfolders).

 Usage: create_release [-h] [-f file] [-v n] [-c] [-l]
  Where:
   -h, --help print usage help
   -v n, --version=n set release version
   -c, --cleanup clean up build files (temp files, libraries, executables)
   -l, --libraries build libraries (expat, scew, pcre) only
   -f file, --file=filename set the version number ini file
  For example:
   create_release -v 2.7.7.1
   create_release -f versions.ini


fix_manifest.py
---------------

 Script that fixes manifest options for VS2005 and VS2008 project files after
 converting from VS2003 project. The XML the script (Python) writes is quite
 differently formatted that VS does it. Opening the project file once in VS
 and saving it fixes this formatting issue.
 
  Usage: fix_manifest.py [-h] filename
   Where:
    filename is absolute or relative path to the project file.
    -h, --help Print usage help.


HeaderFileAutonomyVerificator.py
--------------------------------

 Script that verifies if a C++ header file is missing #include directives or
 forward declarations.

 Usage: HeaderFileAutonomyVerificator.py [-h] [-c commandfile] <headerfile>
  where:
    -h, --help              print this help
    -c, --commandfile <ARG> override the default compilation command with the one
                            defined in the file <ARG>
    <headerfile>            header file to test


IncludeFileDependencyAnalyzer.py
--------------------------------
 Script for finding all the files included (directly or indirectly) by
 a C/C++ source file.
 
 Usage: IncludeFileDependencyAnalyzer.py <file.i>
  where:
    <file.i>            is the preprocessor output of the compiler for a given C/C++ file.
                        Look at http://c2.com/cgi/wiki?CppDependencyAnalysis to learn how to
                        generate it.


SetVersions.py
--------------
 A script for setting version numbers of different components.
 See the file SetVersions.txt for documentation of the script.

tsvn_patch.py
-------------
 Script for cleaning up TortoiseSVN created patch files to use with GNU patch.

 Usage: python tsvn_patch.py [-b] patchfile
  where:
   -b, --nobak skip creating a backup file of the original patch file


UpdateTranslations.bat
----------------------
Batch file for updating PO template (.pot) file and merging changes to
all PO files.

Remember to call this batch file after every Merge.rc file change!


UpgradeProjects.py
------------------
 A script for updating Visual Studio solution- and project-files from VS2003
 to newer versions (VS2005 or VS2008).
 
 Usage: UpgradeProjects.py [-h] [path]
 Where:
   -h, --help Print this help.
   path Root path for WinMerge.
 For example: UpgradeProjects.py ../..
   which upgrades current project when run from Scripts folder.
 