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/Library/UefiShellLevel2CommandsLib/Ls.c
|
1a670f639b8621d151e80a31f1fbfaf7a7441bb6 |
|
26-Jul-2015 |
Andrew Fish <afish@apple.com> |
ShellPkg: Fix bad TimeZone (TZ) conversion. EFI_UNSPECIFIED_TIMEZONE means display local time. TZ of 0 is UTC. Thus EFI_UNSPECIFIED_TIMEZONE means ignore TZ, 0 means UTC. When this code is fixed to adust file TZ to local TZ you need to preserve EFI_UNSPECIFIED_TIMEZONE. FAT always return EFI_UNSPECIFIED_TIMEZONE. Modern filesystems, HFS+, NTFS, ext3, etc store time in UTC. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Andrew Fish <afish@apple.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18051 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
c011b6c9e2baf57fc0557117e9875ceb3dca55a3 |
|
04-Feb-2015 |
Tapan Shah <tapandshah@hp.com> |
ShellPkg: Standardized HP Copyright Message String Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah <tapandshah@hp.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16759 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
099e8ff5d2876b1d1606c3424114969946c15173 |
|
03-Feb-2015 |
Tapan Shah <tapandshah@hp.com> |
ShellPkg: Update Level2 profile commands response output Updates to Level2 profile commands response output. Updating Level2 profile commands source code to include command name as a prefix in error message. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah <tapandshah@hp.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16730 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
8a3146d46cea07829a0948f0848db04784541cea |
|
29-Aug-2014 |
Tapan Shah <tapandshah@hp.com> |
Add CTRL+C support for ‘ls’ command. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah <tapandshah@hp.com> Reviewed-By: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15989 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
4f344fffc7fb541d11edf4cf657f84549b334244 |
|
07-Mar-2014 |
Shumin Qiu <shumin.qiu@intel.com> |
1.Add code to check the pointer 'CorrectedPath' in Ls.c line 460 before referenced. 2.Not use explicit comparisons to TRUE or FALSE for Boolean variable in Ls.c. 3.Add doxygen tags in comment and return type for 'ToLower' in ShellProtocol.c. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shumin Qiu <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@15320 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
3a8406adb367e8b0d2f107adfc6c141b953d938d |
|
25-Feb-2014 |
Shumin Qiu <shumin.qiu@intel.com> |
Add code to check whether the pointer 'CorrectedPath' and 'FullPath' are NULL before used. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shumin Qiu <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@15260 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
929fb3be4169eb520272056c00b11bb3fb3f6458 |
|
18-Feb-2014 |
Jaben Carsey <Jaben.Carsey@intel.com> |
ShellPkg: Update "ls" command to better handle "-r" parameter This makes sure that recursion into sub directories looks through all subdirectories, not just those that match the initial search pass. Also only prints out any information for directories in which at least one matching file is found. 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@15250 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
7bc3ec3d80985b10bf8f4f9c4203ccd8c1cd6e7e |
|
28-Jan-2014 |
Shumin Qiu <shumin.qiu@intel.com> |
1. Fix several comments in function headers for 'ShellProtocol.c', 'ShellProtocol.h' and 'Ls.c'. 2. Remove the initialization of variable 'CalleeExitStatus' in function 'RunScriptFileHandle' of 'Shell.c' from its declarartion. Signed-off-by: Shumin Qiu <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@15190 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
fed3be946c8bff1372e106eec8cfd73524036ceb |
|
24-Jan-2014 |
Jaben Carsey <jaben.carsey@intel.com> |
ShellPkg: Refactor Print logic out of main loop function This has no change in the behavior of the LS command, but it removes the printing logic from the main recursive function. This is the first step toward changing the code flow without affecting the look and feel. The long term goal is correcting the recursion to be more clean and useful to users. 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@15179 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
012305d551c953b6581ec38ef4534355e428cc8e |
|
10-Jan-2014 |
Jaben Carsey <jaben.carsey@intel.com> |
ShellPkg: remove double free operation This pointer gets free twice and this does not work. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15094 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
58b7301ec9fc8df2b3955b1c04d304730538ed27 |
|
18-Oct-2013 |
Chris Phillips <chrisp@hp.com> |
ShellPkg: Fixes for the ‘ls’ command: - Better output to print header and file not found text - Fix file attribute argument handling - Fix so path ending with ‘\’ or ‘*’ is handled correctly Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips <chrisp@hp.com> reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14786 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
74fa83fda6be6277044619276d0f1391e72e54a2 |
|
02-Feb-2012 |
jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> |
ShellPkg: fix 'ls' handling of empty drives where there is not even an "." or ".." directory. Signed-off-by: jcarsey Reviewed-by: winddy_zhang@byosoft.com.cn git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12981 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
a7224eefeb3b7e51b82ecfd174553b91d6c2340e |
|
11-Jan-2012 |
jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> |
ShellPkg: Check for Abort flag in main 'for' loop of ls command and propagate the condition when found. Also prevents printing of an error output when user selects abort. signed-off-by: jcarsey reviewed-by: git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12925 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
ab94587a7d2cd89695f9190420daceae0d2b7446 |
|
01-Jul-2011 |
jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> |
This refactors 3 functions out of ShellCommandLib and puts them into a new library (but as 2 functions instead of 3). This allows for users outside of the shell itself to have access to these functions. 1) Remove the 3 functions out of the shell's internal library (ShellCommandLib) 2) Add a new library class (PathLib) 3) Add an instance of this class (BasePathLib) 4) Change all internal shell callers to use this new library class. signed-off-by: jcarsey reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11936 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
2e8e9ed5ed0a348946c585ceecf611a2cec7f6da |
|
26-May-2011 |
jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> |
Remove ASSERT within Ls for RTC error and associated changes. TimeDate.c: replace magic number with constant. Ls.c: use new warning printout string and remove an ASSERT. also replace magic number with constant. The UNI file: add new warning printout string. Signed-off-by: jcarsey Reviewed-by: geekboy15a Reviewed-by: lgrosenb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11703 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
2ec013ce0f9524f140de23810999ed8a62086fc3 |
|
29-Mar-2011 |
jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> |
clarify error message when listing files based on a metaname without a current working directory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11450 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
b54fd049bdfa0d9520a40d8a1783aa681b40d751 |
|
25-Mar-2011 |
jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> |
Cd - add more input verification. Cp - support "\" as root of drive indicator. Load - invert "-nc" to not connect. Ls - ignore archive file attribute. Map - add more input verification. fix add by handle. Mv - support overwrite question. support "\" as root of drive indicator. Parse - add comments. Rm - add comments. TimeDate - add more input verification. add comments. Vol - add new command. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11426 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
9ea69f8a05b808b4bab81b608436a02e2f2fba09 |
|
04-Oct-2010 |
jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> |
Verify memory allocations were successful. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10909 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
|
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/Library/UefiShellLevel2CommandsLib/Ls.c
|