Commit Graph

5820 Commits

Author SHA1 Message Date
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
Francois Gouget 661c9c1c2c winefile: Always use the same name for the Wine File Manager. 2011-09-12 11:10:49 +02:00
Francois Gouget ddaaa54b15 winhlp32: Add parentheses to clarify the precedence between '&' and '&&'. 2011-09-12 11:01:02 +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
Bruno Jesus 9f24f14cc0 winecfg: Write the ProductName registry key based on selected OS. 2011-09-09 15:14:34 +02:00
Christian Costa 908834feef cmd: Add help info for xcopy. 2011-09-09 15:00:14 +02:00
Alexandre Julliard 4a14811527 wineconsole: Avoid reentering WINECON_GrabChanges. 2011-09-08 22:27:41 +02:00
Alexandre Julliard a763c7dbc8 wineconsole: Make the traces in WINECON_GrabChanges more readable. 2011-09-08 22:27:11 +02:00
Francois Gouget f720ccdc28 attrib: Make ATTRIB_wprintf() static. 2011-09-08 20:08:07 +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 d494733353 services: Issue a fixme when a service fails to start. 2011-09-08 20:08:06 +02:00
Francois Gouget ca3b1046ca xcopy: Add full stops at the end of sentences in the usage message. 2011-09-07 18:13:33 +02:00
Francois Gouget 66a13a43bd wineconsole: Add full stops at the end of sentences in the usage message. 2011-09-07 18:13:33 +02:00
Francois Gouget df655b41a2 net: Add a full stop at the end of a sentence in the usage message. 2011-09-07 18:13:32 +02:00
Francois Gouget cd411b613b cmd: Fix the indentation of the IF usage message. 2011-09-07 18:13:32 +02:00
Francois Gouget 08de85a2d9 winecfg: Specify a context for the drive letter setting. 2011-09-07 18:13:30 +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
Hwang YunSong 526d4e2b98 winecfg: Updated Korean translation. 2011-09-07 11:38:22 +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
Hans Leidekker 29a072e7aa programs: Add a stub implementation of regasm.exe. 2011-09-05 17:15:56 +02:00
Francois Gouget 6ecbe07be9 wordpad: Specify a message context for 'cm', 'in' and 'pt'. 2011-09-05 11:33:18 +02:00
Francois Gouget 2dc6d78347 taskmgr: Fix the name of a couple of process priority levels. 2011-09-05 11:10:18 +02:00
Frédéric Delanoy 02ef576739 cmd: Fix echo's special ';' handling. 2011-09-01 18:06:39 +02:00
Andrew Eikum dfe73cda4a winecfg: Remove driver selection from Audio tab. 2011-09-01 18:06:37 +02:00
Frédéric Delanoy ba094f2830 cmd/tests: Add pushd/popd tests. 2011-08-31 19:43:07 +02:00
André Hentschel f9c6b4ba40 winevdm: Use mangled short path names for DOSBox. 2011-08-31 19:43:05 +02:00
Jay Yang c268c40fdf explorer: Try ShellExecute if the parameter isn't a directory. 2011-08-30 19:44:08 +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
Francois Gouget 16d77d2a0c net: Remove an untranslatable string from the resources.
Add some output_xxx() functions so we can print strings that don't come from resources.
Also protect against buffer overflows in output_vprintf() and constify the output_xxx() functions.
2011-08-30 12:09:10 +02:00
Francois Gouget fe3f2e3258 services: If a service is not started, then say so when ControlService() is called on it. 2011-08-30 11:47:37 +02:00
Francois Gouget eafb44d4e1 services: Refuse to start disabled services. 2011-08-30 11:47:35 +02:00
Francois Gouget 9183a171f1 services: Cleanup when a service fails to start so it is still fully considered to be stopped. 2011-08-30 11:47:32 +02:00
Octavian Voicu a966945d98 winefile: Don't parse colons as stream separators when splitting paths. 2011-08-29 14:02:05 +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
José Manuel Ferrer Ortiz ed92d80682 winecfg: Spanish translation update. 2011-08-29 13:41:28 +02:00
Francois Gouget a64f42b8d7 net: Add support for enumerating the running services with 'net start'. 2011-08-29 13:41:08 +02:00
Francois Gouget 175953563b net: Fix the parameter checking, /help handling and usage.
Also simplify and improve the usage messages.
2011-08-29 13:20:24 +02:00
Damjan Jovanovic 01d5a0f53b winemenubuilder: Do case-insensitive glob comparisons. 2011-08-29 12:08:20 +02:00
Francois Gouget 580ece97a0 winefile: The title format string cannot really be translated so remove it from the resources. 2011-08-26 16:25:34 +02:00
Alexandre Julliard fdc0d0f95f winecfg: Fix deletion of registry keys for Wow64 mode. 2011-08-26 14:28:11 +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
Francois Gouget 801deec13c notepad: Mark the page header as not needing translation. 2011-08-25 19:09:56 +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
Michał Ziętek 559547f21e wscript: Implemented Host_get_Application. 2011-08-25 14:18:01 +02:00
Michał Ziętek 154578d75c wscript: Implemented Host_put_Interactive. 2011-08-25 14:17:59 +02:00
Michał Ziętek 280dbcf84a wscript: Implemented Host_get_Interactive. 2011-08-25 14:17:56 +02:00
Michał Ziętek 4252bd8653 wscript: Implemented Arguments2_get_length. 2011-08-25 14:17:53 +02:00
Michał Ziętek 5079fe9839 wscript: Implemented Arguments2_Count. 2011-08-25 14:17:49 +02:00
Michał Ziętek 1c29375031 wscript: Implemented Arguments2_Item. 2011-08-25 14:17:44 +02:00
Michał Ziętek 2d2a91fd01 wscript: Implemented Host_get_Arguments. 2011-08-25 14:17:38 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Francois Gouget 5bc1aff578 programs: Document the reason for the WriteConsole() fall back. 2011-08-24 19:07:45 +02:00
Hans Leidekker 8959961b42 programs: Add a stub FontCache3.0.0.0 service. 2011-08-24 14:33:43 +02:00
Damjan Jovanovic 3c7b08be27 winemenubuilder: Use the command from the "open" verb. 2011-08-24 14:04:08 +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
Francois Gouget 18c24345d6 notepad: Tweak an error message for consistency. 2011-08-23 17:52:46 +02:00
Francois Gouget b1d171262f oleview: Replace the CLSCTX_XXX strings with proper English sentences. 2011-08-23 17:33:05 +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
Per Johansson 1a3b85a5bd winemenubuilder: Use start.exe to open URLs to respect URL handlers in registry. 2011-08-23 16:53:49 +02:00
Francois Gouget bfbec495df taskmgr: Remove some useless and untranslatable popup labels. 2011-08-22 20:08:33 +02:00
Marcus Meissner a869964b31 net: LoadStringW incorrect size bytes vs characters. 2011-08-22 16:14:31 +02:00
Michał Ziętek 2f4ad88c12 wscript: Fix tests on wow64. 2011-08-05 16:41:17 +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
Francois Gouget 0b2a67cffb net: Add a WriteConsole() fall back so things still works on Windows if the output is redirected. 2011-08-05 15:35:22 +02:00
Francois Gouget d8624c0445 net: Convert to Unicode. 2011-08-05 15:34:59 +02:00
Frédéric Delanoy a2e8d61453 winedbg: Remove dead assignment (Clang). 2011-08-05 09:17:31 +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
Francois Gouget 89dcf229d0 net: Remove a debug trace. 2011-08-03 19:19:50 +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
Francois Gouget 9b29faae6a net: Make it possible to translate the connection status descriptions.
Also remove the description for USE_DISCONN as it is in fact a synonym 
for USE_SESSLOST.
2011-08-01 18:26:26 +02:00
Jacek Caban 89817dec10 iexplore: Use ieframe instead of shdocvw. 2011-08-01 11:12:48 +02:00
Eric Pouech d3fd3d73be winhlp32: Better protect macros against not finding a help file. 2011-08-01 11:08:41 +02:00
Jacek Caban b06358ecd4 winetest: Include language settings in OS info. 2011-07-29 15:33:46 +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
Jacek Caban a9700cbc84 iexplore: Removed unneeded imports. 2011-07-29 13:30:52 +02:00
Jacek Caban 3faa938712 iexplore: Moved iexplore registration extension to iexplore.exe. 2011-07-29 13:30:36 +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