Commit Graph

212 Commits

Author SHA1 Message Date
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
qouyang 192a42b4de Replace "system.out.print" with "EdkLog.Log".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1802 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 03:58:23 +00:00
hche10x 7dce20fdb7 1. Fix EDKT426: Supported Module Types in Library Class Definitions can not be saved to MSA file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1800 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-19 09:16:15 +00:00
lhauch dbfb39ef04 Added result line for valid file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1796 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 19:22:42 +00:00
wuyizhong b69bb9ba72 Support MSA build options. Now the build options from four places: 1. tools_def.txt
2. MSA <ModuleBuildOptions>/<Options> 3. FPD <BuildOptions>/<Options> 4. FPD <FrameworkModules>/<ModuleSaBuildOptions>/<Options>. And we do not support "ABC", "XYZ" such format from now on, please only use the simple format like ABC XYZ. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1790 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 08:22:09 +00:00
hche10x 01022d98b3 1. Fix EDKT399: "RePackagable" attribute should be supported by clone operation
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1789 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 07:01:35 +00:00
hche10x 350785ff49 1. Fix EDKT411: Need right and left scroll bar to display find results
2. Add a function in Tools.java to adjust a table's all columns' width

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1788 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 05:57:36 +00:00
wuyizhong 706c2ad4ba Add Build Macro to build SEC modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1784 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 02:38:01 +00:00
lhauch 641cd03cea Added more detail to the usage screen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1783 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 00:19:35 +00:00
lhauch a8e1928c2f Added instruction on how to remove WARNINGS with -v flag set
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1782 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 23:46:01 +00:00
lhauch c81d735d57 Changed invalid tool chain tag name to WARNING rather than an ERROR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1781 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 23:33:10 +00:00
lhauch ddfdc8e69d Adding Java Tool: ckt.bat for CheckTools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1779 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 22:17:18 +00:00
qouyang 96edfc7504 Remove some unuseful imports.
amend some incorrect use of EdkLog.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1775 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 09:41:22 +00:00
jjin9 d3f458486e Fix the EDKT414, the old value should be replaced with new value.
Another modification,
For some settings, there are one and only one valid value, such as ACTIVE_PLATFORM and TOOL_CHAIN_CONF. Add a protection to ensure the valid number of these setting in this version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1774 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 08:29:13 +00:00
hche10x 1fd225e033 1. Fix EDKT417: System hangs to setup build preference when there is no target.txt existing
2. Replace the values of ToolCode of SourceFile with the items defined in spec 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1771 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 06:57:56 +00:00
hche10x ae69d4dae8 1. Fix EDKT308: Tool initialization should be supported by wizard
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1768 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 06:14:42 +00:00
qhuang8 3c82f1a543 Support to handle IPF assembly files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1767 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 12:44:46 +00:00
jlin16 98aee6e933 add calculation for max. datum size based on pcd default value input by user.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1763 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 09:43:12 +00:00
wuyizhong c639781ef0 Support two more attribute LIBPATH and INCLUDEPATH in tools_def file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1761 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 09:24:08 +00:00
alfred 8270b34d9d Enhance MsaOwner.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1760 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 08:55:58 +00:00
hche10x edbacf2e5c 1. Fix EDKT344: The algorithm for PCD of msa should be adjusted
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1759 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 08:46:52 +00:00
hche10x 37bd8fbb21 1. Fix EDKT408: Clone a library class does not copy the library head
2. Fix EDKT398: Wizard does not refresh work environment when clone a module or a library

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1757 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 08:17:20 +00:00
jlin16 9d6f6d70da Adjust module order list after specifying FvBinding for ModuleSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1756 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 08:11:27 +00:00
wuyizhong b0a8056223 Sync TOOLS_DEF's attribute definitions. Since there are two copy attribute definitions in ToolDefinitions.java and ToolChainAttribute.java, remove one and only keep one definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1755 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 07:40:59 +00:00
wuyizhong 51f9486371 Update cpptaks to support LIBPATH and INCLUDEPATH which will defined in TOOLS_DEF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1754 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 07:34:13 +00:00
hche10x aa197375d8 1. Fix EDKT379: Check if Constructor exists in a library when user adds a destructor
2. Fix EDKT378: Can not add any external definitions to a new created MSA file by wizard
3. Fix a bug in function wrapStringByWord of Tools.java

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1753 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 06:44:56 +00:00
hche10x 0915a2ce53 1. Fix EDKT330 Source files in sub-directories are not added to MSA correctly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1752 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 06:23:19 +00:00
qouyang 5776c5c045 Fixed EDKT372
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1751 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 06:14:02 +00:00
jjin9 f15e135965 fix the bug in revision 1746
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1747 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-14 11:50:20 +00:00
jjin9 f337986f8e add some features:
1. display current settings in target.txt by ContextTool
2. display help information with arguments, such as: ContextTool -h, arguments include -h, /h, -?, /?, -help, /help
3. display current setting by ContextTool -x
4. display possible setting by ContextTool -x ?
5. clean current setting by ContextTool -x 0
6. merge new setting to current setting by ContextTool -x new
x is the setting argument, such as p, a, n, m, t, c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1746 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-14 08:22:12 +00:00
qhuang8 9c0e70cb4a Add Package-Guid Map.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1745 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-14 07:01:53 +00:00
jwang36 8c84e1b1ac a) Cleaned tools_def.template
b) Changed overriding priority of tool chain definition. Now right non-* has higher priority.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1744 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 09:21:14 +00:00
jlin16 5a502bd47a Remove all recommended lib instances logic in SpdLibClassDecls.java as recommmended instances are not in UI any more.
Adjust the width of table columns to ease view.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1742 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 08:30:16 +00:00
qhuang8 db0e690675 Extract msa license info from inf file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1737 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 03:47:05 +00:00
hche10x a721f5c47e 1. Fix EDKT303: Give warning if no library instances that support the required the library class
2. Fix a bug in Find function: Missing library classes which has same name but different usage.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1736 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 03:13:19 +00:00
lhauch f4ead3ba43 Fixed alignment for labels and fields
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1735 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-12 20:39:25 +00:00
lhauch 9a362ae726 Fixed the width of the GuidValue field
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1734 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-12 19:33:38 +00:00
lhauch 0a35c6e2fe Fixed display for OS X and removed Recommended fields
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1733 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-12 19:32:27 +00:00
qhuang8 4932405544 Fix several bugs & enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1731 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-12 10:31:02 +00:00
qouyang 046d7d4f1d Modify Extract() function to speed up the Far installation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1729 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-12 10:19:59 +00:00
jlin16 fbf730ff01 Mark Guid Type as required in Guid declaration editor. Set cell editor to long text editor for Help text fields in tables.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1728 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-12 08:54:06 +00:00
hche10x f436f72804 1. Fix EDKT391 The check point of "OutputFileBasename" is missed in wizard tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1727 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-12 08:08:38 +00:00
lhauch d7bb51136b Standardized property name WORKSPACE and fixed cleanall messages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1725 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-11 16:40:33 +00:00
qhuang8 53dd426984 fix a bug in identifying comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1723 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-11 10:15:20 +00:00
jwang36 2320bb1497 Added "synchronized" method to create random number in case of multi-thread issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1722 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-11 10:10:16 +00:00
jlin16 5f480cb5e8 Ensure the validity of Ffs Sections when adding a new Sections to Ffs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1721 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-11 06:57:08 +00:00
wuyizhong 91a1f0d7ac Support using @ToolChainFamily in <Filename> to do the filter. This is also to fix track T365.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1720 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-11 03:50:46 +00:00
wuyizhong 188fdd0ac5 Change some format and remove some unused codes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1719 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-11 03:47:22 +00:00
jlin16 618737f83a Give warning when deleting the last build target. Fix the missing-all build targets when deleting one of them.
if platform definitions not complete, give messages when setting default values for this platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1717 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-11 03:22:34 +00:00
lhauch 439656f152 Fixed the build.xml files so that clean and cleanall actually removes the temporary build directories, rather than leaving all of the intermediate files left lying around.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1715 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 23:01:42 +00:00
lhauch e2f34bcdaf Added a test to check the # of threads iff threading is enabled. If it's not enabled, don't try to read the number of threads in the target.txt file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1711 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 17:30:59 +00:00
qouyang a06a54171d Fixed EDKT370&372
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1709 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 14:48:17 +00:00
jlin16 31095724f1 Fix not able to save after change build target.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1705 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 09:26:34 +00:00
jwang36 63cdbe79b1 Added code to check if "cmd" attribute is valid or not. This is to make error report more accurate.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1702 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 05:55:36 +00:00
jwang36 fd6c41f5e2 Fixed EDKT381
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1701 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 04:36:57 +00:00
jlin16 bc9b370686 Change FrameworkModules selection to next module in platform after remove one module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1700 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 04:28:15 +00:00
wuyizhong 47412835e5 1. Update to just keep several line JAVA related msg; 2. Remove file PropertyManager.java.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1698 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 02:40:59 +00:00
wuyizhong 0f769af196 Change behavior if found more than one FPD files from let user choice one to report Error and stop build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1695 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 02:15:44 +00:00
jwang36 1549f5163d Changed the way of using precompiled header in the build process. Now the use of precompiled header is controlled by tools_def.txt.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1690 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08 16:07:32 +00:00
jwang36 fbda1aada3 Changed the output path of source because of directory structure changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1685 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08 06:50:56 +00:00
jwang36 5a4c434254 Removed the need of external MakeDeps.exe. Now parsing include files is built in makedeps task.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1683 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08 06:28:06 +00:00
lhauch feccee87a7 Restructuring for better separation of Tool packages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1674 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-05 23:12:07 +00:00