Commit Graph

11 Commits

Author SHA1 Message Date
hhtian cd5ebaa06d Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10420 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24 09:49:11 +00:00
lgao4 d6a82eaf8d Update HiiString Protocol and HiiSetString Api in HiiLib
1. Reserve the unique string identifier for all languages in the package list. 
2. Track MaxStringId to do the simple check for the requested StringId > MaxStringId, which can improve performance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9954 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-09 07:12:35 +00:00
rsun3 f580c1bd27 Fix a bug in UefiHiiLib. The size for allocating a buffer is StrSize instead of StrLen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8235 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04 08:51:40 +00:00
rsun3 ad5a96ab2d Retire language conversion APIs from HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8104 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 08:46:28 +00:00
rsun3 cb7d01c0c9 HII Library Class interface refine.
The "HiiLib" prefix for all HII Library API function names changed to "Hii".

Remove: 
  HiiLibPreparePackageList(), replaced by HiiAddPackages()
  HiiLibNewString(), replaced by HiiSetString()
  HiiLibGetStringFromHandle(), replaced by HiiGetString()
  HiiLibGetStringFromToken(), replaced by HiiGetPackageString()
  HiiLibExtractGuidFromHiiHandle()
  HiiLibDevicePathToHiiHandle()
  HiiLibGetSupportedSecondaryLanguages()
  HiiLibGetSupportedLanguageNumber()
  HiiLibExportPackageLists()
  HiiLibListPackageLists()
  
Interface change:
  HiiAddPackages()
  HiiSetString()
  HiiGetString()
  HiiGetHiiHandles()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8083 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 10:47:19 +00:00
lgao4 7e3bcccb0e Update UefiHiiLib to support new defined IFR related HII APIs.
Apply new defined IFR related HII APIs in PlatOverMngr, DriverSample, IScsiDxe and Setup drivers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8066 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 06:05:15 +00:00
qhuang8 b1a4c981ec Fix a minor issue to ensure the converted RFC 3066 language is NULL-terminated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7967 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 03:35:45 +00:00
qhuang8 ea7cd3ec1a Apply GetBestLanguage() API in UEFI to display HII string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7964 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 03:23:45 +00:00
qwang12 4a1102c9ae K8:
1) add in more ASSERT condition and updates the comment for HexStringToBuf.
2) Check the pointer returned by HiiLibGetHiiHandles.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7324 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 05:33:41 +00:00
qwang12 6cd8bf649c Add in an ASSERT to check the return of HiiLibGetSupportedLanguages. This function should never return NULL. If it does, it is a build.exe bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6874 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-05 09:34:36 +00:00
qhuang8 08e4b3cfed Add UefiHiiLib & UefiIfrSupportLib. They are from MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6517 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 09:06:25 +00:00