Commit Graph

574 Commits

Author SHA1 Message Date
jwang36 0fdb42ac46 1) Applied ToolArg and FileArg class to represent tool arguments
2) Unified the tool output message and exception handling
3) Cleaned the coding style
4) Removed used code

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1535 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 08:35:38 +00:00
alfred 39e5e412f9 add .. support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1534 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 08:09:54 +00:00
jlin16 ce32083fca Add Binary or Source type check before providing PCD item choices when editing platform PCDBuildData.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1533 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 07:06:02 +00:00
wuyizhong 2a9060e294 For stand-alone build, generate Platform_build.xml and call prebuild firstly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1532 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 02:39:02 +00:00
jlin16 73d9b1c494 For one library class, list all library instances from all packages in workspace.
Fix the PCD memory database inconsistency problem when changing PCD item type in platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1531 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 14:51:47 +00:00
qhuang8 10e4f9901c 1.Support to drop Pei Services Table Pointer at best.
2.Change the comments style of Migration tool.
3.Fix a bug in identify function header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1530 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 10:00:18 +00:00
qouyang 5c4eec41d7 (Customized Compression)If setting the EncapsulationType="Compress", Tool will transfer it to sectiontype="EFI_SECTION_COMPRESS" in <gensection>element of <genffsFile> task.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1529 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 09:20:36 +00:00
wuyizhong d965d1f63f Update log.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1528 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:40:49 +00:00
wuyizhong d8956f143e Add warning message for single module build if multi-thread enabled.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1527 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:14:54 +00:00
wuyizhong d3945b9d4c Auto close multi-thread flag when stand-alone module build. Also change some logs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1526 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:02:50 +00:00
qhuang8 9f98dbb76f Enhance recognizing Macro/Type defined in Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1525 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:00:19 +00:00
wuyizhong 89e1408fde To locate module precisely in stand-alone module build. Except Module Guid, add MSA file path to consider.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1521 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 03:25:23 +00:00
jwang36 93f5dd0a0e 1) Changed ToolArg class to abstract generic arguments of a tool
2) Added FileArg class to abstract arguments which represent the path of a file
3) Changed the log method to EdkLog and the message format for flashmap, fwimage, gendepex, genfvimage, gensection, peirebase, strgather and vfrcompile tool. And changed these tools to use ToolArg and FileArg to keep their arguments.
4) Added more verbose message for OnDependency task
5) Changed MakeDeps tool to insert a file end flag. This is very useful when dependency check is broken occasionally
6) Cleaned the coding style of java code


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1519 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 02:15:32 +00:00
jlin16 ed850fbf8b Fix the problem of not displaying library instances for multiple archs in supArchList.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1517 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-12 09:38:28 +00:00
wuyizhong 498e9021f5 Update LOG process.
1. Sort all log messages by module. Logs at the bottom of build.log is all logs already print to cmd
2. Once one module occurs error, print all logs belongs to this module’s


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1516 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-12 07:16:25 +00:00
qhuang8 733d48fec3 Add migration rule for Build Guid Hob.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1513 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 13:49:03 +00:00
qhuang8 d47b990060 Handle module entry point special case for self-relocated modules. (Replace references of original module entry point with _ModuleEntryPoint)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1512 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 12:17:47 +00:00
qhuang8 06d1ff5b98 Remove the special case handling of EfiInitializeDriverLib & DxeIntializeDriverLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1511 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 09:53:28 +00:00
wuyizhong 2e39c71883 Fix EDKT263. Change save dialog to open dialog. Update all Frame's titles.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1510 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 09:12:17 +00:00
wuyizhong 7dd2b2ad65 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1509 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-11 07:39:08 +00:00
wuyizhong 3067c4b0c0 Remove TianoToolsException.java. Add code to stop all threads once one corrupts.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1507 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 06:29:26 +00:00
qouyang a1ffb10f21 Support calling customized compression tool in FrameworkTask.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1506 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-10 12:51:19 +00:00
jlin16 54aa8673cb Modify FV attribute editor and generate FvImage Attributes in FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1505 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-10 07:45:21 +00:00
wuyizhong 2eb7d78dcd Adding new Logger instead of Ant's.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1502 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 09:22:36 +00:00
hche10x 4917d9ddc3 1. Add function "Refresh" in main UI
2. Add function to add modules to GlobalData when clone a package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1501 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 01:58:04 +00:00
alfred 63e30d14b4 nothing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1500 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 01:51:33 +00:00
alfred 27e0221a85 \t 2 \ \ \ \
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1499 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 01:00:36 +00:00
jlin16 7242606411 FV attribute editor alpha.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1498 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 10:40:04 +00:00
hche10x 09ef924264 1. Fix EDKT193 "Provide a Module tree when platform/package are open"
2. Fix bugs in Clone


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1497 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 09:14:34 +00:00
alfred 274a3dbda1 enhance hoblib function convert
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1496 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 09:08:23 +00:00
qhuang8 af22c12f37 Randomize a Guid value if it can not be retrieved from inf file. This will prevent user input an illegal one.
User can adjust it via framework wizard if the random one does not requirement.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1495 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 09:07:19 +00:00
qouyang 61528a1be3 Unify the logger and exception in AutoGen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1493 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 08:02:44 +00:00
jlin16 607ef9948b refresh Pcd data from library instance when editing the settings of FrameworkModules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1492 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 07:57:58 +00:00
qhuang8 e2f1c84a39 Remove trailing blanks.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1491 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 07:40:42 +00:00
alfred 99b0f0e6b2 fix logfile.close(), trim \n
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1490 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 07:19:39 +00:00
wuyizhong 02c768ee72 Move ${PLATFORM}_build.xml from PLATFORM_DIR to BULID_DIR. Now, all output files will be only under BUILD_DIR. To change BUILD_DIR in FPD.PlatformDefinitions.OutputDirectory, both abstract and relative path is allowed. For relative path is relative to WORKSPACE_DIR. Default BUILD_DIR is PLATFORM_DIR/BUILD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1489 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 02:39:37 +00:00
jjin9 67ce7c51e7 There is a potential flaw in HelpInfo.java previously. It use String[substrnum] to save the result of splitString(), the substrnum is calculated approximatively and has to be set larger enough to provide sufficient space. So substrnum relate to the string specifically.
In this version, it use ListedList to implement the splitString(), which is independent of string specifically.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1488 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 02:37:43 +00:00
qhuang8 68a05456c3 Support pointer return type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1487 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 11:20:45 +00:00
wuyizhong 892b0e7a05 Update GlobalData, SPD, SurfaceAreaQuery to using EdkException.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1485 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:37:36 +00:00
jjin9 91f560c1c9 1.modify the usage info
2.update the context tool to provide an example in help info

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1484 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:32:32 +00:00
jlin16 b411fc1f31 FV from FDF file options editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1483 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:28:47 +00:00
qhuang8 b4648de2bc Enhance doxygening function headers for .h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1481 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 07:49:27 +00:00
alfred a817ecbf36 debug R8Lib.h
add @return

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1478 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 07:32:58 +00:00
wuyizhong 2619585ad0 Change GenBuildLogger format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1476 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 06:38:26 +00:00
jwang36 2279b26c4d Changed EdkException to GenBuildException for consistency
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1475 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 06:07:25 +00:00
wuyizhong 91f7d58229 Remove FrameworkLogger in FrameworkTasks and EdkException in GenBuild. Update EdkLog to accept one more parameter. Remove all System.out in GenBuild.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1474 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 05:58:31 +00:00
alfred 7ab9a5e580 modify r8onlylib generate
add Element

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1473 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 05:40:02 +00:00
alfred 2887f99b7c Laplace take over SourceFileReplacer.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1472 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 04:39:31 +00:00
alfred 71874f9369 Laplace, run
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1470 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 02:14:52 +00:00
jlin16 701d95b339 a. Sync FV info with FDF file contents when editing FV information.
b. display module GUID in FrameworkModules if that module no longer exists in workspace.
c. modify SourceFiles to reflect changes in Wizard Package/Platform part.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1466 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 10:31:51 +00:00