public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/7] BaseTools/GenFds: cleanup GenFds
@ 2018-09-28 21:54 Jaben Carsey
  2018-09-28 21:54 ` [PATCH v2 1/7] " Jaben Carsey
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Jaben Carsey @ 2018-09-28 21:54 UTC (permalink / raw)
  To: edk2-devel

Cleanup to many files for GenFds. No command line visible changes are included.
1) refactor imports to reduce namespace clutter.
2) refactor to use existing sharable objects (and create a few new)
3) eliminate shadowing of names
4) remove double underscored private methods for PEP8
5) eliminate unused code/parameters/variables
6) add standard warnings and use them for common code

changes from v1:
1) do not shadow CapsuleFV.
2) rebase on master


Jaben Carsey (7):
  BaseTools/GenFds: cleanup GenFds
  BaseTools/GenFds: change objects to sets
  Basetools/GenFds: refactor class FV
  BaseTools/GenFds: remove MacroDict parameter
  BaseTools/GenFds: refactor FdfParser warnings
  BaseTools/GenFds: Remove duplicate function calls
  BaseTools/GenFds: create and use new variable in FdfParser

 BaseTools/Source/Python/CommonDataClass/FdfClass.py    |   73 -
 BaseTools/Source/Python/Eot/Eot.py                     |   11 +-
 BaseTools/Source/Python/GenFds/AprioriSection.py       |   45 +-
 BaseTools/Source/Python/GenFds/Capsule.py              |   26 +-
 BaseTools/Source/Python/GenFds/CapsuleData.py          |    1 -
 BaseTools/Source/Python/GenFds/CompressSection.py      |    4 +-
 BaseTools/Source/Python/GenFds/DataSection.py          |    4 +-
 BaseTools/Source/Python/GenFds/DepexSection.py         |    5 +-
 BaseTools/Source/Python/GenFds/EfiSection.py           |   16 +-
 BaseTools/Source/Python/GenFds/FdfParser.py            | 3754 ++++++++++----------
 BaseTools/Source/Python/GenFds/Ffs.py                  |   82 +-
 BaseTools/Source/Python/GenFds/FfsFileStatement.py     |   37 +-
 BaseTools/Source/Python/GenFds/FfsInfStatement.py      |   10 +-
 BaseTools/Source/Python/GenFds/Fv.py                   |   54 +-
 BaseTools/Source/Python/GenFds/FvImageSection.py       |    6 +-
 BaseTools/Source/Python/GenFds/GenFds.py               |  160 +-
 BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py |  208 +-
 BaseTools/Source/Python/GenFds/GuidSection.py          |    4 +-
 BaseTools/Source/Python/GenFds/OptionRom.py            |    6 +-
 BaseTools/Source/Python/GenFds/Region.py               |   12 +-
 BaseTools/Source/Python/GenFds/UiSection.py            |    4 +-
 BaseTools/Source/Python/GenFds/VerSection.py           |   16 +-
 BaseTools/Source/Python/GenFds/Vtf.py                  |   48 +-
 BaseTools/Source/Python/build/BuildReport.py           |    5 +-
 24 files changed, 2199 insertions(+), 2392 deletions(-)

-- 
2.16.2.windows.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-09-28 21:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-28 21:54 [PATCH v2 0/7] BaseTools/GenFds: cleanup GenFds Jaben Carsey
2018-09-28 21:54 ` [PATCH v2 1/7] " Jaben Carsey
2018-09-28 21:54 ` [PATCH v2 2/7] BaseTools/GenFds: change objects to sets Jaben Carsey
2018-09-28 21:54 ` [PATCH v2 3/7] Basetools/GenFds: refactor class FV Jaben Carsey
2018-09-28 21:54 ` [PATCH v2 4/7] BaseTools/GenFds: remove MacroDict parameter Jaben Carsey
2018-09-28 21:54 ` [PATCH v2 5/7] BaseTools/GenFds: refactor FdfParser warnings Jaben Carsey
2018-09-28 21:54 ` [PATCH v2 6/7] BaseTools/GenFds: Remove duplicate function calls Jaben Carsey
2018-09-28 21:54 ` [PATCH v2 7/7] BaseTools/GenFds: create and use new variable in FdfParser Jaben Carsey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox