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 
						 
				 
			
				
					
						
							
							
								Feng, Bob C 
							
						 
					 
					
						
						
							
						
						d943b0c339 
					 
					
						
						
							
							BaseTools: Handle the bytes and str difference  
						
						... 
						
						
						
						Deal with bytes and str is different, remove the unicode(),
correct open file parameter.
Using utcfromtimestamp instead of fromtimestamp.
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com >
Tested-by: Laszlo Ersek <lersek@redhat.com >
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2019-02-01 11:09:24 +08:00 
						 
				 
			
				
					
						
							
							
								Yunhua Feng 
							
						 
					 
					
						
						
							
						
						af881abc65 
					 
					
						
						
							
							BaseTools: replace long by int  
						
						... 
						
						
						
						replace long by int
Because the long() was not exist in Python3
Cc: Bob Feng <bob.c.feng@intel.com >
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 >
Tested-by: Laszlo Ersek <lersek@redhat.com >
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2019-02-01 11:09:18 +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 
							
						 
					 
					
						
						
							
						
						86e6cf98a8 
					 
					
						
						
							
							BaseTools: Handle the bytes and str difference  
						
						... 
						
						
						
						Deal with bytes and str is different, remove the unicode()
Using utcfromtimestamp instead of fromtimestamp.
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:54:07 +08:00 
						 
				 
			
				
					
						
							
							
								Yunhua Feng 
							
						 
					 
					
						
						
							
						
						4ce4f757d7 
					 
					
						
						
							
							BaseTools: remove the super() function argument  
						
						... 
						
						
						
						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:43 +08:00 
						 
				 
			
				
					
						
							
							
								Yunhua Feng 
							
						 
					 
					
						
						
							
						
						8371d87412 
					 
					
						
						
							
							BaseTools: Rename long() to int()  
						
						... 
						
						
						
						Because the long() function was not exist in Python3.
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:42 +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 <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-07-09 10:25:47 +08:00 
						 
				 
			
				
					
						
							
							
								Gary Lin 
							
						 
					 
					
						
						
							
						
						86379ac48b 
					 
					
						
						
							
							BaseTools: Replace StringIO.StringIO with io.BytesIO  
						
						... 
						
						
						
						Replace StringIO.StringIO with io.BytesIO to be compatible with python3.
This commit also removes "import StringIO" from those python scripts
that don't really use it.
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:28 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						d0a0c52c22 
					 
					
						
						
							
							BaseTools: standardize GUID and pack size  
						
						... 
						
						
						
						currently GUID packing and pack size determination is spread
throughout the code. This introduces a shared function and dict and
routes all code paths through them.
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:07:34 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						92a4eebb37 
					 
					
						
						
							
							BaseTools: AutoGen - refactor out a useless class  
						
						... 
						
						
						
						this class was never instantiated.  the static function was called.
save the function, remove the rest.
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:07 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						0caa769dbb 
					 
					
						
						
							
							BaseTools: AutoGen - refactor out a list  
						
						... 
						
						
						
						the lists were used in __init__ then converted to sets
instead just use the sets from the begining
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:06 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						def89ed025 
					 
					
						
						
							
							BaseTools: AutoGen - refactor out functions only called in __init__  
						
						... 
						
						
						
						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:06 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						5565a8c4d2 
					 
					
						
						
							
							BaseTools: move PCD size calculation functions to PcdClassObject  
						
						... 
						
						
						
						move both GetPcdMaxSize and GetPcdSize to the PcdClassObject.
fix MAX_SIZE_TYPE to have int values
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:05 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						18011927b1 
					 
					
						
						
							
							BaseTools: this function has no purpose.  
						
						... 
						
						
						
						it looks like a old POC of the concepts then used to make the classes
in the file.
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:02:59 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						b7b51025b9 
					 
					
						
						
							
							BaseTools: check before accessing members in __eq__  
						
						... 
						
						
						
						minimize risk for exceptions.
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:02:58 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						a7360838d7 
					 
					
						
						
							
							BaseTools: AutoGen - update to remove duplicate constant value  
						
						... 
						
						
						
						PCD size by type is shared.  just use it.
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:02:58 +08:00 
						 
				 
			
				
					
						
							
							
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						656d2539be 
					 
					
						
						
							
							BaseTools: replace 'UINT8','UINT16','UINT32','UINT64','VOID*' with shared constants.  
						
						... 
						
						
						
						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-23 11:11:20 +08:00 
						 
				 
			
				
					
						
							
							
								Bob Feng 
							
						 
					 
					
						
						
							
						
						072418e553 
					 
					
						
						
							
							BaseTools: Fix build fail when the number in validlist is long type.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Bob Feng" <bob.c.feng@intel.com >
Reviewed-by: "Chen, Hesheng" <hesheng.chen@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18256  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-08-21 01:09:16 +00:00 
						 
				 
			
				
					
						
							
							
								Bob Feng 
							
						 
					 
					
						
						
							
						
						82a6a9605c 
					 
					
						
						
							
							BaseTools/Build: Add SDL support  
						
						... 
						
						
						
						1.BaseTool add ATTRIBUTE (+/-RT, RO) support in PCD declaration in DSC file
2.BaseTool collect valid PCD value in DEC file and generate data base for runtime sanity check
3.BaseTool support SetPcd error.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Bob Feng" <bob.c.feng@intel.com >
Reviewed-by: "Chen, Hesheng" <hesheng.chen@intel.com >
Reviewed-by: "Liu, Yingke D" <yingke.d.liu@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17158  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-04-10 06:59:47 +00:00