Commit Graph

211 Commits

Author SHA1 Message Date
tgingold b991a45139 Disp dependencies in error in case of circular dependency
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2245 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 23:22:29 +00:00
zliu3 e360ea4d73 Fixed one dead loop issue in the autogenlib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2240 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 08:50:20 +00:00
jwang36 affa5a128c Removed the workaround code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2224 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 02:02:11 +00:00
jwang36 d919bb8cf9 Added a workaround to fix the library instance constructor sequence issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2221 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 09:00:36 +00:00
hche10x c271c1326b 1. Fix EDKT501: New MSA get "Please type a complete file path" waring and can't proceed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2215 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 01:51:51 +00:00
jwang36 2384947051 Corrected some comments for the changed code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2194 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 10:16:40 +00:00
jwang36 bc33b23da1 Used the DAG algorithm given by Mike to re-implemented library constructor sorting code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2193 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 09:41:20 +00:00
klu2 a89f26d82d When generating string size for unicode string, do not generate too many brace. This will break linux building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2191 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 07:25:35 +00:00
hche10x 6e73f334d9 1. Fix EDKT413: EnumerationData.java should use defined final static string
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2166 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 06:10:34 +00:00
bxing 8733430b83 1. Added a new tool GenFvMap, which is able to generate FV map files upon LOG files generated by PeiRebase.
2. Updated PeiRebase to generate LOG files while processing FV images. The original MAP feature and its corresponding option '-M' are dropped, however, they are superceded by the FV map file.
3. The FV map file are not generated yet. My next check-in will update FPD files to generate FV map files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2157 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-30 09:17:16 +00:00
jlin16 82484861b5 Make opening dialogs re-gain focus when user switch back to main UI from other windows applications.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2152 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-29 08:09:48 +00:00
hche10x 55683eab3a 1. Fix EDKT496 Framework Wizard should allow user to pick up a Protocol Guid to tag Guid HOB
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2151 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-29 07:23:14 +00:00
jlin16 11c5f0713c add support arch check for pcd entries when adding a module to platform, sync. platform pcd with msa pcd and adding library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2149 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 08:45:08 +00:00
hche10x a9e882c96d 1. Fix EDKT336: Back to focused dialog window when shift to wizard
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2148 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 08:03:37 +00:00
jlin16 5d07408433 remove unnecessary check between pcd table line selections to fix pcd default value refresh problem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2147 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 07:02:04 +00:00
jlin16 9ccee2a037 Add null pointer check to drop-down list of platform Pcd editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2139 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-26 06:46:27 +00:00
klu2 7432a21444 If "SupArchList" is defined for a PCD in MSA, should check current arch is in the range of "SupArchList".
If not exist in the range, do not autogen for that PCD. If exist, autogen it.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2136 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-25 09:21:54 +00:00
jwang36 13cbe22d4f Fixed a bug which will cause single module build fail
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2135 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-25 05:26:45 +00:00
jwang36 89da7ebac5 Rewrote the error message output when module cannnot be found in any packages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2133 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 09:59:49 +00:00
jwang36 2c0bc1a2cc Fixed the issue in multi-msa build in single mode; cleaned the code of re-ordering library instance constructor sequence.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2130 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 07:55:24 +00:00
jwang36 3dc87a3e78 Fixed the issue in the library instance constructor calling sequence
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2127 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 01:30:56 +00:00
jlin16 d56b1906f1 Add new-line characters in error message to make them shorter in multi-lines.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2125 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-21 08:27:00 +00:00
jlin16 fa67a8b221 Add support for PCD token larger than 0x80000000 when declaring a PCD in package editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2122 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-20 08:30:04 +00:00
jwang36 2251a36013 Added support for macro/property in tools_def.txt. Now you can define a property via environment variable and use it in tools_def.txt and target.txt in the form of ${name}
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2094 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 06:35:03 +00:00
jwang36 bc022470e4 Fixed EDKT484 and rewrite the output message when no arch is found.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2089 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 02:42:46 +00:00
jwang36 86f3fef093 Used the msa file name instead of module name as intermediate directory name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2082 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-11 14:54:44 +00:00
hche10x 3cbeeeb8d7 1. Fix EDKT483 FrameworkWizard Should support multiple msa files in a same directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2081 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-11 06:09:30 +00:00
jwang36 c340a28e27 Fixed EDKT482. Added support for multiple msa files in the same directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2079 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 08:14:10 +00:00
hche10x c942b0e8f9 1. Fix EDKT476 Wizard gives wrong warning messsage that confuses user
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2040 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-30 07:45:39 +00:00
jlin16 2109b16ef8 set pcd data type to boolean when declaring a FEATURE_FLAG usage typed pcd in package pcd declarations editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2025 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 05:36:38 +00:00
jlin16 85d9e5b10d Fix Sku Info update UI refresh to update the dynamic pcd value for selected sku id.
Fix the phenomena of endless warning message when opening FrameworkModules pane after changing workspace.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2010 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-24 08:39:20 +00:00
lgao4 4c50c88544 Enhance peirebase tool to get base address from the corresponding fv.inf file, which don't need one base address parameter for this tool any longer. We can reduce base address duplicated definition in fv.inf and fpd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1986 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 09:29:14 +00:00
vanjeff e5d3db39cb fixed bug occurred when new msa file and spd file are in the same directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1985 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 08:59:18 +00:00
jlin16 8cc715257a Refresh library instance selection UI for platform editor after library instance adding/deleting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1984 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 07:25:47 +00:00
jlin16 a883d8c9de Fix the no library instance in UI display when some exception occurs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1982 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 05:21:41 +00:00
hche10x 888f61aa99 1. Fix EDKT433 help context triggered by mouse movement is not displayed properly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1963 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 06:23:10 +00:00
hche10x 14a32a70c2 1. Fix EDKT433 help context triggered by mouse movement is not displayed properly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1961 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 06:07:56 +00:00
jlin16 adf6ff605f Provide default value for PCD in platform if user does not specify anything for it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1956 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-15 08:57:57 +00:00
wuyizhong e799f87fe6 Update PEI Apriori Module GUID based on PIWG spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1955 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-15 07:13:59 +00:00
qouyang e425f07334 Fixed EDKT469
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1951 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 09:03:19 +00:00
jlin16 b8cc11a572 Add new line "\n" to seperate long messages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1950 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 07:23:52 +00:00
wuyizhong 380191dd24 Supporting Apriori File from build tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1949 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 07:15:01 +00:00
jlin16 ed7aa83f2e Modify the way of pcd warning message reporting to be a total in the end.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1948 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 07:14:04 +00:00
jlin16 0227d24c77 Synchronize platform pcd automatically with MSA pcd when opening FrameworkModules of a platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1945 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 06:33:37 +00:00
qouyang e87022aa87 Fixed EDKT469.
Add the PCD control for "_gDriverModelProtocolList" list in Autogen.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1944 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 06:12:26 +00:00
jlin16 f893f7562b Fix the bug of Pcd value update in FrameworkModule settings. remove the curious warning message of pcd type can not be changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1942 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 03:19:42 +00:00
hche10x b3cb8ee7d0 1. Fix EDKT461 [Framework Wizard] Can't change ModuleBuildOptions for MSA file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1938 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 08:11:53 +00:00
jlin16 15db5db9f1 Fix Ffs sections encapsulation type update problem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1934 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 06:56:45 +00:00
hche10x ef9086417e 1. Fix EDKT468 Click some buttons in MSA header by wizard can not be saved properly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1932 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 05:56:01 +00:00
jlin16 d73991a143 For encapsulated sections in FFS layout in FpdBuildOptions, if no longer exists sections in an encapsulated section, remove from UI that section to be consistent with contents in FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1930 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-10 09:13:10 +00:00
jlin16 4fd52612c2 Fix the invalid warning message when user add a module that does not support platform architectures to this platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1918 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 08:31:56 +00:00
wuyizhong 5f0b744eae To fix bug T400. If user select a Repackage=false package during creating a FAR, give warning and a choose to continue or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1917 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 08:22:05 +00:00
wuyizhong e4764daec7 Fix a bug that can't add library MSA specific build option in multi-thread build mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1914 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 03:27:53 +00:00
jlin16 99125b466d Provide UI for generating Apriori file of PEI or DXE phase. The module order information are put into BuildOptions->UserExtensions with UserId as "APRIORI" and Identifier as "0" for PEI phase and "1" for DXE phase. Build tools will use these UserExtensions information to produce the Apriori files that will be placed into each FV image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1912 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 02:59:31 +00:00
wuyizhong 15d449ba23 Fix a bug that can't add library MSA specific build option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1911 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 02:40:27 +00:00
alfred bea0971260 Coding Style
Comment

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1902 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 05:45:08 +00:00
jwang36 015849a450 Changed the tool chain error message to be more specific.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1901 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 05:10:56 +00:00
jwang36 05b52e9665 Fixed the build error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1899 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 03:55:24 +00:00
jwang36 2b0fe8b4a4 Added code to check that the definitions in target.txt are valid against tools_def.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1898 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 03:09:32 +00:00
hche10x fc87d0ba58 1. Fix EDKT463: When wizard new or clone a msa/spd/fpd, should follow these rules
2. Fix EDKT465: The content in memory should be reloaded when a modified msa/fpd/spd is closed without saving

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1896 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 08:42:47 +00:00
jlin16 e4f1ff6cf9 Modify FrameworkModules editor for FPD files to meet the new PCD type adjust operation rules:
a. Add a module with PCD type Dyn. 
	If this PCD not exists in platform, 
ModuleSA.PcdType is set as Dyn (choose one from spd).
	Else
		ModuleSA.PcdType is set as existing type ? 
(Give a error message if this module pcd can NOT be set as existing type. And Pcd will not be added for this module into platform.)
		
	If PCD type is determined to be Dyn.
Add PCD to DynamicPcdBuildDefinitions if it not exists there.
SkuId = 0;
SkuInfo.value = MSA default | SPD default | give default based on DatumType.
If DatumType == void*
	Set ModuleSA.PcdMaxDatumSize;


b. Add a module with PCD type DynEx.
If this PCD not exists in platform, 
ModuleSA.PcdType is set as DynEx.
	Else
		ModuleSA.PcdType is set as existing type ? 
(Give a error message if this module pcd can NOT be set as existing type. And Pcd will not be added for this module into platform.)

Add PCD to DynamicPcdBuildDefinitions if it not exists there.
SkuId = 0;
SkuInfo.value = MSA default | SPD default | give default based on DatumType.
If DatumType == void*
	    Set ModuleSA.PcdMaxDatumSize;


c. Add a module with PCD type FixedAtBuild, PIM, FF
If this PCD not exists in platform, 
ModuleSA.PcdType is set as FaB | PIM | FF.
	Else
		ModuleSA.PcdType is set as existing type ? 
(Give a error message if this module pcd can NOT be set as existing type. And Pcd will not be added for this module into platform..)

ModuleSA.PcdValue = MSA default | SPD default | give default based on DatumType.
If DatumType == void*
		Set ModuleSA.PcdMaxDatumSize;


d. Edit ModuleSA.PcdType
	Get the corresponding MSA.PcdType in MSA file for this ModuleSA.
	
	If MSA.PcdType == Dyn.
		ModuleSA.PcdType could be [(valid Pcd types in SPD)]
		
    Else 
		ModuleSA.PcdType can NOT be changed.

	1) Change ModuleSa.PcdType from Dynamic. to [valid Pcd types in SPD]: 
	All same PCDs in FrameworkModules are changed to one of valid Pcd types in SPD according to user selection. 
	Check in whole platform other ModuleSA for the same pcd, if the corresponding MSAes for other ModuleSAes pcd can NOT accept the new type, give error message.
        
Keep old ModuleSA.PcdValue.
	Remove this PCD in DynamicPcdBuildDefintion.

2) Change ModuleSa.PcdType from [FaBor PIM] to Dynamic, DynEx.: 
	All same PCDs in FrameworkModules are changed to Dynamic | DynEx. 
Check in whole platform other ModuleSA for the same pcd, if the corresponding MSAes for other ModuleSAes pcd can NOT accept the new type, give error message.

Keep old ModuleSA.PcdValue?
	Add one new dynamic PCD in DynamicPcdBuildDefintion.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1888 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-02 11:04:27 +00:00
jjin9 bd23689590 Fix the bug EDKT464. ? and * are regarded as wildcard char by OS. so we have to remove the support of /? and -?
To show the help info, ContextTool only support: -h, /h, --help, /help.  

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1887 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-02 08:55:15 +00:00
hche10x 3767c118ef 1. Fix EDKT418: Some buttons are not displayed correctly in Linux and MAC OS X operating system
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1882 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-01 03:48:13 +00:00
hche10x cc95b47b5e 1. Fix EDKT462: "Save/Save All' are still highlighted if close a msa/spd/fpd without saving
2. Fix parts of EDKT423 After modification in text editor, save and save all firsthand, they are gray

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1881 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-01 03:17:20 +00:00
jlin16 0cc00bf06b Add Fv option value edit support;
Give hover hint why some Fv options are not editable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1874 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 08:14:22 +00:00
hche10x e421fb258c 1. Fix EDKT437 Save is to save current modified file, Save All is to save all modified files
2. Fix EDKT438 Close should save current modified file only, Close All should save all modified file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1871 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 03:25:05 +00:00
hche10x 8b44bd1d51 1. Fix EDKT447 Keep PPI/Protocol/GUID/PCD in find result even if they are only declared but not used
2. Fix EDKT448 Provide reload solution in Find Result

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1870 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 03:04:31 +00:00
alfred 71f30e5184 Coding Style
Phase 1
Eclipse Format
Comment for MigrationTool.java

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1869 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 02:27:39 +00:00
qhuang8 a7a7033316 Fix several issues:
Misreplace library name
Support commenting out nonlocal header files for dxs FileArg.class
Add a new protocol Guid to database 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1864 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 11:57:37 +00:00
alfred 8de9f9e154 Database singleton
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1862 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 08:31:11 +00:00
hche10x ba73bc0bc0 1. Fix EDKT451 It should append ".txt" to filename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1860 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 07:40:42 +00:00
hche10x 6173283b85 1. Fix EDKT436 "Is PCD driver" only gives one value: PEI_PCD_DRIVER to user
2. Fix EDKT444 Should not allow user to delete last "Supported Architecture" of a module

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1859 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 07:32:19 +00:00
qhuang8 76734b249f Add a unified migration database to replace the original Protocol, Ppi, Guid, Library database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1858 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 07:13:01 +00:00
qhuang8 99f757db47 Preparative work to collect Library info from workspace dynamically.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1857 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 06:29:54 +00:00
hche10x d8be5b148b 1. Fix EDKT457 Multiple FPD, MSA or SPD files in a directory is prohibited
2. Fix EDKT450 Please don't allow user to set same Guid in clone operation

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1855 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 05:26:27 +00:00
wuyizhong 92cfaeee66 To fix bug EDKT432. Add judge to avoid include flags twice.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1854 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 04:03:55 +00:00
jlin16 62df8efa93 Delete useless file SpdPackageDefinitions.java;
Change button texts to Add, Delete, Clear All.
Activate the Read-Only attribute checking for package editors.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1853 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 03:46:11 +00:00
hche10x 57046e97fa 1. Fix EDKT441 After some modifications and refresh, there will show a dialog for save all files. The operation of Cancel should not refresh wizard.
2. Fix EDKT442 After some modifications and refresh, there will show a dialog for save all files. The operation of erasing this dialog should be regarded as Cancel, not refresh wizard.
3. Fix EDKT455 The style of menu should be unified
4. Fix EDKT439 After some modifications and exit, there will show a dialog for save all files. The operation of erasing this dialog should be regard as Cancel, not exit wizard.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1851 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 03:02:15 +00:00
qhuang8 e83a1d9ad3 Preparative work to collect Ppis, Guids & Protocols info from workspace dynamically.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1850 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-27 08:57:25 +00:00
alfred 9dcf28619a Coding Style - decomment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1849 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-27 05:43:55 +00:00
alfred 1f0b4e9cb0 fix .s comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1848 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-27 02:04:32 +00:00
hche10x cbee1e7407 1. Fix EDKT449 Close Build Preferences will crash wizard
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1844 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-26 07:29:30 +00:00
lhauch d565d6cd83 Changed to format of the Package and Platform list outputs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1842 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-26 00:17:32 +00:00
lhauch 94e17f1190 Fixed a usage spelling error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1840 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-25 17:09:16 +00:00
lhauch 4de9276478 Added the DbTools that will update the FrameworkDatabase.db file based on what is found after scanning the WORKSPACE environment - entries for new SPD and FPD files that are found during the scan are added, and the entries for SPD and FPD files that are listed in the database, but are not in the current workspace are deleted.
Modified AllResource to include only files that are not compiled.
Added the MSA entries to the SPD file for all modules that are compiled, both Java and C.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1839 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-25 16:17:28 +00:00
wuyizhong e1869179c6 Update several MSA/Filenames which do not inconsistent with current source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1838 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-25 10:10:55 +00:00
qhuang8 4c5f3cc94c Fix a bug in HobLib migration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1837 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-25 08:36:35 +00:00
qouyang 2679d84f24 Fixed EDKT400.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1836 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-24 02:41:50 +00:00
hche10x 0c61f948b2 1. Add a function in WorkspaceTools to get all packages which can be repackaged.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1835 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-24 01:59:27 +00:00
hche10x d12f87d3b1 1. Fix EDKT434: After Workspace is changed, Wizard should close all (desktop area and tree area) and refresh automatically.
2. Fix EDKT340: Search needs to provided a way to display Selected PCD information.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1834 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-24 01:29:36 +00:00
jjin9 c81f5d4433 1.add code to support friendly output message.
2.fix the bug, and support "ContextTool /?"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1831 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-24 01:02:59 +00:00
jlin16 c777d1d406 Fix the problem of label, button text part-display on Linux and iMac.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1829 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 08:46:53 +00:00
jwang36 fe6d0f7404 Added code to fetch more detailed error message from XMLBeans when there's error in msa/spd/fpd files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1828 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 08:34:59 +00:00
jlin16 2cd33eaf82 Do not display token number for Pcd in ModuleSA and Dynamic Pcd editors for FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1821 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 03:02:28 +00:00
hche10x 453a815ba0 1. Update ICheckBoxList to add one attribute "selected". Set the first item of ICheckBoxList selected when it is inited.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1820 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 02:51:55 +00:00
hche10x bf1168562b 1. Fix EDKT429 The number of Type in [MSA->BootMode->BootModeAttributes->BootModeNames] is shorten than Schema
2. Fix EDKT430 Private in [MSA->BootMode->BootModeAttributes->Uasge] should be removed
3. Fix EDKT431 Tool in [MSA->Library Class Definition->Support Module Type] should be removed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1819 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 01:58:55 +00:00
hche10x 419558bbad 1. Fix EDKT339 Library Class Search need to get info for selected library class
2. Fix EDKT303 Give warning if no library instances that support the required the library class

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1816 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 00:58:22 +00:00
jlin16 9162172593 Fix the problem of not sync. module order list in FVs when user change the FvBinding for a ModuleSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1808 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-21 04:05:01 +00:00
jlin16 50d4c727a8 a. Add support arch. filter for library instance selection in FPD file.
b. add sync. operation for modifying dynamic pcd values to set the new value to all pcd entries in ModuleSA.
c. Make line wrap for SPD, FPD header copyright text area.
d. give warning of default section added when user add new Sections under FPD build options.
e. not generating the empty build targets when user creating a new entry for build options.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1804 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 17:36:45 +00:00
klu2 3fabe9752d Remove unnecessary exception caching.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1803 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 09:28:08 +00:00