Commit Graph

212 Commits

Author SHA1 Message Date
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