Commit graph

10 commits

Author SHA1 Message Date
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
Timo Kreuzer d47bb60c1c [REACTOS] Replace comparison against TRUE with comparison against FALSE
Based on patch by Love Nystrom

svn path=/trunk/; revision=76021
2017-10-01 14:42:04 +00:00
Amine Khaldi d12708671c [BASE] Spelling fixes by Josh Soref. CORE-12286
svn path=/trunk/; revision=73133
2016-11-05 14:55:55 +00:00
Hermès Bélusca-Maïto 330db984fe [DISKPART][NET][WLANCONF]
Make those command tools use the console uilities library, aka. solve all those problems of wrong characters on the console...
CORE-10584 #resolve

[CONUTILS]: Remove the now unneeded compatibility defines.
CORE-10504

svn path=/trunk/; revision=72933
2016-10-07 22:50:32 +00:00
Eric Kohl 75b8f2bb9f [DISKPART]
Speed up the interpreter a bit. Patch by Lee Schroeder.
CORE-9925 #resolve #comment Thank's a lot!

svn path=/trunk/; revision=68475
2015-07-20 19:47:08 +00:00
Eric Kohl e2b784bd7b [DISKPART]
* Simplified the help system
* Removed an unnecessary check in the help system that listed the first help entry 'active' no matter what was entered into the help system, even if the word is not in the list.
* Removed exit_main and rem_main functions since it took a little extra processing time and made the code a bit harder to read. Now it determines if the given command is rem or exit first before looking through the entire function list.
* Converted WCHAR* to LPWSTR to make it a bit easier to read.
* Add a title to the program to make it easier for the user to determine the name of the application currently running, especially if a large script is being used. 

Patch by Lee Schroeder.
Thanks!
CORE-7187 #resolve #comment Committed in r79104.

svn path=/trunk/; revision=59104
2013-05-29 11:40:43 +00:00
Roel Messiant e36d4c8c40 [DISKPART]
- Correct command processing following the first command in interactive mode.
- Correct invocation of command-specific help functions.

svn path=/trunk/; revision=57447
2012-09-30 22:25:26 +00:00
Thomas Faber cbe2bd44d0 [DISKPART]
- Rewrite argument parsing. Patch by Lee Schroeder.
See issue #7170 for more details.

svn path=/trunk/; revision=56966
2012-07-24 20:23:24 +00:00
Eric Kohl 813bcdc401 [DISKPART]
- Add a simple usage function (/? option).
- Simplify the interpreter loop a little bit.

svn path=/trunk/; revision=54241
2011-10-23 12:04:48 +00:00
Eric Kohl f7125a502c Add the Diskpart utility by Lee Schroeder (milawynsrealm).
The following modifications were made:
- Removed the help texts because they were copied from Windows Diskpart.
- Used a single string resource per help text.
- Used only Unicode strings and Unicode string functions.
- Replaced the giant if-statement in the command dispatcher in interpreter.c by a command-table and a little loop.
- Improved the command-line parser. Argument count and argument vector are passed to the command and help functions for easy evaluation.
- Moved the help function for commands into the command specific file.

TODO:
- Implement all commands as the utility is only an empty frame.
- Add help texts.
- Translate help texts.
See issue #6402 for more details.

svn path=/trunk/; revision=53826
2011-09-24 10:33:33 +00:00