Commit graph

47 commits

Author SHA1 Message Date
Francois Gouget
eb109f46e3 cmd: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:48 +01:00
Frédéric Delanoy
0eec6b5de0 cmd: Avoid duplication of commonly used strings. 2011-12-07 17:49:57 +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
44a1e7d199 cmd: Move commonly used global vars declarations to header file. 2011-11-30 11:44:05 +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
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
e9a8b751b5 cmd: Standardize BOOL type usage in directory.c. 2011-09-23 12:43:44 +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
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
ef70d88be0 cmd: Make some WCHAR arrays static. 2011-08-26 11:32:35 +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
Mikhail Maroukhine
93d9d8a3af programs: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:18:48 +02:00
Alexandre Julliard
79b00726f2 cmd: Use the explicit name for all A/W function. 2009-12-09 18:52:40 +01:00
Dan Kegel
25efe69d60 cmd: Make 'dir' hide hidden or system files by default. 2009-09-25 14:00:23 +02:00
Francois Gouget
e46d25a661 cmd: Make some functions static. 2009-01-06 10:09:37 +01:00
Francois Gouget
f5f54fb411 cmd: Reorder some functions to avoid forward declarations. 2008-12-31 12:27:59 +01:00
Michael Stefaniuc
cf8571fed0 cmd: Remove some superfluous casts. 2008-12-04 12:08:24 +01:00
Austin English
6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Francois Gouget
8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Jason Edmeades
1ee75382c7 cmd.exe: Fix redirect ordering on a command line. 2007-09-12 12:40:16 +02:00
Michael Stefaniuc
6519a83de4 cmd: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:16 +02:00
Francois Gouget
a2deafcc3f programs/cmd: Add missing '\n' to Wine trace. 2007-06-06 12:12:17 +02:00
Jason Edmeades
a1639ebfc6 cmd.exe: Fix dir /w.
Use of %* fails when using wvsprintf, so just pad manually,
but maintain only a single output call.
2007-06-04 14:49:39 +02:00
Jason Edmeades
b8aa5fc586 cmd.exe: Convert cmd to Unicode. 2007-06-04 14:44:46 +02:00
Jason Edmeades
5cc492c783 cmd.exe: Move English constants into NLS files. 2007-06-04 14:10:04 +02:00
Jason Edmeades
68b11d1290 cmd.exe: Support for DEL filename /s. 2007-04-24 11:53:13 +02:00
Jason Edmeades
ce87522f84 cmd.exe: Implement a basic 'more'.
This implements a basic more, eg 'dir | more' or 'more file.c'
but it does not support the flags or keys which can control it.
Basically its not worth implementing those, as in some modes
we cannot read a single key, we have to wait for <enter> anyway.
2007-04-16 12:24:49 +02:00
Jason Edmeades
7e2d1b4ade cmd.exe: Partially fix 'dir *.' (ie files with no extension). 2007-04-06 12:31:09 +02:00
Jason Edmeades
426a3c11c5 cmd.exe: Make dir a* b* or dir a* b* /s mirror windows. 2007-04-06 12:31:09 +02:00
Jason Edmeades
fc8a9a20c6 cmd.exe: Make dir support multiple parameters. 2007-04-06 12:31:08 +02:00
Jason Edmeades
57f76bd3cf cmd.exe: Fix dir filename /s and resolve many output differences. 2007-04-06 12:31:08 +02:00
Francois Gouget
ebfeb41e99 cmd: Spelling fix. 2007-03-28 12:34:13 +02:00
Jason Edmeades
0739ad2246 cmd.exe: Only write 'bytes free' message if a file was displayed during dir. 2007-03-19 14:05:39 +01:00
Jason Edmeades
bf626f960b cmd.exe: Add errorlevel support for DIR command. 2007-03-19 14:05:22 +01:00
Jason Edmeades
d22447946a cmd.exe: Add support for dir /A filtering. 2007-03-19 14:05:14 +01:00
Jason Edmeades
7fba2c0a64 cmd.exe: Add support for DIRCMD and sequential qualifier processing. 2007-03-19 14:04:55 +01:00
Jason Edmeades
f8e619412b cmd.exe: Add support for dir /-C. 2007-03-19 14:04:26 +01:00
Jason Edmeades
480c932695 cmd.exe: Add support for DIR /D. 2007-03-19 14:04:15 +01:00
Jason Edmeades
98e37021ab cmd.exe: Add DIR /O ordering support. 2007-03-14 12:04:57 +01:00
Jason Edmeades
1497a2fec4 cmd.exe: Add dir /X support (sort of...). 2007-03-14 12:04:38 +01:00
Jason Edmeades
ae964c68eb cmd.exe: Add DIR /X support. 2007-03-13 12:04:22 +01:00
Jason Edmeades
577b8ef233 cmd.exe: Add DIR /T support. 2007-03-13 12:04:02 +01:00
Jason Edmeades
729ed8623b cmd.exe: Add dir /L support. 2007-03-13 12:03:34 +01:00
Francois Gouget
e8007d9d7b cmd: Remove unneeded NONAMELESS* defines and ifdefs. 2007-03-05 12:13:59 +01:00
Alexandre Julliard
abfe105c2f cmd: Fix silly local variables indentation that breaks diff -p. 2007-03-01 12:43:19 +01:00
Dan Kegel
39857443e4 programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +02:00
Renamed from programs/wcmd/directory.c (Browse further)