[edk2] [PATCH 0/7] Mark [Ascii|Unicode]ValueToString as deprecated

Hao Wu posted 7 patches 7 years, 8 months ago
Failed in applying to current master (apply log)
IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c       | 12 ++-
IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c   | 20 ++++-
IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c                  | 15 +++-
IntelFrameworkModulePkg/Universal/BdsDxe/MemoryTest.c                 |  6 +-
MdeModulePkg/Application/UiApp/FrontPage.c                            | 15 +++-
MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c         | 12 ++-
MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c               | 20 ++++-
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleReportLib.c           | 10 ++-
MdeModulePkg/Library/DxeNetLib/DxeNetLib.c                            | 24 ++++-
MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c             | 12 +++
MdeModulePkg/Library/UefiHiiLib/HiiLib.c                              | 29 +++++-
MdeModulePkg/Universal/CapsulePei/UefiCapsule.c                       | 18 +++-
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c             | 10 ++-
MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c                 | 37 +++++---
MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c          | 29 +++++-
MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c                 | 47 ++++++++--
MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigImpl.c         | 14 ++-
MdeModulePkg/Universal/PrintDxe/Print.c                               | 92 +++++++++++++++++++-
MdeModulePkg/Universal/SetupBrowserDxe/Expression.c                   | 11 ++-
MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c                     |  4 +-
MdeModulePkg/Universal/SetupBrowserDxe/Setup.c                        | 38 ++++++--
MdePkg/Include/Library/PrintLib.h                                     | 12 +++
MdePkg/Library/BasePrintLib/PrintLib.c                                | 12 +++
Nt32Pkg/Library/PlatformBootManagerLib/MemoryTest.c                   |  6 +-
SignedCapsulePkg/Universal/RecoveryModuleLoadPei/ParseConfigProfile.c | 10 ++-
SignedCapsulePkg/Universal/SystemFirmwareUpdate/ParseConfigProfile.c  | 10 ++-
26 files changed, 443 insertions(+), 82 deletions(-)
[edk2] [PATCH 0/7] Mark [Ascii|Unicode]ValueToString as deprecated
Posted by Hao Wu 7 years, 8 months ago
This patch series cleans up the usage of the following 2 PrintLib APIs:
UnicodeValueToString & AsciiValueToString

and replaces them with:
UnicodeValueToStringS & AsciiValueToStringS

The series also marks [Ascii|Unicode]ValueToString with the macro
'DISABLE_NEW_DEPRECATED_INTERFACES', indicating they are deprecated.

Cc: Jiewen Yao <jiewen.yao@intel.com>

Hao Wu (7):
  IntelFrameworkModulePkg: Replace [Ascii|Unicode]ValueToString
  MdeModulePkg: Replace [Ascii|Unicode]ValueToString
  Nt32Pkg: Replace [Ascii|Unicode]ValueToString
  SignedCapsulePkg: Replace [Ascii|Unicode]ValueToString
  MdeModulePkg/PrintDxe: Handle the deprecation of [A|U]ValueToString
  MdeModulePkg/PrintLib: Add deprecated flag for APIs [A|U]ValueToString
  MdePkg/BasePrintLib: Add deprecated flag for APIs [A|U]ValueToString

 IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c       | 12 ++-
 IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c   | 20 ++++-
 IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c                  | 15 +++-
 IntelFrameworkModulePkg/Universal/BdsDxe/MemoryTest.c                 |  6 +-
 MdeModulePkg/Application/UiApp/FrontPage.c                            | 15 +++-
 MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c         | 12 ++-
 MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c               | 20 ++++-
 MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleReportLib.c           | 10 ++-
 MdeModulePkg/Library/DxeNetLib/DxeNetLib.c                            | 24 ++++-
 MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c             | 12 +++
 MdeModulePkg/Library/UefiHiiLib/HiiLib.c                              | 29 +++++-
 MdeModulePkg/Universal/CapsulePei/UefiCapsule.c                       | 18 +++-
 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c             | 10 ++-
 MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c                 | 37 +++++---
 MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c          | 29 +++++-
 MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c                 | 47 ++++++++--
 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigImpl.c         | 14 ++-
 MdeModulePkg/Universal/PrintDxe/Print.c                               | 92 +++++++++++++++++++-
 MdeModulePkg/Universal/SetupBrowserDxe/Expression.c                   | 11 ++-
 MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c                     |  4 +-
 MdeModulePkg/Universal/SetupBrowserDxe/Setup.c                        | 38 ++++++--
 MdePkg/Include/Library/PrintLib.h                                     | 12 +++
 MdePkg/Library/BasePrintLib/PrintLib.c                                | 12 +++
 Nt32Pkg/Library/PlatformBootManagerLib/MemoryTest.c                   |  6 +-
 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/ParseConfigProfile.c | 10 ++-
 SignedCapsulePkg/Universal/SystemFirmwareUpdate/ParseConfigProfile.c  | 10 ++-
 26 files changed, 443 insertions(+), 82 deletions(-)

-- 
1.9.5.msysgit.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH 0/7] Mark [Ascii|Unicode]ValueToString as deprecated
Posted by Gao, Liming 7 years, 8 months ago
The change in PrintLib and PrintDxe (Patch 5~7) are good to me. 

Reviewed-by: Liming Gao <liming.gao@intel.com>

Thanks
Liming
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Hao Wu
Sent: Tuesday, February 21, 2017 7:35 PM
To: edk2-devel@lists.01.org
Cc: Wu, Hao A <hao.a.wu@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>
Subject: [edk2] [PATCH 0/7] Mark [Ascii|Unicode]ValueToString as deprecated

This patch series cleans up the usage of the following 2 PrintLib APIs:
UnicodeValueToString & AsciiValueToString

and replaces them with:
UnicodeValueToStringS & AsciiValueToStringS

The series also marks [Ascii|Unicode]ValueToString with the macro
'DISABLE_NEW_DEPRECATED_INTERFACES', indicating they are deprecated.

Cc: Jiewen Yao <jiewen.yao@intel.com>

Hao Wu (7):
  IntelFrameworkModulePkg: Replace [Ascii|Unicode]ValueToString
  MdeModulePkg: Replace [Ascii|Unicode]ValueToString
  Nt32Pkg: Replace [Ascii|Unicode]ValueToString
  SignedCapsulePkg: Replace [Ascii|Unicode]ValueToString
  MdeModulePkg/PrintDxe: Handle the deprecation of [A|U]ValueToString
  MdeModulePkg/PrintLib: Add deprecated flag for APIs [A|U]ValueToString
  MdePkg/BasePrintLib: Add deprecated flag for APIs [A|U]ValueToString

 IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c       | 12 ++-
 IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c   | 20 ++++-
 IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c                  | 15 +++-
 IntelFrameworkModulePkg/Universal/BdsDxe/MemoryTest.c                 |  6 +-
 MdeModulePkg/Application/UiApp/FrontPage.c                            | 15 +++-
 MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c         | 12 ++-
 MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c               | 20 ++++-
 MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleReportLib.c           | 10 ++-
 MdeModulePkg/Library/DxeNetLib/DxeNetLib.c                            | 24 ++++-
 MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c             | 12 +++
 MdeModulePkg/Library/UefiHiiLib/HiiLib.c                              | 29 +++++-
 MdeModulePkg/Universal/CapsulePei/UefiCapsule.c                       | 18 +++-
 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c             | 10 ++-
 MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c                 | 37 +++++---
 MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c          | 29 +++++-
 MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c                 | 47 ++++++++--
 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigImpl.c         | 14 ++-
 MdeModulePkg/Universal/PrintDxe/Print.c                               | 92 +++++++++++++++++++-
 MdeModulePkg/Universal/SetupBrowserDxe/Expression.c                   | 11 ++-
 MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c                     |  4 +-
 MdeModulePkg/Universal/SetupBrowserDxe/Setup.c                        | 38 ++++++--
 MdePkg/Include/Library/PrintLib.h                                     | 12 +++
 MdePkg/Library/BasePrintLib/PrintLib.c                                | 12 +++
 Nt32Pkg/Library/PlatformBootManagerLib/MemoryTest.c                   |  6 +-
 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/ParseConfigProfile.c | 10 ++-
 SignedCapsulePkg/Universal/SystemFirmwareUpdate/ParseConfigProfile.c  | 10 ++-
 26 files changed, 443 insertions(+), 82 deletions(-)

-- 
1.9.5.msysgit.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel