edk2[19768] BaseTools: Update BaseTools to pass VS2015 compiler

2016-01-28 Thread yzhu52
Revision: 19768 http://sourceforge.net/p/edk2/code/19768 Author: yzhu52 Date: 2016-01-29 04:54:37 + (Fri, 29 Jan 2016) Log Message: --- BaseTools: Update BaseTools to pass VS2015 compiler Fix some errors to pass VS2015 compiler. 1. warning C4456: declaration of xxx

edk2[19767] BaseTools: Incremental build not work if VPD values in DSC changed by -D

2016-01-28 Thread yzhu52
Revision: 19767 http://sourceforge.net/p/edk2/code/19767 Author: yzhu52 Date: 2016-01-29 04:48:55 + (Fri, 29 Jan 2016) Log Message: --- BaseTools:Incremental build not work if VPD values in DSC changed by -D If a -D flag is passed into build that selects different

edk2[19766] BaseTools: Fix the bug for VOID* Patchable PCD declaration in Library

2016-01-28 Thread yzhu52
Revision: 19766 http://sourceforge.net/p/edk2/code/19766 Author: yzhu52 Date: 2016-01-29 04:46:47 + (Fri, 29 Jan 2016) Log Message: --- BaseTools: Fix the bug for VOID* Patchable PCD declaration in Library VOID* Patchable PCD in Library has the different declaration

edk2[19765] BaseTools: Fix a bug for VpdOffset calculate

2016-01-28 Thread yzhu52
Revision: 19765 http://sourceforge.net/p/edk2/code/19765 Author: yzhu52 Date: 2016-01-29 04:44:54 + (Fri, 29 Jan 2016) Log Message: --- BaseTools: Fix a bug for VpdOffset calculate The VpdOffset value in the DSC both support integer and Hex value, so we fix the bug to

edk2[19747] BaseTools: Fix the bug when no FD section in the FDF file

2016-01-26 Thread yzhu52
Revision: 19747 http://sourceforge.net/p/edk2/code/19747 Author: yzhu52 Date: 2016-01-26 08:45:34 + (Tue, 26 Jan 2016) Log Message: --- BaseTools: Fix the bug when no FD section in the FDF file Check if the Fdf.CurrentFdName is not None and in Fdf.Profile.FdDict before

edk2[19705] BaseTools: make build report tolerant of FVs specified by name

2016-01-21 Thread yzhu52
Revision: 19705 http://sourceforge.net/p/edk2/code/19705 Author: yzhu52 Date: 2016-01-21 09:10:55 + (Thu, 21 Jan 2016) Log Message: --- BaseTools: make build report tolerant of FVs specified by name Check if the FV name is in the FV dictionary before using it which

edk2[19697] BaseTools: Improve LzmaF86Compress wrapper

2016-01-19 Thread yzhu52
Revision: 19697 http://sourceforge.net/p/edk2/code/19697 Author: yzhu52 Date: 2016-01-20 05:15:55 + (Wed, 20 Jan 2016) Log Message: --- BaseTools: Improve LzmaF86Compress wrapper - Remove test usage declared obsolescent by POSIX - Pass argv array through as literal

edk2[19696] BaseTools: Use python2 if available in Tests/GNUmakefile

2016-01-19 Thread yzhu52
Revision: 19696 http://sourceforge.net/p/edk2/code/19696 Author: yzhu52 Date: 2016-01-20 05:14:10 + (Wed, 20 Jan 2016) Log Message: --- BaseTools: Use python2 if available in Tests/GNUmakefile Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by

edk2[19695] BaseTools: Improve shell wrapper for C build commands

2016-01-19 Thread yzhu52
Revision: 19695 http://sourceforge.net/p/edk2/code/19695 Author: yzhu52 Date: 2016-01-20 05:12:02 + (Wed, 20 Jan 2016) Log Message: --- BaseTools: Improve shell wrapper for C build commands - Avoid obsolescent forms of test builtin (`-a` and `-o`; see APPLICATION USAGE

edk2[19694] BaseTools: Improve shell wrappers for Python build commands

2016-01-19 Thread yzhu52
Revision: 19694 http://sourceforge.net/p/edk2/code/19694 Author: yzhu52 Date: 2016-01-20 05:09:06 + (Wed, 20 Jan 2016) Log Message: --- BaseTools: Improve shell wrappers for Python build commands - Use `python2` executable if it exists, to avoid breakage on systems

edk2[19686] BaseTools: process the files by the priority in BUILDRULEORDER

2016-01-19 Thread yzhu52
Revision: 19686 http://sourceforge.net/p/edk2/code/19686 Author: yzhu52 Date: 2016-01-19 12:58:52 + (Tue, 19 Jan 2016) Log Message: --- BaseTools: process the files by the priority in BUILDRULEORDER By the BUILDRULEORDER feature to process files listed in INF [Sources

edk2[19651] BaseTools: VPD Tool to allocate VPD region be aligned based on value type

2016-01-17 Thread yzhu52
Revision: 19651 http://sourceforge.net/p/edk2/code/19651 Author: yzhu52 Date: 2016-01-18 01:47:50 + (Mon, 18 Jan 2016) Log Message: --- BaseTools: VPD Tool to allocate VPD region be aligned based on value type Base on build spec update, ASCII strings(?\226?\128

edk2[19650] BaseTools: VOID* PCDs in VPD region must be aligned based on value type

2016-01-17 Thread yzhu52
Revision: 19650 http://sourceforge.net/p/edk2/code/19650 Author: yzhu52 Date: 2016-01-18 01:46:25 + (Mon, 18 Jan 2016) Log Message: --- BaseTools: VOID* PCDs in VPD region must be aligned based on value type Base on build spec update, ASCII strings(?\226?\128

edk2[19649] BaseTools: Fix GenPatchPcdTable to support '-' characters in file names

2016-01-17 Thread yzhu52
Revision: 19649 http://sourceforge.net/p/edk2/code/19649 Author: yzhu52 Date: 2016-01-18 01:42:20 + (Mon, 18 Jan 2016) Log Message: --- BaseTools: Fix GenPatchPcdTable to support '-' characters in file names The Regular Expression parsing of lines in MAP file

edk2[19636] BaseTools/VfrCompile: honor CC if it is set

2016-01-10 Thread yzhu52
Revision: 19636 http://sourceforge.net/p/edk2/code/19636 Author: yzhu52 Date: 2016-01-11 07:42:03 + (Mon, 11 Jan 2016) Log Message: --- BaseTools/VfrCompile: honor CC if it is set Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Thomas

edk2[19319] BaseTools: Fix one bug in FD region for multiple workspace support

2015-12-17 Thread yzhu52
Revision: 19319 http://sourceforge.net/p/edk2/code/19319 Author: yzhu52 Date: 2015-12-17 09:38:43 + (Thu, 17 Dec 2015) Log Message: --- BaseTools: Fix one bug in FD region for multiple workspace support Update the os.path.join to mws.join for FILE/INF/CAPSULE/FV region

edk2[19150] Revert the change in r19143 for BUILDRULEORDER.

2015-12-07 Thread yzhu52
Revision: 19150 http://sourceforge.net/p/edk2/code/19150 Author: yzhu52 Date: 2015-12-08 03:06:41 + (Tue, 08 Dec 2015) Log Message: --- Revert the change in r19143 for BUILDRULEORDER. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu

edk2[19144] BaseTools: update man page to add some descriptions

2015-12-07 Thread yzhu52
Revision: 19144 http://sourceforge.net/p/edk2/code/19144 Author: yzhu52 Date: 2015-12-07 09:10:33 + (Mon, 07 Dec 2015) Log Message: --- BaseTools: update man page to add some descriptions add the description for --ignore-sources and --check-usage into man page

edk2[19143] BaseTools: process the files by the priority in BUILDRULEORDER

2015-12-07 Thread yzhu52
Revision: 19143 http://sourceforge.net/p/edk2/code/19143 Author: yzhu52 Date: 2015-12-07 09:09:31 + (Mon, 07 Dec 2015) Log Message: --- BaseTools: process the files by the priority in BUILDRULEORDER By the BUILDRULEORDER feature to process files listed in INF [Sources

edk2[19142] BaseTools: Fix a bug when apply patches to SEC use the FILE_GUID override

2015-12-07 Thread yzhu52
Revision: 19142 http://sourceforge.net/p/edk2/code/19142 Author: yzhu52 Date: 2015-12-07 09:08:05 + (Mon, 07 Dec 2015) Log Message: --- BaseTools: Fix a bug when apply patches to SEC use the FILE_GUID override Fix a bug when applying patches to SEC modules that use the

edk2[19141] BaseTools: Enhance GenFv Tool to report error message

2015-12-07 Thread yzhu52
Revision: 19141 http://sourceforge.net/p/edk2/code/19141 Author: yzhu52 Date: 2015-12-07 09:04:39 + (Mon, 07 Dec 2015) Log Message: --- BaseTools: Enhance GenFv Tool to report error message When two vtf files in one FV image, no FV file can be generated, but it report

edk2[19139] BaseTools: Fix a bug in the VPD report generation

2015-12-07 Thread yzhu52
Revision: 19139 http://sourceforge.net/p/edk2/code/19139 Author: yzhu52 Date: 2015-12-07 09:03:35 + (Mon, 07 Dec 2015) Log Message: --- BaseTools: Fix a bug in the VPD report generation Changed the if condition to check whether current Region is FD VPD region to fix a

edk2[19138] Revert the change in r19137.

2015-12-07 Thread yzhu52
Revision: 19138 http://sourceforge.net/p/edk2/code/19138 Author: yzhu52 Date: 2015-12-07 09:01:44 + (Mon, 07 Dec 2015) Log Message: --- Revert the change in r19137. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu Revision Links

edk2[19137] BaseTools: Enhance GenFv Tool to report error message

2015-12-07 Thread yzhu52
Revision: 19137 http://sourceforge.net/p/edk2/code/19137 Author: yzhu52 Date: 2015-12-07 08:29:10 + (Mon, 07 Dec 2015) Log Message: --- BaseTools: Enhance GenFv Tool to report error message When two vtf files in one FV image, no FV file can be generated, but it report

edk2[19136] BaseTools: Add support for INF statement in FD region

2015-12-07 Thread yzhu52
Revision: 19136 http://sourceforge.net/p/edk2/code/19136 Author: yzhu52 Date: 2015-12-07 08:27:53 + (Mon, 07 Dec 2015) Log Message: --- BaseTools: Add support for INF statement in FD region FD region today can be file or data, but not a patched image.Add support for an

edk2[19080] BaseTools: Clean some coding style issues

2015-11-30 Thread yzhu52
Revision: 19080 http://sourceforge.net/p/edk2/code/19080 Author: yzhu52 Date: 2015-12-01 04:22:16 + (Tue, 01 Dec 2015) Log Message: --- BaseTools: Clean some coding style issues This patch clean some coding style issues, majorly for space character. Contributed-under

edk2[19028] BaseTools/toolsetup.bat: fixed the error when the path contains space

2015-11-29 Thread yzhu52
Revision: 19028 http://sourceforge.net/p/edk2/code/19028 Author: yzhu52 Date: 2015-11-30 03:43:25 + (Mon, 30 Nov 2015) Log Message: --- BaseTools/toolsetup.bat: fixed the error when the path contains space We have a new simple and effective method to resolve the

edk2[19027] BaseTools: Add build error detection for Dynamic PCD name conflict

2015-11-29 Thread yzhu52
Revision: 19027 http://sourceforge.net/p/edk2/code/19027 Author: yzhu52 Date: 2015-11-30 03:40:37 + (Mon, 30 Nov 2015) Log Message: --- BaseTools: Add build error detection for Dynamic PCD name conflict when multiple Dynamic PCD have different token space guid but same

edk2[19026] BaseTools: Add a VPD report subsection of FLASH to the Report

2015-11-29 Thread yzhu52
Revision: 19026 http://sourceforge.net/p/edk2/code/19026 Author: yzhu52 Date: 2015-11-30 03:36:50 + (Mon, 30 Nov 2015) Log Message: --- BaseTools: Add a VPD report subsection of FLASH to the Report Build Spec already added a VPD report subsection of FLASH to the Report

edk2[18852] BaseTools/toolsetup.bat: fixed the error when the path contains space

2015-11-16 Thread yzhu52
Revision: 18852 http://sourceforge.net/p/edk2/code/18852 Author: yzhu52 Date: 2015-11-17 07:45:04 + (Tue, 17 Nov 2015) Log Message: --- BaseTools/toolsetup.bat: fixed the error when the path contains space when the path contains space, it will report error for PATH

edk2[18851] BaseTools: Fix two warning reported in the make phase.

2015-11-16 Thread yzhu52
Revision: 18851 http://sourceforge.net/p/edk2/code/18851 Author: yzhu52 Date: 2015-11-17 07:40:00 + (Tue, 17 Nov 2015) Log Message: --- BaseTools: Fix two warning reported in the make phase. when we make BaseTools, it report warnings about VfrError.cpp and VolInfo, so

edk2[18767] BaseTools/GenFw: add new option to not zero PE/ COFF optional header fields

2015-11-10 Thread yzhu52
Revision: 18767 http://sourceforge.net/p/edk2/code/18767 Author: yzhu52 Date: 2015-11-11 06:30:42 + (Wed, 11 Nov 2015) Log Message: --- BaseTools/GenFw: add new option to not zero PE/COFF optional header fields Add new option --keepoptionalheader and that flag does not

edk2[18746] BaseTools: Allow decimal values in the EDK II meta-data file

2015-11-08 Thread yzhu52
Revision: 18746 http://sourceforge.net/p/edk2/code/18746 Author: yzhu52 Date: 2015-11-09 07:43:07 + (Mon, 09 Nov 2015) Log Message: --- BaseTools: Allow decimal values in the EDK II meta-data file Because the EDK II meta-data specifications already allow using decimal

edk2[18675] BaseTools:remove the redundant directories for '-f' with absolute path.

2015-10-26 Thread yzhu52
Revision: 18675 http://sourceforge.net/p/edk2/code/18675 Author: yzhu52 Date: 2015-10-27 03:29:50 + (Tue, 27 Oct 2015) Log Message: --- BaseTools:remove the redundant directories for '-f' with absolute path. when the absolute path is given to '-f',

edk2[18661] BaseTools:added extern protocol/PPI/ GUID definition in AutoGen for Library

2015-10-25 Thread yzhu52
Revision: 18661 http://sourceforge.net/p/edk2/code/18661 Author: yzhu52 Date: 2015-10-26 03:26:55 + (Mon, 26 Oct 2015) Log Message: --- BaseTools:added extern protocol/PPI/GUID definition in AutoGen for Library We already added the extern declaration for protocols/PPI