jcarsey
4d0a4fcefe
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
2011-07-06 22:28:36 +00:00
jcarsey
ab94587a7d
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
2011-06-30 22:58:53 +00:00
jcarsey
366f81a016
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
2011-06-27 21:04:22 +00:00
mdkinney
e118a40b9d
Add ABS() macro (Absolute Value) to Base.h in MdePkg
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11819 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13 20:26:03 +00:00
jcarsey
a1d4bfcc3f
add comments to function declarations and definitions and updated to match coding style document.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11505 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-05 20:55:45 +00:00
jcarsey
ae724571be
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
2011-04-01 22:16:01 +00:00
jcarsey
0dc527e780
add absolute value MACRO.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11430 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 21:04:15 +00:00
jcarsey
4bbdc0e1bd
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
2011-03-25 21:03:58 +00:00
jcarsey
7d271d7b01
move include file line under #define protection.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11428 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 21:01:56 +00:00
jcarsey
ff51746bd4
update error handling to use less ASSERT.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11053 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 21:40:12 +00:00
jcarsey
a301fe0cc8
Clarify the MARCO a little.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11051 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 19:46:26 +00:00
jcarsey
0ab85bef03
move DeleteScriptFileStruct from a private to a public function. This allows for better memory cleanup when errors occur.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10906 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-04 16:26:29 +00:00
jcarsey
40d7a9cfaa
fix a misspelling.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10905 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-04 16:25:24 +00:00
jljusten
e26d7b5975
ShellPkg: Fix EFIAPI usage inconsistencies
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10888 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-17 20:08:57 +00:00
hhtian
fbec9c0f1c
copyright format update
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10875 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-14 12:22:42 +00:00
jcarsey
a405b86d27
udk2010.up2.shell initial release.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10874 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-14 05:18:09 +00:00
darylm503
7e4ed4b8c7
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
2010-09-08 14:46:38 +00:00
xdu2
90bfa227ee
Add some error checking.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10661 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-19 05:21:27 +00:00
hhtian
3a888f2a22
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10428 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24 12:12:42 +00:00
jcarsey
334f978ecc
adding prompting to library header
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9923 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 15:38:40 +00:00
jcarsey
1e6e84c7af
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
2010-01-25 20:05:08 +00:00
jcarsey
969c783b46
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
2010-01-13 16:46:33 +00:00
jcarsey
b3011f4041
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
2010-01-11 21:49:04 +00:00
jcarsey
18cefebe12
clean up comments
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9536 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 18:04:21 +00:00
jcarsey
11d2decf81
Adding StringNoCaseCompare to SortLib
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9535 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 18:04:03 +00:00
jcarsey
a5bd42b97d
corrected out of date comments
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9500 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-01 05:41:00 +00:00
xli24
2474e48aa7
Fix unicode issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9485 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-25 09:16:44 +00:00
jcarsey
36a9d67261
build break fix and new function
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9461 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 21:13:41 +00:00
jcarsey
a31bd33cf8
comment repairs.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9460 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 18:21:03 +00:00
jcarsey
ef34de257b
fixing errors found in code review.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9450 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-19 19:53:58 +00:00
jcarsey
125c2cf4f1
updating headers from code review.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9449 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-18 21:36:50 +00:00
qhuang8
b594c46658
Fix incorrect copyright format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9448 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-18 15:40:46 +00:00
qhuang8
550340889f
Fix GUID format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9444 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-18 05:59:10 +00:00
jcarsey
369d5f2e98
more errata
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9416 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-11 22:05:04 +00:00
jcarsey
ea109f6b71
updated for new errata
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9415 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-11 18:23:31 +00:00
jcarsey
941b356972
updated Alias, Map, and Env functions per errata.
...
added parameter direction to doxygen comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9406 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-10 20:23:01 +00:00
jcarsey
2247dde4b6
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
2009-11-09 18:08:58 +00:00
jcarsey
e7d41e1818
adding new include file. This file has the definitions for most shell data types that are non-standard. (ie SHELL_RETURN type)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9004 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 15:10:13 +00:00
jcarsey
4983ca934c
add:
...
1) sorting library
2) sorting test Application/ShellSortTestApp
update DEC and DSC for 2 additions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8938 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 19:33:35 +00:00
jcarsey
eb64668477
comment clarification
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8935 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 16:04:10 +00:00
jcarsey
94c5492c8a
fix parameter type
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8904 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-12 03:43:03 +00:00
mdkinney
e9880e2539
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
2009-07-11 19:33:25 +00:00
jcarsey
9eb53ac345
fixing build errors
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8824 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 17:26:58 +00:00
jcarsey
b82bfcc17f
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8681 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 16:28:23 +00:00
jljusten
322016e52d
Restore Include/Library/ShellCEntryLib.h. Cleanup function and
...
function prototype comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8634 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 21:40:29 +00:00
jcarsey
9b3bf083f7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8633 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 21:15:07 +00:00
jljusten
39157531c8
Fix build of ShellC Lib/App for GCC.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8582 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-17 08:02:21 +00:00
jcarsey
b8b6faa059
clarify content
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8565 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-16 01:04:29 +00:00
jcarsey
b1f95a06ca
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
2009-06-16 00:23:19 +00:00
jljusten
08d7f8e83d
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
2009-06-15 18:42:13 +00:00
qhuang8
69817bf8e0
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
2009-05-20 14:42:48 +00:00
jcarsey
d2b4564ba5
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
2009-05-11 18:02:16 +00:00
jcarsey
94b17fa1b6
First (Alpha) release of ShellPkg
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8256 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-07 18:46:18 +00:00