Commit graph

199 commits

Author SHA1 Message Date
Jason Edmeades
dd0b719a3a cmd: Avoid infinite loop running batch program. 2013-06-05 17:31:36 +02:00
Jason Edmeades
56a33a8c55 cmd: set "var=value" ignores trailing characters. 2013-06-05 11:45:19 +02:00
Jason Edmeades
dc4dd0cb97 cmd: Fix handling of redundant information on goto/labels. 2013-06-04 21:01:13 +02:00
Piotr Caban
743a42b259 cmd: Fixed memory leak in WCMD_run_program. 2013-03-01 18:03:30 +01:00
Francois Gouget
a5ff4b8088 Assorted spelling fixes. 2013-01-29 12:13:04 +01:00
Piotr Caban
e727e44dfa cmd: Even if FindExecutable fails wait for process to finish in non-interactive mode. 2013-01-17 12:15:28 +01:00
Jason Edmeades
0b00b717b9 cmd: Add beginnings of support for delayed expansion. 2013-01-07 11:15:23 +01:00
Frédéric Delanoy
5188f08bf4 cmd: Remove dead assignments (clang). 2012-12-20 12:00:45 +01:00
Frédéric Delanoy
40a69ae868 cmd: Remove dead assignment (clang). 2012-12-19 14:38:59 +01:00
Jason Edmeades
64d7151669 cmd: Wait for command to complete when spawned through cmd /c. 2012-11-30 11:44:09 +01:00
Jason Edmeades
fc847f868c cmd: Change what 'ver' issues. 2012-11-28 20:14:54 +01:00
Jacek Caban
08c17ada57 cmd: Added HeapFree wrapper. 2012-11-16 11:40:36 +01:00
Jacek Caban
c6d24089db cmd: Make allocation unfailable. 2012-11-15 21:21:53 +01:00
Jason Edmeades
ae4571fb79 cmd: Fix for loops within for loops. 2012-11-06 16:02:41 +01:00
Jason Edmeades
7c3f3d09dd cmd: Don't overflow parameter length when copying substring. 2012-11-06 16:02:38 +01:00
Frédéric Delanoy
16d5f457e2 cmd: Display a clearer error message for not found commands. 2012-10-26 16:42:34 +02:00
Frédéric Delanoy
cee1652e61 cmd: Get rid of longer needed 'end' parameter in WCMD_parameter. 2012-10-26 11:59:58 +02:00
Francois Gouget
ed9e745580 Assorted spelling tweaks and fixes. 2012-10-22 12:21:55 +02:00
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