Jason Edmeades
3c05818515
cmd: Add support for calling a built in command.
2012-10-17 11:59:34 +02:00
Jason Edmeades
dccccfc273
cmd: Handle very odd delimiter support for command line.
2012-10-17 11:57:23 +02:00
Jason Edmeades
f45f75ca7d
cmd: %* expands to first non-whitespace delimiter of first arg.
2012-10-16 11:45:13 +02:00
Jason Edmeades
4236c2007d
cmd: Identify the program name using more appropriate parsing.
2012-10-16 11:44:49 +02:00
Jason Edmeades
25cf0aa046
cmd: cmd /c "pgmname" searches all extensions on PATHEXT.
2012-10-16 11:44:32 +02:00
Jason Edmeades
89b8868ae0
cmd: Rework parameter parsing for WCMD_Copy.
2012-10-15 15:25:07 +02:00
Jason Edmeades
270163f380
cmd: Fix regression around prompting during copy.
2012-10-15 15:25:05 +02:00
Jason Edmeades
f252e9dfc8
cmd: Change command line parsing away from argv/argc.
2012-10-03 11:24:13 +02:00
Jason Edmeades
88f14bb590
cmd: Fix basic cmd.exe /c "echo hello" type syntax.
...
Add checks for existance of command to run in order to keep the
new quote handling capabilities of cmd.exe /C or /K. If the command
cannot be found, drop back to /S processing mode as per cmd.exe help.
2012-10-02 14:08:36 +02:00
Jason Edmeades
b1dacc6c37
cmd: cmd.exe /c or /k should suppress copy overwrite prompts.
2012-10-02 14:08:36 +02:00
Jason Edmeades
4e10456bf6
cmd: Ensure current directory saved during cmd /c.
2012-10-01 14:31:33 +02:00
Francois Gouget
906127fe29
Assorted spelling fixes.
2012-10-01 12:07:41 +02:00
Frédéric Delanoy
8b3d494247
cmd: Spelling fixes.
2012-09-28 17:14:34 +02:00
Jason Edmeades
a810e41e47
cmd: Echo back command with whitespace removed first.
2012-09-26 17:49:11 +02:00
Jason Edmeades
2ff533c1f2
cmd: Support for ^ character at end of line.
...
Based on a patch by John Chow.
2012-09-26 17:48:59 +02:00
Jason Edmeades
d8c0fbcedc
cmd: Add circumflex support into command shell.
2012-09-26 17:48:24 +02:00
Jason Edmeades
e35b239b41
cmd: Fix parameterization around delimiters.
2012-09-26 17:47:20 +02:00
Jason Edmeades
ebd1810918
cmd: Space does not delimit environment variable names.
2012-09-06 18:23:40 +02:00
Frédéric Delanoy
0e4ceb9a8d
cmd: Use BOOL instead of int for boolean variables.
2012-03-29 20:49:18 +02:00
Frédéric Delanoy
668e44ab26
cmd: Respect constant wide strings naming convention.
2012-02-13 12:29:34 +01:00
Alexandre Julliard
3c8d8f1e95
cmd: START needs to be an internal command.
2012-02-11 16:12:01 +01:00
Alexandre Julliard
c9eee73450
makefiles: Define __WINESRC__ when building programs.
2012-01-23 16:07:37 +01:00
Frédéric Delanoy
0b358703ca
cmd: Avoid unreachable code (Coverity).
2012-01-03 19:28:22 +01:00
Frédéric Delanoy
dbdf927e74
cmd: Merge two if blocks.
2011-12-20 20:24:10 +01:00
Frédéric Delanoy
15f65a0792
cmd: Avoid dead assignment (Clang).
2011-12-07 17:50:03 +01:00
Francois Gouget
8ef901fa32
cmd: Use FormatMessage() for better internationalization support.
...
This makes it possible to reorder the format string placeholders in message translations.
2011-12-06 18:23:49 +01:00
Frédéric Delanoy
a5becedd0e
cmd: Reorder global vars declarations/definitions to improve readability.
2011-11-30 11:44:13 +01:00
Frédéric Delanoy
ad81871f15
cmd: Move a global var to the file using it.
2011-11-30 11:43:21 +01:00
Frédéric Delanoy
513ee9a3aa
cmd: Rename unicodePipes variable.
2011-11-29 16:48:33 +01:00
Frédéric Delanoy
1a8df977ac
cmd: Reduce the scope of a global variable.
2011-11-29 16:48:22 +01:00
Frédéric Delanoy
51b05c72d7
cmd: Use boolean types for boolean variables.
2011-11-29 16:48:12 +01:00
Frédéric Delanoy
2820ed9764
cmd: Remove an unused global variable.
2011-11-29 16:47:58 +01:00
Eric Pouech
6faea5a606
cmd: Correctly parse program name when launching external processes.
2011-11-29 13:25:55 +01:00
Francois Gouget
3b72928464
cmd: Use WCMD_output_asis*() for strings that are not supposed to contain formating directives.
2011-11-25 17:16:11 +01:00
Frédéric Delanoy
de7841b2ce
cmd: Move builtins list to builtins.c.
2011-11-21 15:34:58 +01:00
Frédéric Delanoy
5fc25686a4
cmd: Avoid duplication of commonly used strings.
2011-11-15 11:45:58 +01:00
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