Branch: refs/heads/UDK2018
  Home:   https://github.com/tianocore/edk2
  Commit: e7e98746b1e8335e53ceca01f80c667e5019e396
      
https://github.com/tianocore/edk2/commit/e7e98746b1e8335e53ceca01f80c667e5019e396
  Author: Ruiyu Ni <ruiyu...@intel.com>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M ShellPkg/Application/Shell/FileHandleWrappers.c
    M ShellPkg/Application/Shell/ShellManParser.c

  Log Message:
  -----------
  ShellPkg/help: Fix "-?" may not show manual sometimes
Shell core was enhanced to find the manual string in PE resource
section. But the finding algorithm is too strict: If the manual is
written beginning with:
.TH command 0 "descripton of command"

but user types "COMMAND.efi -?". The finding algorithm uses
case-sensitive compare between "command" and "COMMAND" resulting
in the manual cannot be found.

The patch fixes this issue by using existing ManFileFindTitleSection
and ManFileFindSections which compare command case-insensitive.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu...@intel.com>
Reviewed-by: Jaben Carsey <jaben.car...@intel.com>
(cherry picked from commit 0a54cd4431c31ab2e72d880a55c31dd08f971cc4)


  Commit: e88e191cde85b5cf5d96e90daaa01747db27d943
      
https://github.com/tianocore/edk2/commit/e88e191cde85b5cf5d96e90daaa01747db27d943
  Author: Ruiyu Ni <ruiyu...@intel.com>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c
    M ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/TextEditorTypes.h
    M ShellPkg/Library/UefiShellDebug1CommandsLib/EditInputBar.c
    M ShellPkg/Library/UefiShellDebug1CommandsLib/EditInputBar.h
    M ShellPkg/Library/UefiShellDebug1CommandsLib/EditMenuBar.c
    M ShellPkg/Library/UefiShellDebug1CommandsLib/EditMenuBar.h
    M ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEditorTypes.h
    M ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c

  Log Message:
  -----------
  ShellPkg/[hex]edit: use SimpleTextInEx to read console

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=682

Edit and HexEdit commands assume that SimpleTxtIn translates
Ctrl+<Alpha-Key> key combinations into Unicode control characters
(0x1-0x1A).

Such translation does not seem to be required by the UEFI spec.
Shell should not rely on implementation specific behavior.
It should instead use SimpleTextInEx to read Ctrl+<Alpha-Key> key
combinations.

The patch changes edit and hexedit to only consumes SimpleTextInEx
so that the implementation specific behavior dependency is removed.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu...@intel.com>
Reported-by: Felix <fel...@mail.ru>
Cc: Felix <fel...@mail.ru>
Reviewed-by: Jaben Carsey <jaben.car...@intel.com>
(cherry picked from commit 5563281fa2b31093a1cbd415553b9264c5136e89)


  Commit: 6740ed22190769f3b31e246ac4527b6e59444507
      
https://github.com/tianocore/edk2/commit/6740ed22190769f3b31e246ac4527b6e59444507
  Author: Ruiyu Ni <ruiyu...@intel.com>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c
    M ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c

  Log Message:
  -----------
  ShellPkg/[hex]edit: Fix wrongly use gST->ConIn as the console handle

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu...@intel.com>
Reviewed-by: Jaben Carsey <jaben.car...@intel.com>
(cherry picked from commit f110b7734bffe3e573ab06f0efbcb80a7bb137d4)


Compare: https://github.com/tianocore/edk2/compare/49a776c9adaf...6740ed221907
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to