Commit Graph

627 Commits

Author SHA1 Message Date
e6225e3c73 Adjust code format and remove unused code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1181 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 04:34:39 +00:00
a390c35d8a set default value of PCD from msa file or spd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1180 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 03:45:57 +00:00
01413f0ccb Remove some unused code and adjust some code format. Modules build with FPD sequence. Delete three unused Java files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1179 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 02:55:45 +00:00
802e005517 set MaxDatumSize for PcdData.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1178 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-02 09:34:27 +00:00
1faac7b69f comment out item type checking temporarily when adding module to fpd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1177 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-02 07:26:02 +00:00
af1dd46d37 Updated to handle cygwin/gcc and moved msvc,gcc property settings to the TianoTools/build.xml file. Properties are inherited, so we only need to set them one. Cleaned up clean and cleanall targets to remove the executables and library files. Added makefile.cygwin to antlr and dlg programs to generate the .exe needed for cygwin.
FlashMap.c needed a newline at the end of the file to remove a warning message in cygwin.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1174 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 23:58:18 +00:00
a513c5a8b4 Add new class ModulePcdInfoFromFpd.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1171 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 14:56:44 +00:00
bc2628416c Abstract the logic of Platform pcd preprocess according to FPD file to a class. And add a new class for building process extend this abstract class. (Missing check-in part)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1170 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 14:53:02 +00:00
af98370ea4 Abstract the logic of Platform pcd preprocess according to FPD file to a class. And add a new class for building process extend this abstract class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1169 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 14:51:46 +00:00
af8eab8443 Miss loop variable incremental, otherwise, will cause dead loop.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1168 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 08:39:26 +00:00
241876c7a3 Add new PcdDatabase.java file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1166 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 06:56:43 +00:00
4886a7b4c0 It is bad to put PcdDatabase.java into CollectPCDAction.java class. So I move it out.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1165 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 06:50:47 +00:00
34c614e1b7 1. Fix the problem of adding PCD for different Arch.
2. enhanced exception messages.
3. pick out getModuleId method to GlobalData class.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1164 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 05:59:51 +00:00
d14ebb4374 Because Pcd entity, exception and some action package are shared by Building tools and Wizard Tools, so I move them to Tools/Source folder and generated PcdTools.jar,
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1160 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-31 18:55:26 +00:00
4da2e62597 Coding style changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1156 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-31 11:20:16 +00:00
9efa2da011 Fixed track EDKT153, change PCDAutogen code to generate static variable referent for _PCD_VALUE_... for byte array type PCD in FIXED_AT_BUILD case.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1153 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-30 14:48:14 +00:00
2eaa5ba11d FlashMap can not work correctly in unix GCC because the windows path char "\" exist in parameter.
I fix it by adding a NormalizePath function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1152 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-30 08:09:57 +00:00
eece174ad0 1, Fix EDKT141
2, Code clean up for PCD building tools.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1150 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-29 14:29:59 +00:00
9e857952db Added some additional comments in the files, as well as fixed some of them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1149 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-29 04:39:01 +00:00
928b45fb4c Adjusted sizes to accommodate Windows, iMac and Linux GUI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1147 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-29 00:13:09 +00:00
c634482386 Adjusted locations and sizes of boxes for Windows, Linux and iMac GUI, no other functionality was changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1146 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-29 00:04:38 +00:00
a19466adcb Adjusted sizes to accommodate Windows, iMac and Linux GUI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1145 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 23:41:57 +00:00
18916b6321 Adjusted sizes to accommodate Windows, iMac and Linux GUI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1144 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 23:26:13 +00:00
3f62225f1e Adjusted sizes to accommodate Windows, iMac and Linux GUI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1143 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 23:09:53 +00:00
ffebd360b8 Fixed spacing for Linux and iMac display
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1142 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 19:07:20 +00:00
a1eb640176 There is a rule here:
If a module link a library instance, all pcds defined by library instance should be instanted in module's <ModuleSA> in FPD file.

I add more checking code follows above rules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1141 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 16:44:52 +00:00
fd16c6d5d4 1. PcdUsage is added to PCD entry in schema so wizard tool is also updated to support this.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1140 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 08:17:32 +00:00
27169a56e6 Added more error check on validation to let result be more exact.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1138 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 06:33:01 +00:00
57d0e52a71 Fix the bug of library instance selection interference between different archs of ModuleSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1137 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 06:10:45 +00:00
0c235b66d2 1. Fix the bug missing initialize ToolCode drop down list when add a new source file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1135 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 05:24:42 +00:00
53d853a683 Remove additional / or \ in relative path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1134 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 05:22:00 +00:00
a929458e66 1. Change ToolCode from text field to drop down list, and user can enter their customizing tool command.
2. Fix some coding style issue


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1133 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 05:03:19 +00:00
ccb063b1f2 Fixed Absolute position of fields, Added ToolTipText and made HelpText a Scrolling Text Area
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1132 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 03:20:46 +00:00
5101eff919 Fixed Absolute position of fields, Added ToolTipText and made HelpText a Scrolling Text Area
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1131 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 02:02:09 +00:00
9cf435c223 Fix T105. It is caused by cpptasks which change automati cally root directory like C: to C:\C. If we pass C:\ to cpptasks, it's okay now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1130 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 01:39:10 +00:00
7ab6baa9de Fixed Absolute position of fields, Added ToolTipText and made HelpText a Scrolling Text Area
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1129 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 00:17:23 +00:00
5b38b75ba6 Fixed Absolute position of fields, Added ToolTipText and made HelpText a Scrolling Text Area
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1128 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 22:22:01 +00:00
5262e23748 Added Tool Tip Text, fixed dimensions after modifying HelpText to an Area
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1124 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 19:00:22 +00:00
5af6b67fdb 1. keep from generating empty FrameworkModules.
2. remove unused import in EventsDlg.java

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1120 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 10:36:54 +00:00
e232295ec8 keep from generating empty DynamicPcdBuildDefinitions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1119 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 09:54:36 +00:00
342810920f Fixed EDKT147, which will fail the single module build when a module is just defined for one ARCH in a platform which supports two ARCHs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1118 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 09:25:41 +00:00
82dcbb45c7 Fix EDKT143.
Add the feature of inserting Xml Comments before ModuleSA elements and library instance elements.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1115 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 07:40:21 +00:00
1dbcbb6158 Fixed EDKT145
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1112 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 03:44:58 +00:00
8f55ea7396 Remove empty FfsFileNameGuid element under ModuleSaBuildOptions if user input empty string into it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1111 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 03:21:41 +00:00
7cae34b00a Fixed a spelling error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1110 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 23:44:12 +00:00
747e1504f1 Adjusted the Help Text field to be a Text Area inside of a Scroll Pane, with line wrapping and wrap on word boundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1107 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 21:48:33 +00:00
f51ee52bce Fixed spelling and grammar, also fixed the size of the pop up dialog boxes and the placement of the Arch list check boxes in EventsDlg.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1106 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 19:20:43 +00:00
460fa4a25b A couple of cleanups in the TianoTools build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1104 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 17:25:15 +00:00
ea62f12ac6 fixed EDKT139.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1101 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 10:18:56 +00:00
a490bca85d fix the problem that if no data updated in wizard editors, the Save indicator will not pop-up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1100 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 09:42:04 +00:00