[edk2] [patch] BaseTools/Ecc: GUID checkpoint

2016-07-26 Thread hesschen
Fix a bug of checking duplicate GUID Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Chen, Hesheng" Signed-off-by: hesschen --- BaseTools/Source/Python/Ecc/Check.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BaseTools/Source/

[edk2] [patch 2/2] BaseTool/Upt: Add support for Private

2016-07-28 Thread hesschen
Support new syntax in package DEC file as below: [Includes.Common.Private] [Ppis.Common.Private] [Guids.Common.Private] [Protocols.Common.Private] Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- .../Source/Python/UPT/GenMetaFile/GenDecFile.py| 9

[edk2] [patch] BaseTool/Upt: Avoid UNI file name conflict

2016-07-28 Thread hesschen
When creating a UNI file if there is a name conflict, add an index from 0 to the file name Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- .../Source/Python/UPT/GenMetaFile/GenDecFile.py| 5 +++-- .../Source/Python/UPT/GenMetaFile/GenInfFile.py| 7

[edk2] [patch] BaseTool/UPT: Add Test Install

2016-07-29 Thread hesschen
Add a new function to test if a DIST file list one by one to see if they can meet the requirement of Dependency. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- .../Source/Python/UPT/Core/DependencyRules.py | 21 - BaseTools/Source/Python/UPT/Logger

[edk2] [patch] BaseTool/UPT: Not expand macro for UserExtension

2016-08-01 Thread hesschen
All MACRO values defined by the DEFINE statements n any section (except [Userextensions] sections other than TianoCore."ExtraFiles) of the INF or DEC file must be expanded before processing of the file. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hes

[edk2] [patch] BaseTools/UPT: Fix a install issue

2016-08-07 Thread hesschen
Fix a corner case issue of installing a module without any files which causes installing UNI file failure Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- BaseTools/Source/Python/UPT/Library/String.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion

[edk2] [patch 2/2] BaseTools/UPT: Add a checkpoint for missing '"'

2017-03-06 Thread hesschen
Add a checkpoint for UNI file which is missing '"' at the end of a line. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- BaseTools/Source/Python/UPT/Library/UniClassObject.py | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-

[edk2] [patch 1/2] BaseTools/ECC: Fix an issue of parameter parser

2017-03-06 Thread hesschen
The original solution of getting parameter name is to skip "_" but now it doesn't ignore "_" anymore. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- BaseTools/Source/Python/Ecc/c.py | 4 ++-- 1 file changed, 2 insertions(+), 2 d

[edk2] [patch] BaseTools/UPT: Man Page Update

2017-03-06 Thread hesschen
Update UPT man page to complete the description of options. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- .../Intel_UEFI_Packaging_Tool_Man_Page.rtf | 504 - 1 file changed, 281 insertions(+), 223 deletions(-) diff --git a

[edk2] [patch] BaseTools/UPT: Fix an issue of adding Event twice

2017-03-07 Thread hesschen
Signed-off-by: hesschen --- BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py b/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py index c1362e6

[edk2] [patch] BaseTools/UPT: Fix an issue in subst command

2017-03-09 Thread hesschen
UPT used to use "B:" as the temp directory which may cause conflict, now it will choose a valid volume. Also UPT now accepts empty sections. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- .../UPT/Parser/InfGuidPpiProtocolSectionParser.

[edk2] [patch] BaseTools/Ecc

2016-12-27 Thread hesschen
Fix the issue of not recognizing "FILE_GUID" Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen Signed-off-by: hesschen --- BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) di

[edk2] [patch] BaseTools/UPT: Support Multiple Installation

2017-08-10 Thread hesschen
Add a new feature to UPT to support installing multiple DIST packages in one time. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- .../Source/Python/UPT/Core/DependencyRules.py | 18 - .../Python/UPT/GenMetaFile/GenMetaFileMisc.py | 90

[edk2] [patch] BaseTools/UPT: Fix UNI file name issue

2017-08-22 Thread hesschen
Fix the issue of creating duplicate UNI file names Fix the issue of removing packages Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- BaseTools/Source/Python/UPT/Core/DependencyRules.py| 2 ++ BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py | 6

[edk2] [patch 3/3] BaseTools/UPT: Fix a parser issue

2017-03-31 Thread hesschen
Update the method to get PCD information and support empty section. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py | 5 +++-- BaseTools/Source/Python/UPT/GenMetaFile/GenMetaFileMisc.py | 13

[edk2] [patch 2/3] BaseTools/UPT: Support Unicode path

2017-03-31 Thread hesschen
Update the IpiDb.py to support Unicode path for localization Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- BaseTools/Source/Python/UPT/Core/IpiDb.py | 8 BaseTools/Source/Python/UPT/UPT.py| 7 ++- 2 files changed, 10 insertions(+), 5

[edk2] [patch 1/3] BaseTools/UPT: Use a simple way to get package path

2017-03-31 Thread hesschen
Instead of parsing all content of DEC file, just get the package path only to save time. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- .../Source/Python/UPT/Core/DependencyRules.py | 56 ++ 1 file changed, 36 insertions(+), 20

[edk2] [patch] BaseTools/ECC: Change check rule for Ifndef statement

2017-04-09 Thread hesschen
Remove the check of Ifndef statement on .c files, only check on .h files. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- BaseTools/Source/Python/Ecc/Check.py | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/BaseTools/Source

[edk2] [patch] BaseTools/ECC: Add a new checkpoint

2017-04-11 Thread hesschen
Add a new checkpoint to check if the SMM communication parameter has a correct buffer type. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- BaseTools/Source/Python/Ecc/Check.py | 141 +++ BaseTools/Source/Python/Ecc

[edk2] [patch] BaseTools/Ecc

2017-05-09 Thread hesschen
Add line break support for exception list. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hesschen --- BaseTools/Source/Python/Ecc/Exception.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/Source/Python/Ecc/Exception.py b/BaseTools