Feng, Bob C 
							
						 
					 
					
						
						
							
						
						db01c8e3d8 
					 
					
						
						
							
							BaseTools: Singleton the object to handle build conf file  
						
						... 
						
						
						
						BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 
The build config files are target.txt, build rule, tooldef
During a build, the config is not changed, so the object to
handle them need to be singleton.
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Bob Feng <bob.c.feng@intel.com >
Acked-by: Laszlo Ersek <lersek@redhat.com >
Tested-by: Laszlo Ersek <lersek@redhat.com >
Acked-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2019-08-09 23:15:51 +08:00 
						 
				 
			
				
					
						
							
							
								Antoine Cœur 
							
						 
					 
					
						
						
							
						
						2d53d54a5b 
					 
					
						
						
							
							BaseTools: Fix various typos  
						
						... 
						
						
						
						Fix various typos in BaseTools.
Signed-off-by: Cœur <coeur@gmx.fr >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2019-07-08 08:59:29 +08:00 
						 
				 
			
				
					
						
							
							
								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 <michael.d.kinney@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
					
						2019-04-09 09:10:20 -07:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						938cf4c33a 
					 
					
						
						
							
							BaseTools: fix imports  
						
						... 
						
						
						
						1 - Some of these imports are cascaded from another file. Import them locally.
2 - Some of these imports are not used. Remove them.
3 - Some of these were missing the namespace used to import them.
These changes facilitate optimization of BaseTools:
https://bugzilla.tianocore.org/show_bug.cgi?id=42 
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2019-01-10 22:01:11 +08:00 
						 
				 
			
				
					
						
							
							
								Jaben Carsey 
							
						 
					 
					
						
						
							
						
						bc39c5cbea 
					 
					
						
						
							
							BaseTools: create and use a standard shared variable for '*'  
						
						... 
						
						
						
						add a variable for the string '*' and then use it instead of lots of '*'
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by : Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2018-12-06 17:11:24 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						1ccc4d895d 
					 
					
						
						
							
							Revert BaseTools: PYTHON3 migration  
						
						... 
						
						
						
						This reverts commit 6693f359b3c213513c5096a06c6f67244a44dc52..
678f851312liming.gao@intel.com > 
						
						
					 
					
						2018-10-15 08:29:14 +08:00 
						 
				 
			
				
					
						
							
							
								Yunhua Feng 
							
						 
					 
					
						
						
							
						
						487062c048 
					 
					
						
						
							
							BaseTools: Remove the "from __future__ import" items  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2018-10-13 09:50:40 +08:00 
						 
				 
			
				
					
						
							
							
								Gary Lin 
							
						 
					 
					
						
						
							
						
						f3fc5b47ad 
					 
					
						
						
							
							BaseTools: Use absolute import in Common  
						
						... 
						
						
						
						Based on "futurize -f libfuturize.fixes.fix_absolute_import
Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com > 
						
						
					 
					
						2018-07-16 11:22:16 +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 <yonghong.zhu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						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 <yonghong.zhu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-06-27 16:33:25 +08:00 
						 
				 
			
				
					
						
							
							
								Marvin.Haeuser@outlook.com 
							
						 
					 
					
						
						
							
						
						5a57246eab 
					 
					
						
						
							
							BaseTools: Rename String to StringUtils.  
						
						... 
						
						
						
						For case-insensitive file systems, edk2 String.py collides with the
Python string.py, which results in build errors. This,for example,
applies to building via the Windows Subsystem for Linux from a
DriveFS file system. This patch renames String to StringUtils to
prevent conflicts for case-insensitive file systems.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2018-05-28 13:05:00 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						13d9e0511e 
					 
					
						
						
							
							BaseTools: refactor to use list not dict  
						
						... 
						
						
						
						since we never access the values in the copied dict, just use a list instead.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-05-04 13:03:03 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						ce3082a6e7 
					 
					
						
						
							
							BaseTools: remove unused file  
						
						... 
						
						
						
						ToolsDefClassObject didnt need Dictionary, it needed an import from there.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-04-10 09:58:08 +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 <yonghong.zhu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-03-30 08:25:13 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						ae7b6df816 
					 
					
						
						
							
							BaseTools: Support Structure PCD value assignment in DEC/DSC  
						
						... 
						
						
						
						https://bugzilla.tianocore.org/show_bug.cgi?id=542 
This is pure BaseTools enhancement to support PCD with one structure.
User can specify PCD value based on its structure field.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
					
						2017-12-25 11:05:45 +08:00 
						 
				 
			
				
					
						
							
							
								Yonghong Zhu 
							
						 
					 
					
						
						
							
						
						18ca2fec97 
					 
					
						
						
							
							BaseTools: Fix a bug for ExpandMacros to support mixed case ENV var  
						
						... 
						
						
						
						os.environ contains all environment variables uppercase on Windows which
cause the key in the self.MacroDictionary is uppercase, but the real
variable name maybe mixed case, eg:WINSDK81x86, then we can't find the
variable in the self.MacroDictionary.
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2016-11-02 09:49:04 +08:00 
						 
				 
			
				
					
						
							
							
								Michael Zimmermann 
							
						 
					 
					
						
						
							
						
						6608330d76 
					 
					
						
						
							
							BaseTools: Fix bad macro expansion during tools_def.txt parsing  
						
						... 
						
						
						
						this is something I missed in 8ac46e4sigmaepsilon92@gmail.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2016-05-27 12:31:00 +08:00 
						 
				 
			
				
					
						
							
							
								Michael Zimmermann 
							
						 
					 
					
						
						
							
						
						8ac46e4ef7 
					 
					
						
						
							
							BaseTools: add '!include' support to tools_def.txt parser  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2016-05-26 11:07:48 +08:00 
						 
				 
			
				
					
						
							
							
								Michael Zimmermann 
							
						 
					 
					
						
						
							
						
						8b14b35b19 
					 
					
						
						
							
							BaseTools: Fix comments about return value of 'LoadToolDefFile'  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2016-05-26 11:07:45 +08:00 
						 
				 
			
				
					
						
							
							
								Yonghong Zhu 
							
						 
					 
					
						
						
							
						
						47fea6afd7 
					 
					
						
						
							
							BaseTools: Clean some coding style issues  
						
						... 
						
						
						
						This patch clean some coding style issues, majorly for space character.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19080  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-12-01 04:22:16 +00:00 
						 
				 
			
				
					
						
							
							
								Yingke Liu 
							
						 
					 
					
						
						
							
						
						97fa0ee9b1 
					 
					
						
						
							
							License header updated to match correct format.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <yingke.d.liu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15971  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-08-28 13:53:34 +00:00 
						 
				 
			
				
					
						
							
							
								Hess Chen 
							
						 
					 
					
						
						
							
						
						1be2ed90a2 
					 
					
						
						
							
							There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <hesheng.chen@intel.com >
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15809  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-08-15 03:06:48 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						da92f27632 
					 
					
						
						
							
							Sync BaseTools Branch (version r2149) to EDKII main trunk.  
						
						... 
						
						
						
						BaseTool Branch:
  https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/branches/Releases/BaseTools_r2100 
  
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11640  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-05-11 10:26:49 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						08dd311f5d 
					 
					
						
						
							
							Sync EDKII BaseTools to BaseTools project r2065.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10915  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-10-11 06:26:52 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						40d841f6a8 
					 
					
						
						
							
							Sync EDKII BaseTools to BaseTools project r1971  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-05-18 05:04:32 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						30fdf1140b 
					 
					
						
						
							
							Check In tool source code based on Build tool project revision r1655.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-07-17 09:10:31 +00:00