[edk2] [PATCH v1 0/4] BaseTools: refactoring (and one bug fix)

Jaben posted 4 patches 6 years ago
Failed in applying to current master (apply log)
BaseTools/Source/Python/AutoGen/AutoGen.py                      | 26 +++---
BaseTools/Source/Python/AutoGen/GenC.py                         | 94 ++++++++++----------
BaseTools/Source/Python/AutoGen/GenPcdDb.py                     | 23 ++---
BaseTools/Source/Python/AutoGen/GenVar.py                       | 29 +++---
BaseTools/Source/Python/AutoGen/ValidCheckingInfoObject.py      |  9 +-
BaseTools/Source/Python/Common/DataType.py                      | 16 ++--
BaseTools/Source/Python/Common/Expression.py                    | 61 ++++++-------
BaseTools/Source/Python/Common/Misc.py                          | 12 +--
BaseTools/Source/Python/Common/RangeExpression.py               | 25 ++----
BaseTools/Source/Python/Common/VpdInfoFile.py                   |  9 +-
BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py |  2 +-
BaseTools/Source/Python/Eot/FvImage.py                          |  4 +-
BaseTools/Source/Python/GenFds/FdfParser.py                     | 15 ++--
BaseTools/Source/Python/GenFds/FfsInfStatement.py               | 11 ++-
BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py          |  4 +-
BaseTools/Source/Python/PatchPcdValue/PatchPcdValue.py          | 21 ++---
BaseTools/Source/Python/Workspace/DscBuildData.py               | 69 ++++++--------
BaseTools/Source/Python/build/BuildReport.py                    |  4 +-
18 files changed, 211 insertions(+), 223 deletions(-)
[edk2] [PATCH v1 0/4] BaseTools: refactoring (and one bug fix)
Posted by Jaben 6 years ago
refactor to reduce duplication
remove a duplicate function name (I presume this branch never executes
as it would have had exception)

Jaben (4):
  BaseTools: remove duplicate function name
  BaseTools: replace 'UINT8','UINT16','UINT32','UINT64','VOID*' with
    shared constants.
  BaseTools: Remove un-needed list comprehension
  BaseTools: merge towards minimum PCD MAX <something> methods

 BaseTools/Source/Python/AutoGen/AutoGen.py                      | 26 +++---
 BaseTools/Source/Python/AutoGen/GenC.py                         | 94 ++++++++++----------
 BaseTools/Source/Python/AutoGen/GenPcdDb.py                     | 23 ++---
 BaseTools/Source/Python/AutoGen/GenVar.py                       | 29 +++---
 BaseTools/Source/Python/AutoGen/ValidCheckingInfoObject.py      |  9 +-
 BaseTools/Source/Python/Common/DataType.py                      | 16 ++--
 BaseTools/Source/Python/Common/Expression.py                    | 61 ++++++-------
 BaseTools/Source/Python/Common/Misc.py                          | 12 +--
 BaseTools/Source/Python/Common/RangeExpression.py               | 25 ++----
 BaseTools/Source/Python/Common/VpdInfoFile.py                   |  9 +-
 BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py |  2 +-
 BaseTools/Source/Python/Eot/FvImage.py                          |  4 +-
 BaseTools/Source/Python/GenFds/FdfParser.py                     | 15 ++--
 BaseTools/Source/Python/GenFds/FfsInfStatement.py               | 11 ++-
 BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py          |  4 +-
 BaseTools/Source/Python/PatchPcdValue/PatchPcdValue.py          | 21 ++---
 BaseTools/Source/Python/Workspace/DscBuildData.py               | 69 ++++++--------
 BaseTools/Source/Python/build/BuildReport.py                    |  4 +-
 18 files changed, 211 insertions(+), 223 deletions(-)

-- 
2.16.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel