Michael D Kinney
2e351cbe8e
BaseTools: Replace BSD License with BSD+Patent License
...
https://bugzilla.tianocore.org/show_bug.cgi?id=1373
Replace BSD 2-Clause License with BSD+Patent License. This change is
based on the following emails:
https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html
RFCs with detailed process for the license change:
V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <[email protected] >
Reviewed-by: Bob Feng <[email protected] >
2019-04-09 09:10:20 -07:00
Antoine Coeur
fb0b35e05f
BaseTools: Various typo
...
Various typo in BaseTools.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Coeur <[email protected] >
Reviewed-by: Liming Gao <[email protected] >
2019-02-14 10:02:28 +08:00
Zhijux Fan
174a9d3cc8
BaseTools/UPT:merge UPT Tool use Python2 and Python3
...
In UPT Tool,merge python2 and python3
Cc: Bob Feng <[email protected] >
Cc: Liming Gao <[email protected] >
Cc: Yonghong Zhu <[email protected] >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <[email protected] >
Tested-by: Laszlo Ersek <[email protected] >
Tested-by: Ard Biesheuvel <[email protected] >
Reviewed-by: Liming Gao <[email protected] >
Reviewed-by: Bob Feng <[email protected] >
2019-02-01 11:09:19 +08:00
Liming Gao
1ccc4d895d
Revert BaseTools: PYTHON3 migration
...
This reverts commit 6693f359b3c213513c5096a06c6f67244a44dc52..
678f851312 .
Python3 migration is the fundamental change. It requires every developer
to install Python3. Before this migration, the well communication and wide
verification must be done. But now, most people is not aware of this change,
and not try it. So, Python3 migration is reverted and be moved to edk2-staging
Python3 branch for the edk2 user evaluation.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <[email protected] >
2018-10-15 08:29:14 +08:00
Yonghong Zhu
1b2e077260
BaseTools/UPT: Porting UPT Tool from Python2 to Python3
...
Cc: Liming Gao <[email protected] >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <[email protected] >
Reviewed-by: Liming Gao <[email protected] >
2018-10-13 09:57:16 +08:00
Liming Gao
f7496d7173
BaseTools: Clean up source files
...
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <[email protected] >
Cc: Yonghong Zhu <[email protected] >
Reviewed-by: Yonghong Zhu <[email protected] >
2018-07-09 10:25:47 +08:00
Gary Lin
0d1f5b2b5d
BaseTools: Fix old python2 idioms
...
Based on "futurize -f lib2to3.fixes.fix_idioms"
* Change some type comparisons to isinstance() calls:
type(x) == T -> isinstance(x, T)
type(x) is T -> isinstance(x, T)
type(x) != T -> not isinstance(x, T)
type(x) is not T -> not isinstance(x, T)
* Change "while 1:" into "while True:".
* Change both
v = list(EXPR)
v.sort()
foo(v)
and the more general
v = EXPR
v.sort()
foo(v)
into
v = sorted(EXPR)
foo(v)
Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu <[email protected] >
Cc: Liming Gao <[email protected] >
Signed-off-by: Gary Lin <[email protected] >
Reviewed-by: Yonghong Zhu <[email protected] >
2018-06-27 16:33:27 +08:00
Gary Lin
ccaa7754a2
BaseTools: Adjust the spaces around commas and colons
...
Based on "futurize -f lib2to3.fixes.fix_ws_comma"
Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu <[email protected] >
Cc: Liming Gao <[email protected] >
Signed-off-by: Gary Lin <[email protected] >
Reviewed-by: Yonghong Zhu <[email protected] >
2018-06-27 16:33:25 +08:00
Gary Lin
72443dd250
BaseTools: Refactor python print statements
...
Refactor print statements to be compatible with python 3.
Based on "futurize -f libfuturize.fixes.fix_print_with_import"
Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu <[email protected] >
Cc: Liming Gao <[email protected] >
Signed-off-by: Gary Lin <[email protected] >
Reviewed-by: Yonghong Zhu <[email protected] >
2018-06-27 16:33:21 +08:00
Yonghong Zhu
64285f1526
BaseTools/UPT: Update the import statement to use StringUtils
...
The patch 5a57246eab Rename String to StringUtils, but it didn't
update the UPT Tool for the import statement which cause UPT tool
break.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <[email protected] >
Reviewed-by: Liming Gao <[email protected] >
2018-06-11 15:31:49 +08:00
Carsey, Jaben
98120f5fe2
BaseTools: refactor and remove out of date use of .keys()
...
this is no longer required to make dictionary objects iterable.
Cc: Liming Gao <[email protected] >
Cc: Yonghong Zhu <[email protected] >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <[email protected] >
Reviewed-by: Yonghong Zhu <[email protected] >
2018-04-10 10:05:16 +08:00
Carsey, Jaben
4231a8193e
BaseTools: Remove equality operator with None
...
replace "== None" with "is None" and "!= None" with "is not None"
Cc: Yonghong Zhu <[email protected] >
Cc: Liming Gao <[email protected] >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <[email protected] >
Reviewed-by: Yonghong Zhu <[email protected] >
2018-03-30 08:25:13 +08:00
Hess Chen
645a51287e
BaseTool/Upt: Add support for Private
...
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: Hess Chen <[email protected] >
Reviewed-by: Yonghong Zhu <[email protected] >
2016-08-03 10:49:31 +08:00
Hesheng Chen
fb0f8067ea
BaseTools: Update UPT tool to support multiple workspaces
...
Update UPT to refer MultipleWorkspace class to convert
the file path from WORKSPACE and PACKAGES_PATH.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hesheng Chen <[email protected] >
Reviewed-by: Liming Gao <[email protected] >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18580 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-08 09:28:15 +00:00
Hess Chen
1f0a062f8c
BaseTools/UPT: Fix an issue of storing wrong PCD into XML file.
...
Fix an issue of storing wrong PCD into XML file to only store PcdEx for AsBuilt sections
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <[email protected] >
Reviewed-by: Yingke Liu <[email protected] >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16426 6f19259b-4bc3-4df7-8a09-765794883524
2014-11-25 04:58:17 +00:00
Hess Chen
421ccda307
This patch is going to:
...
1. Add a recovery mode for UPT failure
2. Add UNI file support
3. Add binary file header support
4. Add support for PCD error message
5. Add support for replace
6. Format generated INF/DEC files
7. Update dependency check
8. Other minor fixes
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <[email protected] >
Reviewed-by: Gao, Liming <[email protected] >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15896 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-26 05:58:02 +00:00
lgao4
9508d0fa4f
Sync BaseTool trunk (version r2474) into EDKII BaseTools.
...
Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12883 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-16 08:52:13 +00:00
lgao4
4234283c3a
Sync BaseTools Branch (version r2271) to EDKII main trunk.
...
BaseTool Branch:
https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100
Signed-off-by: lgao4
Reviewed-by: hchen30
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12214 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-26 07:46:26 +00:00