Frédéric Delanoy
|
42f126e80d
|
cmd: Constify WCMD_pushd parameter.
|
2011-10-21 12:31:46 +02: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
|
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 |