History log of /device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fbd2dfadfe6fb16ab7b49fca3764e05e65d97b8a 23-Oct-2015 Qiu Shumin <shumin.qiu@intel.com> ShellPkg: Follow spec to remove the last '\' char in return name of GetCurDir().

In Shell spec 2.1 the return name of EFI_SHELL_PROTOCOL.GetCurDir() is defined as 'fs0:\current-dir' while in current implementation it's 'fs0:\current-dir\'.
To follow spec the patch removed the redundant '\' char.

Since it has been broken for a long time, some codes may depend on the broken behavior.
After this change 'EFI_SHELL_PROTOCOL.GetCurDir()' and 'UefiShellLib.ShellGetCurrentDir()'
will return a current directory string without tailing '\' (fs0:\current-dir), the value of Shell environment variable 'cwd' will become 'fs0:\current-dir' as well.

This patch has updated all the code in EDKII to make them depend on the new behavior.
Developers should check whether 'GetCurDir()' and 'ShellGetCurrentDir' are used in their source code.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18653 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
658bf43ecfe96df1cdc005a15f0af1dcc79de09b 04-Nov-2014 jcarsey <jcarsey@Edk2> ShellPkg: Fix timezone command

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by : Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16300 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
74b0fb8c875ebdc0c5681ed125b5446a4a1cb07d 22-Nov-2013 Jaben Carsey <jaben.carsey@intel.com> ShellPkg: Add ShellHexStrToUintn to allow for simple conversion of hex numbers.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14893 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
365aa98a5dfba45b7ecfe04495cb28e9e05d2a45 04-Mar-2013 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> ShellPkg: Add ShellPrintHelp function to ShellLib.

This function allows for easier access to printing standard command help.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Matt Stanbro <Matthew.A.Stanbro@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14159 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
fb5278ef782a253cdb0daabe2184e165d889ce68 20-Feb-2013 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> ShellPkg: Added function ShellDeleteByName which deletes a file by name.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Matthew Stanbro <matthew.a.stanbro@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14138 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
37d5c6ee2f6283612fb2b12e52bd3fa47e7f4c39 14-Nov-2011 ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> Update comment for function header.

Signed-off-by: ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12691 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
b0934ac4b0cfae7f537fcc7f2b1c9124e59fda52 12-Nov-2011 darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> ShellPkg: Update comments for functions to clarify buffer origin.

Signed-off-by: darylm503
Reviewed-by: jljusten



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12687 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
4ff7e37b4f7e336a8ecb7080b8f48eef4b52d396 02-Sep-2011 ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> Refine comments and two code style.

Signed-off-by: ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12263 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
4d0a4fcefef53afdaae1f6db616123bfc7b0db08 07-Jul-2011 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> Move the 2 functions associated with reading whole lines at a single time from the shell command (internal) library to the ShellLib (external) library.

signed-off-by: jcarsey
reviewed-by: lgrosenb

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12000 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
366f81a016c11a59669cdfb5adb714e6f036f65f 27-Jun-2011 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> Clarify that the shared variables of the shell protocols are properly named.

This removes the non-shared gEfiShellProtocol and gEfiShellParametersProtocol and renames the shared version to those names.

This removes the m-versions of those protocol pointers.

signed-off-by: jcarsey
reviewed-by: darylm503

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11900 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
ae724571beb0cff6edefe42942b7cdc7aa81ee94 02-Apr-2011 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> Comment's added and fixed.

Pointer's checked for NULL before access and after memory allocations.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11499 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
4bbdc0e1bd5807c00a33e30dfc208e0e86b4c236 25-Mar-2011 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> FileHandleLib - use standard unicode file tag.
ShellCEntryLib - add #define protection.
ShellCommandLib - add optional sorting of command list.
ShellLib - add string-to-number with EFI_STATUS return value for verification.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11429 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
a405b86d274d32b92f69842bfb9a1ab143128f57 14-Sep-2010 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> udk2010.up2.shell initial release.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10874 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
7e4ed4b8c73f78f1893b3240b992d2b6e969bb6c 08-Sep-2010 darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> Fix HSD Tracker 204133.
Clarified the comment for the ShellExecute function.

Added text indicating that the EnvironmentVariables and Status parameters are ignored in a pre-UEFI Shell 2.0 environment and that the Output parameter is ignored in a UEFI Shell 2.0 environment.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10858 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
90bfa227eeb5737e3750d57b066348b381de2a70 19-Jul-2010 xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> Add some error checking.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10661 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
334f978eccac1720561b993cb5b868199433e7c1 03-Feb-2010 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> adding prompting to library header

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9923 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
1e6e84c7afd435db6e84ad84e71ddecdc9866042 25-Jan-2010 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> fixed license header / copyright date on all files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9810 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
969c783b4678ba894425d3f9f59e579203592b05 13-Jan-2010 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> adding new parameter to search and replace function to allow for easy skipping of items preceded by ^

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9726 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
b3011f40417e12cadf8840d095c590c68f0868a2 11-Jan-2010 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> updating comments mostly. also added some new lib functions.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9710 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
18cefebe1279a505b85f180bb7271ee316187856 07-Dec-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> clean up comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9536 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
a5bd42b97d08517a65eb1f00510a9e18e8fec0a6 01-Dec-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> corrected out of date comments

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9500 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
36a9d6726135a07601999f5394185f6333127109 20-Nov-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> build break fix and new function

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9461 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
a31bd33cf8089c0b0219a41afb06cf9b462a0ee3 20-Nov-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> comment repairs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9460 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
125c2cf4f152760920ee4b1e5d73e03daf02d394 18-Nov-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> updating headers from code review.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9449 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
2247dde4b69779fc55c23aeb06130b7296ae7401 09-Nov-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> Upgrade ShellLib and fix bug with param parsing

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9398 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
eb646684773d495e665c50d958d7e54088dffc82 13-Jul-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> comment clarification

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8935 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
e9880e25390e86a0f54d3f5224e65c8cf3d01568 11-Jul-2009 mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> Put EOF (End of File) on its own line for all source files. This is required for some compiler to build.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8896 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
9eb53ac3456f79fe107d7daf3e849c008375a28e 08-Jul-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> fixing build errors

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8824 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
b82bfcc17f4ba0abf31640eb9f26d5e271f79cf1 29-Jun-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8681 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
9b3bf083f7b6426372b77db7e041b0b4c22ec9c3 23-Jun-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8633 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
b1f95a06ca1a66ad15b3d8843fb4c7563c5350d2 16-Jun-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> Updating with new functions and adding "C" style entrypoint library with example application.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8564 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
08d7f8e83d17646d6170819fcb9ae1e17eb6199a 15-Jun-2009 jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> Fix ShellPkg build errors for UNIXGCC toolchain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8555 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
69817bf8e049f8a83fd24e85f6368fbd57e8d3ee 20-May-2009 qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> Fix several Unicode issues that fails VS2005.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8350 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
d2b4564ba50b095d5a5e00b9c7bebef004967d5e 11-May-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> fixed to build under IPF.
Refactored some commands into FileHandleLib since they are used in many binaries.
Added .h for GUID that was missing.
Added PCD for initialization of shell apps and shell itself in shell library interaction.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8295 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h
94b17fa1b669e55482efc7a8faec8c95e05d86ec 07-May-2009 jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> First (Alpha) release of ShellPkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8256 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/ShellLib.h