Frédéric Delanoy
|
6221e300bc
|
cmd: Avoid comparison between signed and unsigned values.
|
2011-11-08 13:55:14 +01:00 |
Frédéric Delanoy
|
41a9450440
|
cmd: Avoid unnecessary null pointer checks.
|
2011-10-31 16:48:26 +01:00 |
Frédéric Delanoy
|
d19455e895
|
cmd: Rename WCMD_opt_s_strip_quotes function.
|
2011-10-19 16:38:52 +02:00 |
Frédéric Delanoy
|
5e3cb1867b
|
cmd: Infer handle type from handle value in WCMD_fgets and WCMD_ReadAndParseLine.
|
2011-10-06 16:46:41 -05:00 |
Frédéric Delanoy
|
63e11558b6
|
cmd: Improve handle type recognition in WCMD_ReadFile.
|
2011-10-05 16:59:48 -05:00 |
Frédéric Delanoy
|
aee397a317
|
cmd: Output error messages to stderr instead of stdout where appropriate.
|
2011-10-03 09:45:43 -05:00 |
Frédéric Delanoy
|
29b57ca82d
|
cmd: Get rid of unused parameter in WCMD_ReadFile.
|
2011-09-28 17:29:24 +02:00 |
Frédéric Delanoy
|
d6f4f7308a
|
cmd: Avoid checking whether we're in console mode for every read.
|
2011-09-28 17:29:10 +02:00 |
Frédéric Delanoy
|
fbddecab77
|
cmd: Add WCMD_output_stderr function to output error messages to stderr.
|
2011-09-26 22:42:01 +02:00 |
Frédéric Delanoy
|
e5565a6d64
|
cmd: Use helper function to return file io buffer.
|
2011-09-26 22:42:01 +02:00 |
Frédéric Delanoy
|
a536004f34
|
cmd: Improve WCMD_volume documentation.
|
2011-09-23 12:43:53 +02:00 |
Frédéric Delanoy
|
c4db72f50e
|
cmd: verify_mode has BOOL type instead of int.
|
2011-09-16 17:24:19 +02:00 |
Frédéric Delanoy
|
b3561bf82e
|
cmd: echo_mode has BOOL type instead of int.
|
2011-09-16 17:24:18 +02:00 |
Frédéric Delanoy
|
9bf515974d
|
cmd: Make some variables static.
|
2011-09-14 17:27:20 +02:00 |
Christian Costa
|
faa23d2a16
|
cmd: Move externals list at the same place as the builtins one so it's easier to known how a command is implemented.
|
2011-09-12 11:10:53 +02:00 |
Frédéric Delanoy
|
4c3c2b121e
|
cmd: Backup echo mode before running external batch file.
|
2011-09-09 16:09:58 +02:00 |
Frédéric Delanoy
|
3627c28958
|
cmd: Add an output parameter to WCMD_parameter to point to the end of the extracted param, if requested.
|
2011-09-08 20:08:07 +02:00 |
Christian Costa
|
4aa865ed76
|
cmd: Remove attrib from builtins list.
|
2011-09-07 11:35:58 +02:00 |
Christian Costa
|
7b41ffbf61
|
attrib: Move implementation from cmd.exe to the standalone command.
|
2011-09-06 13:25:50 +02:00 |
Frédéric Delanoy
|
54c2f6491d
|
cmd: Get rid of obsolete autoexec.bat handling code.
|
2011-09-06 12:23:56 +02:00 |
Frédéric Delanoy
|
c1c76d279e
|
cmd: Add WCMD_output_asis_stderr function.
|
2011-08-30 16:55:46 +02:00 |
Frédéric Delanoy
|
93a68fa659
|
cmd: Avoid reading garbage when looking for redirection handle.
|
2011-08-29 13:55:47 +02:00 |
Frédéric Delanoy
|
bbdaed2f33
|
cmd: Fix redirection handle parsing.
|
2011-08-29 13:55:41 +02:00 |
Frédéric Delanoy
|
ef70d88be0
|
cmd: Make some WCHAR arrays static.
|
2011-08-26 11:32:35 +02:00 |
Frédéric Delanoy
|
eda33f22ff
|
cmd: Fix if/else tab handling.
|
2011-08-25 14:51:02 +02:00 |
Frédéric Delanoy
|
6d3fd3abcd
|
cmd: Fix REM tab handling.
|
2011-08-25 14:50:51 +02:00 |
Frédéric Delanoy
|
f37ab586d8
|
cmd: Skip tabs as well as spaces in WCMD_skip_leading_spaces.
|
2011-08-25 14:50:38 +02:00 |
Frédéric Delanoy
|
7b125126a7
|
cmd: Fix FOR tab handling.
|
2011-08-25 14:50:31 +02:00 |
Frédéric Delanoy
|
20fa3fe802
|
cmd: Fix FOR tab handling.
|
2011-08-24 14:01:13 +02:00 |
Frédéric Delanoy
|
ff501904a7
|
cmd: Constify some function parameters.
|
2011-08-23 16:53:50 +02:00 |
Frédéric Delanoy
|
bb47576f59
|
cmd: Rename WCMD_strtrim_leading_spaces to WCMD_skip_leading_spaces to better reflect its purpose.
|
2011-08-23 16:53:50 +02:00 |
Frédéric Delanoy
|
0758390607
|
cmd: Clarify some trace messages.
|
2011-08-23 16:53:50 +02:00 |
Frédéric Delanoy
|
d1731eb98a
|
cmd: Use CSTR_* instead of hardcoded values as result of CompareStringW.
|
2011-08-23 16:53:49 +02:00 |
Frédéric Delanoy
|
71a237d478
|
cmd: Fix handling of lines starting with echo. or echo:.
|
2011-08-05 16:41:14 +02:00 |
Dan Kegel
|
15ce9a5784
|
cmd: mkdir: Handle multiple arguments.
|
2011-08-03 17:44:53 +02:00 |
Frédéric Delanoy
|
8b73720d4e
|
cmd: Fix some comments.
|
2011-07-27 12:28:26 +02:00 |
Frédéric Delanoy
|
f43297f989
|
cmd: Do not show prompt when echo mode is off.
|
2011-07-15 17:07:46 +02:00 |
Frédéric Delanoy
|
123d5d0d60
|
cmd: Output a empty line before version in VER.
|
2011-07-15 17:03:17 +02:00 |
Dan Kegel
|
32ea7d1f2e
|
cmd: WCMD_delete: fix /s for dirnames containing spaces, add test.
|
2011-06-02 17:24:58 +02:00 |
Dan Kegel
|
1857a05996
|
cmd: Don't read past end of thisVar in WCMD_expand_envvar (valgrind).
|
2011-05-26 15:23:57 +02:00 |
Detlef Riekenberg
|
7045e478a8
|
cmd: Add CHOICE builtin with DOS6 to XP commandline parameter.
|
2010-12-20 12:47:41 +01:00 |
Alexandre Goujon
|
4cd2a0e542
|
cmd: Add a space at the end of the first echo'ed batch line.
|
2010-11-08 18:13:36 +01:00 |
Michael Stefaniuc
|
71e647fe51
|
cmd: Don't treat all command lines with '/?' as builtin commands.
|
2010-06-22 11:22:55 +02:00 |
Yann Droneaud
|
727df7a2ef
|
cmd: Fixed uninitialised field in WCMD_addCommand() (Valgrind).
|
2010-03-15 13:42:08 +01:00 |
Arjun Comar
|
a607f53779
|
cmd: Fix cmd to take /? as a help parameter.
|
2010-03-04 17:31:05 +01:00 |
Paul Vriens
|
4064efdc27
|
cmd: Fix a memory leak (Valgrind).
|
2010-02-23 12:06:51 +01:00 |
Dan Kegel
|
b6e8e13599
|
cmd: Fix echoing of multiline commands.
|
2010-01-04 11:41:28 +01:00 |
Dan Kegel
|
27235ecb65
|
cmd: Echoed prompts are preceded by a blank line.
|
2010-01-04 11:41:28 +01:00 |
Andrew Nguyen
|
f06cb3e6c0
|
cmd: Set the PROMPT environment variable on startup.
|
2009-12-31 12:12:18 +01:00 |
Austin English
|
cc72c4d346
|
cmd: Use DOS newlines, not UNIX.
|
2009-12-23 14:27:31 +01:00 |