Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 9ed21946c76e430097e9c4e59b419af928e0cb8c
https://github.com/tianocore/edk2/commit/9ed21946c76e430097e9c4e59b419af928e0cb8c
Author: jaben carsey <[email protected]>
Date: 2016-02-09 (Tue, 09 Feb 2016)
Changed paths:
M ShellPkg/Application/Shell/FileHandleWrappers.c
M ShellPkg/Include/Library/ShellLib.h
M ShellPkg/Library/UefiShellLib/UefiShellLib.c
M ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Log Message:
-----------
ShellPkg: Fix ASCII and UNICODE file pipes.
Fix various errors when piping a UNICODE or ASCII file to a simple shell
application that reads standard input and writes it to standard output.
1) When the memory file is created by CreateFileInferfaceMem() to capture the
pipe output, no UNICODE BOM is written to the memory file. Later, when the
memory file is read by the application using ShellFileHandleReadLine(), the
function indicates that the file is ASCII because there is no BOM.
2) If the file is piped as ASCII, the ASCII memory image is not correctly
created by FileInterfaceMemWrite() as each ASCII character is followed by '\0'
in the image (when the ASCII data is written to the memory image, the file
position should only be incremented by half the buffer size).
3) ShellFileHandleReadLine() does not read ASCII files correctly (writes to
Buffer need to be cast as CHAR8*).
4) FileInterfaceMemRead() and FileInterfaceMemWrite() as somewhat hard to read
and difficult to debug with certain tools due to the typecasting of This. Added
a local variable (MemFile) of the correct type to these functions and used it
instead of This.
Enhancement: ShellFileHandleReadLine() now returns EFI_END_OF_FILE when
appropriate.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jim Dailey <[email protected]>
reviewed-by: Jaben Carsey <[email protected]>
Commit: 2dda8a12329700f9026236d83be4de9e5369f97f
https://github.com/tianocore/edk2/commit/2dda8a12329700f9026236d83be4de9e5369f97f
Author: Jim Dailey <[email protected]>
Date: 2016-02-10 (Wed, 10 Feb 2016)
Changed paths:
M ShellPkg/Library/UefiShellLib/UefiShellLib.c
Log Message:
-----------
ShellPkg: ShellFileHandleReadLine must return UCS2 lines.
An earlier change had this function returning the type of lines that were in
the file being read (ASCII or UCS2). The way it is used, UCS2 output is
expected, even when the file being read is ASCII. This change restores that
behavior and documents it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jim Dailey <[email protected]>
Tested-by: Ryan Harkin <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Commit: 3a01358bdb03284adf73de9a79638005f7851ac3
https://github.com/tianocore/edk2/commit/3a01358bdb03284adf73de9a79638005f7851ac3
Author: Jaben Carsey <[email protected]>
Date: 2016-02-10 (Wed, 10 Feb 2016)
Changed paths:
R ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc
R ArmPlatformPkg/ArmJunoPkg/ArmJuno.fdf
R ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA15-A7.dsc
R ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA15-A7.fdf
R ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc
R ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.fdf
R ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-A15_MPCore.dsc
R ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-A15_MPCore.fdf
M ArmPlatformPkg/Bds/Bds.c
R ArmPlatformPkg/Sec/AArch64/Arch.c
R ArmPlatformPkg/Sec/AArch64/Helper.S
R ArmPlatformPkg/Sec/AArch64/SecEntryPoint.S
R ArmPlatformPkg/Sec/Arm/Arch.c
R ArmPlatformPkg/Sec/Arm/Helper.S
R ArmPlatformPkg/Sec/Arm/Helper.asm
R ArmPlatformPkg/Sec/Arm/SecEntryPoint.S
R ArmPlatformPkg/Sec/Arm/SecEntryPoint.asm
R ArmPlatformPkg/Sec/Sec.c
R ArmPlatformPkg/Sec/Sec.inf
R ArmPlatformPkg/Sec/SecInternal.h
M Maintainers.txt
M ShellBinPkg/MinUefiShell/AArch64/Shell.efi
M ShellBinPkg/MinUefiShell/Arm/Shell.efi
M ShellBinPkg/UefiShell/AArch64/Shell.efi
M ShellBinPkg/UefiShell/Arm/Shell.efi
M ShellPkg/Library/UefiShellLib/UefiShellLib.c
Log Message:
-----------
Merge branch 'master' of https://github.com/tianocore/edk2
Commit: 62989e0bd2bf9bb22e15306d41feb6f677a6b4af
https://github.com/tianocore/edk2/commit/62989e0bd2bf9bb22e15306d41feb6f677a6b4af
Author: Jaben Carsey <[email protected]>
Date: 2016-02-10 (Wed, 10 Feb 2016)
Changed paths:
M EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
M EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf
M EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c
M EmbeddedPkg/EmbeddedPkg.dec
Log Message:
-----------
Merge branch 'master' of https://github.com/tianocore/edk2
Compare: https://github.com/tianocore/edk2/compare/bbff41c11fd3...62989e0bd2bf------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits