Commit Graph

171 Commits

Author SHA1 Message Date
Frédéric Delanoy 668e44ab26 cmd: Respect constant wide strings naming convention. 2012-02-13 12:29:34 +01:00
Frédéric Delanoy 7cf307a7bd cmd: Reuse common string constants. 2012-02-13 12:29:30 +01:00
Alexandre Julliard 3c8d8f1e95 cmd: START needs to be an internal command. 2012-02-11 16:12:01 +01:00
Francois Gouget af3d368aca cmd: Fix an internationalization issue in WCMD_ask_confirm().
Don't break the strings to translate in little chunks: this makes it
hard or even impossible to translate them correctly. For instance it
must be possible to insert an unbreakable space before question marks
for French.
2012-01-23 19:42:54 +01:00
Francois Gouget c2a9aae4ca cmd: Fix asking for a Yes / No / All confirmation. 2012-01-23 19:42:52 +01:00
Francois Gouget 774eb34e36 cmd: Remove an unused variable. 2012-01-23 19:42:52 +01:00
Akihiro Sagawa 8a00eb8609 cmd: Improve the message when the volume has no label. 2011-12-15 17:46:31 +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
Francois Gouget bc176ecb81 cmd: Print error messages on stderr, not on stdout. 2011-12-02 11:53:23 +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 44a1e7d199 cmd: Move commonly used global vars declarations to header file. 2011-11-30 11:44:05 +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
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 3d028ab67c cmd: Avoid dead assignment (clang). 2011-11-24 20:57:01 +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 e3a5423478 cmd: Move WCMD_part_execute function to avoid forward declaration. 2011-11-18 15:37:04 +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 e8d8df3c54 cmd: Trim whitespace in echo on/off. 2011-11-15 11:44:40 +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 45c1dff552 cmd: Make 'if errorlevel' only recognize integer values. 2011-10-28 12:43:27 +02:00
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 1e4c17e5dd cmd: Make MOVE work for read-only files. 2011-10-13 20:07:28 +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 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 e2fd09c2e7 cmd: Avoid dead assignments (Clang). 2011-10-05 16:59:18 -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 bab0aa765b cmd: Fix comments in WCMD_color. 2011-09-27 16:24:26 +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 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 6e506eaea9 cmd: GOTO is a no-op and doesn't output anything in interactive mode. 2011-09-12 10:07:50 +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
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 7b41ffbf61 attrib: Move implementation from cmd.exe to the standalone command. 2011-09-06 13:25:50 +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 97b074d2da cmd: Fix invalid RegSetValueExW call in WCMD_assoc. 2011-08-30 16:56:03 +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 003bdf8e69 cmd: Ignore trailing whitespace when using cd. 2011-08-29 13:55:12 +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 ef70d88be0 cmd: Make some WCHAR arrays static. 2011-08-26 11:32:35 +02:00