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
|
6fd9d77426
|
cmd: Make RENAME work for read-only files.
|
2011-10-14 20:26:43 +02:00 |
Frédéric Delanoy
|
d5523fcd80
|
cmd/tests: Show that read-only files are RENAMEable.
|
2011-10-14 20:26:43 +02:00 |
Frédéric Delanoy
|
1f5c0a6170
|
cmd/tests: Add tests for directories RENAMEs.
|
2011-10-14 20:26:43 +02:00 |
Frédéric Delanoy
|
1e4c17e5dd
|
cmd: Make MOVE work for read-only files.
|
2011-10-13 20:07:28 +02:00 |
Frédéric Delanoy
|
ad9ae2b8ff
|
cmd/tests: Show that read-only files are MOVEable.
|
2011-10-13 20:07:26 +02:00 |
Frédéric Delanoy
|
212949f108
|
cmd/tests: Add MOVE tests.
|
2011-10-11 19:43:47 +02:00 |
Frédéric Delanoy
|
e0ec3e400d
|
cmd: Make PAUSE accept any keypress instead of a full input line.
|
2011-10-08 19:47:10 +02:00 |
Frédéric Delanoy
|
1361529289
|
cmd: Consistently use infinitive forms in commands help summary.
|
2011-10-08 19:41:39 +02:00 |
Frédéric Delanoy
|
cd30c52b35
|
cmd: Avoid reading char by char from files.
|
2011-10-06 16:46:41 -05: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
|
d25f614c51
|
cmd: Rename a parameter in WCMD_fgets.
|
2011-10-05 17:00:12 -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
|
e2fd09c2e7
|
cmd: Avoid dead assignments (Clang).
|
2011-10-05 16:59:18 -05:00 |
Frédéric Delanoy
|
5e8893f2f6
|
cmd: Handle truncation for console reads.
|
2011-10-03 09:46:11 -05:00 |
Frédéric Delanoy
|
e3a72698c1
|
cmd: Improve WCMD_fgets documentation.
|
2011-10-03 09:45:49 -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
|
f00aafae85
|
cmd/tests: Don't convert lines with DOS endings in convert_input_data.
|
2011-09-28 17:29:45 +02: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
|
a7e1c22a48
|
cmd: Avoid reading char by char from console.
|
2011-09-28 17:27:08 +02:00 |
Frédéric Delanoy
|
bab0aa765b
|
cmd: Fix comments in WCMD_color.
|
2011-09-27 16:24:26 +02:00 |
Frédéric Delanoy
|
83daee9a89
|
cmd: Fix WCMD_fgets documentation.
|
2011-09-26 22:42:01 +02:00 |
Frédéric Delanoy
|
9c61656307
|
cmd: Output error messages to stderr where appropriate.
|
2011-09-26 22:42:01 +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
|
e9a8b751b5
|
cmd: Standardize BOOL type usage in directory.c.
|
2011-09-23 12:43:44 +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
|
bf63385fab
|
cmd: Remove unused declarations of echo_mode.
|
2011-09-16 17:24:15 +02:00 |
Frédéric Delanoy
|
cf826fe010
|
cmd/tests: Add RENAME tests.
|
2011-09-15 15:41:40 +02:00 |
Frédéric Delanoy
|
ad064b44ed
|
cmd/tests: Add tests for SHIFT builtin.
|
2011-09-14 17:27:24 +02:00 |
Frédéric Delanoy
|
9bf515974d
|
cmd: Make some variables static.
|
2011-09-14 17:27:20 +02:00 |
Frédéric Delanoy
|
8fff969ce6
|
cmd/tests: Segment mkdir tests for an easier read.
|
2011-09-13 17:17:55 +02:00 |
Frédéric Delanoy
|
195ee2f377
|
cmd/tests: Add tests for combined CALLs/GOTOs.
|
2011-09-12 16:49:56 +02:00 |
Frédéric Delanoy
|
a33bad1edd
|
cmd: Allow a batch file to delete itself.
|
2011-09-12 16:49:56 +02:00 |
Frédéric Delanoy
|
cb63445b5e
|
cmd: Show that windows doesn't lock/prevent access to batch file during execution.
|
2011-09-12 16:49:56 +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
|
d029a33453
|
cmd/tests: Segment CALL tests for an easier read.
|
2011-09-12 10:07:56 +02:00 |
Frédéric Delanoy
|
6e506eaea9
|
cmd: GOTO is a no-op and doesn't output anything in interactive mode.
|
2011-09-12 10:07:50 +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
|
003e8d2797
|
cmd: Use correct type instead of void* for prev_context field of BATCH_CONTEXT struct.
|
2011-09-09 16:08:51 +02:00 |
Christian Costa
|
908834feef
|
cmd: Add help info for xcopy.
|
2011-09-09 15:00:14 +02:00 |
Frédéric Delanoy
|
712276c7bf
|
cmd: Fix IF operands parsing for '==' operator.
|
2011-09-08 20:08:07 +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 |
Frédéric Delanoy
|
191056ad5c
|
cmd: Clarify WCMD_if function.
|
2011-09-08 20:08:07 +02:00 |
Frédéric Delanoy
|
7b9af22682
|
cmd: Simplify WCMD_parameter function.
|
2011-09-08 20:08:07 +02:00 |
Frédéric Delanoy
|
40c6ff8abe
|
cmd: Fix misleading WCMD_parameter documentation.
|
2011-09-08 20:08:07 +02:00 |
Francois Gouget
|
cd411b613b
|
cmd: Fix the indentation of the IF usage message.
|
2011-09-07 18:13:32 +02:00 |
Francois Gouget
|
106c1f0b63
|
cmd: Add a trailing full stops to a couple of usage messages.
|
2011-09-07 11:52:01 +02:00 |
Christian Costa
|
ccbae4fa6e
|
cmd: Launch the command with the /? option for external commands shipped with cmd.exe.
|
2011-09-07 11:38:08 +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
|
df699a89fa
|
cmd: Associate comments with their respective descripted structures in header file.
|
2011-09-06 12:23:55 +02:00 |
Frédéric Delanoy
|
f35d52e20e
|
cmd/tests: Add tests for IF '==' operator.
|
2011-09-05 19:32:32 +02:00 |
Frédéric Delanoy
|
02ef576739
|
cmd: Fix echo's special ';' handling.
|
2011-09-01 18:06:39 +02:00 |
Frédéric Delanoy
|
ba094f2830
|
cmd/tests: Add pushd/popd tests.
|
2011-08-31 19:43:07 +02:00 |
Octavian Voicu
|
0b10003d4a
|
cmd/tests: Test del /s recursion in subdirectories with colons.
|
2011-08-30 17:27:00 +02:00 |
Frédéric Delanoy
|
74566422c7
|
cmd/tests: Add ftype tests.
|
2011-08-30 17:07:36 +02:00 |
Frédéric Delanoy
|
caa8fc041d
|
cmd: Add help for FTYPE command.
|
2011-08-30 17:07:31 +02:00 |
Frédéric Delanoy
|
97b074d2da
|
cmd: Fix invalid RegSetValueExW call in WCMD_assoc.
|
2011-08-30 16:56:03 +02:00 |
Frédéric Delanoy
|
c08459d0be
|
cmd/tests: Add assoc tests.
|
2011-08-30 16:55:55 +02:00 |
Frédéric Delanoy
|
18ac6e1a2c
|
cmd: Ensure WCMD_assoc error messages are sent to stderr instead of stdout.
|
2011-08-30 16:55:50 +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
|
49073440d7
|
cmd: Add help for ASSOC command.
|
2011-08-30 16:55:35 +02:00 |
Octavian Voicu
|
94d2312fe2
|
cmd: Don't parse colons as stream separators when splitting paths.
|
2011-08-29 13:59:34 +02:00 |
Frédéric Delanoy
|
745fbe084f
|
cmd/tests: Add tests for mixed echo modes.
|
2011-08-29 13:55:59 +02:00 |
Frédéric Delanoy
|
a2eb505d2c
|
cmd/tests: Add tests for redirections within IF statements.
|
2011-08-29 13:55:54 +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
|
523683d788
|
cmd/tests: Add tests for redirections using non stdout/stderr handles.
|
2011-08-29 13:55:29 +02:00 |
Frédéric Delanoy
|
003bdf8e69
|
cmd: Ignore trailing whitespace when using cd.
|
2011-08-29 13:55:12 +02:00 |
Frédéric Delanoy
|
9b79fd5777
|
cmd/tests: Add variable substitution tests.
|
2011-08-26 13:27:41 +02:00 |
Frédéric Delanoy
|
c85be8aecc
|
cmd: Add @shortpath@ keyword, replaced by expanded path with short names.
|
2011-08-26 13:27:35 +02:00 |
Frédéric Delanoy
|
68e7fcda59
|
cmd: Add @path@ keyword, replaced by regular non-expanded path.
|
2011-08-26 13:27:14 +02:00 |
Frédéric Delanoy
|
64ce7c0ede
|
cmd: Add @drive@ keyword, replaced by drive letter.
|
2011-08-26 13:27:05 +02:00 |
Frédéric Delanoy
|
1e89625b11
|
cmd: Add @drive@ keyword, replaced by drive letter.
|
2011-08-26 13:26:31 +02:00 |
Frédéric Delanoy
|
325bfc72e0
|
cmd: Quiet a noisy 'FOR /F' fixme.
|
2011-08-26 11:33:07 +02:00 |
Frédéric Delanoy
|
92356ca2b7
|
cmd/tests: Add tests for FOR /F 'skip' option.
|
2011-08-26 11:33:01 +02:00 |
Frédéric Delanoy
|
fef13bf2ca
|
cmd/tests: Add tests for FOR /F 'delims' option.
|
2011-08-26 11:32:58 +02:00 |
Frédéric Delanoy
|
1755885472
|
cmd/tests: Add tests for FOR /F 'eol' option.
|
2011-08-26 11:32:52 +02:00 |
Frédéric Delanoy
|
bf0e1c7ca7
|
cmd/tests: Add basic FOR /F tests.
|
2011-08-26 11:32:47 +02:00 |
Frédéric Delanoy
|
199f788c31
|
cmd/tests: Add FOR tests for various quoted parameters.
|
2011-08-26 11:32:40 +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
|
16744ed65e
|
cmd/tests: Ensure ATTRIB tests pass on more Windows platforms.
There can be some default 'I' extended file attribute pertaining to
non-indexable file/folders by Indexing Service, e.g. when using CIFS.
|
2011-08-26 11:31:59 +02:00 |
Frédéric Delanoy
|
3ce59f5dba
|
cmd/tests: Add attrib tests.
|
2011-08-25 19:15:29 +02:00 |
Frédéric Delanoy
|
82cdeb6d4d
|
cmd/tests: Add tests for variables substrings.
|
2011-08-25 17:56:31 +02:00 |
Frédéric Delanoy
|
0decc777eb
|
cmd/tests: Test handling of strings starting with on/off using the ECHO builtin.
|
2011-08-25 14:51:23 +02:00 |
Frédéric Delanoy
|
09655aca95
|
cmd: Misc tab fixes.
|
2011-08-25 14:51:16 +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
|
d147df418c
|
cmd/tests: Add REM tests.
|
2011-08-25 14:50:43 +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
|
6572de3cfa
|
cmd: Fix ECHO tab issues.
|
2011-08-24 14:01:03 +02:00 |
Frédéric Delanoy
|
a91eceaec0
|
cmd/tests: Add tests for tab handling.
|
2011-08-23 16:53:50 +02:00 |
Frédéric Delanoy
|
453996fe85
|
cmd/tests: Add @tab@ keyword recognition.
|
2011-08-23 16:53:50 +02:00 |
Frédéric Delanoy
|
6bd0671f07
|
cmd/tests: Add basic cd tests.
|
2011-08-23 16:53:50 +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
|
303af43ff5
|
cmd: Fix a FOR parsing bug when multiple spaces follow an IN.
|
2011-08-23 16:53:50 +02:00 |
Frédéric Delanoy
|
bc8fde1c00
|
cmd/tests: Fix bug where an output line was marked as matching when the expected line only differs by a terminal @space@.
|
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
|
822759a367
|
cmd: Remove reference to no longer existing WCMD_read_console from header file.
|
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 |
Frédéric Delanoy
|
28fe027eee
|
cmd/tests: Add FOR /A tests.
|
2011-08-04 18:27:37 +02:00 |
Frédéric Delanoy
|
920bdcc4b8
|
cmd/tests: Add setlocal/endlocal tests.
|
2011-08-04 18:27:36 +02:00 |
Frédéric Delanoy
|
8d328ff810
|
cmd/tests: Refactor "broken" keyword handling so all cases are handled correctly.
|
2011-08-04 18:27:36 +02:00 |
Frédéric Delanoy
|
7158257fd8
|
cmd/tests: Remove redundant ok check in compare_line function.
|
2011-08-04 18:27:35 +02:00 |
Frédéric Delanoy
|
5661e9cdca
|
cmd/tests: Ensure failures are caught in all cases when an expected line ends with a '@'.
|
2011-08-04 18:27:35 +02:00 |
Frédéric Delanoy
|
bde872e782
|
cmd/tests: Fix "broken" handling when expected line is empty.
|
2011-08-03 17:46:14 +02:00 |
Dan Kegel
|
6990cdfe96
|
cmd: mkdir: Set errorlevel and output error message if final directory already exists.
|
2011-08-03 17:46:05 +02:00 |
Dan Kegel
|
3cd864bdf8
|
cmd: mkdir: Set errorlevel on invalid argument.
|
2011-08-03 17:45:01 +02:00 |
Dan Kegel
|
15ce9a5784
|
cmd: mkdir: Handle multiple arguments.
|
2011-08-03 17:44:53 +02:00 |
Francois Gouget
|
ed3c9a1eca
|
Assorted spelling fixes.
|
2011-08-03 14:15:48 +02:00 |
Frédéric Delanoy
|
0cfe9fa6a5
|
cmd/tests: Additional tests for variable delayed expansion.
|
2011-08-02 20:47:51 +02:00 |
Frédéric Delanoy
|
3c8674a721
|
cmd/tests: Add tests for variable delayed expansion.
|
2011-08-01 18:26:27 +02:00 |
Frédéric Delanoy
|
ce57ebe32d
|
cmd/tests: Additional CALL tests.
|
2011-07-29 15:31:31 +02:00 |
Frédéric Delanoy
|
7fb790f8a7
|
cmd/tests: Add FOR /L tests.
|
2011-07-29 15:31:28 +02:00 |
Frédéric Delanoy
|
21f7c5db61
|
cmd/tests: Add FOR /D tests.
|
2011-07-29 15:31:25 +02:00 |
Frédéric Delanoy
|
327eb31325
|
cmd/tests: Additional variable expansion FOR tests.
|
2011-07-28 18:55:25 +02:00 |
Frédéric Delanoy
|
25fcad3768
|
cmd: Partial fix for echo's special ':' handling.
|
2011-07-28 18:55:07 +02:00 |
Frédéric Delanoy
|
dcd544f744
|
cmd/tests: Test special handling of ':' in echo.
|
2011-07-28 18:54:50 +02:00 |
Frédéric Delanoy
|
5fe0f1e1dc
|
cmd/tests: Fix test runner so it catches cases where an output line contains the associated expected line as prefix.
|
2011-07-28 18:54:47 +02:00 |
Frédéric Delanoy
|
8b73720d4e
|
cmd: Fix some comments.
|
2011-07-27 12:28:26 +02:00 |
Frédéric Delanoy
|
011d5c331c
|
cmd/tests: Add tests for stdout redirection and appending operators.
|
2011-07-27 12:28:12 +02:00 |
Frédéric Delanoy
|
093547e158
|
cmd: Add help for setlocal/endlocal commands.
|
2011-07-26 18:19:23 +02:00 |
Frédéric Delanoy
|
414bd437a9
|
cmd/tests: Test multiple params rmdir.
|
2011-07-25 22:30:01 +02:00 |
Frédéric Delanoy
|
9e57a09bb5
|
cmd/tests: Test multiple params mkdir.
|
2011-07-25 22:29:59 +02:00 |
Frédéric Delanoy
|
1e28bbb88e
|
cmd/tests: Add ^ escape character tests.
|
2011-07-25 14:01:05 +02:00 |
Frédéric Delanoy
|
3d9245830f
|
cmd/tests: Add tests for || on failure conditional execution.
|
2011-07-25 14:00:48 +02:00 |
Frédéric Delanoy
|
73413693d6
|
cmd/tests: Add tests for && on success conditional execution.
|
2011-07-25 14:00:46 +02:00 |
Frédéric Delanoy
|
8b1d8e9e82
|
cmd/tests: Add tests for & (un)conditional execution.
|
2011-07-25 14:00:44 +02:00 |
Frédéric Delanoy
|
d1862e473b
|
cmd: Fix comment for CMD_PIPE.
|
2011-07-21 16:28:48 +02:00 |
Frédéric Delanoy
|
8f8aa7a35e
|
cmd/tests: Add CALL tests.
|
2011-07-21 16:28:46 +02:00 |
Frédéric Delanoy
|
5d22f3aa14
|
cmd/tests: Add tests for NUL handling.
|
2011-07-19 18:26:22 +02:00 |
Frédéric Delanoy
|
a28c7caf3e
|
cmd/tests: Test that ErrorLevel is set to 9009 when unknown commands are encountered.
|
2011-07-19 14:04:25 +02:00 |
Frédéric Delanoy
|
23cd306a7d
|
cmd/tests: Add tests for recursive rmdir.
|
2011-07-19 14:04:16 +02:00 |
Frédéric Delanoy
|
79926d6f2b
|
cmd/tests: Add SET tests.
|
2011-07-18 16:23:30 +02:00 |
Frédéric Delanoy
|
1cb7378e94
|
cmd/tests: Convert line endings to DOS style at runtime before running batch test file.
|
2011-07-18 16:23:29 +02:00 |
Frédéric Delanoy
|
4b4dd300f6
|
cmd: Avoid excess newline after TYPE outputs file contents.
|
2011-07-15 17:07:51 +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
|
91c4632941
|
cmd: Avoid printing an excess newline after version is displayed on startup.
|
2011-07-15 17:07:39 +02:00 |
Frédéric Delanoy
|
123d5d0d60
|
cmd: Output a empty line before version in VER.
|
2011-07-15 17:03:17 +02:00 |
André Hentschel
|
a9504e276c
|
cmd/tests: Add test for parameter detection.
|
2011-07-12 11:46:23 +02:00 |
Frédéric Delanoy
|
b37d39e351
|
cmd/tests: Add basic rmdir tests.
|
2011-07-12 11:46:23 +02:00 |
Frédéric Delanoy
|
3f173faf1b
|
cmd/tests: Add mkdir tests for trailing backslashes and invalid chars handling.
|
2011-07-12 11:46:23 +02:00 |
Frédéric Delanoy
|
9114dc5c03
|
cmd/tests: Add basic mkdir tests.
|
2011-07-12 11:46:23 +02:00 |
Frédéric Delanoy
|
63a6a80d40
|
cmd/tests: Add basic "for" tests.
|
2011-07-12 11:46:23 +02:00 |
Frédéric Delanoy
|
88ff0e816a
|
cmd/tests: Add support for todo_wine constructions.
|
2011-07-11 12:19:31 +02:00 |
Alexandre Julliard
|
766dc67043
|
cmd/tests: Rewrite replace_escaped_spaces to avoid overflows.
Spotted by Marcus Meissner.
|
2011-07-06 19:51:51 +02:00 |
Frédéric Delanoy
|
5cb45138da
|
cmd/tests: Get rid of obsolete @todo_space@ construct.
|
2011-06-14 15:21:18 +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
|
3ccfbaef70
|
cmd: WCMD_delete: move "Delete *.* ?" processing into WCMD_delete_confirm_wildcard.
|
2011-05-31 18:32:59 +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 |
Dan Kegel
|
67873bdc9f
|
cmd: Add simple test for %errorlevel%.
|
2011-05-26 15:23:56 +02:00 |
Dan Kegel
|
ff1e7038b2
|
cmd: del /a: test deleting readonly files, with fix.
|
2011-05-24 13:26:04 +02:00 |
Dan Kegel
|
65b27c9ecd
|
cmd: del /a: move parsing of attributes to helper function, use bitmasks.
|
2011-05-24 13:25:46 +02:00 |
Francois Gouget
|
d770f86c9a
|
programs: In English punctuations are not preceded by a space.
|
2011-03-30 18:23:40 +02:00 |
Francois Gouget
|
8067f7606c
|
cmd: Add full stops to some parameter descriptions in the usage.
|
2011-03-16 14:14:23 +01:00 |
Austin English
|
3631ee051e
|
cmd: Avoid shadowing a parameter.
|
2011-03-09 15:54:20 +01:00 |
Alexandre Julliard
|
6864716caa
|
cmd: Convert translations to po files.
|
2011-01-04 17:16:00 +01:00 |
Sven Baars
|
4552cda4e8
|
cmd: Update the Dutch translation.
|
2010-12-27 11:46:02 +01:00 |
Sven Baars
|
03159ff8e2
|
cmd: Fix a typo in the English resource.
|
2010-12-27 11:46:00 +01:00 |
Aurimas Fišeras
|
2af275cedf
|
cmd: Update Lithuanian translation.
|
2010-12-27 11:45:31 +01:00 |
Hwang YunSong
|
5ebfb9323e
|
cmd: Update Korean resource.
|
2010-12-22 13:00:11 +01:00 |
Frédéric Delanoy
|
783da876f5
|
cmd: Update French translation.
|
2010-12-22 12:49:58 +01:00 |
Łukasz Wojniłowicz
|
5792a1595f
|
cmd: Update Polish translation.
|
2010-12-22 12:45:10 +01:00 |
Anders Jonsson
|
f51d6df574
|
cmd: Update Swedish translation.
|
2010-12-21 11:37:59 +01:00 |
Luca Bennati
|
93ef439629
|
cmd: Update Italian translation.
|
2010-12-21 11:37:56 +01:00 |
Detlef Riekenberg
|
f29674e86f
|
cmd: Do not reset errorlevel during SET.
|
2010-12-20 12:47:42 +01:00 |
Detlef Riekenberg
|
7506d41e75
|
cmd: Add german translation for CHOICE.
|
2010-12-20 12:47:41 +01:00 |
Detlef Riekenberg
|
7045e478a8
|
cmd: Add CHOICE builtin with DOS6 to XP commandline parameter.
|
2010-12-20 12:47:41 +01:00 |
Detlef Riekenberg
|
d62c6bb77f
|
cmd: Allow GOTO to a label which has a following whitespace, with test.
|
2010-12-13 12:43:33 +01:00 |
Luca Bennati
|
12099f3d9e
|
cmd: Fix Italian translation.
|
2010-11-23 14:16:34 +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 |
Alexandre Julliard
|
81b8ee863e
|
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
|
2010-09-19 12:36:48 +02:00 |
Luca Bennati
|
2425999573
|
cmd: Update Italian translation.
|
2010-09-09 19:56:36 +02:00 |
Jason Edmeades
|
32c8b46633
|
cmd: echo.word should echo back the word without the .
|
2010-09-08 19:49:30 +02:00 |
Jason Edmeades
|
199b2db502
|
cmd: Make tests supply stderr + more diagnostics.
|
2010-09-08 14:15:56 +02:00 |
Francois Gouget
|
54fba17b0e
|
programs: Remove spaces before '\n's in the Swedish translation.
|
2010-08-27 12:30:57 +02:00 |
Paul Vriens
|
15c1071eb4
|
cmd: Add the Swedish translation.
Translation by Rikard Dan Johansson.
|
2010-08-16 13:41:15 +02:00 |
Jose Rostagno
|
e7c7e63f98
|
cmd: Fix Spanish translation.
|
2010-08-02 12:55:21 +02:00 |
Igor Paliychuk
|
5d6baf644d
|
cmd: Add Ukrainian translation.
|
2010-07-26 09:58:21 +02:00 |
Alexandre Julliard
|
6fb39dfe4a
|
programs: Remove explicit imports of kernel32 and ntdll.
|
2010-07-21 17:38:37 +02:00 |
Michael Stefaniuc
|
dbdedefe71
|
cmd: Remove stray ';' from the resource files.
|
2010-07-20 12:34:55 +02:00 |
Michael Stefaniuc
|
a0ae8d5374
|
cmd: Add the Romanian translation.
Translation by Claudia Cotună.
|
2010-07-13 16:28:02 +02:00 |
Gustavo Henrique Milaré
|
0a49769b32
|
cmd: Update Portuguese (Brazilian) translation.
|
2010-07-01 10:09:20 +02:00 |
Hwang YunSong
|
ffc5f0d45f
|
cmd: Update Korean resource.
|
2010-06-28 16:58:38 +02:00 |
Luca Bennati
|
0e63d955d6
|
cmd: Update Italian translation.
|
2010-06-23 15:26:48 +02:00 |
Michael Stefaniuc
|
71e647fe51
|
cmd: Don't treat all command lines with '/?' as builtin commands.
|
2010-06-22 11:22:55 +02:00 |
Sven Baars
|
1f8225c99d
|
cmd: Update Dutch translation.
|
2010-06-22 11:22:30 +02:00 |
Frédéric Delanoy
|
2030b8c0c8
|
cmd: Update French translation.
|
2010-06-22 11:22:27 +02:00 |
Aurimas Fišeras
|
e554c4575f
|
cmd: Update Lithuanian translation.
|
2010-06-22 11:22:24 +02:00 |
André Hentschel
|
ab87f82f46
|
cmd: Update German translation.
|
2010-06-21 11:47:42 +02:00 |
Frédéric Delanoy
|
a758a67a8c
|
cmd: Initial PATH value taken from registry, not wine.conf.
|
2010-06-21 11:47:24 +02:00 |
Vitaly Lipatov
|
b974852ce1
|
Update Russian translations.
|
2010-06-18 16:22:07 +02:00 |
Frédéric Delanoy
|
f8db2a8ef8
|
cmd: Update French translation.
|
2010-06-10 11:29:44 +02:00 |
Paul Vriens
|
1edc58eae9
|
resources: Fix some copy-paste mistakes in resource files.
|
2010-06-08 12:59:03 +02:00 |
Aurimas Fišeras
|
3a119953fd
|
cmd: Update Lithuanian translation.
|
2010-06-08 12:58:58 +02:00 |
Sven Baars
|
ed16870469
|
cmd: Update Dutch translation.
|
2010-06-07 12:22:22 +02:00 |
Sven Baars
|
6a88399094
|
cmd: Make some help messages more informative.
|
2010-06-07 12:22:18 +02:00 |
Nikolay Sivov
|
3f1f5edd52
|
Fix unneeded capitalization in user prompts.
|
2010-05-28 16:22:24 +02:00 |
Gerald Pfeifer
|
0d527532fa
|
cmd: Remove variable copyFromDir which is not really used from WCMD_copy.
|
2010-05-10 10:12:03 +02:00 |
Gerald Pfeifer
|
5b0de0d569
|
cmd: Remove variable useinput which is not really used from WCMD_more.
|
2010-05-05 10:52:51 +02:00 |
Gerald Pfeifer
|
f40265b0b4
|
cmd: Remove variable argsProcessed which is not really used from WCMD_directory.
|
2010-05-03 15:35:18 +02:00 |
Gerald Pfeifer
|
02a0bd3a00
|
cmd: Remove variable doRecursive which is not really used from WCMD_for.
|
2010-05-03 15:35:11 +02:00 |
Joel Holdsworth
|
8b37b340b7
|
wcmd: Replaced program icon with a Tango compliant icon.
|
2010-04-19 16:01:02 +02:00 |
Alexandre Julliard
|
5b1f6614ed
|
cmd/tests: Add casts to pointer differences in traces.
|
2010-04-09 16:49:13 +02:00 |
Mikhail Maroukhine
|
93d9d8a3af
|
programs: Fix compiler warnings with flag -Wcast-qual.
|
2010-03-29 12:18:48 +02:00 |
Austin English
|
27717a5127
|
cmd: Add testcases for goto.
|
2010-03-24 19:02:12 +01:00 |
Nikolay Sivov
|
e22f6aa6e3
|
cmd: Ignore spaces before goto label.
|
2010-03-24 19:02:06 +01:00 |
Jacek Caban
|
e486a02157
|
cmd: Added @or_broken@ handling to test templates and use it to fix tests on win2k.
|
2010-03-18 11:18:18 +01:00 |
Yann Droneaud
|
ac8d92405c
|
cmd: Add another expansion test.
Test %VAR%VAR% to check that the second variable is not expanded.
|
2010-03-16 17:03:38 +01:00 |
Yann Droneaud
|
954d06ca35
|
cmd: Remove %CD% test.
%CD% seems not supported on Windows NT 4.
|
2010-03-16 17:03:30 +01:00 |
Alexandre Julliard
|
bef5645eb1
|
makefiles: Remove the no longer needed explicit separators for dependencies.
|
2010-03-16 13:28:19 +01:00 |
Yann Droneaud
|
9bad2febf3
|
cmd: Added some expansion tests.
|
2010-03-15 16:51:37 +01: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 |
Alexandre Julliard
|
6164ce2d82
|
makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
|
2010-02-22 10:47:11 +01:00 |
Paul Vriens
|
2ef6101768
|
cmd/tests: Compare strings case-insensitive.
|
2010-02-19 11:30:03 +01:00 |
Trey Hunner
|
41c0db3ce9
|
cmd: Add test for 'if' case sensitivity.
|
2010-02-19 11:30:00 +01:00 |
Paul Vriens
|
f468055408
|
cmd: Remove some unneeded extension checking.
|
2010-02-18 17:15:19 +01:00 |
Dan Kegel
|
8110dde8ae
|
cmd: Fix 'else', with tests.
|
2010-02-18 12:43:00 +01:00 |
Dan Kegel
|
e4fd5196c2
|
cmd: Rename reference file from .out to .exp to avoid clash with gnu make builtin rule.
|
2010-02-17 09:48:03 +01:00 |
Dan Kegel
|
8bc6ff9d90
|
cmd: Add test to show ~dp0 should be directory containing batch file.
|
2010-02-17 09:46:02 +01:00 |
Dan Kegel
|
9d63b91405
|
cmd: Add test to show set "FOO=bar" should not include the quotes in the variable value.
|
2010-02-17 09:44:06 +01:00 |
Dan Kegel
|
786429b3d7
|
cmd: Turn off echo, add visual separator between testcases.
|
2010-02-17 09:43:22 +01:00 |
Dan Kegel
|
5035f3cff3
|
cmd: Move all tests to test_builtins.cmd.
|
2010-02-17 09:43:09 +01:00 |
André Hentschel
|
d00f031646
|
cmd: Improve German translation.
|
2010-02-15 12:20:01 +01:00 |
Jacek Caban
|
28a4a7bd42
|
cmd: Added cmd.exe tests.
|
2010-02-10 11:31:16 +01:00 |
Dan Kegel
|
15998c2bdb
|
cmd: Size buffer in create_full_path() correctly.
|
2010-02-03 11:07:14 +01:00 |
Dan Kegel
|
60fe4dae7a
|
cmd: %~dp0 should expand to the directory containing the batch file, not the current directory.
|
2010-02-03 11:07:07 +01:00 |
Trey Hunner
|
afb374b7aa
|
cmd: Add support for 'if /i'.
|
2010-02-02 11:59:33 +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 |
Alexandre Julliard
|
79b00726f2
|
cmd: Use the explicit name for all A/W function.
|
2009-12-09 18:52:40 +01:00 |
Marcus Meissner
|
f62218fc66
|
cmd: Break out of the argument scan loop (Coverity).
|
2009-12-04 14:34:58 +01:00 |
Francois Gouget
|
085c39342b
|
cmd: Remove spaces before '\n's.
|
2009-11-18 15:15:40 +01:00 |
Luca Bennati
|
79bb4bd549
|
cmd: Add Italian translation.
|
2009-11-09 19:40:05 +01:00 |
Colin Fletcher
|
45905b27db
|
cmd.exe: Treat tabs as parameter delimiters.
|
2009-10-15 12:06:22 +02:00 |
Peter Dons Tychsen
|
a78ccf1160
|
cmd: Fix handling of quotes when line includes redirections and/or pipes.
|
2009-10-08 14:00:00 +02:00 |
Andrew Nguyen
|
203c538aaa
|
cmd: Fix copy option handling in batch mode.
|
2009-10-06 11:51:57 +02:00 |